# Account

Use this type to set up a reusable *Account* variable.

### Properties <a href="#properties" id="properties"></a>

| Code                    | Customer defined alpha numeric account code e.g 200 or SALES                                                                                                                                                                            |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name                    | Name of account                                                                                                                                                                                                                         |
| Type                    | See [Account Types](https://developer.xero.com/documentation/api/types#AccountTypes)                                                                                                                                                    |
| BankAccountNumber       | For bank accounts only (Account Type BANK)                                                                                                                                                                                              |
| Status                  | Accounts with a status of ACTIVE can be updated to ARCHIVED. See [Account Status Codes](https://developer.xero.com/documentation/api/types#accounts)                                                                                    |
| Description             | Description of the Account. Valid for all types of accounts except bank accounts                                                                                                                                                        |
| BankAccountType         | For bank accounts only. See [Bank Account types](https://developer.xero.com/documentation/api/types#BankAccountTypes)                                                                                                                   |
| CurrencyCode            | For bank accounts only                                                                                                                                                                                                                  |
| TaxType                 | See [Tax Types](https://developer.xero.com/documentation/api/types#TaxTypes)                                                                                                                                                            |
| EnablePaymentsToAccount | Boolean - describes whether account can have payments applied to it                                                                                                                                                                     |
| ShowInExpenseClaims     | Boolean - describes whether account code is available for use with expense claims                                                                                                                                                       |
| AccountID               | Xero identifier                                                                                                                                                                                                                         |
| Class                   | See [Account Class Types](https://developer.xero.com/documentation/api/types#AccountClassTypes)                                                                                                                                         |
| SystemAccount           | If this is a system account then this element is returned. See [System Account types](https://developer.xero.com/documentation/api/types#SystemAccounts). Note that non-system accounts may have this element set as either "" or null. |
| ReportingCode           | Shown if set                                                                                                                                                                                                                            |
| ReportingCodeName       | Shown if set                                                                                                                                                                                                                            |
| HasAttachments          | boolean to indicate if an account has an attachment                                                                                                                                                                                     |
| UpdatedDateUTC          | Last modified date UTC format                                                                                                                                                                                                           |

### Links <a href="#links" id="links"></a>

[Xero Developer: Accounts](https://developer.xero.com/documentation/api/accounts)
