Unique customer-defined alphanumeric account code (maximum 10 characters). Required when creating a non-BANK account; optional for BANK creates and updates.
namestring
Account name (maximum 150 characters). Required when account_id is omitted to create an account; optional for updates.
statusstring
Account status. ACTIVE accounts can be updated to ARCHIVED.
tax_typestring
Tax type code returned by Xero tax rates, such as NONE, INPUT, or OUTPUT2.
tenant_idstring
Xero tenant/organization ID. If omitted, uses the first connected tenant.
account_idstring
Existing account UUID. Omit to create an account; supply it to update that account.
descriptionstring
Account description. Not valid for BANK accounts.
CurrencyCodestring
Three-letter currency code documented by Xero.
account_typestring
Xero account type classification. Required when account_id is omitted to create an account; optional for updates.
AddToWatchlistboolean
Whether the account is shown in the dashboard watchlist.
BankAccountTypestring
Bank account type. Valid only for BANK accounts.
idempotency_keystring
Optional key used by Xero to make retries idempotent.
Observable output
data
Required
Data from the action execution
errorstring
Error if any occurred during the execution of the action
successfulboolean
Required
Whether or not the action execution was successful or not