Billing and Invoicing

This chapter provides a comprehensive guide to managing billing and invoicing within OCS.io. It covers various aspects of billing and invoicing, including previewing invoices, creating invoices on demand, and adjusting chargeable events. The following sub-chapters are included:

The PreviewOcsInvoice API enables the previewing of OCS invoices. This is important for reviewing invoice details before finalizing and sending them to customers.

The CreateOcsInvoiceOnDemand API allows for creating OCS invoices on demand. This is useful for generating invoices as needed, outside of the regular billing cycle.

The AdjustChargeableEvent API is used to adjust chargeable events. This is essential for managing corrections and adjustments to events that impact billing.

Each sub-chapter provides detailed information on the respective API, including usage examples, parameters, and expected responses. This guide aims to equip developers with the knowledge and tools necessary to effectively manage billing and invoicing within OCS.io.