A row of a raw purchase will result in a regular order row. It has a stock keeping unit with the given quantity. Price information and potential discount is also provided.
| name | data type | description |
|---|---|---|
| stockKeepingUnitId | number | The internal identifier of the stock keeping unit for this row. Mutually exclusive with Price Look Up number. |
| |
|
discountIncludingTax.
Having both values will cause the deprecated one to be overridden. |
| priceLookUpNumber | string | The Price Look Up number of the stock keeping unit for this row. Mutually exclusive with stock keeping unit ID. |
| discountIncludingTax | number | The total discount including tax of the row. This value is not per quantity. |
| quantity | number | The quantity of the row. |
| discountExcludingTax | number | The total discount excluding tax of the row. This value is not per quantity. |
| |
|
|
| taxRate | number | The tax rate of the row. The value should be between zero and one, meaning that it can be multiplied with in order to get the total amount of value added
tax.
If no taxRate is sent in, the rate specified in the product register will be used. |
| unitPriceExcludingTax | number | The unit price excluding tax of one individual unit. |
| unitPriceIncludingTax | number | The unit price including tax of one individual unit. |
Example
{
"stockKeepingUnitId" : 12345,
"priceLookUpNumber" : "...",
"discountIncludingTax" : 12345.0,
"quantity" : 1,
"discountExcludingTax" : 12345.0,
"taxRate" : 0.25,
"unitPriceExcludingTax" : 12345.0,
"unitPriceIncludingTax" : 12345.0
}