Xero Accounting API
The Accounting API from Xero — 140 operation(s) for accounting.
Operations 237
GET
/Accounts/{AccountID}/Attachments
Xero Retrieves attachments for a specific accounts by using a unique account Id
#
GET
/Accounts/{AccountID}/Attachments/{AttachmentID}
Xero Retrieves a specific attachment from a specific account using a unique attachment Id
#
GET
/Accounts/{AccountID}/Attachments/{FileName}
Xero Retrieves an attachment for a specific account by filename
#
POST
/Accounts/{AccountID}/Attachments/{FileName}
Xero Updates attachment on a specific account by filename
#
GET
/BatchPayments/{BatchPaymentID}
Xero Retrieves a specific batch payment using a unique batch payment Id
#
POST
/BatchPayments/{BatchPaymentID}
Xero Updates a specific batch payment for invoices and credit notes
#
PUT
/BatchPayments/{BatchPaymentID}/History
Xero Creates a history record for a specific batch payment
#
GET
/BankTransactions/{BankTransactionID}
Xero Retrieves a single spent or received money transaction by using a unique bank transaction Id
#
POST
/BankTransactions/{BankTransactionID}
Xero Updates a single spent or received money transaction
#
GET
/BankTransactions/{BankTransactionID}/Attachments
Xero Retrieves any attachments from a specific bank transactions
#
GET
/BankTransactions/{BankTransactionID}/Attachments/{AttachmentID}
Xero Retrieves specific attachments from a specific BankTransaction using a unique attachment Id
#
GET
/BankTransactions/{BankTransactionID}/Attachments/{FileName}
Xero Retrieves a specific attachment from a specific bank transaction by filename
#
POST
/BankTransactions/{BankTransactionID}/Attachments/{FileName}
Xero Updates a specific attachment from a specific bank transaction by filename
#
PUT
/BankTransactions/{BankTransactionID}/Attachments/{FileName}
Xero Creates an attachment for a specific bank transaction by filename
#
GET
/BankTransactions/{BankTransactionID}/History
Xero Retrieves history from a specific bank transaction using a unique bank transaction Id
#
PUT
/BankTransactions/{BankTransactionID}/History
Xero Creates a history record for a specific bank transactions
#
GET
/BankTransfers/{BankTransferID}
Xero Retrieves specific bank transfers by using a unique bank transfer Id
#
GET
/BankTransfers/{BankTransferID}/Attachments
Xero Retrieves attachments from a specific bank transfer
#
GET
/BankTransfers/{BankTransferID}/Attachments/{AttachmentID}
Xero Retrieves a specific attachment from a specific bank transfer using a unique attachment ID
#
GET
/BankTransfers/{BankTransferID}/Attachments/{FileName}
Xero Retrieves a specific attachment on a specific bank transfer by file name
#
GET
/BankTransfers/{BankTransferID}/History
Xero Retrieves history from a specific bank transfer using a unique bank transfer Id
#
PUT
/BankTransfers/{BankTransferID}/History
Xero Creates a history record for a specific bank transfer
#
GET
/BrandingThemes/{BrandingThemeID}
Xero Retrieves a specific branding theme using a unique branding theme Id
#
GET
/BrandingThemes/{BrandingThemeID}/PaymentServices
Xero Retrieves the payment services for a specific branding theme
#
POST
/BrandingThemes/{BrandingThemeID}/PaymentServices
Xero Creates a new custom payment service for a specific branding theme
#
GET
/Contacts/{ContactNumber}
Retrieves a specific contact by contact number in a Xero organisation
#
GET
/Contacts/{ContactID}
Retrieves a specific contacts in a Xero organisation using a unique contact Id
#
GET
/Contacts/{ContactID}/Attachments
Retrieves attachments for a specific contact in a Xero organisation
#
GET
/Contacts/{ContactID}/Attachments/{AttachmentID}
Xero Retrieves a specific attachment from a specific contact using a unique attachment Id
#
GET
/Contacts/{ContactID}/Attachments/{FileName}
Xero Retrieves a specific attachment from a specific contact by file name
#
GET
/Contacts/{ContactID}/CISSettings
Retrieves CIS settings for a specific contact in a Xero organisation
#
GET
/ContactGroups/{ContactGroupID}
Xero Retrieves a specific contact group by using a unique contact group Id
#
DELETE
/ContactGroups/{ContactGroupID}/Contacts
Xero Deletes all contacts from a specific contact group
#
DELETE
/ContactGroups/{ContactGroupID}/Contacts/{ContactID}
Xero Deletes a specific contact from a contact group using a unique contact Id
#
GET
/CreditNotes/{CreditNoteID}
Xero Retrieves a specific credit note using a unique credit note Id
#
GET
/CreditNotes/{CreditNoteID}/Attachments
Xero Retrieves attachments for a specific credit notes
#
GET
/CreditNotes/{CreditNoteID}/Attachments/{AttachmentID}
Xero Retrieves a specific attachment from a specific credit note using a unique attachment Id
#
GET
/CreditNotes/{CreditNoteID}/Attachments/{FileName}
Xero Retrieves a specific attachment on a specific credit note by file name
#
POST
/CreditNotes/{CreditNoteID}/Attachments/{FileName}
Xero Updates attachments on a specific credit note by file name
#
PUT
/CreditNotes/{CreditNoteID}/Attachments/{FileName}
Xero Creates an attachment for a specific credit note
#
DELETE
/CreditNotes/{CreditNoteID}/Allocations/{AllocationID}
Xero Deletes an Allocation from a Credit Note
#
GET
/Employees/{EmployeeID}
Retrieves a specific employee used in Xero payrun using a unique employee Id
#
GET
/ExpenseClaims/{ExpenseClaimID}
Xero Retrieves a specific expense claim using a unique expense claim Id
#
GET
/ExpenseClaims/{ExpenseClaimID}/History
Xero Retrieves history records of a specific expense claim
#
PUT
/ExpenseClaims/{ExpenseClaimID}/History
Xero Creates a history record for a specific expense claim
#
GET
/Invoices/{InvoiceID}
Xero Retrieves a specific sales invoice or purchase bill using a unique invoice Id
#
GET
/Invoices/{InvoiceID}/Attachments
Xero Retrieves attachments for a specific invoice or purchase bill
#
GET
/Invoices/{InvoiceID}/Attachments/{AttachmentID}
Xero Retrieves a specific attachment from a specific invoices or purchase bills by using a unique attachment Id
#
GET
/Invoices/{InvoiceID}/Attachments/{FileName}
Xero Retrieves an attachment from a specific invoice or purchase bill by filename
#
POST
/Invoices/{InvoiceID}/Attachments/{FileName}
Xero Updates an attachment from a specific invoices or purchase bill by filename
#
PUT
/Invoices/{InvoiceID}/Attachments/{FileName}
Xero Creates an attachment for a specific invoice or purchase bill by filename
#
POST
/Invoices/{InvoiceID}/Email
Xero Sends a copy of a specific invoice to related contact via email
#
GET
/LinkedTransactions/{LinkedTransactionID}
Xero Retrieves a specific linked transaction (billable expenses) using a unique linked transaction Id
#
POST
/LinkedTransactions/{LinkedTransactionID}
Xero Updates a specific linked transactions (billable expenses)
#
DELETE
/LinkedTransactions/{LinkedTransactionID}
Xero Deletes a specific linked transactions (billable expenses)
#
GET
/ManualJournals/{ManualJournalID}/Attachments
Xero Retrieves attachment for a specific manual journal
#
GET
/ManualJournals/{ManualJournalID}/Attachments/{AttachmentID}
Xero Allows you to retrieve a specific attachment from a specific manual journal using a unique attachment Id
#
GET
/ManualJournals/{ManualJournalID}/Attachments/{FileName}
Xero Retrieves a specific attachment from a specific manual journal by file name
#
POST
/ManualJournals/{ManualJournalID}/Attachments/{FileName}
Xero Updates a specific attachment from a specific manual journal by file name
#
PUT
/ManualJournals/{ManualJournalID}/Attachments/{FileName}
Xero Creates a specific attachment for a specific manual journal by file name
#
GET
/ManualJournals/{ManualJournalID}/History
Xero Retrieves history for a specific manual journal
#
PUT
/ManualJournals/{ManualJournalID}/History
Xero Creates a history record for a specific manual journal
#
GET
/Organisation/Actions
Retrieves a list of the key actions your app has permission to perform in the connected Xero organisation.
#
GET
/Organisation/{OrganisationID}/CISSettings
Retrieves the CIS settings for the Xero organistaion.
#
GET
/Overpayments/{OverpaymentID}
Xero Retrieves a specific overpayment using a unique overpayment Id
#
PUT
/Overpayments/{OverpaymentID}/Allocations
Xero Creates a single allocation for a specific overpayment
#
DELETE
/Overpayments/{OverpaymentID}/Allocations/{AllocationID}
Xero Deletes an Allocation from an overpayment
#
GET
/Overpayments/{OverpaymentID}/History
Xero Retrieves history records of a specific overpayment
#
PUT
/Overpayments/{OverpaymentID}/History
Xero Creates a history record for a specific overpayment
#
GET
/Payments/{PaymentID}
Xero Retrieves a specific payment for invoices and credit notes using a unique payment Id
#
PUT
/Prepayments/{PrepaymentID}/Allocations
Xero Allows you to create an Allocation for prepayments
#
DELETE
/Prepayments/{PrepaymentID}/Allocations/{AllocationID}
Xero Deletes an Allocation from a Prepayment
#
GET
/PurchaseOrders/{PurchaseOrderID}/pdf
Xero Retrieves specific purchase order as PDF files using a unique purchase order Id
#
GET
/PurchaseOrders/{PurchaseOrderID}
Xero Retrieves a specific purchase order using a unique purchase order Id
#
GET
/PurchaseOrders/{PurchaseOrderNumber}
Xero Retrieves a specific purchase order using purchase order number
#
GET
/PurchaseOrders/{PurchaseOrderID}/History
Xero Retrieves history for a specific purchase order
#
PUT
/PurchaseOrders/{PurchaseOrderID}/History
Xero Creates a history record for a specific purchase orders
#
GET
/PurchaseOrders/{PurchaseOrderID}/Attachments
Xero Retrieves attachments for a specific purchase order
#
GET
/PurchaseOrders/{PurchaseOrderID}/Attachments/{AttachmentID}
Xero Retrieves specific attachment for a specific purchase order using a unique attachment Id
#
GET
/PurchaseOrders/{PurchaseOrderID}/Attachments/{FileName}
Xero Retrieves a specific attachment for a specific purchase order by filename
#
POST
/PurchaseOrders/{PurchaseOrderID}/Attachments/{FileName}
Xero Updates a specific attachment for a specific purchase order by filename
#
PUT
/PurchaseOrders/{PurchaseOrderID}/Attachments/{FileName}
Xero Creates attachment for a specific purchase order
#
GET
/Quotes/{QuoteID}/Attachments/{AttachmentID}
Xero Retrieves a specific attachment from a specific quote using a unique attachment Id
#
GET
/Quotes/{QuoteID}/Attachments/{FileName}
Xero Retrieves a specific attachment from a specific quote by filename
#
POST
/Quotes/{QuoteID}/Attachments/{FileName}
Xero Updates a specific attachment from a specific quote by filename
#
GET
/Receipts/{ReceiptID}
Xero Retrieves a specific draft expense claim receipt by using a unique receipt Id
#
GET
/Receipts/{ReceiptID}/Attachments
Xero Retrieves attachments for a specific expense claim receipt
#
GET
/Receipts/{ReceiptID}/Attachments/{AttachmentID}
Xero Retrieves a specific attachments from a specific expense claim receipts by using a unique attachment Id
#
GET
/Receipts/{ReceiptID}/Attachments/{FileName}
Xero Retrieves a specific attachment from a specific expense claim receipts by file name
#
POST
/Receipts/{ReceiptID}/Attachments/{FileName}
Xero Updates a specific attachment on a specific expense claim receipts by file name
#
PUT
/Receipts/{ReceiptID}/Attachments/{FileName}
Xero Creates an attachment on a specific expense claim receipts by file name
#
GET
/RepeatingInvoices/{RepeatingInvoiceID}
Xero Retrieves a specific repeating invoice by using a unique repeating invoice Id
#
GET
/RepeatingInvoices/{RepeatingInvoiceID}/Attachments
Xero Retrieves attachments from a specific repeating invoice
#
GET
/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{AttachmentID}
Xero Retrieves a specific attachment from a specific repeating invoice
#
GET
/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}
Xero Retrieves a specific attachment from a specific repeating invoices by file name
#
POST
/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}
Xero Updates a specific attachment from a specific repeating invoices by file name
#
PUT
/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}
Xero Creates an attachment from a specific repeating invoices by file name
#
GET
/RepeatingInvoices/{RepeatingInvoiceID}/History
Xero Retrieves history record for a specific repeating invoice
#
PUT
/RepeatingInvoices/{RepeatingInvoiceID}/History
Xero Creates a history record for a specific repeating invoice
#
GET
/Reports
Xero Retrieves a list of the organistaions unique reports that require a uuid to fetch
#
GET
/TrackingCategories/{TrackingCategoryID}
Xero Retrieves specific tracking categories and options using a unique tracking category Id
#
PUT
/TrackingCategories/{TrackingCategoryID}/Options
Xero Creates options for a specific tracking category
#
POST
/TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID}
Xero Updates a specific option for a specific tracking category
#
DELETE
/TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID}
Xero Deletes a specific option for a specific tracking category
#
Documentation
📖
Documentation
https://developer.xero.com/documentation/api/accounting/overview
📖
Documentation
https://developer.xero.com/documentation/api/assets/overview
📖
Documentation
https://developer.xero.com/documentation/api/bank-feeds/overview
📖
Documentation
https://developer.xero.com/documentation/api/finance/overview
📖
Documentation
https://developer.xero.com/documentation/guides/oauth2/overview/
📖
Documentation
https://developer.xero.com/documentation/api/payroll-au/overview
📖
Documentation
https://developer.xero.com/documentation/api/payroll-nz/overview
📖
Documentation
https://developer.xero.com/documentation/api/payroll-uk/overview
📖
Documentation
https://developer.xero.com/documentation/api/projects/overview
📖
Documentation
https://developer.xero.com/documentation/api/files/overview
Specifications
⚙
OpenAPI
https://raw.githubusercontent.com/api-evangelist/xero/refs/heads/main/openapi/xero-accounting-api-openapi.yml
⚙
AsyncAPI
https://raw.githubusercontent.com/api-evangelist/xero/refs/heads/main/asyncapi/xero-webhooks-asyncapi.yml