Xero

v0.1.4
io.github.mindstone/mcp-server-xero Checked 1 hour ago Published 7 days ago

Xero MCP server for invoices, contacts, payments, quotes, and financial reports.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

xero_sign_in

Sign in to Xero. Takes no parameters; call with {}. Rebel calls this when the person clicks Connect on the Xero connector. With a Xero Web app it opens Xero's sign-in page in the browser; with a Custom Connection it checks the connection works.

delete-timesheet

Delete an existing payroll timesheet in Xero by its ID.

ParameterTypeDescription
timesheetID *stringThe ID of the timesheet to delete.

get-timesheet

Retrieve a single payroll timesheet from Xero by its ID. This provides details such as the timesheet ID, employee ID, start and end dates, total hours, and the last updated date.

ParameterTypeDescription
timesheetID *stringThe ID of the timesheet to retrieve.

get-invoice-attachment-content

Download the content of a specific invoice attachment from Xero. Returns the file content as base64-encoded text along with MIME type and content length. Use list-invoice-attachments first to get the exact FileName and MIME type. The fileName must match exactly (case-sensitive). Requires the accounting.attachments.read scope on the Xero Custom Connection.

ParameterTypeDescription
contentType *stringMIME type from list-invoice-attachments (e.g. application/pdf, image/png)
fileName *stringExact filename from list-invoice-attachments
invoiceId *stringThe Xero Invoice ID (UUID)

create-contact

Create a contact in Xero. When a contact is created, a deep link to the contact in Xero is returned. This deep link can be used to view the contact in Xero directly. This link should be displayed to the user.

ParameterTypeDescription
name *string
emailstring
phonestring

create-credit-note

Create a credit note in Xero. When a credit note is created, a deep link to the credit note in Xero is returned. This deep link can be used to view the credit note in Xero directly. This link should be displayed to the user.

ParameterTypeDescription
contactId *string
lineItems *array
referencestring

create-manual-journal

Create a manual journal in Xero. Retrieve a list of account codes in Xero to use for the journal lines. Journal lines must contain at least two individual journal lines with account codes, use basic accounting account types pairing when not specified, and make sure journal line pairs have credit and debit balanced.

ParameterTypeDescription
manualJournalLines *arrayThe manualJournalLines element must contain at least two individual manualJournalLine sub-elements
narration *stringDescription of manual journal being posted
datestringOptional date in YYYY-MM-DD format
lineAmountTypesstringOptional line amount types (EXCLUSIVE, INCLUSIVE, NO_TAX), NO_TAX by default
showOnCashBasisReportsbooleanOptional boolean to show on cash basis reports, default is true
statusstringOptional status of the manual journal (DRAFT, POSTED, DELETED, VOIDED, ARCHIVED), DRAFT by default
urlstringOptional URL link to a source document

create-invoice

Create an invoice in Xero. When an invoice is created, a deep link to the invoice in Xero is returned. This deep link can be used to view the invoice in Xero directly. This link should be displayed to the user.

ParameterTypeDescription
contactId *stringThe ID of the contact to create the invoice for. Can be obtained from the list-contacts tool.
lineItems *array
type *stringThe type of invoice to create. ACCREC is for sales invoices, Accounts Receivable, or customer invoices. ACCPAY is for purchase invoices, Accounts Payable invoices, supplier invoices, or bi…
currencyCodestringOptional invoice currency, such as USD. Only use a currency enabled in the connected Xero organisation.
datestringThe date the invoice was created (YYYY-MM-DD format).
referencestringA reference number for the invoice.

create-quote

Create a quote in Xero. When a quote is created, a deep link to the quote in Xero is returned. This deep link can be used to view the quote in Xero directly. This link should be displayed to the user.

ParameterTypeDescription
contactId *string
lineItems *array
quoteNumberstring
referencestring
summarystring
termsstring
titlestring

create-payment

Create a payment against an invoice in Xero. This tool records a payment transaction against an invoice. You'll need to provide the invoice ID, account ID to make the payment from, and the amount. The amount must be positive and should not exceed the remaining amount due on the invoice. A payment can only be created for an invoice that is status AUTHORIZED A payment can only be created for an invoice that is not fully paid When a payment is created, a deep link to the payment in Xero is returned. This deep link can be used to view the payment in Xero directly. This link should be displa…

ParameterTypeDescription
accountId *stringThe ID of the account the payment is made from
amount *numberThe amount of the payment (must be positive)
invoiceId *stringThe ID of the invoice to pay
datestringOptional payment date in YYYY-MM-DD format
referencestringOptional payment reference/description

create-item

Create an item in Xero.

ParameterTypeDescription
code *string
name *string
descriptionstring
inventoryAssetAccountCodestring
isTrackedAsInventoryboolean
purchaseDescriptionstring
purchaseDetailsobject
salesDetailsobject

create-bank-transaction

Create a bank transaction in Xero. When a bank transaction is created, a deep link to the bank transaction in Xero is returned. This deep link can be used to view the bank transaction in Xero directly. This link should be displayed to the user.

ParameterTypeDescription
bankAccountId *string
contactId *string
lineItems *array
type *string
datestringIf no date is provided, the date will default to today's date
referencestring

create-timesheet

Create a new payroll timesheet in Xero. This allows you to specify details such as the employee ID, payroll calendar ID, start and end dates, and timesheet lines.

ParameterTypeDescription
employeeID *stringThe ID of the employee.
endDate *stringThe end date of the timesheet period (YYYY-MM-DD).
payrollCalendarID *stringThe ID of the payroll calendar.
startDate *stringThe start date of the timesheet period (YYYY-MM-DD).
timesheetLinesarrayThe lines of the timesheet.

create-tracking-category

Create a tracking category in Xero.

ParameterTypeDescription
name *string

create-tracking-options

Create tracking options for a tracking category in Xero.

ParameterTypeDescription
optionNames *array
trackingCategoryId *string

create-purchase-order

Create a purchase order in Xero for a supplier. The purchase order is created as DRAFT unless a status is specified.

ParameterTypeDescription
contactId *stringThe ID of the supplier contact to create the purchase order for. Can be obtained from the list-contacts tool.
lineItems *array
currencyCodestringOptional purchase order currency, such as USD. Only use a currency enabled in the connected Xero organisation.
datestringThe date the purchase order was issued (YYYY-MM-DD format). Defaults to today.
deliveryDatestringThe date the goods are to be delivered (YYYY-MM-DD format).
purchaseOrderNumberstringA unique alpha-numeric code for the purchase order. When omitted, Xero auto-generates one from the organisation settings.
referencestringAn additional reference for the purchase order.
statusstringThe status to create the purchase order with. Defaults to DRAFT.

get-invoice-history

Retrieve the history (audit trail) for a specific invoice in Xero. Returns history records including dates, users, details, and changes.

ParameterTypeDescription
invoiceID *stringThe Xero invoice ID.

add-invoice-note

Add a note to a specific invoice in Xero. Notes appear in the entity's history/audit trail. Notes are immutable once created.

ParameterTypeDescription
invoiceID *stringThe Xero invoice ID.
note *stringThe note text to add. This is immutable and cannot be edited or deleted after creation.

get-contact-history

Retrieve the history (audit trail) for a specific contact in Xero. Returns history records including dates, users, details, and changes.

ParameterTypeDescription
contactID *stringThe Xero contact ID.

add-contact-note

Add a note to a specific contact in Xero. Notes appear in the entity's history/audit trail. Notes are immutable once created.

ParameterTypeDescription
contactID *stringThe Xero contact ID.
note *stringThe note text to add. This is immutable and cannot be edited or deleted after creation.

get-credit-note-history

Retrieve the history (audit trail) for a specific credit-note in Xero. Returns history records including dates, users, details, and changes.

ParameterTypeDescription
creditNoteID *stringThe Xero credit note ID.

add-credit-note-note

Add a note to a specific credit-note in Xero. Notes appear in the entity's history/audit trail. Notes are immutable once created.

ParameterTypeDescription
creditNoteID *stringThe Xero credit note ID.
note *stringThe note text to add. This is immutable and cannot be edited or deleted after creation.

get-bank-transaction-history

Retrieve the history (audit trail) for a specific bank-transaction in Xero. Returns history records including dates, users, details, and changes.

ParameterTypeDescription
bankTransactionID *stringThe Xero bank transaction ID.

add-bank-transaction-note

Add a note to a specific bank-transaction in Xero. Notes appear in the entity's history/audit trail. Notes are immutable once created.

ParameterTypeDescription
bankTransactionID *stringThe Xero bank transaction ID.
note *stringThe note text to add. This is immutable and cannot be edited or deleted after creation.

get-quote-history

Retrieve the history (audit trail) for a specific quote in Xero. Returns history records including dates, users, details, and changes.

ParameterTypeDescription
quoteID *stringThe Xero quote ID.

add-quote-note

Add a note to a specific quote in Xero. Notes appear in the entity's history/audit trail. Notes are immutable once created.

ParameterTypeDescription
note *stringThe note text to add. This is immutable and cannot be edited or deleted after creation.
quoteID *stringThe Xero quote ID.

list-accounts

Lists all accounts in Xero. Use this tool to get the account codes and names to be used when creating invoices in Xero

list-contacts

List all contacts in Xero. This includes Suppliers and Customers.

ParameterTypeDescription
pagenumberOptional page number to retrieve for pagination. If not provided, the first page will be returned. If 100 contacts are returned, call this tool again with the next page number.
searchTermstringSearch parameter that performs a case-insensitive text search across the Name, FirstName, LastName, ContactNumber and EmailAddress fields

list-currencies

Lists currencies enabled in the connected Xero organisation. Use this before creating or updating invoices with a non-base currency.

list-credit-notes

List credit notes in Xero. Ask the user if they want to see credit notes for a specific contact, or to see all credit notes before running. Ask the user if they want the next page of credit notes after running this tool if 10 credit notes are returned. If they want the next page, call this tool again with the next page number and the contact if one was provided in the previous call. COMMON MISTAKES: - Only use the params listed above. Do not invent additional filter or sort params. - There is no "search", "query", "filter", "sortBy", "limit", or "offset" param.

ParameterTypeDescription
page *number
contactIdstring

list-invoices

List invoices in Xero. Returns up to pageSize results per page (default 100, max 100). SORTING: Default sort is UpdatedDateUTC DESC (last-modified first). Use orderBy to sort by DueDate, Date, or InvoiceNumber. Use orderDirection for ASC/DESC. FILTERING: Use status to filter by invoice status. Use type ACCREC for sales invoices or ACCPAY for bills. Use dateFrom/dateTo for date ranges (YYYY-MM-DD). PAGINATION: If results returned equals pageSize, there may be more pages. Call again with page+1. AGGREGATE QUERIES: For "latest invoice", "top N by due date", "total outstanding", "how many over…

ParameterTypeDescription
page *integerPage number (1-based). If results equal pageSize, there may be more pages.
contactIdsarray
dateFromstringOnly invoices on or after this date (YYYY-MM-DD)
dateTostringOnly invoices on or before this date (YYYY-MM-DD)
invoiceNumbersarrayIf provided, invoice line items will also be returned
orderBystringSort field. Default: UpdatedDateUTC
orderDirectionstringSort direction. Default: DESC
pageSizeintegerResults per page (default 100, max 100)
statusstringFilter by invoice status
typestringACCREC = sales invoices (accounts receivable), ACCPAY = bills (accounts payable)

list-items

Lists all items in Xero. Use this tool to get the item codes and descriptions to be used when creating invoices in Xero. COMMON MISTAKES: - Only use the params listed above. Do not invent additional filter or sort params. - There is no "search", "query", "filter", "sortBy", "limit", or "offset" param.

ParameterTypeDescription
page *number

list-manual-journals

List all manual journals from Xero. Ask the user if they want to see a specific manual journal or all manual journals before running. Can optionally pass in manual journal ID to retrieve a specific journal, or a date to filter journals modified after that date. The response presents a complete overview of all manual journals currently registered in your Xero account, with their details. Ask the user if they want the next page of manual journals after running this tool if 10 manual journals are returned. If they want the next page, call this tool again with the next page number, modified date,…

ParameterTypeDescription
manualJournalIdstringOptional ID of the manual journal to retrieve
modifiedAfterstringOptional date YYYY-MM-DD to filter journals modified after this date
pagenumberOptional page number for pagination

list-quotes

List all quotes in Xero. Ask the user if they want to see quotes for a specific contact before running. Ask the user if they want the next page of quotes after running this tool if 10 quotes are returned. If they do, call this tool again with the page number and the contact provided in the previous call. COMMON MISTAKES: - Only use the params listed above. Do not invent additional filter or sort params. - There is no "search", "query", "filter", "sortBy", "limit", or "offset" param.

ParameterTypeDescription
page *number
contactIdstring
quoteNumberstring

list-tax-rates

Lists all tax rates in Xero. Use this tool to get the tax rates to be used when creating invoices in Xero

list-trial-balance

Lists trial balance in Xero. This provides a snapshot of the general ledger, showing debit and credit balances for each account.

ParameterTypeDescription
datestringOptional date in YYYY-MM-DD format
paymentsOnlybooleanOptional flag to include only accounts with payments

list-payments

List payments in Xero. This tool shows all payments made against invoices, including payment date, amount, and payment method. You can filter payments by invoice number, invoice ID, payment ID, or invoice reference. Ask the user if they want to see payments for a specific invoice, contact, payment or reference before running. If many payments are returned, ask the user if they want to see the next page. COMMON MISTAKES: - Only use the params listed above. Do not invent additional filter or sort params. - There is no "search", "query", "filter", "sortBy", "limit", or "offset" param.

ParameterTypeDescription
invoiceIdstring
invoiceNumberstring
pagenumber
paymentIdstring
referencestring

list-profit-and-loss

Lists profit and loss report in Xero. This provides a summary of revenue, expenses, and profit or loss over a specified period of time.

ParameterTypeDescription
fromDatestringOptional start date in YYYY-MM-DD format
paymentsOnlybooleanOptional flag to include only accounts with payments
periodsnumberOptional number of periods to compare
standardLayoutbooleanOptional flag to use standard layout
timeframestringOptional timeframe for the report (MONTH, QUARTER, YEAR)
toDatestringOptional end date in YYYY-MM-DD format

list-bank-transactions

List all bank transactions in Xero. Ask the user if they want to see bank transactions for a specific bank account, or to see all bank transactions before running. Ask the user if they want the next page of bank transactions after running this tool if 10 bank transactions are returned. If they do, call this tool again with the next page number and the bank account if one was provided in the provided in the previous call. COMMON MISTAKES: - Only use the params listed above. Do not invent additional filter or sort params. - There is no "search", "query", "filter", "sortBy", "limit",…

ParameterTypeDescription
page *number
bankAccountIdstring

list-payroll-employees

List all payroll employees in Xero. This retrieves comprehensive employee details including names, User IDs, dates of birth, email addresses, gender, phone numbers, start dates, engagement types (Permanent, FixedTerm, or Casual), titles, and when records were last updated. The response presents a complete overview of all staff currently registered in your Xero payroll, with their personal and employment information. If there are many employees, ask the user if they would like to see more detailed information about specific employees before proceeding.

list-report-balance-sheet

List the Balance Sheet report from Xero.

ParameterTypeDescription
datestringOptional date in YYYY-MM-DD format
paymentsOnlybooleanOptional flag to include only accounts with payments
periodsnumberOptional number of periods to compare
standardLayoutbooleanOptional flag to use standard layout
timeframestringOptional timeframe for the report (MONTH, QUARTER, YEAR)
trackingOptionID1stringOptional tracking option ID 1
trackingOptionID2stringOptional tracking option ID 2

list-organisation-details

Lists the organisation details from Xero. Use this tool to get information about the current Xero organisation.

list-payroll-employee-leave

List all leave records for a specific employee in Xero. This shows all leave transactions including approved, pending, and processed time off. Provide an employee ID to see their leave history.

ParameterTypeDescription
employeeId *stringThe Xero employee ID to fetch leave records for

list-payroll-leave-periods

List all leave periods for a specific employee in Xero. This shows detailed time off periods including start and end dates, period status, payment dates, and leave types. Provide an employee ID to see their leave periods.

ParameterTypeDescription
employeeId *stringThe Xero employee ID to fetch leave periods for
endDatestringOptional end date in YYYY-MM-DD format
startDatestringOptional start date in YYYY-MM-DD format

list-payroll-employee-leave-types

List all leave types available for a specific employee in Xero. This shows detailed information about the types of leave an employee can take, including schedule of accrual, leave type name, and entitlement.

ParameterTypeDescription
employeeId *stringThe Xero employee ID to fetch leave types for

list-payroll-employee-leave-balances

List all leave balances for a specific employee in Xero. This shows current leave balances for all leave types available to the employee, including annual, sick, and other leave types.

ParameterTypeDescription
employeeId *stringThe Xero employee ID to fetch leave balances for

list-payroll-leave-types

Lists all available leave types in Xero Payroll. This provides information about all the leave categories configured in your Xero system, including statutory and organization-specific leave types.

list-aged-receivables-by-contact

Lists the aged receivables in Xero. This shows aged receivables for a certain contact up to a report date.

ParameterTypeDescription
contactId *string
invoicesFromDatestringOptional from date in YYYY-MM-DD format. If provided, will only show payable invoices after this date for the contact.
invoicesToDatestringOptional to date in YYYY-MM-DD format. If provided, will only show payable invoices before this date for the contact.
reportDatestringOptional date to retrieve aged receivables in YYYY-MM-DD format. If none is provided, defaults to end of the current month.

list-aged-payables-by-contact

Lists the aged payables in Xero. This shows aged payables for a certain contact up to a report date.

ParameterTypeDescription
contactId *string
invoicesFromDatestringOptional from date in YYYY-MM-DD format. If provided, will only show payable invoices after this date for the contact.
invoicesToDatestringOptional to date in YYYY-MM-DD format. If provided, will only show payable invoices before this date for the contact.
reportDatestringOptional date to retrieve aged payables in YYYY-MM-DD format. If none is provided, defaults to end of the current month.

list-timesheets

List all payroll timesheets in Xero. This retrieves comprehensive timesheet details including timesheet IDs, employee IDs, start and end dates, total hours, and the last updated date.

list-contact-groups

List all contact groups in Xero. You can optionally specify a contact group ID to retrieve details for that specific group, including its contacts.

ParameterTypeDescription
contactGroupIdstringOptional ID of the contact group to retrieve

list-tracking-categories

List all tracking categories in Xero, along with their associated tracking options.

ParameterTypeDescription
includeArchivedbooleanDetermines whether or not archived categories will be returned. By default, no archived categories will be returned.

list-invoice-attachments

List attachments for a specific invoice in Xero. Returns attachment metadata including filename, MIME type, and file size. Requires the accounting.attachments.read scope on the Xero Custom Connection. Use the FileName from the results with download-invoice-attachment to download content.

ParameterTypeDescription
invoiceId *stringThe Xero Invoice ID (UUID)

list-bank-summary

Get the bank summary report from Xero: opening and closing balances plus total money in/out per bank account over a period. Useful for cash-position questions.

ParameterTypeDescription
fromDatestringOptional start date of the report period (YYYY-MM-DD)
toDatestringOptional end date of the report period (YYYY-MM-DD)

list-budget-summary

Get the budget summary report from Xero: budgeted vs actual figures per account. Useful for 'are we tracking to budget?' questions. Requires budgets to be set up in the Xero organisation.

ParameterTypeDescription
datestringOptional date for the report (YYYY-MM-DD)
periodsintegerOptional number of periods to compare (1-12)
timeframestringOptional period size to compare (MONTH, QUARTER, YEAR)

list-executive-summary

Get the executive summary report from Xero: a high-level snapshot of key financial metrics (cash, debtors, creditors, revenue, profit) for a date. Useful for 'how is the business doing?' questions.

ParameterTypeDescription
datestringOptional date for the report (YYYY-MM-DD)

list-purchase-orders

List purchase orders in Xero. Returns up to pageSize results per page (default 100, max 100). FILTERING: Use status to filter (DRAFT, SUBMITTED, AUTHORISED, BILLED, DELETED). Use dateFrom/dateTo for date ranges (YYYY-MM-DD). PAGINATION: If results returned equals pageSize, there may be more pages. Call again with page+1.

ParameterTypeDescription
dateFromstringOnly purchase orders on or after this date (YYYY-MM-DD)
dateTostringOnly purchase orders on or before this date (YYYY-MM-DD)
orderBystringSort field. Default: Xero's default order
orderDirectionstringSort direction. Only applied when orderBy is set
pageintegerPage number (1-based). If results equal pageSize, there may be more pages.
pageSizeintegerResults per page (default 100, max 100)
statusstringFilter by purchase order status

update-contact

Update a contact in Xero. When a contact is updated, a deep link to the contact in Xero is returned. This deep link can be used to view the contact in Xero directly. This link should be displayed to the user.

ParameterTypeDescription
contactId *string
name *string
addressobject
emailstring
firstNamestring
lastNamestring
phonestring

update-credit-note

Update a credit note in Xero. Only works on draft credit notes. All line items must be provided. Any line items not provided will be removed. Including existing line items. Do not modify line items that have not been specified by the user. When a credit note is updated, a deep link to the credit note in Xero is returned. This deep link can be used to view the credit note in Xero directly. This link should be displayed to the user.

ParameterTypeDescription
creditNoteId *string
contactIdstring
datestring
lineItemsarrayAll line items must be provided. Any line items not provided will be removed. Including existing line items. Do not modify line items that have not been specified by the user
referencestring

update-invoice

Update an invoice in Xero. Only works on draft invoices. All line items must be provided. Any line items not provided will be removed. Including existing line items. Do not modify line items that have not been specified by the user. When an invoice is updated, a deep link to the invoice in Xero is returned. This deep link can be used to view the contact in Xero directly. This link should be displayed to the user.

ParameterTypeDescription
invoiceId *stringThe ID of the invoice to update.
contactIdstringThe ID of the contact to update the invoice for. Can be obtained from the list-contacts tool.
currencyCodestringOptional invoice currency, such as USD. Only use a currency enabled in the connected Xero organisation.
datestringThe date of the invoice.
dueDatestringThe due date of the invoice.
lineItemsarrayAll line items must be provided. Any line items not provided will be removed. Including existing line items. Do not modify line items that have not been specified by the user
referencestringA reference number for the invoice.

update-manual-journal

Update a manual journal in Xero. Only works on draft manual journals. Do not modify line items or parameters that have not been specified by the user.

ParameterTypeDescription
manualJournalID *stringID of the manual journal to update
manualJournalLines *arrayThe manualJournalLines element must contain at least two individual manualJournalLine sub-elements
narration *stringDescription of manual journal being posted
datestringOptional date in YYYY-MM-DD format
lineAmountTypesstringOptional line amount types (EXCLUSIVE, INCLUSIVE, NO_TAX), NO_TAX by default
showOnCashBasisReportsbooleanOptional boolean to show on cash basis reports, default is true
statusstringOptional status of the manual journal (DRAFT, POSTED, DELETED, VOIDED, ARCHIVED), DRAFT by default
urlstringOptional URL link to a source document

update-quote

Update a quote in Xero. Only works on draft quotes. All line items must be provided. Any line items not provided will be removed. Including existing line items. Do not modify line items that have not been specified by the user. When a quote is updated, a deep link to the quote in Xero is returned. This deep link can be used to view the quote in Xero directly. This link should be displayed to the user.

ParameterTypeDescription
quoteId *string
contactIdstring
datestring
expiryDatestring
lineItemsarrayAll line items must be provided. Any line items not provided will be removed. Including existing line items. Do not modify line items that have not been specified by the user
quoteNumberstring
referencestring
summarystring
termsstring
titlestring

update-item

Update an item in Xero.

ParameterTypeDescription
code *string
itemId *string
name *string
descriptionstring
inventoryAssetAccountCodestring
isTrackedAsInventoryboolean
purchaseDescriptionstring
purchaseDetailsobject
salesDetailsobject

update-bank-transaction

Update a bank transaction in Xero. When a bank transaction is updated, a deep link to the bank transaction in Xero is returned. This deep link can be used to view the bank transaction in Xero directly. This link should be displayed to the user.

ParameterTypeDescription
bankTransactionId *string
contactIdstring
datestring
lineItemsarrayAll line items must be provided. Any line items not provided will be removed. Including existing line items. Do not modify line items that have not been specified by the user
referencestring
typestring

approve-timesheet

Approve a payroll timesheet in Xero by its ID.

ParameterTypeDescription
timesheetID *stringThe ID of the timesheet to approve.

add-timesheet-line

Add a new timesheet line to an existing payroll timesheet in Xero.

ParameterTypeDescription
timesheetID *stringThe ID of the timesheet to update.
timesheetLine *objectThe details of the timesheet line to add.

update-timesheet-line

Update an existing timesheet line in a payroll timesheet in Xero.

ParameterTypeDescription
timesheetID *stringThe ID of the timesheet to update.
timesheetLine *objectThe details of the timesheet line to update.
timesheetLineID *stringThe ID of the timesheet line to update.

revert-timesheet

Revert a payroll timesheet to draft in Xero by its ID.

ParameterTypeDescription
timesheetID *stringThe ID of the timesheet to revert.

update-tracking-category

Updates an existing tracking category in Xero.

ParameterTypeDescription
trackingCategoryId *string
namestring
statusstring

update-tracking-options

Updates tracking options for a tracking category in Xero.

ParameterTypeDescription
options *array
trackingCategoryId *string

email-invoice

Email a copy of an invoice to its related contact via Xero. The invoice must be AUTHORISED — Xero rejects emails for DRAFT or SUBMITTED invoices. Use list-invoices to find the invoice ID.

ParameterTypeDescription
invoiceId *stringThe Xero invoice ID (UUID) of the AUTHORISED invoice to email