Retrieve an account

GET/accounting/{connection_id}/account/{id}

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Account

Returns

Chart of accounts

idstring
Identifier used by the SaaS application to uniquely identify the Account
created_atdate
Date and time when the Account was created, in ISO 8601 format and UTC (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
Date and time when the Account was last updated, in ISO 8601 format and UTC (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
Account name
descriptionstring
Account description
type enum
Valid values:
"ACCOUNTS_PAYABLE"
"ACCOUNTS_RECEIVABLE"
"BANK"
"CREDIT_CARD"
"FIXED_ASSET"
Account type, such as BANK. EQUITY, ASSET, ...
status enum
Valid values:
"ACTIVE"
"ARCHIVED"
Account status, such as ACTIVE or ARCHIVED
balancenumber
Balance of the account.
currencystring
Account’s currency, in ISO 4217 format (e.g. U.S. dollars is USD)
customer_defined_codestring
Identifier for tracking and categorizing accounts for reporting or analysis purposes that is defined by the end-customer
is_payableboolean
True if the account is an “accounts payable” account
sectionstring
@deprecated; use taxonomy
subsectionstring
@deprecated; use taxonomy
groupstring
@deprecated; use taxonomy
subgroupstring
@deprecated; use taxonomy
parent_idstring
The parent account ID for this account
taxonomy array
organization_idstring
const options = {
  method: 'GET',
  url: 'https://api.unified.to/accounting/5de520f96e439b002043d8dc/account/5de520f96e439b002043d8d8',
  headers: {
    authorization: 'bearer .....'
  },
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?