# AutocompleteAccount

Type: object

Schema: [AutocompleteAccount](https://sourcey-firefly.pages.dev/api/models/autocompleteaccount/index.md)

- `id` (required)
  Type: string, string
  
  Example:
  
  ```json
  "2"
  ```

- `name` (required)
  Type: string, string
  
  Name of the account found by an auto-complete search.
  
  Example:
  
  ```json
  "Checking Account"
  ```

- `name_with_balance` (required)
  Type: string, string
  
  Asset accounts and liabilities have a second field with the given date's account balance in the account currency or primary currency.
  
  Example:
  
  ```json
  "Checking Account ($123.45)"
  ```

- `active` (required)
  Type: boolean
  
  Is the account active or not?
  
  Example:
  
  ```json
  true
  ```

- `type` (required)
  Type: string, string
  
  Account type of the account found by the auto-complete search.
  
  Example:
  
  ```json
  "Asset account"
  ```

- `currency_id` (required)
  Type: string, string
  
  ID for the currency used by this account. If the user prefers amounts converted to their primary currency, this primary currency is used instead.
  
  Example:
  
  ```json
  "12"
  ```

- `currency_name` (required)
  Type: string, string
  
  Currency name for the currency used by this account. If the user prefers amounts converted to their primary currency, this primary currency is used instead.
  
  Example:
  
  ```json
  "Euro"
  ```

- `currency_code` (required)
  Type: string, string
  
  Currency code for the currency used by this account. If the user prefers amounts converted to their primary currency, this primary currency is used instead.
  
  Example:
  
  ```json
  "EUR"
  ```

- `currency_symbol` (required)
  Type: string, string
  
  Currency symbol for the currency used by this account. If the user prefers amounts converted to their primary currency, this primary currency is used instead.
  
  Example:
  
  ```json
  "$"
  ```

- `currency_decimal_places` (required)
  Type: integer, int32
  
  Number of decimal places for the currency used by this account. If the user prefers amounts converted to their primary currency, this primary currency is used instead.
  
  Example:
  
  ```json
  2
  ```

- `account_currency_id` (required)
  Type: string, string
  
  ID for the currency used by this account. Even if "convertToPrimary" is on, the account currency ID is displayed here.
  
  Example:
  
  ```json
  "2"
  ```

- `account_currency_name` (required)
  Type: string, string
  
  Name for the currency used by this account. Even if "convertToPrimary" is on, the account currency name is displayed here.
  
  Example:
  
  ```json
  "US Dollar"
  ```

- `account_currency_code` (required)
  Type: string, string
  
  Code for the currency used by this account. Even if "convertToPrimary" is on, the account currency code is displayed here.
  
  Example:
  
  ```json
  "USD"
  ```

- `account_currency_symbol` (required)
  Type: string, string
  
  Code for the currency used by this account. Even if "convertToPrimary" is on, the account currency code is displayed here.
  
  Example:
  
  ```json
  "$"
  ```

- `account_currency_decimal_places` (required)
  Type: integer, int32
  
  Number of decimal places for the currency used by this account. Even if "convertToPrimary" is on, the account currency code is displayed here.
  
  Example:
  
  ```json
  2
  ```