Request to calculate the tax rate based on passed SKUs/PLU numbers.
| name | data type | description |
|---|---|---|
| countryCode | string | The country code to calculate tax for |
| shippingFeeExcludingTax | number | The shipping fee to calculate tax for |
| paymentFeeExcludingTax | number | The payment fee to calculate tax for. Optional |
| serviceFeeExcludingTax | number | The service fee to calculate tax for. Optional |
| receiverAddress | TaxRateAddressRequest | The address of the receiver |
| orderLines | array of TaxRateLineRequest | The order lines to calculate tax for |
Example
{
"countryCode" : "SE",
"shippingFeeExcludingTax" : 9.99,
"paymentFeeExcludingTax" : 0.99,
"serviceFeeExcludingTax" : 1.99,
"receiverAddress" : {
"addressLine1" : "Druveforsvägen 8",
"city" : "BORÅS",
"zipcode" : "50454",
"administrativeDivision" : "Borås kommun"
},
"orderLines" : [ {
"lineId" : 1,
"stockKeepingUnitId" : 379667,
"priceLookUpNumber" : "57968634",
"unitPriceExcludingTax" : 99.99,
"quantity" : 3,
"discountExcludingTax" : 10.0
}, {
"lineId" : 12345,
"stockKeepingUnitId" : 12345,
"priceLookUpNumber" : "...",
"unitPriceExcludingTax" : 12345.0,
"quantity" : 12345,
"discountExcludingTax" : 12345.0
} ]
}