Skip to navigation

Update invoice

Update an invoice by ID

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

idstringRequired

Request

Body
metadatamap from strings to any or nullOptional

Response

200
idstring
customerIdstring
statusenum
paymentStatusenum
Allowed values:
sourceenum
Allowed values:
startDatedatetime
issueDatedatetime
currencystring
currencyDecimalsinteger

Decimals of this record’s amounts, from the currency and how Paid stores it: 2 for USD (4999 is $49.99), and for JPY 2 while Paid stores yen in hundredths, then 0. Divide amounts by 10^currencyDecimals; never assume 100.

taxAmountdouble
taxRatedouble
taxStatusenum
Allowed values:
invoiceTotalExcludingTaxdouble
invoiceTotaldouble
amountDuedouble
amountPaiddouble
amountRemainingdouble
creditNotesTotaldouble
createdAtdatetime
updatedAtdatetime
taxExemptboolean
displayNumberstring or nullOptional
orderIdstring or nullOptional
endDatedatetime or nullOptional
postedDatedatetime or nullOptional
dueDatedatetime or nullOptional
metadatamap from strings to any or nullOptional
publicUrlTokenstring or nullOptional
billingContactIdstring or nullOptional
purchaseOrderReferencestring or nullOptional
Purchase order reference stamped on this invoice.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error