Actions181
- Invoice Actions
- Timesheet Actions
- Customer Actions
- Ticket Actions
- Lead Actions
- Project Actions
- Contract Actions
- Estimate Actions
- Expense Actions
- Proposal Actions
- Staff Actions
- Task Actions
- Credit Note Actions
- Item Actions
- Payment Actions
- Contact Actions
- Note Actions
- Knowledge Base Actions
- Knowledge Base Group Actions
- Subscription Actions
- Utility Actions
Invoice → Update
AI-generatedSummary
Update an existing invoice in PerfexCRM by specifying its ID and the fields to modify.
Inputs
- Invoice ID (required) — The ID of the invoice to update.
- Update Fields — The fields to update on the invoice, such as invoice number, date, due date, currency, subtotal, total, status, admin note, client note, and any custom fields identified by ID or slug.
Output shape
a single record representing the updated invoice object returned by the PerfexCRM API
Returns the updated invoice data as received from the API. Date fields are expected to be validated and formatted before update. Non-negative validations apply to numeric fields such as total and subtotal. Errors propagate as node errors unless 'Continue On Fail' is enabled, in which case error details are included in output.
Examples
Example 1: Update the invoice number and due date of an existing invoice by its ID, optionally modifying custom fields.
Set 'Invoice ID' to the existing invoice's ID. In 'Update Fields', set the desired invoice number and due date. Add any custom field key-value pairs in 'Custom Fields' if needed.