Create an invoice

Creates an invoice addressed to exactly one of recipientContact or
recipientBusiness. Send application/json, or multipart/form-data
with a JSON data field plus one or more files (PDF or image, max
25 MB each) to attach documents. Sending the same externalId again
later updates the invoice instead of creating a duplicate.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The fields used to create or update an invoice. Exactly one of recipientContact or recipientBusiness is required.

string

The invoice's identifier in your system. Send it again on a later request to update the same record.

merchant
object
required

The merchant billing the invoice.

recipientContact
object

The contact the invoice is addressed to. Mutually exclusive with recipientBusiness.

recipientBusiness
object

The business the invoice is addressed to. Mutually exclusive with recipientContact.

string
enum

The document type.

Allowed:
string
required

Your human-readable reference for the invoice.

string

An optional display name for the invoice.

date-time
required

The date the invoice was issued (ISO 8601).

date-time | null

The date payment is due (ISO 8601). Null for open-ended requests.

number
required
≥ 0

The total amount due, in the invoice's currency.

number
≥ 0

The amount already paid.

string
enum

The invoice's current status.

Allowed:
boolean

Whether the invoice has been partially paid.

boolean

Whether the invoice requires a signature before payment.

uri

A hosted link where the recipient can pay the invoice.

string

An optional note shown with the invoice.

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

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