Skip to main content

A statement that defines an amount due by a customer.

id
string
required

The ID of the invoice.

Example:

"inv_xxxxxxxxxxxxxx"

created_at
string<date-time>
required

The date the invoice was created.

Example:

"2023-12-01T05:00:00.401Z"

status
enum<string>
required

The status of the invoice.

Available options:
open,
paid,
past_due,
void
number
string
required

The number of the invoice.

Example:

"#0001"

due_date
string<date-time> | null
required

The date the invoice is due.

Example:

"2023-12-01T05:00:00.401Z"

email_address
string | null
required

The email address that the invoice was created for.

fetch_invoice_token
string
required

A signed token that allows fetching the invoice data publically without being authenticated.

current_plan
object
required

The plan that the invoice was created for.

user
object
required

The user that the invoice was created for.