Skip to main content
POST
Creates a one-off invoice.

Request

string
required
The ID of the account for which the invoice is being created.
timestamp
required
The start date of the billing period for the invoice. (RFC 3339 formatted timestamp)
timestamp
required
The end date of the billing period for the invoice. (RFC 3339 formatted timestamp)
string
A description or note for the invoice. Also known as memo.
List
A list of line items included in the invoice.
string
The date when the invoice should be issued. (RFC 3339 timestamp)

Response

string
required
The Alguna ID of the invoice.
string
required
The Alguna ID of the account associated with the invoice.
string
required
The status of the invoice.
string
required
The due date of the invoice. (RFC 3339 timestamp).
string
required
The date when the invoice was issued. (RFC 3339 timestamp)
string
required
The start date of the billing period for the invoice. (RFC 3339 timestamp)
string
required
The end date of the billing period for the invoice. (RFC 3339 timestamp)
string
required
The formatted billing period for the invoice.
string
required
The ISO 4217 currency in which the invoice is billed.
string
required
The description of the invoice.
List
required
A list of line items included in the invoice.
string
required
The subtotal amount of the invoice.
string
required
The tax amount of the invoice.
string
required
The total amount of the invoice as a decimal String.
string
required
The amount paid for the invoice.
string
required
The remaining amount to be paid for the invoice.
string
required
The external ID associated with the invoice.
string
required
The external provider associated with the invoice.
string
required
The external URL associated with the invoice.
string
The purchase order number associated with the invoice.
datetime
required
The date and time at which the invoice was created.
datetime
required
The date and time at which the invoice was last updated.