Update organisation invoice template

Updates organisation-level invoice template (global default). Request body uses boolean flags for grouping, line description formula, optional lineDescriptionTagGroupId, attachment strategy, and includeAttachmentsWithOnlineInvoice (Xero "Include with Online Invoice").

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Document (invoice or credit note) template: grouping, sort order, line description formula, attachment strategy.
Same shape for org default and per-client override. Grouping is driven by booleans (subsection header, subtotal row, VAT and quantity total in subsection and in bottom subtotals).

boolean

When true, emit group header lines (e.g. "--- Pay Element ---") when client uses subtotal grouping.

boolean

When true (and showSubsectionHeader is true), emit a subtotal row after each group with amount and optionally VAT and quantity total.

boolean

When true, include VAT in each subsection subtotal row description.

boolean

When true, include quantity total (sum of quantities/units in the group) in each subsection subtotal row description.

boolean

When true, emit a bottom block listing all group subtotals after the lines.

boolean

When true, include VAT in each bottom subtotal line description.

boolean

When true, include quantity total in each bottom subtotal line description.

string
enum

Sort order for line items when subsection/grouping is not used (e.g. as stored, by employee A–Z, by pay element then employee).

Allowed:
string | null

Template string with placeholders (e.g. "{description} - {employeeName} - {poNumber}"). Use ids from GET /finance/line-item-description-fields in curly braces. When null, use line Description only.

string | null

Optional tag group key when formula uses {tagValue}. Required when a placeholder with requiresTagGroup is used. Stored as a normalised key.

string
enum

How to handle attachments when over provider limit (e.g. excess lost vs merge on integration).

Allowed:
boolean

When true, the customer can see the attached files on their own copy of the document rather than them being an internal record only.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json