Skip to navigation

Update an invoice

Updates an existing invoice, identified by its id or your externalId. Accepts the same JSON or multipart body as create.

Authentication

AuthorizationBearer

A short-lived access token from POST /api/v1/access-token (30 minutes by default). Send as Authorization: Bearer <jwt>.

Path parameters

idstringRequired

The record’s id (a UUID), or your own externalId (any non-UUID value is treated as an externalId).

Request

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

merchantobjectRequired
The merchant billing the invoice.
referenceNumberstringRequired

Your human-readable reference for the invoice.

issueDatedatetimeRequired

The date the invoice was issued (ISO 8601).

totalAmountdoubleRequired>=0
The total amount due, in the invoice's currency.
externalIdstringOptional
The invoice's identifier in your system. Send it again on a later request to update the same record.
recipientContactobjectOptional

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

recipientBusinessobjectOptional

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

typeenumOptional
The document type.
Allowed values:
invoiceNamestringOptional
An optional display name for the invoice.
dueDatedatetime or nullOptional

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

amountPaiddoubleOptional>=0
The amount already paid.
statusenumOptional
The invoice's current status.
isPartialbooleanOptional
Whether the invoice has been partially paid.
requiresSignaturebooleanOptional
Whether the invoice requires a signature before payment.
notestringOptional
An optional note shown with the invoice.

Response

Invoice updated.
dataobject
An invoice addressed to a contact or a business.

Errors

400
Bad Request Error
401
Unauthorized Error
409
Conflict Error
500
Internal Server Error