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.

DocumentLink

Response

A many-to-many link from a document to one accounting object (core.document_link, D-02). 'entry' resolves to transactions.transaction (the whole journal entry, not a single line). Public API (wave 3, J2): record_type/record_id name the record in the public resources' words; target_type/target_id are the app's.

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

Attributes

6
idstring (uuid)required

Id of the link.

document_idstring (uuid)required

The document.

record_typeDocumentRecordTyperequired

The kind of record a document is attached to: a purchase or sales invoice, a transaction, a bank statement line, a fixed asset, or an expense report (or one of its lines). New values may be added: treat a value you do not know as valid, not as an error.

Known values (open: expect new ones) purchase_invoice, sales_invoice, transaction, bank_line, fixed_asset, expense_report, expense_report_line, dividend_decision

record_idstring (uuid)required

Id of the record the document is attached to.

created_atstring (date-time)requiredread-only

When the document was attached.

linked_bystring (uuid) · nullable

The user who attached it; for an API credential, its service user.

Used by