Create an invoice
Invoices
Create an invoice
Creates an invoice with line items, due date, and payment terms. Deliver it to the customer with Send an invoice.
POST
Create an invoice
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
The subMerchantId associated with the invoice.
The customer id of the invoice.
Line items included in the total amount.
The total amount of the invoice.
Example:
500
The invoice date.
Example:
"2023-12-10T20:02:20.454Z"
The invoice dueDate.
Example:
"2023-12-10T20:02:20.454Z"
The invoice paymentTerm.
Example:
"Due Upon Receipt"
Configuration for the hosted payment page.
Response
Invoice successfully created.
Last modified on July 14, 2026

