Skip to main content
Every xero.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Accounts

get

accounts.get Retrieve a specific account from Xero chart of accounts Risk: read
Input Output

list

accounts.list Retrieve chart of accounts from Xero Risk: read
Input Output

Assets

get

assets.get Retrieve a specific asset by ID from Xero Risk: read
Input Output

list

assets.list Retrieve fixed assets from Xero Risk: read
Input Output

Attachments

list

attachments.list List all attachments for a specific entity in Xero Risk: read
Input Output

upload

attachments.upload Upload a file attachment to a Xero entity Risk: write
Input Output

Bank Transactions

create

bankTransactions.create Create a bank transaction in Xero (SPEND or RECEIVE) Risk: write
Input
Output

list

bankTransactions.list Retrieve bank transactions from Xero Risk: read
Input Output

Budgets

get

budgets.get Retrieve a budget from Xero Risk: read
Input Output

Connections

get

connections.get List active Xero tenant connections Risk: read
Input: empty object Output: object[]

Contacts

create

contacts.create Create a new contact in Xero Risk: write
Input Output

list

contacts.list Retrieve a list of contacts from Xero Risk: read
Input Output

update

contacts.update Update an existing contact in Xero Risk: write
Input Output

Credit Notes

list

creditNotes.list Retrieve list of credit notes from Xero Risk: read
Input Output

Files

list

files.list Retrieve files from Xero Files Risk: read
Input Output

listFolders

files.listFolders Retrieve folders from Xero Files Risk: read
Input Output: object[]

Invoices

create

invoices.create Create a new invoice in Xero (sales invoice or bill) Risk: write
Input
Output

get

invoices.get Retrieve a specific invoice by ID from Xero Risk: read
Input Output

list

invoices.list Retrieve a list of invoices from Xero Risk: read
Input Output

update

invoices.update Update an existing invoice in Xero Risk: write
Input
Output

Items

create

items.create Create an inventory item in Xero Risk: write
Input
Output

get

items.get Retrieve a specific item by ID from Xero Risk: read
Input Output

list

items.list Retrieve items (inventory/products) from Xero Risk: read
Input Output

Journals

list

journals.list Retrieve journals from Xero Risk: read
Input Output

Manual Journals

get

manualJournals.get Retrieve a specific manual journal by ID from Xero Risk: read
Input Output

list

manualJournals.list Retrieve manual journals from Xero Risk: read
Input Output

Organisations

get

organisations.get Retrieve organisation details from Xero Risk: read
Input Output

Payments

create

payments.create Create a payment linking invoice and bank account in Xero Risk: write
Input
Output

list

payments.list Retrieve list of payments from Xero Risk: read
Input Output

Projects

get

projects.get Retrieve a specific project by ID from Xero Risk: read
Input Output

list

projects.list Retrieve projects from Xero Risk: read
Input Output

Purchase Orders

create

purchaseOrders.create Create a purchase order in Xero Risk: write
Input
Output

get

purchaseOrders.get Retrieve a specific purchase order by ID from Xero Risk: read
Input Output

list

purchaseOrders.list Retrieve list of purchase orders from Xero Risk: read
Input Output

Quotes

list

quotes.list Retrieve a list of quotes from Xero Risk: read
Input Output

Reports

getBalanceSheet

reports.getBalanceSheet Retrieve Balance Sheet report from Xero Risk: read
Input Output

getProfitLoss

reports.getProfitLoss Retrieve Profit & Loss report from Xero Risk: read
Input Output

Tax Rates

list

taxRates.list Retrieve tax rates from Xero Risk: read
Input Output

Tracking Categories

list

trackingCategories.list Retrieve tracking categories from Xero Risk: read
Input Output