Choose what you allow. Your choice applies on every tracken.ee address and you can change it any time with “Cookie settings” in the footer.

Remember your cookie choice, language and theme. Without them the site doesn't work the way you chose.

A cookie with your choice (6 months); language and theme in browser storage.


The services below learn that you visited this site, whether you came from their ad and whether you then created a Tracken account. That shows us which ads work, and these companies may show you Tracken ads later. They may link the data to your account with them. For Meta, Tracken ID's server reports the new account and also sends a hash of your e-mail address, your IP address and browser details.

ServiceCookiesKept for up to
Meta (Facebook, Instagram)_fbp, _fbc90 days

Tracken's own visit counter uses no cookies, stores no IP addresses and shares nothing with anyone. Privacy policy

Skip to content
Beta
BetaThe Tracken Accounts API is in beta: it may still change before v1, and every change is announced in the changelog.

AccountInput

Request

Fields to create an account.

Sent in requests. Its values are closed: anything not listed is refused.

Attributes

8
codestringrequired

Account number as it appears in the chart, digits only.

namestringrequired

Account name.

typeAccountTyperequired

Balance sheet or income statement class.

One of assets, liabilities, equity, revenue, expenses

requires_documentboolean

Whether a bank payment coded to this account should still be chased for a source document. Omitted, it follows the account's code.

default_tax_code_idstring (uuid) · nullable

The VAT code a new purchase line coded to this account starts with (one of the organization's own active tax codes), or null for none.

external_refstring · nullable1–200 characters

Your own id for this record (from the system you migrate from or sync with), up to 200 characters, unique per organization and resource. Filter lists by it; on_conflict resolves a create against it.

report_placementsarray of AccountReportPlacementat most 50 items

The report lines to show the account on, at most one per report definition, as a whole list: on a create the account is placed on exactly these; on an update the list replaces the account's placements (one left out is removed, [] removes all), omitted leaves them as they are.

Details

A trial-balance definition takes none. Sending the field ([] too) moves the account between report lines, a report-layout edit: the token also needs reports:write (403 INSUFFICIENT_SCOPE otherwise; leave it out to keep them).

2 attributes of each item
report_definition_idstring (uuid)required

The report definition (listReportDefinitions).

line_idstring (uuid)required

A line of that definition (its lines[].id). A built-in definition's line ids are the same in every organization.

currencystring · nullableat most 3 characters

The currency the account is kept in: an activated currency's ISO 4217 code (400 CURRENCY_NOT_ACTIVE otherwise), or null for the book currency (sending the book currency itself is 400 ACCOUNT_CURRENCY_IS_BOOK_CURRENCY).

Details

A bank account's ledger account takes the bank account's currency (409 ACCOUNT_CURRENCY_SET_BY_BANK_ACCOUNT); on an account with postings, every posting must already be in the new currency (409 ACCOUNT_CURRENCY_HAS_BOOK_POSTINGS or ACCOUNT_CURRENCY_HAS_FOREIGN_POSTINGS, with suggested_code for a new account). An account with an opening balance in EUR keeps its currency (400 ACCOUNT_OPENING_IN_CURRENCY, details.reason currency_change): an account kept in a currency states its opening balance in that currency in the opening state.

Used by