Refund Item​
Example​
{
"id": "10001",
"description": "Shoes",
"unitPrice": 95,
"quantity": 1,
"vat": 25,
"type": "purchase"
}
Properties​
Property | Explanation | Type | Notes | |
---|---|---|---|---|
id | Article id of the product | string | Max 50 characters | |
description | Description of the product | string | Max 50 characters | |
unitPrice | Price per product unit. Including VAT | number | Max 2 decimals. Should be negative when adding a fee | |
quantity | Quantity per product | number | Integers only | |
vat | VAT rate | number | number | Not required. Defaults to zero. This should be added to added fees or discounts when refunding |
type | Differentiates between a refund of a purchase row, a fee or a discount | string | Possible values are Fee, Discount or Purchase. Defaults to Purchase if not set to any of the possible values |