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.

ReportDefinitionLine

Response

One line of a report definition.

Returned in responses. Its enums are open: tolerate values not listed here, which later versions may add.

Attributes

10
idstring (uuid)requiredread-only

The line's id; send it back to keep the line and its account placements.

codestringrequired

Code, unique in the definition; formulas and parents refer to it.

parent_codestring · nullablerequired

Code of the line this one sits under; null for a top line.

label_etstringrequired

Text of the line in Estonian.

label_enstring · nullablerequired

Text of the line in English.

negatebooleanrequired

Show the amount with the opposite sign to how the ledger nets it (debit positive), e.g. revenue as positive.

is_subtotalbooleanrequired

Shown as a subtotal. A line with children sums them either way.

value_kindstringrequired

How the values are shown: money, a plain ratio or a percentage. ratio and percent need a formula, except on a subtotal grouping. New values may be added: treat a value you do not know as valid, not as an error.

Known values (open: expect new ones) currency, ratio, percent

formulastring · nullablerequired

For a computed line: other lines' codes with numbers, + - * / and parentheses. A formula line has no children.

rolestring · nullablerequiredread-only

Set by the app, never by a client: the line the statement puts this year's profit (current_year_earnings) or earlier years' unclosed result (retained_earnings) on, or where tax owed and tax prepaid swap by sign (tax_debts, tax_prepayments).

Known values (open: expect new ones) current_year_earnings, retained_earnings, tax_debts, tax_prepayments

Details

A line with a role cannot be removed (409 REPORT_DEFINITION_ROLE_LINE). New values may be added: treat a value you do not know as valid, not as an error.

Used by