PosInvoiceLine
One line of a POS invoice, as stored.
Type: object.
| Name | Type | Description |
|---|---|---|
amount required | number | Line amount as the POS stored it (for a weighed line the POS itself stores quantity x weight x price); never recomputed. |
lineId required | string | The POS line id. |
price required | number | Unit price, as stored. |
quantity required | number | Quantity ordered, as stored (a stored null reads 0). |
cases | boolean | Sold by the case (a flag, not a count). |
description | string | The item description on the line. |
discountAmount | number | Discount amount of the line. Normally absent: the POS does not store a per-line figure, and the API never derives one. Compute it yourself from amount, discountPercent, taxable1/2 and the header's taxRate1/2 if you need it. |
discountPercent | number | The line's discount percentage, as stored. |
filled | boolean | The line's picked flag. |
filledQuantity | number | How much of the line was picked. |
lineNumber | string | The line's position on the order, as the POS shows it. |
netAmount | number | Net amount of the line. Normally absent: the POS does not store a per-line figure, and the API never derives one. Compute it yourself from amount, discountPercent, taxable1/2 and the header's taxRate1/2 if you need it. |
productCode | string | The store product code. |
scale | boolean | A weighed item. |
taxAmount1 | number | First tax amount of the line. Normally absent: the POS does not store a per-line figure, and the API never derives one. Compute it yourself from amount, discountPercent, taxable1/2 and the header's taxRate1/2 if you need it. |
taxAmount2 | number | Second tax amount of the line. Normally absent: the POS does not store a per-line figure, and the API never derives one. Compute it yourself from amount, discountPercent, taxable1/2 and the header's taxRate1/2 if you need it. |
taxable1 | boolean | Whether the first tax applies to the line. |
taxable2 | boolean | Whether the second tax applies to the line. |
weightLb | number | The weight factor of a weighed line. |
No other fields appear.