InvoiceLine type
One line of an invoice, as printed.
Fields
id
The line's MAX id.
lineNo
Int!
The line's number within the invoice.
kind
What the line is.
name
String!
The line's text.
code
String
The code the line names its goods by: the supplier's code (received invoice), the customer's code (issued invoice), or the MAX SKU.
barcode
String
The EAN or GTIN.
manufacturerCode
String
The manufacturer's part number.
quantity
The quantity.
unit
String
The unit, as printed.
unitPriceNet
The unit price without VAT.
unitPriceGross
The unit price including VAT.
pricesIncludeVat
Boolean!
Whether the line's prices include VAT.
vatPercent
The VAT rate in percent.
discountPercent
The discount in percent.
totalNet
The line total without VAT.
totalVat
The line's VAT.
totalGross
The line total including VAT.
note
String
The line's note.
externalId
String
The accounting system's own id of the line.
variantId
The MAX id of the product variant the line is for. Null when none matched.
variantMatch
String
How the variant was found: EXPLICIT when your integration named it, otherwise the code that
matched it (for example SUPPLIER_CODE, BARCODE or SKU).
advanceInvoiceId
On an ADVANCE_DEDUCTION line, the MAX id of the deducted advance invoice. Null when it is
unknown.
salesOrderLineId
The MAX id of the sales order line the invoice line belongs to.