Invoiceitems
Objects
Every object and enum the Invoiceitems tools accept.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Every object and enum the Invoiceitems tools accept.
| Field | Type | Description |
|---|---|---|
price | string | The ID of an existing price to bill. |
| Field | Type | Description |
|---|---|---|
currency * | string | Three-letter lowercase ISO currency code. |
product * | string | The ID of the product being billed. |
unitAmount | integer | The amount in the smallest currency unit. Mutually exclusive with unit_amount_decimal. Cents, not dollars: $15.00 is 1500, and 15 prices this at fifteen cents. Multiply a decimal amount by 100. |
unitAmountDecimal | string | Same as unit_amount, but accepts a decimal value in the smallest currency unit with at most 12 decimal places. Only one of unit_amount and unit_amount_decimal can be set. Cents, not dollars: $15.00 is “1500”. The decimal places are fractions of a cent, so “1500.5” is fifteen dollars and half a cent. |
taxBehavior | PriceTaxBehavior | Whether the amount includes tax. |
| Field | Type | Description |
|---|---|---|
start * | integer | Unix timestamp the period starts, inclusive. Seconds, not milliseconds: 1700000000, not 1700000000000. |
end * | integer | Unix timestamp the period ends, inclusive. Seconds, not milliseconds: 1700000000, not 1700000000000. |
| Value |
|---|
exclusive |
inclusive |
unspecified |
Was this page helpful?