Xero + icon

Xero +

Consume Xero API

Invoice → Update

AI-generated

Summary

Update an existing Xero invoice by specifying its Invoice ID and modifying fields such as contact, currency, dates, line items, branding theme, status, and others to reflect changes in the invoice data.

Inputs

  • Organization Name or ID (required) — Select the Xero organization (tenant) by name or ID to update the invoice in.
  • Invoice ID (required) — The unique identifier of the invoice to update in Xero.
  • Update Fields — A collection of optional fields to update on the invoice, including branding theme, contact ID, currency and currency rate, invoice date, due date, expected or planned payment dates, invoice number, line amount type, detailed line items (with account codes, descriptions, quantities, unit amounts, tax types, discounts, etc.), reference, send-to-contact flag, status (Draft, Submitted, Authorised), and a URL to a source document.

Output shape

a single updated invoice object

Returns the updated invoice data as a JSON object after applying the specified changes. Requires both organization and invoice ID inputs. Partial update fields can be supplied according to need.

Links

Discussion