Skip to main content
POST
Update an invoice

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
invoiceId
string
required

The invoiceId of the invoice.

Example:

"You need to change *this* with invoiceId from invoice creation"

subMerchantId
string
required

The subMerchantId associated with the invoice.

Example:

"jpt-sim-md-1"

customerId
string
required

The customer id of the invoice.

Example:

"65f7ee397a4bb65ed744b67f"

items
object[]
required

Line items included in the total amount.

totalAmount
number
required

The total amount of the invoice.

Example:

300

date
string
required

The invoice date.

Example:

"2023-12-10T20:02:20.454Z"

dueDate
string
required

The invoice dueDate.

Example:

"2023-12-10T20:02:20.454Z"

paymentTerm
string
required

The invoice paymentTerm.

Example:

"Due Upon Receipt"

Response

Invoice successfully updated.

Last modified on July 14, 2026