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.

SalesInvoiceLineItem

Response

A line of a sales invoice, credit note or quote.

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

Attributes

19
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, stable for the line's lifetime, including edits of the document.

positionintegerrequiredat least 1

1-based place of the line in the document.

namestringrequired

Line text as printed.

quantitystringrequireddecimal string

Quantity, up to 10 fraction digits; a negative quantity is a return.

unitstringrequired

Unit of measure.

unit_pricestringrequireddecimal string

Net price per unit, up to 10 fraction digits (a price component is priced to the tenth of a cent); stored and answered as sent.

discount_percentstringrequireddecimal string

Discount on the line in percent, 0-100.

tax_code_idstring (uuid) · nullablerequired

The tax code of the line, frozen when the document is issued.

account_idstring (uuid)required

Revenue account of the line.

net_amountstringrequireddecimal string

The line net of VAT, after its discount.

tax_amountstringrequireddecimal string

The VAT of the line.

gross_amountstringrequireddecimal string

net_amount plus the VAT billed on the line; a reverse-charge line bills none.

item_idstring (uuid) · nullable

The item the line was made from, if any.

descriptionstring · nullable

Longer text under the name.

tax_ratestring · nullabledecimal string

VAT rate in percent frozen on the line (24.00); null when the code has no rate.

dimensionsarray of InvoiceLineDimension

Dimension values on this line.

2 attributes of each item
dimension_idstring (uuid)required

The dimension.

value_idstring (uuid)required

Its value on this line.

credited_invoice_idstring (uuid) · nullable

The issued invoice this row corrects (a return, or a price cut of an earlier sale); null on an ordinary row.

Used by