Xero
Invoices, bills, payments, bank transactions and contacts.
Each record is held whole. A resource's columns are what a list filters and sorts by.
Questions
receivables money
What customers owe: every AUTHORISED sales invoice (ACCREC) with an amount due, totalled and aged into buckets overall and per customer, largest debtor first. Owing is Xero's own AmountDue, in the organisation's base currency; invoices in another currency are counted apart. age_by due counts days overdue from the due date, so not_due is its own bucket; issued counts days since the invoice date.
- age_by
- string. Default due.
- contact
- string. Only customers whose name contains this.
payables money
What the business owes its suppliers: every AUTHORISED bill (ACCPAY) with an amount due, totalled and aged into buckets overall and per supplier, largest first, as receivables does for customers.
- age_by
- string. Default due.
- contact
- string. Only suppliers whose name contains this.
contact_overview customers
Everything about one contact, customer or supplier: name, email, phones, addresses and people; its sales invoices and bills (count, total, owing, the unpaid ones); payments; credit notes; and quotes, open ones listed.
- contact*
- string. A Xero ContactID, or part of the contact's name.
cash_position money
Money in and out of each bank account, from spend and receive money (transfers included) and payments, for a period or all time, with what is not yet reconciled. NOT the bank balance: Xero's balance comes from its reports, which are not read, and opening balances and manual journals are not counted.
- from
- string. First day, e.g. 2026-07-01. Omit for all time.
- to
- string. Last day, inclusive.
sales_and_spend money
Sales and spend for a period ex tax, per account code or per tracking option, summed from the line items of approved invoices, bills, their credit notes and spend and receive money (not transfers, overpayments or prepayments), by document date, in the base currency.
- from*
- string. First day, e.g. 2026-07-01.
- to
- string. Last day, inclusive. Default today.
- by
- string. Default account.
- side
- string. Omit for both.
- category
- string. With by tracking: only this tracking category, e.g. Region.
gst tax
GST on sales against GST on purchases for a period, and the net, per tax type: an ESTIMATE from the tax on the line items of the documents sales_and_spend reads, by document date. Not Xero's BAS or activity statement.
- from*
- string. First day, e.g. 2026-07-01.
- to
- string. Last day, inclusive. Default today.
unreconciled money
Spend and receive money and payments entered in Xero but not yet reconciled, per bank account with the oldest date, then the oldest of them listed. Xero's statement lines are not read, so a line nobody entered is not here.
- account
- string. Only bank accounts whose name or code contains this.
- limit
- integer. Transactions to list. Default 25, at most 100.
Ask with ask_question, or GET …/answers/{question} with the arguments as query parameters.
43 resources
accounts Accounts
The chart of accounts: code, name, type (BANK, REVENUE, EXPENSE…), class and tax type. Line items name an account by code.
Keyed by source_id
9 columns
- source_id string
- modified_at datetime
- record_name string
- code string
- account_type string
- account_class string
- status string
- tax_type string
- has_attachments boolean
asset_types Asset types
The kinds of fixed asset and how each depreciates.
Keyed by source_id
3 columns
- source_id string
- modified_at datetime
- record_name string
assets Assets
Fixed assets: number, name, status (DRAFT, REGISTERED, DISPOSED), purchase date and price, and depreciation.
Keyed by source_id
9 columns
- source_id string
- modified_at datetime
- record_name string
- number string
- status string
- asset_type_id string
- purchase_date date
- purchase_price decimal
- disposal_date date
attachments Attachments
Files on a Xero document: name, type and size, with the document's kind and ID (parent_type, parent_id). Metadata only.
Keyed by source_id
7 columns
- source_id string
- modified_at datetime
- record_name string
- mime_type string
- content_length integer
- parent_type string
- parent_id string
bank_transactions Bank transactions
Spend and receive money through a bank account, with line items. account_id is the bank account (accounts).
Keyed by source_id
15 columns
- source_id string
- modified_at datetime
- record_name string
- kind string
- status string
- contact_id string
- contact_name string
- transaction_date date
- reference string
- currency string
- total decimal
- account_id string
- account_name string
- is_reconciled boolean
- has_attachments boolean
bank_transfers Bank transfers
Money moved between two of the organisation's bank accounts.
Keyed by source_id
9 columns
- source_id string
- modified_at datetime
- record_name string
- transfer_date date
- amount decimal
- reference string
- from_account_name string
- to_account_name string
- has_attachments boolean
batch_payments Batch payments
Payments made or received in one batch, with each payment in it and the payees' bank details.
Keyed by source_id
9 columns
- source_id string
- modified_at datetime
- record_name string
- kind string
- status string
- payment_date date
- total decimal
- reference string
- account_id string
branding_themes Branding themes
The invoice and quote templates.
Keyed by source_id
3 columns
- source_id string
- modified_at datetime
- record_name string
budgets Budgets
The organisation's budgets as Xero lists them. Budget lines are not read.
Keyed by source_id
5 columns
- source_id string
- modified_at datetime
- record_name string
- kind string
- status string
contact_groups Contact groups
Groups contacts are sorted into.
Keyed by source_id
4 columns
- source_id string
- modified_at datetime
- record_name string
- status string
contacts Contacts
Customers and suppliers: name, email, addresses, phones, is_customer, is_supplier and bank account details.
Keyed by source_id
9 columns
- source_id string
- modified_at datetime
- record_name string
- email string
- status string
- account_number string
- is_customer boolean
- is_supplier boolean
- has_attachments boolean
credit_notes Credit notes
Credit notes: ACCRECCREDIT to a customer, ACCPAYCREDIT from a supplier, with line items, allocations and what remains.
Keyed by source_id
14 columns
- source_id string
- modified_at datetime
- record_name string
- number string
- reference string
- kind string
- status string
- contact_id string
- contact_name string
- credit_note_date date
- currency string
- total decimal
- remaining_credit decimal
- has_attachments boolean
currencies Currencies
The currencies the organisation trades in.
Keyed by source_id
3 columns
- source_id string
- modified_at datetime
- record_name string
files Files
Files in Xero's file library: name, type, size and folder. Metadata only.
Keyed by source_id
6 columns
- source_id string
- modified_at datetime
- record_name string
- mime_type string
- size integer
- folder_id string
folders Folders
The file library's folders.
Keyed by source_id
4 columns
- source_id string
- modified_at datetime
- record_name string
- file_count integer
invoices Invoices
Sales invoices (kind ACCREC) and bills (ACCPAY) with line items: contact, dates, status, total, amount_due and amount_paid. Who owes what: summarize amount_due where kind is ACCREC and status AUTHORISED, grouped by contact_name.
Keyed by source_id
20 columns
- source_id string
- modified_at datetime
- record_name string
- number string
- reference string
- kind string
- status string
- contact_id string
- contact_name string
- invoice_date date
- due_date date
- currency string
- sub_total decimal
- total_tax decimal
- total decimal
- amount_due decimal
- amount_paid decimal
- amount_credited decimal
- fully_paid_on date
- has_attachments boolean
items Items
Products and services: code, name, sale and purchase details, and stock on hand where tracked.
Keyed by source_id
8 columns
- source_id string
- modified_at datetime
- record_name string
- code string
- is_sold boolean
- is_purchased boolean
- is_tracked boolean
- quantity_on_hand decimal
journals Journals
The general ledger: every journal line Xero wrote, the raw ledger behind every report. Read only once Xero has approved journals for this app.
Keyed by source_id
8 columns
- source_id string
- modified_at datetime
- record_name string
- journal_number integer
- journal_date date
- source_type string
- source_record_id string
- reference string
leave_applications Leave applications
Leave applied for: the person, leave type, dates, units, title and description.
Keyed by source_id
7 columns
- source_id string
- modified_at datetime
- record_name string
- employee_id string
- leave_type_id string
- start_date date
- end_date date
linked_transactions Linked transactions
Billable expenses: a bill line linked to the sales invoice it is charged on.
Keyed by source_id
8 columns
- source_id string
- modified_at datetime
- record_name string
- kind string
- status string
- contact_id string
- source_transaction_id string
- target_transaction_id string
manual_journals Manual journals
Journals entered by hand, with their lines.
Keyed by source_id
6 columns
- source_id string
- modified_at datetime
- record_name string
- status string
- journal_date date
- has_attachments boolean
organisations Organisations
The organisation itself: name, legal name, country, base currency and financial year.
Keyed by source_id
7 columns
- source_id string
- modified_at datetime
- record_name string
- legal_name string
- country string
- base_currency string
- organisation_type string
overpayments Overpayments
Money paid or received over what was owed, and how it was allocated.
Keyed by source_id
11 columns
- source_id string
- modified_at datetime
- record_name string
- kind string
- status string
- contact_id string
- contact_name string
- overpayment_date date
- currency string
- total decimal
- remaining_credit decimal
pay_runs Pay runs
Pay runs: period, payment date, status, calendar, totals (Wages, Tax, Super, NetPay) and who was paid. Each person's lines are in payslips.
Keyed by source_id
8 columns
- source_id string
- modified_at datetime
- record_name string
- status string
- period_start date
- period_end date
- payment_date date
- payroll_calendar_id string
payments Payments
Payments against invoices, credit notes, prepayments and overpayments: date, amount, the invoice (invoice_id) and the account paid through.
Keyed by source_id
14 columns
- source_id string
- modified_at datetime
- record_name string
- kind string
- status string
- payment_date date
- amount decimal
- reference string
- invoice_id string
- invoice_number string
- contact_id string
- contact_name string
- account_id string
- is_reconciled boolean
payroll_calendars Payroll calendars
Payroll calendars: weekly, fortnightly or monthly, and their dates.
Keyed by source_id
4 columns
- source_id string
- modified_at datetime
- record_name string
- calendar_type string
payroll_employees Payroll employees
People on the payroll (Payroll AU): name, contact, address, job title, status, dates, leave balances, opening balances, pay template, tax declaration, bank accounts and super memberships.
Keyed by source_id
8 columns
- source_id string
- modified_at datetime
- record_name string
- status string
- job_title string
- start_date date
- termination_date date
- payroll_calendar_id string
payroll_timesheets Payroll timesheets
Payroll timesheets: a person's hours for a period by earnings rate. No amounts.
Keyed by source_id
8 columns
- source_id string
- modified_at datetime
- record_name string
- employee_id string
- status string
- start_date date
- end_date date
- hours decimal
payslips Payslips
One person's pay in one pay run (pay_run_id): wages, deductions, tax, super and net_pay, with earnings, leave accrued and taken, deduction, super and tax lines in the document.
Keyed by source_id
10 columns
- source_id string
- modified_at datetime
- record_name string
- employee_id string
- wages decimal
- deductions decimal
- tax decimal
- super decimal
- net_pay decimal
- pay_run_id string
prepayments Prepayments
Money paid or received before an invoice, and how it was allocated.
Keyed by source_id
12 columns
- source_id string
- modified_at datetime
- record_name string
- kind string
- status string
- reference string
- contact_id string
- contact_name string
- prepayment_date date
- currency string
- total decimal
- remaining_credit decimal
project_tasks Project tasks
The tasks inside each Xero project.
Keyed by source_id
6 columns
- source_id string
- modified_at datetime
- record_name string
- project_id string
- status string
- charge_type string
project_times Project times
Time logged against project tasks: who (user_id), the day and the minutes.
Keyed by source_id
9 columns
- source_id string
- modified_at datetime
- record_name string
- project_id string
- task_id string
- user_id string
- entry_date date
- duration_minutes decimal
- status string
project_users Project users
The people who can log time to projects.
Keyed by source_id
4 columns
- source_id string
- modified_at datetime
- record_name string
- email string
projects Projects
Xero projects: name, contact, status, deadline and estimate.
Keyed by source_id
6 columns
- source_id string
- modified_at datetime
- record_name string
- status string
- contact_id string
- deadline date
purchase_orders Purchase orders
Purchase orders to suppliers, with line items and delivery date.
Keyed by source_id
13 columns
- source_id string
- modified_at datetime
- record_name string
- number string
- reference string
- status string
- contact_id string
- contact_name string
- order_date date
- delivery_date date
- currency string
- total decimal
- has_attachments boolean
quotes Quotes
Quotes to customers, with line items, status and expiry.
Keyed by source_id
13 columns
- source_id string
- modified_at datetime
- record_name string
- number string
- reference string
- status string
- contact_id string
- contact_name string
- quote_date date
- expiry_date date
- currency string
- total decimal
- has_attachments boolean
repeating_invoices Repeating invoices
Invoice and bill templates Xero raises on a schedule.
Keyed by source_id
12 columns
- source_id string
- modified_at datetime
- record_name string
- kind string
- status string
- reference string
- contact_id string
- contact_name string
- total decimal
- schedule_unit string
- next_date date
- has_attachments boolean
reports Reports
Xero's own reports as it answered them: TrialBalance, BalanceSheet, ExecutiveSummary, ProfitAndLoss and BankSummary at each month's end (period_end; period_start for the two that span the month), the same as at today (source_id '<report>:current', with BudgetSummary), and published tax reports (report 'Published'). Figures are in the document's Rows.
Keyed by source_id
6 columns
- source_id string
- modified_at datetime
- record_name string
- report string
- period_start date
- period_end date
settings Settings
Settings Xero answers as one document: payroll settings, pay items and fixed-asset settings, by source_id.
Keyed by source_id
3 columns
- source_id string
- modified_at datetime
- record_name string
super_funds Super funds
The super funds the business pays into.
Keyed by source_id
4 columns
- source_id string
- modified_at datetime
- record_name string
- kind string
tax_rates Tax rates
The tax rates set up in Xero, keyed by tax type.
Keyed by source_id
5 columns
- source_id string
- modified_at datetime
- record_name string
- status string
- effective_rate decimal
tracking_categories Tracking categories
Tracking categories and their options (department, region and so on).
Keyed by source_id
4 columns
- source_id string
- modified_at datetime
- record_name string
- status string
users Users
The people who sign in to the organisation's Xero, and their role.
Keyed by source_id
5 columns
- source_id string
- modified_at datetime
- record_name string
- email string
- role string