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.

PurchaseInvoiceLine

Response

A line of a purchase invoice.

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

Attributes

17
book_net_amountstring · nullablerequireddecimal string

net_amount in the book currency.

book_tax_amountstring · nullablerequireddecimal string

tax_amount in the book currency; the figure the VAT return reads.

idstring (uuid)required

Line id; send it back in lines to keep the line.

positionintegerrequiredat least 1

1-based place of the line in the invoice.

namestringrequired

Line text, as printed.

quantitystringrequireddecimal string

Quantity; negative on a supplier's return row.

unitstringrequired

Unit of measure.

unit_pricestringrequireddecimal string

Net price per unit, exactly as stored (up to 10 places, e.g. a milk price component of -0.011276).

tax_code_idstring (uuid)required

The line's VAT code.

account_idstring (uuid)required

The expense or asset account.

dimensionsarray of DimensionAssignmentrequired

Dimension values on the line.

2 attributes of each item
dimension_idstring (uuid)required

The dimension.

value_idstring (uuid)required

The value within that dimension.

net_amountstringrequireddecimal string

Net amount of the line, including its own rounding.

tax_amountstringrequireddecimal string

VAT of the line.

gross_amountstringrequireddecimal string

net_amount + tax_amount.

item_idstring (uuid) · nullable

The item the line is for, if any.

descriptionstring · nullable

Longer text under the name.

tax_ratestring · nullabledecimal string

The VAT rate in percent, frozen on the line.

Used by