| Name | Type | Description | Notes |
|---|---|---|---|
| code | str | Customer defined alpha numeric account code e.g 200 or SALES (max length = 10) | [optional] |
| name | str | Name of account (max length = 150) | [optional] |
| account_id | str | The Xero identifier for an account – specified as a string following the endpoint name e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9 | [optional] |
| type | AccountType | [optional] | |
| bank_account_number | str | For bank accounts only (Account Type BANK) | [optional] |
| status | str | Accounts with a status of ACTIVE can be updated to ARCHIVED. See Account Status Codes | [optional] |
| description | str | Description of the Account. Valid for all types of accounts except bank accounts (max length = 4000) | [optional] |
| bank_account_type | str | For bank accounts only. See Bank Account types | [optional] |
| currency_code | CurrencyCode | [optional] | |
| tax_type | str | The tax type from taxRates | [optional] |
| enable_payments_to_account | bool | Boolean – describes whether account can have payments applied to it | [optional] |
| show_in_expense_claims | bool | Boolean – describes whether account code is available for use with expense claims | [optional] |
| _class | str | See Account Class Types | [optional] |
| system_account | str | If this is a system account then this element is returned. See System Account types. Note that non-system accounts may have this element set as either “” or null. | [optional] |
| reporting_code | str | Shown if set | [optional] |
| reporting_code_name | str | Shown if set | [optional] |
| has_attachments | bool | boolean to indicate if an account has an attachment (read only) | [optional] [default to False] |
| updated_date_utc | datetime | Last modified date UTC format | [optional] |
| add_to_watchlist | bool | Boolean – describes whether the account is shown in the watchlist widget on the dashboard | [optional] |
| validation_errors | list[ValidationError] | Displays array of validation error messages from the API | [optional] |