Update invoice
API to update invoice by invoice id
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
invoices. writeOAuthPrivate IntegrationSub-Account TokenAgency TokenRequest
Headers
API Version
v3Path Parameters
Invoice Id
6578278e879ad2646715ba9cBody
location Id / company Id based on altType
6578278e879ad2646715ba9cAlt Type
locationlocationName to be updated
New InvoiceTitle for the invoice
INVOICECurrency
USDDescription
ABC Corp paymentsBusiness details which need to be updated
{
"name": "Alex",
"address": {
"addressLine1": "9931 Beechwood",
"city": "St. Houston",
"state": "TX",
"countryCode": "USA",
"postalCode": "559-6993"
},
"phoneNo": "+1-214-559-6993",
"website": "www.example.com"
}
Invoice Number
1001Id of the contact which you need to send the invoice
6578278e879ad2646715ba9cTerms notes, Also supports HTML markups
<p>This is a default terms.</p>Automatic taxes enabled for the Invoice
truePayment mode
Issue date in YYYY-MM-DD format
2023-01-01Due date in YYYY-MM-DD format
2023-01-14split invoice into payment schedule summing up to full invoice amount
tips configuration for the invoice
prefix for invoice number
INV-Payment Methods for Invoices
attachments for the invoice
miscellaneous charges for the invoice
Response
Successful response
Invoice Id
6578278e879ad2646715ba9cInvoice Status
draftsentpayment_processingpaidvoidpartially_paiddraftLive Mode
falseAmount Paid
0Location Id or Agency Id
6578278e879ad2646715ba9clocationName of the invoice
New InvoiceBusiness Details
Invoice Number
19Currency
USDContact Details
Issue date in YYYY-MM-DD format
2023-01-01Due date in YYYY-MM-DD format
2023-01-01Discount
Invoice Items
Total Amount
999Title
INVOICETotal Amount Due
999created at
2023-12-12T09:27:42.355Zupdated at
2023-12-12T09:27:42.355ZAutomatic taxes enabled for the Invoice
trueIs Automatic taxes calculated for the Invoice items
truesplit invoice into payment schedule summing up to full invoice amount