Create an invoice line item
Adds a new line item to an existing invoice. The invoice must not yet be finalized.
Authorizations
API key authentication. Pass your API key as a Bearer token.
Headers
2026-04-01 A unique string that makes a retried write safe. If you send the same request with the same key within 24 hours, the API returns the stored response and does not run the request again. A 5xx or 429 response is not stored, so a retry with that key runs the request again.
255"ik_a1b2c3d4e5f6"
Path Parameters
Unique identifier for the invoice
Body
Description of the line item
Quantity
"1"
Unit price, excluding tax. Tax is calculated on top of it.
"100.00"
End of the service period this line covers, exclusive: for a period through 31 January send 2026-02-01T00:00:00Z. Send with billing_period_start.
"2026-02-01T00:00:00Z"
Start of the service period this line covers, inclusive. Send with billing_period_end.
"2026-01-01T00:00:00Z"
Response
Success
Amount that has been paid
"0.00"
Remaining amount due
"110.00"
Formatted billing period string
Timestamp when the invoice was created
ISO 4217 currency code
"USD"
Customer this invoice belongs to
Invoice description or memo
Unique identifier for the invoice
Line items on this invoice
Current status of the invoice
draft, upcoming, pending_approval, scheduled, processing, issued, void, paid, canceled, overdue Sum of all line item totals before tax
"100.00"
Total tax amount
"10.00"
Total amount including tax
"110.00"
Timestamp when the invoice was last updated
When auto-pay charges the invoice. Before issue, it is null when the invoice inherits the value of its subscription or customer. At issue, the resolved value is saved on the invoice. Invoices issued without a value are charged when they are issued.
on_issue, on_due_date "on_due_date"
End of the billing period
Start of the billing period
Date the invoice payment is due
Identifier in the external payment provider
External payment provider name
Customer-facing invoice reference number
URL to the invoice in the external system
Date the invoice is scheduled for processing
Date the invoice was issued
Sub-merchant the invoice was issued for; you remain the seller of record
"mrch_01H8XGJWBWBAQ4PLwXYZ"
Date the invoice was paid
Purchase order number
Id of the tax calculation this invoice was created from, if any