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.

DocumentCreateRequest

Request

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

Attributes

2

The document to create.

6 attributes of data
size_bytesintegerrequired1–26214400

Size in bytes, at most 25 MB.

document_datestring (date) · nullable

The date printed on the document, when known (not the upload date).

kindstring · nullable

What the document is. Stored as stated by the caller, so a later OCR reading does not replace it. Only the kinds a received document can be; the app's own sales documents are not created here.

One of invoice, credit_note, receipt, tax_notice, account_statement, delivery_note, contract, other

contact_idstring (uuid) · nullable

The contact on the document. One of this organization's contacts.

file_namestring1–255 characters

File name, with its extension. Required.

external_refstring · nullable1–200 characters

Your own id for this document, unique per organization; with on_conflict a retried create finds the document it made.

on_conflictDocumentOnConflictdefault "error"

What a create does when a document already holds the sent external_ref. error: 409 EXTERNAL_REF_EXISTS with existing_id. return: 200 with that document, and a fresh upload URL while its upload is still awaited. A document's bytes never change, so there is no update.

One of error, return

Used by