list_xero_accounts
list_xero_accountsThis organisation's chart of accounts from Xero. Read-only; nothing is created or changed. Some accounts, most often a bank account, have code: null - Xero genuinely has no code for them; use that account's exact name instead wherever a tool accepts one (create_xero_payment's own bankAccountName), never invent a code for it. Use this BEFORE proposing an accountCode on a create_xero_invoice or update_xero_invoice line item - accountCode must be a real code from this list, never invented or guessed (an invented code is rejected before you can even propose the change). If none obviously fits, omit accountCode entirely: for a DRAFT invoice a human fills it in later in Xero; for an AUTHORISED invoice (the default), this connector fills in the organisation's own single active default account automatically when there is exactly one, or asks you to choose from this list when there is more than one. taxType here is each account's OWN default tax type - a useful hint, but not the exhaustive list of every tax rate this organisation has configured, so a line item is free to use a different valid one; if unsure, omit taxType too. Prefer accounts with status ACTIVE for a new line item - an ARCHIVED code still exists but Xero may refuse to post to it, and on an AUTHORISED invoice this connector refuses one outright rather than risk that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organisation | No | The Xero organisation to use, by its display name. Only needed if this connection reaches more than one organisation - omit it when there is only one. |