Invoices

Create an invoice

Create a new invoice with line items

post/invoices

Request body

customer_idstring
due_datestring

Due date in YYYY-MM-DD format. If omitted, defaults to the current date from invoice creation.

exclude_from_autopayboolean

When true, this invoice is excluded from Autopay at creation time. Use this when your integration pays the invoice synchronously via API and you want to guarantee Autopay never charges the same invoice. Defaults to false.

Example request

{
  "due_date": "2025-01-01"
}

Response

Created

created_atstring
currencystring
customer_idstring
due_datestring
idstring
invoice_numberstring
last_notification_atstring
memostring
statusstring
sub_totalnumber
totalnumber