A row of a raw purchase will result in a flexible subscription 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. |
| discounts | array of RawPurchaseSubscriptionDiscount | Discounts that are to be applied to this row. |
| priceLookUpNumber | string | The Price Look Up number of the stock keeping unit for this row. Mutually exclusive with stock keeping unit ID. |
| quantity | number | The quantity of the row. |
| |
|
|
| 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,
"discounts" : [ {
"discountAmount" : 12345.0,
"discountPercent" : 12345.0,
"sort" : 12345,
"numberOfUses" : 12345,
"discountAmountIncludingTax" : 12345.0,
"discountAmountExcludingTax" : 12345.0
}, {
"discountAmount" : 12345.0,
"discountPercent" : 12345.0,
"sort" : 12345,
"numberOfUses" : 12345,
"discountAmountIncludingTax" : 12345.0,
"discountAmountExcludingTax" : 12345.0
} ],
"priceLookUpNumber" : "...",
"quantity" : 1,
"taxRate" : 0.25,
"unitPriceExcludingTax" : 12345.0,
"unitPriceIncludingTax" : 12345.0
}