Xero Proxy

Developer documentation

Scopes

Xero's own scope strings, used unchanged, and how a key's grant is narrowed by the connection.

View as markdown

How scoping works

A key's effective permission on an organisation is the intersection of the scopes granted to the key and the scopes the underlying Xero connection currently holds.

effective = key.scopes ∩ connection.grantedScopes

Re-authorising a connection with fewer scopes therefore narrows every key on it rather than breaking them with a Xero-side error. Read-only variants are distinct grants: accounting.transactions.read never permits a write.

Scope reference

Accounting

ScopeAccessWhat it grants
accounting.transactionsread and writeCreate and update invoices, bills, credit notes and payments
accounting.transactions.readread onlyRead invoices, bills, credit notes and payments
accounting.contactsread and writeCreate and update contacts and contact groups
accounting.contacts.readread onlyRead contacts and contact groups
accounting.settingsread and writeCreate and update accounts, tax rates, tracking categories and organisation settings
accounting.settings.readread onlyRead chart of accounts, tax rates and organisation settings
accounting.reports.readread onlyRead accounting reports such as Balance Sheet and Profit & Loss
accounting.reports.tenninetynine.readread onlyRead the 1099 report
accounting.journals.readread onlyRead the general ledger journals feed
accounting.attachmentsread and writeUpload and replace attachments on accounting records
accounting.attachments.readread onlyDownload attachments on accounting records
accounting.budgets.readread onlyRead budgets

Payroll AU

ScopeAccessWhat it grants
payroll.employeesread and writeCreate and update Australian payroll employees
payroll.employees.readread onlyRead Australian payroll employees
payroll.payrunsread and writeCreate and update Australian pay runs and pay slips
payroll.payruns.readread onlyRead Australian pay runs and pay slips
payroll.payslipread and writeUpdate Australian pay slips
payroll.payslip.readread onlyRead Australian pay slips
payroll.timesheetsread and writeCreate and update Australian timesheets
payroll.timesheets.readread onlyRead Australian timesheets
payroll.settingsread and writeUpdate Australian payroll settings and calendars
payroll.settings.readread onlyRead Australian payroll settings and calendars
payroll.superfundsread and writeCreate and update superannuation funds
payroll.superfunds.readread onlyRead superannuation funds
payroll.superfundproducts.readread onlyRead the superannuation fund product register

Payroll UK

ScopeAccessWhat it grants
payroll_uk.employeesread and writeCreate and update UK payroll employees
payroll_uk.employees.readread onlyRead UK payroll employees
payroll_uk.payrunsread and writeCreate and update UK pay runs
payroll_uk.payruns.readread onlyRead UK pay runs
payroll_uk.payslipread and writeUpdate UK pay slips
payroll_uk.payslip.readread onlyRead UK pay slips
payroll_uk.timesheetsread and writeCreate and update UK timesheets
payroll_uk.timesheets.readread onlyRead UK timesheets
payroll_uk.settingsread and writeUpdate UK payroll settings
payroll_uk.settings.readread onlyRead UK payroll settings

Payroll NZ

ScopeAccessWhat it grants
payroll_nz.employeesread and writeCreate and update New Zealand payroll employees
payroll_nz.employees.readread onlyRead New Zealand payroll employees
payroll_nz.payrunsread and writeCreate and update New Zealand pay runs
payroll_nz.payruns.readread onlyRead New Zealand pay runs
payroll_nz.payslipread and writeUpdate New Zealand pay slips
payroll_nz.payslip.readread onlyRead New Zealand pay slips
payroll_nz.timesheetsread and writeCreate and update New Zealand timesheets
payroll_nz.timesheets.readread onlyRead New Zealand timesheets
payroll_nz.settingsread and writeUpdate New Zealand payroll settings
payroll_nz.settings.readread onlyRead New Zealand payroll settings

Files

ScopeAccessWhat it grants
filesread and writeUpload, update and delete files and folders
files.readread onlyRead and download files and folders

Assets

ScopeAccessWhat it grants
assetsread and writeCreate and update fixed assets
assets.readread onlyRead fixed assets and asset types

Projects

ScopeAccessWhat it grants
projectsread and writeCreate and update projects, tasks and time entries
projects.readread onlyRead projects, tasks and time entries

Bank Feeds

ScopeAccessWhat it grants
bankfeedsread and writeCreate bank feed connections and deliver statements

Finance

ScopeAccessWhat it grants
finance.statements.readread onlyRead bank statements accounting data
finance.accountingactivity.readread onlyRead accounting activity metrics
finance.cashvalidation.readread onlyRead cash validation data
finance.bankstatementsplus.readread onlyRead enriched bank statement data