Create invoice line item
Creates a line item on a one-off invoice, optionally with sub-line items. When sub-line items are provided, their amounts must sum to the line item amount.
Authorizations
API Key Authentication.
Path Parameters
Body
Schema for creating a one-off line item on an existing one-off invoice. When subLineItems is provided, the sum of subLineItems.amount must equal amount.
A unique idempotency key for this line item, scoped to the invoice.
1^[a-zA-Z0-9_-]+$Optional line item name; defaults to the item name (or product name as fallback) when null.
Optional line item group to attach this line item to. The group must belong to the same invoice.
Optional breakdown of the line item amount into sub-line items. When provided, amounts must sum to amount.
Response
Default Response
credit_purchase, contract_minimum_amount, plan_minimum_amount, plan_fixed_amount, metric, additional_charge, one_off, tax_gross_up unit, currency, null - Option 1
- Option 2
- Option 3