Skip to main content
Xero logo

Xero

Lets an agent read and manage your Xero accounting data - contacts, invoices, bills, chart of accounts, payments, journals, tracking categories, tax rates, expense claims, reports and attachments.

What it can do

MethodWhat it does
xero_get_organisationGet organisation info: name, tax number, currency, timezone.
xero_list_contactsList contacts (customers/suppliers); optional where, order, page, include_archived.
xero_get_contactGet one contact by id.
xero_create_contactCreate a contact - requires name; optional email, phone, fax, tax number, contact persons, addresses.
xero_update_contactUpdate an existing contact's name, email, phone, fax or tax number.
xero_list_invoicesList invoices (Accounts Receivable); optional where, order, page.
xero_get_invoiceGet one invoice by id.
xero_create_invoiceCreate an invoice - requires contact, invoice_date and line_items; optional number, description, due_date, type, reference.
xero_update_invoiceUpdate an invoice's status, due_date or reference.
xero_list_billsList bills (Accounts Payable); optional where, order, page.
xero_get_billGet one bill by id.
xero_create_billCreate a bill - requires supplier contact, invoice_date and line_items; optional number, description, due_date, reference.
xero_list_accountsList accounts (chart of accounts); optional where, order, page.
xero_get_accountGet one account by id.
xero_create_accountCreate an account - requires unique code, name and type; optional tax_type and description.
xero_list_journalsList manual journal entries; optional where, order, page.
xero_get_journalGet one manual journal entry by id.
xero_list_tracking_categoriesList tracking categories (cost centers, departments, projects); optional where, order.
xero_get_tracking_categoryGet one tracking category by id.
xero_list_tax_ratesList tax rates (sales tax, VAT, GST); optional where, order.
xero_get_reportGet an accounting report (TrialBalance, ProfitAndLoss, BalanceSheet, etc.); optional from_date, to_date, periods, standard_layout.
xero_list_expense_claimsList expense claims; optional where, order, page.
xero_get_expense_claimGet one expense claim by id.
xero_list_paymentsList payments (to invoices or from bills); optional where, order, page.
xero_get_paymentGet one payment by id.
xero_create_paymentCreate a payment to an invoice - requires invoice, account, amount and payment_date; optional reference.
xero_list_branding_themesList branding themes (invoice/bill templates).
xero_list_contact_groupsList contact groups (custom contact groupings); optional where, order.
xero_list_currenciesList currencies supported by Xero; optional where (filter by code).
xero_list_invoice_remindersList invoice reminders for follow-up tracking; optional where.
xero_get_attachmentsGet attachments for an object (invoice, bill, contact, account, manual journal).
xero_add_attachmentAdd an attachment to an object - requires object_group, object_id, filename and base64 file content.

How to get credentials

Xero connects through OAuth 2.0 - there is no key to paste.

  1. In FlyMyAI, open the Xero connector and click Connect to start the OAuth flow.
  2. Sign in to Xero and choose the organisation you want the agent to access.
  3. Authorize FlyMyAI with the accounting scopes the agent needs (contacts, transactions, settings).
  4. You are returned to FlyMyAI - the connection is complete. FlyMyAI stores and refreshes the access token automatically, so you do not manage the token by hand.

WRITE actions (create, update, send) require your confirmation in chat before they run.

Fields to fill in FlyMyAI

FlyMyAI fieldWhere it comes from
XERO_ACCESS_TOKENSet automatically by the OAuth flow - no manual entry needed
XERO_TENANT_IDSet automatically from the organisation you choose during OAuth
We love our partners - FlyMy.AI builds with the best. Thanks, Xero!