Skip to content

IntegrationsAccounting

Xero API integration

Put Xero in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

Elaichi

From the team behind Truto

Control plane for MCP servers

Put your team’s own apps to work in their AI. Connect an app once, and everyone’s AI can use it.

Works in

  • Each person’s AI gets exactly their access. Nothing more.
  • Share an app with your team, not a password.
  • Every call is checked and logged.

No credit card required · 1,150+ apps

01Proxy API

Call the Xero API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the Xero API. You call us, we call Xero, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APIXero

GEThttps://api.truto.one/proxy/contacts?integrated_account_id=…

  • GET/proxy/payments
  • GET/proxy/connections
  • GET/proxy/users
  • GET/proxy/invoices

Xero’s own response, passed back

02MCP server

Xero tools for any AI agent. Any MCP client, or the agent you build.

Whatever your agent runs on, it gets Xero tools for each customer’s account: through an MCP server, or straight from the tools API.

On every plan, including Free.

What an agent can doin Xero
  • ContactsList, Get one, Create, Update, Delete, Bulk delete, Bulk update, List attachments, List history, Update history
  • Tracking categoriesList, Get one, Create, Update, Delete
  • PaymentsList, Get one, Create, Update, List history, Update history
  • Bank transactionsList, Get one, Create, Update, List attachments, List history, Update history, Bulk update
  • ConnectionsList
  • UsersList, Get one
  • Credit notesList, Get one, Create, Update, Bulk update, List attachments, List history, Update history
  • Purchase ordersList, Get one, Create, Update, Bulk update, List attachments, List history, Update history, Download
  • InvoicesList, Get one, Create, Update, Delete, Download, List attachments, List history, Update history, Bulk update
  • Tax ratesList, Create, Bulk update
  • OrganizationsList
  • AccountsList, Get one, Create, Delete, List attachments
  • ItemsList, Get one, Create, Update, Delete, Bulk update, List history, Update history
  • AttachmentsList, Get one, Create, Bulk update
  • Manual journalsList, Get one, Create, Update, Bulk update, List attachments, List history, Update history
  • JournalsList, Get one
  • Balance sheetList
  • Profit and lossList
  • CurrenciesList, Create
  • Contact groupsList, Get one, Create, Update, Delete, Bulk update
  • Repeating invoicesList, Get one, Create, Delete, Bulk update, List attachments, List history, Update history
  • BudgetsList, Get one
  • Bank transfersList, Get one, Create, List attachments, List history, Update history
  • ReportsList
  • Branding themesList, Get one
  • Payment servicesList, Create, Bulk update
  • Linked transactionsList, Get one, Create, Update, Delete, Bulk update
  • OverpaymentsList, Get one, List history, Bulk update
  • PrepaymentsList, Get one, List history, Bulk update
  • QuotesList, Get one, Create, Update, Download, Bulk update, List attachments, List history, Update history
  • History and notesList, Create
  • ReceiptsList, Get one, Create, Bulk update, List attachments, List history, Update history
  • Expense claimsList, Get one, Create, Bulk update, List history, Update history
  • Accounts accountsList, Get one, Create
  • Attachments accountsGet one, Create, Bulk update
  • Attachments banktransactionsGet one, Create, Bulk update
  • Attachments banktransfersGet one, Create, Bulk update
  • Attachments contactsGet one, Create, Bulk update
  • Attachments creditnotesGet one, Create, Bulk update
  • Attachments invoicesGet one, Create, Bulk update

And 50 more. Open the tool names to see all.

Show tool names292 tools, for developers
  • list_all_xero_contactsList all contacts in a Xero organisation. Returns: ContactID, Name, EmailAddress, ContactStatus, IsSupplier, IsCustomer, Addresses, Phones, Balances, UpdatedDateUTC, HasAttachments. Optionally filter by where clause, IDs, searchTerm, or includeArchived.
  • get_single_xero_contact_by_idGet a specific Xero contact by id. Returns: ContactID, Name, EmailAddress, ContactStatus, Addresses, Phones, Balances, PaymentTerms, BrandingTheme, ContactPersons, IsSupplier, IsCustomer, UpdatedDateUTC. Required: id.
  • create_a_xero_contactCreate or update one or more contacts in a Xero organisation. Returns: ContactID, Name, EmailAddress, ContactStatus, Addresses, Phones, IsSupplier, IsCustomer, PaymentTerms, UpdatedDateUTC, HasValidationErrors. Required: Contacts.
  • update_a_xero_contact_by_idUpdate an existing Xero contact by id. Returns: Contacts (array containing the updated contact record), Status, DateTimeUTC. Required: id, Contacts.
  • delete_a_xero_contact_by_idDelete a specific contact from a Xero contact group by id. Returns an empty 204 response on success. Required: contact_group_id, id.
  • xero_contacts_bulk_deleteDelete all contacts from a specific Xero contact group. Returns an empty 204 response on success. Required: contact_group_id.
  • xero_contacts_bulk_updateAdd contacts to a specific Xero contact group. Returns contact objects including ContactID and Name. Required: contact_group_id.
  • xero_contacts_list_attachmentsList attachments for a specific Xero contact. Returns: AttachmentID, FileName, Url, MimeType, ContentLength. Required: id.
  • xero_contacts_list_historyList history records for a specific Xero contact. Returns: Details, Changes, User, DateUTC. Required: id.
  • xero_contacts_update_historyCreate a new history record for a specific Xero contact. Returns the created history record including Details, Changes, User, and DateUTC. Required: id.
  • list_all_xero_tracking_categoriesList all tracking categories and options in Xero. Returns: Name, Status, TrackingCategoryID, Options. Use where and order to filter and sort results; set includeArchived to true to include ARCHIVED categories.
  • get_single_xero_tracking_category_by_idGet a specific Xero tracking category by its unique identifier. Returns: Name, Status, TrackingCategoryID, Options. Required: id.
  • create_a_xero_tracking_categoryCreate a new tracking category in Xero. Returns: Name, Status, TrackingCategoryID, Options. Required: name.
  • update_a_xero_tracking_category_by_idUpdate a specific tracking category in Xero by its unique identifier. Returns: Name, Status, TrackingCategoryID, Options. Required: id, Name.
  • delete_a_xero_tracking_category_by_idDelete a specific tracking category in Xero by its unique identifier. Returns the deleted category including Name, Status (set to DELETED), TrackingCategoryID, and Options. Required: id.
  • list_all_xero_paymentsList payments for invoices and credit notes in xero. Returns: PaymentID, Amount, Status, Date, PaymentType, Account, Invoice, IsReconciled, UpdatedDateUTC, HasValidationErrors. Use `where` to filter and `order` to sort results.
  • get_single_xero_payment_by_idRetrieve a specific xero payment by id. Returns: PaymentID, Amount, Status, Date, Account, Invoice, BatchPayment, PaymentType, CurrencyRate, IsReconciled, UpdatedDateUTC, HasValidationErrors. Required: id.
  • create_a_xero_paymentCreate one or more payments for invoices or credit notes in xero. Returns: PaymentID, Amount, Status, Date, Account, Invoice, PaymentType, IsReconciled, UpdatedDateUTC, HasValidationErrors. Required: Payments array; each entry requires Invoice (InvoiceID), Account, Date, and Amount.
  • update_a_xero_payment_by_idUpdate a specific xero payment by id. Returns: PaymentID, Amount, Status, Date, Account, Invoice, PaymentType, IsReconciled, UpdatedDateUTC, HasValidationErrors. Required: id.
  • xero_payments_list_historyList history records for a specific xero payment by id. Returns: Details, DateUTC, User, Changes. Required: id.
  • xero_payments_update_historyCreate a history record for a specific Xero payment. Returns the created history record including Details, DateUTCString, DateUTC, Changes, and User. Required: id.
  • list_all_xero_bank_transactionsList spent or received money transactions in Xero. Returns: BankTransactionID, Type, Status, BankAccount, Contact, SubTotal, Total, CurrencyCode, IsReconciled, LineAmountTypes, UpdatedDateUTC.
  • get_single_xero_bank_transaction_by_idGet a single Xero bank transaction by id. Returns: BankTransactionID, Type, Status, BankAccount, Contact, LineItems, SubTotal, Total, CurrencyCode, IsReconciled, Attachments, UpdatedDateUTC. Required: id.
  • create_a_xero_bank_transactionCreate one or more Xero bank transactions. Returns: BankTransactionID, Type, Status, BankAccount, Contact, LineItems, SubTotal, Total, CurrencyCode, ValidationErrors. Required: BankTransactions array with Type, Contact, LineItems, and BankAccount per entry.
  • xero_bank_transactions_list_attachmentsList attachments for a specific Xero bank transaction by id. Returns: AttachmentID, FileName, Url, MimeType, ContentLength. Required: id.
  • xero_bank_transactions_list_historyList history records for a specific Xero bank transaction by id. Returns: Changes, DateUTCString, DateUTC, User, Details. Required: id.
  • xero_bank_transactions_update_historyCreate a history record for a specific Xero bank transaction. Returns: Details, DateUTCString, DateUTC, User, Changes. Required: id.
  • update_a_xero_bank_transaction_by_idUpdate a specific Xero bank transaction by id. Returns the updated transaction including BankTransactionID, Type, Status, Contact, LineItems, BankAccount, SubTotal, TotalTax, Total, CurrencyCode, and IsReconciled. Required: id.
  • xero_bank_transactions_bulk_updateCreate or update one or more Xero bank transactions in a single request. Returns the processed transactions including BankTransactionID, Type, Status, Contact, LineItems, BankAccount, SubTotal, TotalTax, Total, CurrencyCode, and IsReconciled. Required: BankTransactions.
  • list_all_xero_connectionsList Xero connections (tenants) that the authenticated user has authorised access to. Returns: id, tenantId, tenantType, tenantName, createdDateUtc, updatedDateUtc.
  • list_all_xero_usersList all users in the xero organisation. Returns: UserID, EmailAddress, FirstName, LastName, UpdatedDateUTC, IsSubscriber, OrganisationRole. Optionally filter results with `where` or sort with `order`.
  • get_single_xero_user_by_idGet a specific xero user by UserID. Returns: UserID, EmailAddress, FirstName, LastName, UpdatedDateUTC, IsSubscriber, OrganisationRole. Required: id.
  • list_all_xero_credit_notesList credit notes in Xero. Returns: CreditNoteID, CreditNoteNumber, Type, Status, Date, Contact, SubTotal, TotalTax, Total, CurrencyCode, RemainingCredit, UpdatedDateUTC.
  • get_single_xero_credit_note_by_idGet a single Xero credit note by id. Returns: CreditNoteID, CreditNoteNumber, Type, Status, Date, Contact, LineItems, SubTotal, TotalTax, Total, CurrencyCode, RemainingCredit, UpdatedDateUTC. Required: id.
  • list_all_xero_purchase_ordersList purchase orders in Xero. Returns: PurchaseOrderID, PurchaseOrderNumber, Status, Contact, DateString, SubTotal, TotalTax, Total, CurrencyCode, LineItems, and UpdatedDateUTC.
  • get_single_xero_purchase_order_by_idGet a single Xero purchase order by id. Returns: PurchaseOrderID, PurchaseOrderNumber, Status, Contact, LineItems, SubTotal, TotalTax, Total, CurrencyCode, DateString, DeliveryDateString, UpdatedDateUTC, SentToContact, and HasAttachments. Required: id.
  • list_all_xero_invoicesList Xero sales invoices or purchase bills. Returns: InvoiceID, InvoiceNumber, Status, Type, Contact, Total, AmountDue, AmountPaid, CurrencyCode, LineItems, and UpdatedDateUTC. Supports filtering by IDs, InvoiceNumbers, ContactIDs, Statuses, or a free-form where clause.
  • get_single_xero_invoice_by_idGet a specific Xero sales invoice or purchase bill by id. Returns the invoice object including InvoiceID, InvoiceNumber, Status, Type, Contact, LineItems, SubTotal, TotalTax, Total, AmountDue, AmountPaid, CurrencyCode, Attachments, and UpdatedDateUTC. Required: id.
  • create_a_xero_invoiceCreate one or more Xero sales invoices or purchase bills. Returns the created invoice including InvoiceID, InvoiceNumber, Status, Type, Contact, LineItems, SubTotal, TotalTax, Total, AmountDue, AmountPaid, CurrencyCode, and UpdatedDateUTC.
  • update_a_xero_invoice_by_idUpdate a specific Xero sales invoice or purchase bill by id. Returns the updated invoice including InvoiceID, InvoiceNumber, Status, Type, Contact, LineItems, SubTotal, TotalTax, Total, AmountDue, AmountPaid, CurrencyCode, and UpdatedDateUTC. Required: id.
  • delete_a_xero_invoice_by_idVoid a Xero invoice by id, setting its Status to VOIDED. Returns the voided invoice including InvoiceID, InvoiceNumber, Status, Type, Contact, Total, AmountDue, AmountPaid, CurrencyCode, and UpdatedDateUTC. Required: id.
  • xero_invoices_downloadDownload a Xero invoice as a PDF file from GET /Invoices/{id}/pdf. Returns binary PDF content (application/pdf). Required: invoice_id.
  • xero_invoices_list_attachmentsList attachments for a specific Xero invoice or purchase bill. Returns: AttachmentID, FileName, Url, MimeType, ContentLength. Required: id.
  • xero_invoices_list_historyRetrieve history records for a specific Xero invoice. Returns: Details, DateUTC, User, Changes. Required: id.
  • xero_invoices_update_historyCreate a history note for a specific Xero invoice. Returns: Details, DateUTC, User, Changes. Required: id, HistoryRecords.
  • xero_invoices_bulk_updateUpdate multiple Xero invoices in a single batch request. Returns a list of updated invoice objects including InvoiceID, Type, Status, InvoiceNumber, Total, AmountDue, Contact. Required: Invoices.
  • list_all_xero_tax_ratesList tax rates configured in Xero. Returns: Name, TaxType, Status, DisplayTaxRate, EffectiveTaxRate, EffectiveTaxRate, ReportTaxType, and TaxComponents for each tax rate record.
  • list_all_xero_organizationsList Xero organisations connected to the authenticated account. Returns: OrganisationID, Name, LegalName, BaseCurrency, CountryCode, OrganisationType, OrganisationStatus, IsDemoCompany, Timezone, CreatedDateUTC, FinancialYearEndDay, and FinancialYearEndMonth.
  • list_all_xero_accountsList the full chart of accounts in xero. Returns: AccountID, Code, Name, Type, TaxType, EnablePaymentsToAccount, BankAccountNumber, CurrencyCode, and Description. Optionally filter with `where` or sort with `order`.
  • get_single_xero_account_by_idGet a single xero account by its AccountID. Returns: AccountID, Code, Name, Status, Type, TaxType, Description, Class, EnablePaymentsToAccount, ShowInExpenseClaims, ReportingCode, ReportingCodeName, UpdatedDateUTC. Required: id.
  • create_a_xero_accountCreate a new xero account. Returns the full response envelope including Id, Status, ProviderName, DateTimeUTC, and an Accounts array containing the created account with AccountID, Code, Name, Status, Type, TaxType, and other account fields.
  • delete_a_xero_account_by_idDelete a xero account by its AccountID. Returns the deleted account record including AccountID, Code, Name, Status, Type, TaxType, Description, Class, EnablePaymentsToAccount, ShowInExpenseClaims, ReportingCode, ReportingCodeName, and UpdatedDateUTC. Required: id.
  • xero_accounts_list_attachmentsList attachments for a specific xero account by its AccountID. Returns: AttachmentID, FileName, Url, MimeType, ContentLength. Required: id.
  • list_all_xero_itemsList all Xero inventory items. Returns: ItemID, Code, Name, Description, IsSold, IsPurchased, IsTrackedAsInventory, SalesDetails, PurchaseDetails, UpdatedDateUTC.
  • get_single_xero_item_by_idGet a specific Xero inventory item by id. Returns: ItemID, Code, Name, Description, PurchaseDescription, IsTrackedAsInventory, InventoryAssetAccountCode, TotalCostPool, QuantityOnHand, IsSold, IsPurchased, SalesDetails, PurchaseDetails, UpdatedDateUTC. Required: id.
  • create_a_xero_itemCreate one or more Xero inventory items. Returns: ItemID, Code, Name, Description, IsSold, IsPurchased, IsTrackedAsInventory, SalesDetails, PurchaseDetails, UpdatedDateUTC, ValidationErrors. Required: Items (each item must include Code).
  • update_a_xero_item_by_idUpdate a specific Xero inventory item by id. Returns: ItemID, Code, Name, Description, IsSold, IsPurchased, IsTrackedAsInventory, SalesDetails, PurchaseDetails, UpdatedDateUTC, ValidationErrors. Required: id.
  • delete_a_xero_item_by_idDelete a specific Xero inventory item by id. Returns an empty 204 response on success. Required: id.
  • xero_items_bulk_updateCreate or update multiple items in Xero in a single request. Returns: ItemID, Code, Name, UpdatedDateUTC, PurchaseDetails, SalesDetails. Required: Items (each item object requires Code).
  • xero_items_list_historyRetrieve history records for a specific item in Xero. Returns: HistoryRecordID, Details, DateUTC, User, Changes. Required: id.
  • xero_items_update_historyCreate a history record for a specific item in Xero. Returns: HistoryRecordID, Details, DateUTC, User, Changes. Required: id.
  • create_a_xero_attachmentUpload an attachment to a Xero entity via multipart file upload. Returns: AttachmentID, FileName, Url, MimeType, ContentLength. Required: entity, entity_id, file_name.
  • list_all_xero_attachmentsList all attachments for a Xero entity. Returns: AttachmentID, FileName, Url, MimeType, ContentLength. Required: entity, entity_id.
  • get_single_xero_attachment_by_idDownload the raw binary content of a specific Xero entity attachment by attachment id. Returns the file as binary data (application/octet-stream). Required: entity, entity_id, id.
  • xero_attachments_bulk_updateUpload or replace an attachment on a Xero repeating invoice by filename. Returns: AttachmentID, FileName, Url, MimeType, ContentLength. Required: repeating_invoice_id, file_name.
  • create_a_xero_manual_journalCreate a manual journal in Xero. Returns the created journal including ManualJournalID, Narration, Date, Status, LineAmountTypes, JournalLines, and UpdatedDateUTC. Required: Narration, JournalLines.
  • list_all_xero_manual_journalsList all manual journals in Xero. Returns an array of manual journal records each containing ManualJournalID, Narration, Date, Status, LineAmountTypes, JournalLines, and UpdatedDateUTC.
  • get_single_xero_manual_journal_by_idGet a single manual journal in Xero by id. Returns ManualJournalID, Narration, Date, Status, LineAmountTypes, JournalLines, HasAttachments, and UpdatedDateUTC. Required: id.
  • list_all_xero_journalsList Xero journals ordered by JournalNumber. Returns: JournalID, JournalDate, JournalNumber, CreatedDateUTC, SourceID, SourceType, and JournalLines with per-line NetAmount and TaxAmount details.
  • get_single_xero_journal_by_idGet a specific Xero journal by id. Returns: JournalID, JournalDate, JournalNumber, CreatedDateUTC, Reference, SourceID, SourceType, and JournalLines with per-line NetAmount and TaxAmount details. Required: id.
  • list_all_xero_balance_sheetList the Xero Balance Sheet report for a given date and period configuration. Returns: ReportID, ReportName, ReportType, ReportDate, UpdatedDateUTC, ReportTitles, and Rows containing hierarchical line-item data. All parameters are optional; omitting date defaults to the current date.
  • list_all_xero_profit_and_lossList the Profit and Loss report from Xero. Returns: ReportID, ReportName, ReportType, ReportDate, UpdatedDateUTC, ReportTitles, and Rows containing the financial line-item data. All parameters are optional; omitting date filters returns the current period.
  • list_all_xero_currenciesList all currencies configured for a Xero organisation. Returns: Code, Description. Optionally filter results with where or sort with order.
  • create_a_xero_currencyCreate a new currency for a Xero organisation. Returns: Code, Description. Required: Code.
  • list_all_xero_contact_groupsList all xero contact groups. Returns: ContactGroupID, Name, Status, Contacts, HasValidationErrors. Optionally filter results with `where` or sort with `order`.
  • get_single_xero_contact_group_by_idGet a specific xero contact group by id, including its full list of member contacts. Returns: ContactGroupID, Name, Status, Contacts, HasValidationErrors. Required: id.
  • create_a_xero_contact_groupCreate a new xero contact group. Returns: ContactGroupID, Name, Status, Contacts, HasValidationErrors. Required: ContactGroups (each entry requires Name).
  • update_a_xero_contact_group_by_idUpdate a specific xero contact group by id. Returns: ContactGroupID, Name, Status, Contacts, HasValidationErrors. Required: id, ContactGroups (each entry requires Name).
  • delete_a_xero_contact_group_by_idDelete a xero contact group by id by setting its status to DELETED. Returns the deleted group's ContactGroupID, Name, Status, Contacts, HasValidationErrors. Required: id.
  • xero_contact_groups_bulk_updateBulk create or update multiple contact groups in Xero in a single PUT request. Returns: ContactGroupID, Name, Status, Contacts for each affected group. Required: ContactGroups array with at least one entry containing Name.
  • list_all_xero_repeating_invoicesList all repeating invoice templates in Xero. Returns: RepeatingInvoiceID, Type, Status, Schedule, Contact, LineItems, SubTotal, TotalTax, Total, CurrencyCode, HasAttachments, ApprovedForSending, MarkAsSent.
  • get_single_xero_repeating_invoice_by_idGet a single repeating invoice template in Xero by id. Returns: RepeatingInvoiceID, Type, Status, Schedule, Contact, LineItems, SubTotal, TotalTax, Total, CurrencyCode, Attachments. Required: id.
  • create_a_xero_repeating_invoiceCreate one or more repeating invoice templates in Xero. Returns: RepeatingInvoiceID, Type, Status, Schedule, Contact, LineItems, SubTotal, TotalTax, Total, CurrencyCode, ApprovedForSending, MarkAsSent. Required: RepeatingInvoices.
  • delete_a_xero_repeating_invoice_by_idDelete a repeating invoice template in Xero by setting its status to DELETED. Returns: RepeatingInvoiceID, Type, Status, Schedule, Contact, LineItems, SubTotal, Total, CurrencyCode. Required: id.
  • xero_repeating_invoices_bulk_updateBulk update one or more repeating invoice templates in Xero. Returns: RepeatingInvoiceID, Type, Status, Schedule, Contact, LineItems, SubTotal, TotalTax, Total, CurrencyCode, ApprovedForSending, MarkAsSent. Required: RepeatingInvoices.
  • xero_repeating_invoices_list_attachmentsList all attachments for a specific xero repeating invoice. Returns: AttachmentID, FileName, Url, MimeType, ContentLength. Required: id.
  • xero_repeating_invoices_list_historyRetrieve history records for a specific xero repeating invoice. Returns: Details, Changes, User, DateUTC. Required: id.
  • xero_repeating_invoices_update_historyCreate a history note on a specific xero repeating invoice. Returns: Details, Changes, User, DateUTC. Required: id, HistoryRecords.
  • list_all_xero_budgetsList Xero budgets. Returns: BudgetID, Status, Description, Type, UpdatedDateUTC, BudgetLines, and Tracking for each budget. Optionally filter by IDs, DateFrom, or DateTo.
  • get_single_xero_budget_by_idRetrieve a specific Xero budget by id, including full budget lines and tracking category assignments. Returns: BudgetID, Type, Description, UpdatedDateUTC, BudgetLines (with BudgetBalances per period), and Tracking. Required: id.
  • list_all_xero_bank_transfersList all bank transfers in Xero. Returns: BankTransferID, Amount, FromBankAccount, ToBankAccount, Date, Reference, FromIsReconciled, ToIsReconciled, FromBankTransactionID, ToBankTransactionID, HasAttachments. Supports filtering via where and result ordering via order.
  • get_single_xero_bank_transfer_by_idGet a specific Xero bank transfer by id. Returns: BankTransferID, Amount, FromBankAccount, ToBankAccount, Date, Reference, CurrencyRate, FromIsReconciled, ToIsReconciled, HasAttachments, Attachments. Required: id.
  • create_a_xero_bank_transferCreate a new bank transfer in Xero between two bank accounts. Returns: BankTransferID, Amount, FromBankAccount, ToBankAccount, Date, Reference, FromIsReconciled, ToIsReconciled, FromBankTransactionID, ToBankTransactionID, HasAttachments. Required: FromBankAccount, ToBankAccount, Amount.
  • xero_bank_transfers_list_attachmentsList attachments for a specific Xero bank transfer. Returns: AttachmentID, FileName, Url, MimeType, ContentLength. Required: id.
  • xero_bank_transfers_list_historyRetrieve the history of changes for a specific Xero bank transfer. Returns: Changes, Details, DateUTCString, DateUTC, User. Required: id.
  • xero_bank_transfers_update_historyCreate a history note on a specific Xero bank transfer. Returns the created history record including Details, Changes, DateUTC, User, and ValidationErrors. Required: id.
  • list_all_xero_reportsList Xero reports by report name, returning the organisation's report data in ReportWithRows format. Returns: ReportID, ReportName, ReportType, ReportTitles, ReportDate, UpdatedDateUTC, and Rows (report-type-specific row data). Required: report_name.
  • list_all_xero_branding_themesList all branding themes configured in Xero. Returns BrandingThemeID, Name, SortOrder, Type, LogoUrl, and CreatedDateUTC for each theme.
  • get_single_xero_branding_theme_by_idGet a single Xero branding theme by id. Returns BrandingThemeID, Name, LogoUrl, Type, SortOrder, and CreatedDateUTC. Required: id.
  • list_all_xero_payment_servicesList payment services associated with a specific xero branding theme. Returns: PaymentServiceID, PaymentServiceName, PaymentServiceUrl. Required: branding_theme_id.
  • list_all_xero_linked_transactionsList all linked transactions in Xero. Returns: LinkedTransactionID, SourceTransactionID, SourceLineItemID, Status, Type, UpdatedDateUTC.
  • get_single_xero_linked_transaction_by_idGet a single linked transaction in Xero by id. Returns: LinkedTransactionID, SourceTransactionID, SourceLineItemID, ContactID, TargetTransactionID, TargetLineItemID, Status, Type, UpdatedDateUTC. Required: id.
  • create_a_xero_linked_transactionCreate a new linked transaction in Xero. Returns: LinkedTransactionID, SourceTransactionID, SourceLineItemID, ContactID, TargetTransactionID, TargetLineItemID, Status, Type, UpdatedDateUTC.
  • update_a_xero_linked_transaction_by_idUpdate an existing linked transaction in Xero by id. Returns: LinkedTransactionID, SourceTransactionID, SourceLineItemID, ContactID, TargetTransactionID, TargetLineItemID, Status, Type, UpdatedDateUTC. Required: id.
  • list_all_xero_overpaymentsList xero overpayments. Returns: OverpaymentID, Type, Status, Reference, RemainingCredit, Contact, SubTotal, TotalTax, Total, CurrencyCode, Date, UpdatedDateUTC, HasAttachments, LineItems, Allocations.
  • get_single_xero_overpayment_by_idGet a specific xero overpayment by id. Returns: OverpaymentID, Type, Status, Reference, RemainingCredit, CurrencyRate, Contact, Allocations, Attachments, LineItems, SubTotal, TotalTax, Total, CurrencyCode, UpdatedDateUTC. Required: id.
  • xero_overpayments_list_historyRetrieve history records for a specific xero overpayment. Returns: HistoryRecordID, Details, DateUTC, Changes, User. Required: id.
  • xero_overpayments_bulk_updateAdd history notes to a specific xero overpayment. Returns: HistoryRecordID, Details, DateUTC, Changes, User. Required: id, HistoryRecords.
  • list_all_xero_prepaymentsList all Xero prepayments. Returns: PrepaymentID, Type, Status, Contact, Date, SubTotal, TotalTax, Total, RemainingCredit, CurrencyCode, and LineItems. Optionally filter by where clause or InvoiceNumbers.
  • get_single_xero_prepayment_by_idGet a single Xero prepayment by id. Returns: PrepaymentID, Type, Status, Contact, LineItems, SubTotal, TotalTax, Total, RemainingCredit, Allocations, Attachments, and CurrencyCode. Required: id.
  • xero_prepayments_list_historyRetrieve history records for a specific Xero prepayment. Returns: Changes, DateUTC, Details, User, and ValidationErrors for each history entry. Required: id.
  • xero_prepayments_bulk_updateCreate history notes for a specific Xero prepayment. Returns: Changes, DateUTC, Details, User, and ValidationErrors for each created history record. Required: id, HistoryRecords.
  • list_all_xero_quotesList Xero sales quotes with optional filtering by date range, expiry date, contact, status, and quote number. Returns: QuoteID, QuoteNumber, Status, Contact, LineItems, SubTotal, TotalTax, Total, CurrencyCode, ExpiryDate, UpdatedDateUTC.
  • get_single_xero_quote_by_idGet a single Xero quote by its QuoteID. Returns: QuoteID, QuoteNumber, Reference, Terms, Contact, LineItems, Status, SubTotal, TotalTax, Total, CurrencyCode, ExpiryDate, UpdatedDateUTC. Required: id.
  • create_a_xero_quoteCreate or update one or more Xero quotes. Returns: Id, Status, ProviderName, and a Quotes array of created or updated quote objects (each containing QuoteID, QuoteNumber, Status, Contact, LineItems, SubTotal, TotalTax, Total, CurrencyCode, UpdatedDateUTC). Required: Quotes array; each item requires Contact (with ContactID) and LineItems.
  • xero_quotes_downloadDownload a Xero quote as a PDF file from GET /Quotes/{id}/pdf. Returns binary PDF content (application/pdf). Required: quote_id.
  • update_a_xero_quote_by_idUpdate a specific Xero quote by its QuoteID. Returns: QuoteID, QuoteNumber, Status, Contact, LineItems, SubTotal, TotalTax, Total, CurrencyCode, UpdatedDateUTC, LineAmountTypes. Required: id.
  • xero_quotes_bulk_updateBulk create or update one or more Xero quotes in a single request. Returns the processed Quote objects including QuoteID, Status, Total, SubTotal, and UpdatedDateUTC. Required: Quotes.
  • xero_quotes_list_attachmentsRetrieve all attachments for a specific Xero quote. Returns: AttachmentID, FileName, Url, MimeType, ContentLength. Required: id.
  • xero_quotes_list_historyRetrieve all history records for a specific Xero quote. Returns: Changes, DateUTC, User, Details. Required: id.

And 172 more. Filter to find one.

AMCP serverno code

For any MCP client

One URL per connected Xero account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.

Server URLhttps://api.truto.one/mcp/<token>

BTools APIfor developers

For the agent you build

One call returns every Xero tool for an account, with its description and JSON schema, ready for any LLM framework.

GEThttps://api.truto.one/integrated-account/<id>/tools

Tools come as JSON schema, so they plug into any agent framework.

  • Always up to date

    Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.

  • You set the limits

    Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.

  • One customer each

    Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.

  • Tools you can edit

    Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.

  • Sign-in handled

    Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.

  • Access can expire

    Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.

How MCP servers work

03Unified APIs

Xero is in 2 unified APIs. One call for every app in a category.

Ask for accounts, attachments or budgets the same way for Xero and every other Accounting app. Truto makes Xero’s own call and returns the same data shape.

Add-on: $499 per category a month. 30-day trial on Free.

Xero is mappedSame call, same data shapeStart free

Unified User Directory API1 resource

Unified Accounting API21 resources

04Sync and webhooks

Sync Xero data on a schedule. Sent to your webhook.

A sync job reads Xero records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

05Custom actions

Add any Xero endpoint. With the Truto CLI.

Need a Xero endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any Xero path through the Custom API.

On every plan, including Free. Truto CLI

For your own AI tools

Use Xero in ChatGPT, Claude or Cursor with Elaichi.

Truto puts Xero in the product you build. To use Xero yourself, in the AI your team already has, we recommend Elaichi.

For your product

Ship Xero tools in your product

Give the AI in your product access to each customer’s own Xero account, with one MCP server per connected account.

Start free with Xero

Rather talk it through? Book a demo

Elaichi

For your own team

Use Xero in your own AI

Connect your company’s Xero once, then ask in the AI you already use, with exactly your own access.

Works in

Xero on Elaichi

From the team behind Truto · 14-day free trial

Use cases

Why integrate with Xero.

  1. Automate invoice creation from your SaaS into Xero

    If your platform handles billing, project completion, or service delivery, you can automatically push invoices into your users' Xero accounts — eliminating dual data entry and keeping their accounts receivable current in real time.

  2. Pull financial data for underwriting and credit decisioning

    Lending, financing, and fintech platforms can read their users' Xero reports, transactions, and account balances to algorithmically assess business health — replacing manual CSV and PDF uploads with a live, authenticated data connection.

  3. Sync expenses and receipts into the general ledger

    Spend management and corporate card platforms can push categorized transactions into Xero with receipt attachments, mapped to the correct chart of accounts and tracking categories, so month-end close is effortless for the user's accountant.

  4. Keep CRM contacts and payment status in sync with Xero

    CRM and sales platforms can sync contacts bidirectionally and surface outstanding invoice and payment data from Xero directly inside the sales workflow, giving reps real-time visibility into customer financial status.

  5. Manage subscription revenue recognition in Xero

    Billing and subscription platforms can generate invoices, credit notes, and payments in Xero whenever subscriptions change — ensuring the general ledger accurately mirrors the subscription engine across currencies and tax jurisdictions.

What you can build

Ship these with Truto and Xero.

  • Chart of Accounts Mapping UI

    Let your users map your product's categories to their specific Xero accounts, tax rates, and tracking categories before any data is synced, ensuring every transaction lands in the right place on the ledger.

  • Automated Invoice and Payment Sync

    Push invoices into Xero when work is completed or deals close, and automatically reconcile them by creating payments when funds are collected through your platform.

  • Real-Time Financial Health Dashboard

    Pull P&L statements, balance sheets, and company info from Xero to populate analytics dashboards or feed proprietary scoring models inside your product.

  • Receipt Attachment Pipeline

    Attach receipt images and supporting documents directly to Xero transactions and invoices via the Attachments resource, making audit prep seamless for your users' accountants.

  • Bi-Directional Contact and Vendor Sync

    Sync customers and vendors between your platform and Xero using Contacts and Contact Groups, keeping records consistent across systems without manual reconciliation.

  • Daily Sales Journal Entry Aggregation

    Aggregate POS or e-commerce transactions into summarized journal entries in Xero — avoiding thousands of individual line items while maintaining accurate revenue and tax reporting.

Security

Your customers’ Xero data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Truto managed OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s Xero account

    Use Truto’s frontend SDK to connect your customer’s Xero account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call Xero

    Truto’s Proxy API is a 1-to-1 mapping of the Xero API. You call us, we call Xero, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate Xero’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about Xero on Truto.

What authentication method does Xero use?

Xero uses OAuth 2.0 for authentication. Truto handles the full OAuth flow — including token refresh — so your team doesn't need to manage auth lifecycle or deal with token expiry for your end users' connections.

Which Xero data models can I access through Truto's Unified Accounting API?

Truto's Unified Accounting API supports Accounts, Attachments, Budgets, Company Info, Contact Groups, Contacts, Credit Notes, Currencies, Employees, Invoices, Items, Journal Entries, Payments, Purchase Orders, Repeating Transactions, Reports, Tax Rates, Tracking Categories, and Transactions. A Unified User Directory API is also available for Users.

Can I both read and write data to Xero through Truto?

Yes. The Unified Accounting API supports both read and write operations across supported resources — for example, you can create invoices, push payments, and attach receipts, as well as read reports and transaction history.

Does Truto handle Xero's API rate limits and pagination?

Yes. Truto abstracts away Xero's rate limiting and pagination logic. You query Truto's unified endpoints, and Truto manages retries, backoff, and cursor-based pagination under the hood so you don't have to build that plumbing yourself.

Can I access Xero's Tracking Categories for department or location-level reporting?

Yes. Tracking Categories are a supported resource in the Unified Accounting API. You can read your users' configured tracking categories and options, then apply them when creating invoices, journal entries, or transactions to ensure data is tagged by department, location, or any custom dimension the user has set up in Xero.

Does the integration support multi-currency Xero organizations?

Yes. The Currencies resource is available through the Unified Accounting API, allowing you to read which currencies are enabled in your user's Xero organization and reference them when creating invoices, payments, or other financial records.

Xero

Get Xero integrated into your app

Sign up free, connect a test Xero account and make your first call today. No card and no sales call.