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.

BankLine

Response

One transaction on an imported bank statement. A line is open until it is reconciled: as a payment of documents, as a posting straight to an account, or as ignored.

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

Attributes

21
idstring (uuid)requiredread-only

Unique id of the record. Stable for its lifetime.

bank_statement_idstring (uuid)required

The statement the line came from.

bank_account_idstring (uuid)required

The bank account.

datestring (date)required

Booking date.

value_datestring (date) · nullablerequired

Value date, when the bank gives one.

directionstringrequired

Money in (incoming) or out (outgoing) of the bank account. New values may be added: treat a value you do not know as valid, not as an error.

Known values (open: expect new ones) incoming, outgoing

amountstringrequireddecimal string

Amount, always positive; direction says which way.

currencystringrequired

Currency of the line (ISO 4217). A line in another currency than the account's cannot be reconciled.

exchange_ratestring · nullablerequireddecimal stringpattern ^([1-9][0-9]{0,14}(\.[0-9]{1,10})?|0\.([1-9][0-9]{0,9}|0[1-9][0-9]{0,8}|00[1-9][0-9]{0,7}|000[1-9][0-9]{0,6}|0000[1-9][0-9]{0,5}|00000[1-9][0-9]{0,4}|000000[1-9][0-9]{0,3}|0000000[1-9][0-9]{0,2}|00000000[1-9][0-9]?|000000000[1-9]))$

The rate the line is booked at: line-currency units per 1 book-currency unit, the European Central Bank's rate of the line's booking date (rate_date names the ECB publication it is from).

Details

1 for a line in the book currency; null for a line in another currency that has no rate yet (it gets one when the ECB publishes it, or when a person posts or matches the line).

book_amountstring · nullablerequireddecimal string

amount in the book currency, amount divided by exchange_rate: the figure the line is booked at. The same sign as amount (positive; direction says which way). Equal to amount for a line in the book currency; null while exchange_rate is.

rate_datestring (date) · nullablerequired

The day the European Central Bank published the rate, when it is its rate; null for a stated rate and for a line in the book currency. It may precede the line's booking date: on a weekend or a holiday the rate is the last one the ECB published before it. Null too while exchange_rate is.

counterparty_namestring · nullablerequired

The other party's name as the bank gives it.

counterparty_ibanstring · nullablerequired

The other party's IBAN.

referencestring · nullablerequired

Structured reference (viitenumber) when present.

descriptionstring · nullablerequired

Payment description (unstructured remittance information).

bank_referencestring · nullablerequired

The bank's own id for the transaction (camt AcctSvcrRef, else NtryRef). Stable across re-imports of the same statement.

end_to_end_idstring · nullablerequired

The payer's end-to-end id, when the bank passes it on.

statusstringrequired

Whether the line still needs reconciling. New values may be added: treat a value you do not know as valid, not as an error.

Known values (open: expect new ones) open, reconciled

reconciliationBankLineReconciliation · nullablerequired

How the line was reconciled. null while open.

4 attributes of reconciliation
asstringrequired

What the line became. payment: it paid or received documents -- sales or purchase invoices (their payments are listPayments bank_line_id) or, in the app, a pay run's payouts.

Known values (open: expect new ones) payment, posting, ignored

Details

posting: an entry posted against an account books it. ignored: nothing is booked. New values may be added: treat a value you do not know as valid, not as an error.

transaction_idstring (uuid) · nullablerequired

For posting: the ledger entry that books the line. null otherwise (each payment carries its own entry).

reasonstring · nullablerequired

For ignored: why.

reconciled_atstring (date-time) · nullablerequired

When it was reconciled; null for lines reconciled before this was recorded.

created_atstring (date-time)requiredread-only

When the line was imported.

updated_atstring (date-time)requiredread-only

When the line last changed (imported, reconciled or opened again). Also the basis of the ETag.

Used by