Deze referentie is alleen in het Engels. Naar het Nederlandse REST API-overzicht

Diese Referenz gibt es nur auf Englisch. Zur deutschen REST-API-Übersicht

Cette référence existe uniquement en anglais. Aller à la présentation de l'API REST en français

Esta referencia solo está en inglés. Ir a la introducción de la API REST en español

SalesInvoiceRow

SalesInvoiceRow

One line on a sales invoice: a label, a quantity, a unit price and a VAT percentage.

View as Markdown
Summary view
SalesInvoiceRowList, 24 fields. What a list returns by default.
Detail view
SalesInvoiceRow, 24 fields. The default for a single read and for every write.

An invoice's subtotal, VAT total and total are computed from nothing but its rows, and a row that settles budget hours also records the minutes it covers.

Used by

GETRead an invoice line/sales-invoice-rows/{sales_invoice_row}SalesInvoiceRow
PATCHUpdate an invoice line/sales-invoice-rows/{sales_invoice_row}SalesInvoiceRow
GETList an invoice's lines/sales-invoices/{sales_invoice}/rowsSalesInvoiceRowList
POSTAdd a line to an invoice/sales-invoices/{sales_invoice}/rowsSalesInvoiceRow

Fields

Detail only
Only in the detail view.
Only with include
Only when you ask for it with include.
Server-assigned
Set by plnnrly, never by a request.
idinteger

Unique identifier.

sales_invoice_idintegerServer-assigned

The invoice this line belongs to. Taken from the path on create and never writable afterwards: a line cannot be moved to another invoice.

sales_invoiceRef or SalesInvoiceSummary

The invoice this line belongs to.

subscription_item_idinteger or null

Subscription line this invoice line was generated from, when the row came out of a subscription renewal rather than being typed by hand.

budget_idinteger or null

Project budget this invoice line settles, when the row was generated from budget hours.

exact_item_idstring or null≤ 255

Exact Online article identifier this line bills against. Empty is accepted, but a row without it fails the whole invoice's Exact sync.

exact_vat_codestring or null≤ 255

Exact Online VAT code, by code rather than by id.

exact_cost_centerstring or null≤ 255

Exact Online cost-centre code.

exact_gl_accountstring or null≤ 255

Exact Online general-ledger revenue account for this line.

namestring≤ 255

The line label, as printed on the invoice. Exact Online prints this when description is empty.

Variants

SalesInvoiceRowList 24 fields

What a collection returns, and what ?view=summary returns on a single record.

The same fields as the detail object.

SalesInvoiceRowSummary 3 fields

The embedded form: what you get when another resource carries this one and you did not include it.

Leaves out: sales_invoice_id, sales_invoice, subscription_item_id, budget_id, exact_item_id, exact_vat_code, exact_cost_center, exact_gl_account, description, quantity, unit_price, hourly_rate, billable_minutes, is_aggregated_price, vat_rate, vat_amount, sort_order, created_at, updated_at, deleted_at, links