Menu
Create Account
Creates a new chart of accounts
PUT
/AccountsUse it in a workflow
- Add a step and choose the Xero connector.
- Pick the Create Account action (under Xero).
- Fill in the fields below, then reference the result from later steps as
{{createAccount.response.data}}.
Request
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"Code": 4400,
"Name": "Food Sales",
"AccountID": "00000000-0000-0000-0000-000000000000",
"Type": "BANK",
"BankAccountNumber": "string",
"Status": "ACTIVE",
"Description": "string",
"BankAccountType": "BANK",
"CurrencyCode": "AED",
"TaxType": "string",
"EnablePaymentsToAccount": false,
"ShowInExpenseClaims": false
}
Response
Returns 200 with an object. Read it in later steps with {{createAccount.response.data.<field>}}.
{
"Accounts": [
{
"Code": 4400,
"Name": "Food Sales",
"AccountID": "00000000-0000-0000-0000-000000000000",
"Type": "BANK",
"BankAccountNumber": "string",
"Status": "ACTIVE",
"Description": "string",
"BankAccountType": "BANK",
"CurrencyCode": "AED",
"TaxType": "string",
"EnablePaymentsToAccount": false,
"ShowInExpenseClaims": false
}
]
}
Need more? See the Xero guide for connection setup and behaviour shared by every action.
Was this page helpful?