Create invoice

Body Params
string
enum
required

The three-letter ISO 4217 currency code used for all monetary amounts in this invoice.

Allowed:
lineItems
array of objects
required
length between 1 and 100

A list of line items to include in the invoice. Must contain at least 1 item and no more than 100.

lineItems*
string
required

A short description of the product or service.

float
required

The quantity of the line item. Can have up to 2 decimal places.

float
required

The unit price for a single quantity of this line item, before tax or discounts.

float

The tax amount for this line item.

float

The discount amount applied to this line item.

string

The stock keeping unit (SKU) code for this product (or service).

integer
Defaults to 0

Unique customer ID to associate with this invoice.

billingAddress
object

The billing address for this invoice.

shipping
object

The shipping details for this invoice, including shipping cost, method, and destination address.

pickup
object

The pickup details for this invoice, including the pickup date and the name of the person collecting the order.

tax
object

The invoice-level tax details.

discount
object

The invoice-level discount details.

string
enum
Defaults to INVOICE

The invoice type. Allowed values: ESTIMATE, QUOTE, ORDER, PURCHASE_ORDER, INVOICE, STATEMENT, REGISTRATION, CREDIT. Defaults to INVOICE if omitted.

string
enum
Defaults to DUE

The initial status of the invoice. Allowed values: CANCELLED, DUE, PAID, SHIPPED, COMPLETED, REFUNDED, IN_PROGRESS. Defaults to DUE if omitted.

Allowed:
boolean

Indicates whether a convenience fee is enabled for this invoice. If not provided, the system will use the merchant's global Fee Saver settings to determine this value.

float

Optional tip amount to include. Must be greater than zero if provided.

string

Optional custom invoice number. If omitted or blank, the system will generate one automatically based on the Invoice Settings.

string

Optional notes to display at the bottom of the invoice, visible to the customer.

Responses

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json