Invoices are crucial objects in ChartMogul. We auto-generate subscriptions and metrics from the information contained in these objects.

They contain information about the customer who was billed, the items that were included, and the transactions related to the invoice.

Pay close attention to the construction of this object.

Line Items

Invoices must contain an array of one or more line items that were billed. Line item objects represent the kind of product or service being billed, and relevant details about them.


Invoices usually always contain an array of one or more transactions. Transaction objects represent payment or refund attempts related to the invoice.