With this endpoint, you can perform a partial invoice update by specifying only the field(s) you intend to modify.
The paymentSchedule property expects a payment schedule to replace the previous one, meaning you should provide a new payment schedule which includes the payments you want to keep, new ones you want to add; do not include the payments you want to deleted in the new payment schedule. Complete payments cannot be edited or removed. Read more about updating payment schedules.
Once any payment of the invoice is complete the contact cannot be updated.
To activate a draft invoice, include status: "Active" in the update. This triggers the full activation workflow including client notifications based on the delivery method. You can combine field updates with activation in a single request. Read more about draft invoice workflow.
Recent Requests
Log in to see full request history
Time
Status
User Agent
Retrieving recent requests…
Loading…
Responses
422
Business logic violation. Possible error codes:
Error code
Description
illegal_action
Invoice cannot be edited (e.g. all payments are complete).
illegal_action
Contact not found for the given contact ID.
illegal_action
Contact cannot be changed once any payment is complete.
illegal_action
Payment cannot be removed because it is already complete or processing.
illegal_action
Payment cannot be edited because it is already complete or processing.
illegal_action
Payment ID in the schedule does not match any existing payment on this invoice.
illegal_action
Cannot revert an active invoice to draft status.
payment_to_yourself
Cannot issue an invoice to your own business email.
plan_limit_exceeded
Increasing the total amount would exceed your plan's invoice amount limit.
Updated 8 days ago
Language
ShellNodeRubyPHPPython
Credentials
Bearer
Bearer
Loading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
200400401404422 - Invoice cannot be edited422 - Contact not found422 - Contact cannot be changed422 - Payment cannot be removed422 - Payment cannot be edited422 - Payment ID not found in invoice422 - Cannot revert to draft422 - Invoice to yourself422 - Plan limit exceeded