Skip to content

Xero

Integration

Xero

Xero is an online accounting software platform for small and medium-sized businesses.

accountingfinance

The Xero integration connects WorkHub24 to Xero accounting organisations. You can manage contacts, raise and update sales invoices and bills, email and inspect invoices, and work with document attachments — all from within the Flow Designer. Every operation targets a specific Xero organisation, selected per step from the connected account.

Capabilities

Actions Supported AI Tools Supported Triggers Not supported

Connection

Authentication OAuth 2.0 · Authorization Code

Click Add Xero Account in the integration settings to start the OAuth flow.

App managed by

When connecting Xero, choose whose OAuth app WorkHub24 should use:

  • Workhub24 — use WorkHub24’s already configured app. Fastest setup; no provider credentials required.
  • Custom — use an app your organisation owns. Enter provider credentials in WorkHub24 before adding an account.

Both options give the same Xero features in WorkHub24. The difference is only who owns the OAuth application used for login and authorization.

Full setup steps and Custom field details: Xero credentials guide · Credentials overview

Multiple named accounts can be connected — pick which one to use in each flow step.

Requested scopes

Scope Purpose
offline_access Keep the connection alive with refresh tokens.
accounting.invoices Read and write invoices and bills.
accounting.invoices.read Read invoices and bills.
accounting.payments Read and write payments.
accounting.payments.read Read payments.
accounting.banktransactions Read and write bank transactions.
accounting.banktransactions.read Read bank transactions.
accounting.manualjournals Read and write manual journals.
accounting.manualjournals.read Read manual journals.
accounting.settings Read and write organisation settings.
accounting.settings.read Read organisation settings.
accounting.contacts Read and write contacts.
accounting.contacts.read Read contacts.
accounting.attachments Read and write document attachments.
accounting.attachments.read Read document attachments.
accounting.budgets.read Read budgets.
accounting.reports.aged.read Read aged receivables/payables reports.
accounting.reports.balancesheet.read Read the balance sheet report.
accounting.reports.banksummary.read Read the bank summary report.
accounting.reports.budgetsummary.read Read the budget summary report.
accounting.reports.executivesummary.read Read the executive summary report.
accounting.reports.profitandloss.read Read the profit and loss report.
accounting.reports.trialbalance.read Read the trial balance report.
accounting.reports.taxreports.read Read tax reports.

Credentials (Custom app)

These fields are required only when App managed by is set to Custom. They are not needed for the Workhub24-managed option. See the Credentials section for setup guidance.

Field Required Description
Client ID Required Xero OAuth 2.0 client ID.
Client Secret secret Required Xero OAuth 2.0 client secret.

Actions & AI Tools

Get Contacts Action AI Tool Retrieve contacts from a Xero organisation with the full documented filter/query parameter set, including paging, IDs, where, order, archive inclusion, summary mode, and modified-since filtering. View details Create Contact Action AI Tool Create a new contact in a Xero organisation. Only Name is required; all other fields are optional. View details Update Contact Action AI Tool Update an existing contact in a Xero organisation by ContactID. Only include fields you want to change — omitted fields retain their existing values. View details Add Contact Note Action AI Tool Add a note to a Xero contact's history. The note will appear in the contact's activity history. View details Get Invoices Action AI Tool Retrieve invoices or bills from a Xero organisation with support for most documented filters, paging, lightweight summary mode, unit decimal precision, and modified-since filtering. View details Create Invoice Action AI Tool Create a new sales invoice (ACCREC) or purchase bill (ACCPAY) in Xero with support for the major documented invoice fields, structured line items, optional invoice addresses, unit precision, and per-invoice validation errors. View details Update Invoice Action AI Tool Update an existing Xero invoice or bill, including status changes, sent flag updates, line item edits, optional invoice addresses, unit precision, and per-invoice validation errors. View details Get Invoice History Action AI Tool Retrieve history records for a Xero invoice or bill. View details Add Invoice Note Action AI Tool Add a note to a Xero invoice or bill history. View details Get Online Invoice Action AI Tool Retrieve the online invoice URL for a Xero sales invoice. View details Email Invoice Action AI Tool Trigger Xero to email a sales invoice to the contact on the invoice. View details Get Attachments Action AI Tool Retrieve the list of attachments uploaded against a Xero document such as an invoice, receipt, contact, or purchase order. View details Get Attachment Content Action AI Tool Download the raw content of a specific attachment from a Xero document. View details Post Attachment Action AI Tool Upload one or more attachments to a Xero document. Each file's filename is taken from the file metadata. View details Put Attachment Action AI Tool Upload or replace one or more attachments on a Xero document. Each file's filename is taken from the file metadata. View details