TeamHub icon

TeamHub

Consume the TeamHub Business Management API

Invoice → Update

AI-generated

Summary

Update an existing invoice by specifying its Invoice ID and changing one or more fields such as Customer ID, Date, Due Date, or Status.

Inputs

  • Invoice ID (required) — The unique identifier of the invoice to update.
  • Update Fields — Collection of fields to update on the invoice including Customer ID, Date (YYYY-MM-DD format), Due Date (YYYY-MM-DD format), and Status (Draft, Overdue, Paid, Sent).
  • Options — Additional options including 'Split Lists Into Items' to control output format and 'Ignore SSL Issues' to allow connections with invalid SSL certificates.

Output shape

a single invoice record reflecting the updated fields

The node returns a JSON object representing the updated invoice. If 'Split Lists Into Items' is enabled in options, list operations return multiple items, but update operation returns a single object. Errors during update are returned as error messages if 'Continue on Fail' is enabled.

Examples

Example 1: Update invoice status and due date

Provide Invoice ID and set Status to 'PAID' and Due Date to a new date in Update Fields collection.

Links

Discussion