Xero + icon

Xero +

Consume Xero API

Account → Create

AI-generated

Summary

Create a new financial account in a specified Xero organization with details such as account name, type, code, and optional bank or tax information.

Inputs

  • Organization Name or ID (required) — Select the target Xero organization or provide its ID where the account will be created.
  • Name (required) — Specify the name of the account, limited to 150 characters.
  • Type (required) — Choose the account type such as Bank, Expense, Revenue, etc., determining the nature of the account.
  • Code — Provide an alphanumeric account code up to 10 characters; mandatory unless the type is Bank.
  • Bank Account Number — Specify the bank account number if the account type is Bank.
  • Additional Fields — Optionally include extra details such as bank account type, currency code, description, payment enablement, expense claim visibility, status, and tax type.

Output shape

a single record

Returns the created account object as per Xero API response. Errors will be reported if creation fails.

Links

Discussion