Invoice
Organization ID
Name of the plan
charges object[]required
List of charges in the invoice
Unique identifier for the charge
User friendly name of the charge
Number of units consumed
Consumption unit
Total cost for the charge
tiers object[]required
Number of units consumed
Starting point when this tier is applicable
Rate per unit
Total cost for the tier
Actual number of units charged for
Amount before any credits/discounts/minimum commitments
Total payable amount
RFC3339 timestamp when this invoice was generated
2021-09-01T12:00:00ZRFC3339 timestamp when this invoice was last modified
2021-09-01T12:00:00ZRFC3339 starting time for usage period during which items were added to this invoice
2021-09-01T12:00:00ZRFC3339 ending time for usage period during which items were added to this invoice
2021-09-01T12:00:00ZDRAFT- Invoice can be modified as the billing period progressesFINALIZED- Invoice is locked and can't be modifiedPAID- Payment has been collectedPAST_DUE- Payment is overdue
Possible values: [DRAFT, FINALIZED, PAID, PAST_DUE]
Human-readable description explaining the billing context for this invoice
Volume commitment amount applied to the invoice
Credits applied to the invoice
{
"org_id": "string",
"plan_name": "string",
"charges": [
{
"id": "string",
"name": "string",
"quantity": 0,
"unit": "string",
"total": 0,
"tiers": [
{
"name": "string",
"quantity": 0,
"starting_after": 0,
"price": 0,
"subtotal": 0
}
],
"charged_quantity": 0
}
],
"subtotal": 0,
"total": 0,
"created_at": "2021-09-01T12:00:00Z",
"last_modified": "2021-09-01T12:00:00Z",
"starting_on": "2021-09-01T12:00:00Z",
"ending_before": "2021-09-01T12:00:00Z",
"status": "DRAFT",
"memo": "string",
"minimum_commit": 0,
"credits": 0
}