string<date-time> | null
required
The date and time when the invoice will be automatically finalized. For charge_automatically, triggers an automatic charge. For send_invoice, sends the invoice email at the specified time.Example:
2023-12-01T05:00:00.401Zboolean
required
Whether the invoice includes a buyer processing fee on top of the plan price.
InvoiceCollectionMethods
required
The method used to collect payment for this invoice, such as automatic charging or manual payment.Available options:
send_invoice, charge_automaticallyobject
required
The company that issued this invoice.
string<date-time>
required
The datetime the invoice was created.Example:
2023-12-01T05:00:00.401Zobject
required
The plan that this invoice charges for.
string | null
required
The full name of the customer this invoice is addressed to. Null if no name is on file.Example:
Jane Doestring<date-time> | null
required
The deadline by which payment is expected. Null if the invoice is collected automatically.Example:
2023-12-01T05:00:00.401Zstring | null
required
The email address of the customer this invoice is addressed to. Null if no email is on file.Example:
customer@example.comstring
required
A signed token that allows fetching invoice data publicly without authentication.Example:
eyJhbGciOiJIUzI1NiJ9...string
required
The unique identifier for the invoice.Example:
inv_xxxxxxxxxxxxxxarray<object>
required
Optional line items that break down the invoice total into individual charges.
object | null
required
The billing/mailing address associated with this invoice, if one was provided at creation time.
string
required
The sequential invoice number for display purposes.Example:
#0001string | null
required
The checkout URL where the customer can pay this invoice online, with their
email address pre-filled and locked.
object
required
The product that this invoice was generated for.
InvoiceStatuses
required
The current payment status of the invoice, such as draft, open, paid, or void.Available options:
draft, open, paid, past_due, uncollectible, voidstring<date-time> | null
required
The date that defines when the subscription billing cycle starts. When set on a renewal plan invoice, all future billing periods anchor to this date.Example:
2023-12-01T05:00:00.401Zstring<date-time>
required
The datetime the invoice was last updated.Example:
2023-12-01T05:00:00.401Zobject | null
required
The user this invoice is addressed to. Null if the user account has been removed.

