Finance
Document line
Sales document line: what was invoiced, how much and at what price.
Schemas: DocumentLineDto
Example
Generated from the schema
A line of a sales document: what was invoiced or quoted, how much and at what price. Invoices and quotes share this shape, and you read the lines of a document with GET /api or GET /api. Lines belong to their document and there is no separate collection of them.
Attributes
Unique identifier of the line within the document.
Resource type of the line. Lines of type section and type_group are presentation groupings with no associated resource.
Available options: item, kit, space, vehicle, personnel, service, custom, section, type_group
Nature of the line: rental or sale.
Available options: rental, sale
Display position of the line within the document, starting at 0.
Catalog item identifier; null if the line is not of type item.
Item name as it was WHEN THE DOCUMENT WAS ISSUED. It may differ from the current item name in the catalog: the document is a snapshot.
Variant identifier; null if not applicable.
Variant name frozen in the snapshot; null if not applicable.
Units invoiced or quoted on the line.
Order the line comes from; null if it was added directly to the document.
Number of that order; null if the line does not come from one.
Start of the invoiced period in ISO 8601 UTC; null if the line has no period.
End of the invoiced period in ISO 8601 UTC; null if the line has no period.
Invoiced rental days; null if not applicable.
Net unit price as a decimal string "1234.50"; null if the line has no price of its own.
Limits: pattern ^-?\d+\.\d{2}$
Net amount of the line as a decimal string "1234.50"; null if not calculated.
Limits: pattern ^-?\d+\.\d{2}$
true if the line is explicitly billed at zero.
Line notes; null if none.
Values
- resourceType
item,kit,space,vehicle,personnel,service,custom,section,type_group- transactionType
rental,sale
Returned by
GET /api/v1/invoices/{invoiceId}/lines— List the lines of an invoiceGET /api/v1/quotes/{quoteId}/lines— List the lines of a quote
Modified by
No operation.
Was this page helpful?