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.

BillingRunVariableValue

Request and response

A value for one of the plan's variables in this run: every asked variable needs one; a timed variable sent here is overridden for this run only.

Used in requests and responses. In a request only the listed values are accepted; in a response, tolerate values not listed here.

Attributes

6
keystringrequired1–63 characters

The variable's key in the plan.

valuestring · nullabledecimal string

The value, as a decimal string with at most 6 decimal places (a 7th is refused); it is stored and read back as sent, never rounded to fewer. Null with purchase_invoice_id: the variable's invoice formula over the chosen lines (invoice_formula on the plan variable; the lines' sum when it has none), computed by the server and kept to 6 places, half-even.

Details

A value sent with purchase_invoice_id must equal that result exactly.

purchase_invoice_idstring (uuid) · nullable

Or take it from lines of this purchase invoice.

purchase_invoice_line_idsarray of string (uuid)

The purchase invoice lines summed.

vatstring · nullable

Whether the purchase invoice lines are read with their VAT (included, the default) or without it: the line.amount of the invoice formula.

Values (closed in requests, open in responses) included, excluded

invoice_formulastring · nullableread-only

Read-only, on a run's values: the invoice formula a value taken from a purchase invoice was computed with, as the plan stood then. Null: the chosen lines' sum, or not taken from an invoice. Refused when sent.

Used by