Invoices

Get invoice

Retrieves an invoice for the specified organization.

get/organizations/{organization_id}/invoices/{invoice_id}

Request

Path parameters

invoice_idstring required

The ID of the invoice.

organization_idstring required

The ID of the organization.<br> Prefix with name= to retrieve the organization by name instead.

Response

OK

idstring

The invoice id.

invoice_numberstring

The invoice number.

type'invoice' | 'credit_memo'

Invoice type.

order_idstring

The id of the related order.

related_invoice_idstring nullable

If the invoice is a credit memo (type=credit_memo), this field stores the id of the related/original invoice.

status'paid' | 'charged_off' | 'pending' | 'refunded' | 'canceled' | 'refund_pending'

The invoice status.

ownerstring ulid

The ULID of the owner.

invoice_datestring date-time nullable

The invoice date.

invoice_duestring date-time nullable

The invoice due date.

createdstring date-time nullable

The time when the invoice was created.

changedstring date-time nullable

The time when the invoice was changed.

companystring

Company name (if any).

totalnumber double

The invoice total.

notesstring

The invoice note.

Changes

No recorded changes to this operation across all 1 revision of this API.