List of invoices
Returns a paginated list of invoices, optionally filtered by date range, client, or order ID.
query Parameters
pagePage number for paginating
limitLimit items per page
orderIdOrder identifier
clientIdClient identifier
startDayFilter Invoice by Start Date
endDayFilter Invoice by Snd Date
startDueDayFilter Invoice by Start DueDate
endDueDayFilter Invoice by End DueDate
Headers
authorizationList of invoices › Responses
Paginated invoices list.
Create invoice
Create a new invoice with line items, billing address, and optional shipping. Accepts both standard and flexible item formats.
terms values: upon_receipt, 7, 14, 30 (days).
items: Array of { id, qty, taxes[] } — required.
billingAddress and showBilling/showShipping control whether addresses are shown/required on the payment page.
customValues: Extra properties passed to the payment form. Keys must be pre-configured in the merchant setup.
applyDiscount: If applicable, applies a configured credit card discount.
customerId links the invoice to a customer vault.
overrideDefaultPaymentMethod: Override the default payment method from the customer vault.
Headers
authorizationCreate invoice › Request Body
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: products, billingAddress | |
| type = object · requires: products, billingAddress |
List of items
amountAmount of invoicing
termsInvoicing terms
Custom Values
customerIdCostumer identifier
companyNameCompany Name
currencyPayment currency
orderDescriptionOrder description
shippingTotal shipping amount
taxTotal tax amount
paymentIdPayment identifier
showBillingShow Billing
showShippingShow Shipping
statusThe status of the invoice
createdByFrom what application was created
updatedByFrom what application was updated
applyDiscountA discount may be applied to this invoice. If applicable, a discount of {%} will be deducted from credit card payments.
overrideDefaultPaymentMethodThe id of the payment method to use in the charge
Create invoice › Responses
Invoice created.
Update invoice
Update an existing invoice.
status values: draft, overdue, sent, paid-in-full, partially-paid, cancelled (default: draft).
To cancel an invoice: Send { "status": "cancelled" }.
terms values (for update): upon_receipt, 30, 60, 90.
applyDiscount: Apply/remove the configured credit card discount.
customValues: Update custom field values (keys must be pre-configured in merchant setup).
path Parameters
idInvoice ID
Headers
authorizationUpdate invoice › Responses
Invoice updated.
Generate invoice PDF
Generate a PDF file for the given invoice. Returns a JSON object with fileName and fileUrl (the URL to download the PDF).
path Parameters
idInvoice ID
query Parameters
clientIdMerchant client ID
invoiceIdInvoice identifier
Headers
authorizationGenerate invoice PDF › Responses
PDF generated.
Send invoice by SMS
Send a payment link for this invoice via SMS. Provide phoneNumber (any valid US number including area code) in the request body.
path Parameters
idInvoice ID
Headers
authorizationSend invoice by SMS › Request Body
phoneNumberPhone to send the payment link or Invoice
paymentLinkIdPayment Link Id
invoiceIdInvoice Id
createdByName of the user who created the payment link or Invoice
Send invoice by SMS › Responses
SMS sent.