A billing cycle is a state of time. Upodi is waiting for this event to happen and the even is controlled by the state of the subscriptions on the platform.
Once a subscription holds charges due to be processed, the billing cycle will grap the subscription(s) and immediately start processing them. A billing cycle includes the context of the subscription such as customer, payment method, vat information, quantities etc.
The output of a billing cycle is an invoice, and a payment if there is a payment method which allows processing of the invoice. Should this happen a transaction is created in relationship to the invoice.
Once a billing cycle is completed, it advances the given subscription(s) in time. Advancement is done by setting next charge date and previous charge date on future and past subscription charges respectfully.
We're always happy to help with code or other questions you might have! **Search** our documentation or contact **helpdesk**. You can also chat live with us using the Intercom icon.