Skip to main content
POST
Create an invoice

Authorizations

Authorization
string
header
required

Pass your API key as a bearer token: Authorization: Bearer <API_KEY>.

Body

application/json
invoiceNumber
string
required

Must not contain '/', '', or '..'.

Required string length: 1 - 50
recipient
object
required
lineItems
object[]
required

Total is computed as the sum of quantity × unitPrice and must be a safe integer (at most 9007199254740991 cents).

Required array length: 1 - 250 elements
invoiceDate
string<date>
required
dueDate
string<date>
required

A valid YYYY-MM-DD date on or after invoiceDate.

poNumber
string
Maximum string length: 100
payerMemo
string

Omitted or blank values use the configured default payment memo.

Maximum string length: 2000
paymentInstructions
string

Omitted or blank values use configured default payment instructions.

Maximum string length: 2000
destinationAccountId
string<uuid>

Required when automatic reconciliation is disabled in invoice settings. Select an eligible destination account belonging to your organization.

sendEmailToRecipient
boolean
default:false

Set true to request invoice email delivery to the recipient.

sender
object

Optional when invoice settings supply both sender name and email; otherwise provide both fields.

Response

Create an invoice.

data
object
required