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.

BillingRunRecipient

Response

One resolved recipient's outcome within a billing run (D-01, D-06).

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

Attributes

20
idstring (uuid) · nullablerequired

The recipient row; null in a dry run, which stores none.

object_idstring (uuid) · nullablerequired

Null in partners-mode plans (recipients come from billing_plan_recipient, not billing_object).

object_labelstring · nullablerequired

The object's name.

partner_idstring (uuid) · nullablerequired

The payer billed; null for a dry-run row whose payer is not resolved.

partner_labelstring · nullablerequired

The payer's name.

outcomestringrequired

What the run did: made an invoice, had nothing to bill, failed validation (error_code), or kept an issued invoice of an earlier run of the period (issued_untouched). New values may be added: treat a value you do not know as valid, not as an error.

Known values (open: expect new ones) generated, skipped, validation_failed, issued_untouched

invoice_idstring (uuid) · nullablerequired

Null for skipped/validation_failed outcomes.

invoice_numberstring · nullablerequired

The invoice's number, once issued.

errorstring · nullablerequired

English detail for support; the client localises by error_code.

error_codestring · nullablerequired

DA-139: the failure's machine-readable identity, registered in util/warning_codes.py under the billing_recipient_failure family and obliged warnings.billing_recipient_failure.<code> copy in both locales.

Details

Null for a non-failed outcome, and for a row generated before DA-139 shipped — in which case error (the server's English sentence) is the only text available.

error_paramsobject · nullablerequired

The figures the localised sentence interpolates (e.g. line_label, amount), lifted out of error because a translated sentence places its values differently. Null when the code takes no parameters.

estimated_linesarray of objectrequired

Lines billed on an estimate, settled by a later run.

2 attributes of each item
line_idstring (uuid)required

The plan line.

quantitystringrequireddecimal string

The estimated quantity billed.

flagsarray of object · nullable

Phase 241 (D-03): review-worthy flags on this recipient (e.g. missing_reading_policy=flag_recipient markers) — separate from outcome, whose enum is frozen (D-03). Null when the recipient carries no flags. Free-form per- entry shape; populated by the run-generation path (Phase 241-03/04).

co_partner_idsarray of string (uuid)

KÜ part 1 (owner Q25): the co-recipients this row was billed with (the other owners), printed and e-mailed beside the primary partner_id. Empty for a one-partner bill.

co_partner_labelsarray of string

The co-recipients' names, in billing order ("Mari Tamm + Jaan Tamm").

contact_idstring (uuid) · nullable

The payer billed (the primary recipient).

totalstring · nullabledecimal string

The invoice's total; a consolidated invoice's whole total on each member.

currencystring · nullable

The invoice's currency (ISO 4217); null without an invoice.

exchange_ratestring · nullabledecimal 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 invoice's rate: 1 in the book currency; for a foreign invoice the European Central Bank rate of its posting date (a draft's until issuing fixes it). Null without an invoice.

book_totalstring · nullabledecimal string

The invoice's total in the book currency. Null without an invoice, or for a foreign invoice with no rate yet.

Used by