TaxRateResponse Data Type

Response with calculated tax rate for the passed SKUs/PLU numbers.

Properties
name data type description
shippingFee TaxRateFeeResponse The calculated tax rate for the shipping fee. If there is no fee, then the value is null
paymentFee TaxRateFeeResponse The calculated tax rate for the payment fee. If there is no fee, then the value is null
serviceFee TaxRateFeeResponse The calculated tax rate for the service fee. If there is no fee, then the value is null
orderLines array of TaxRateLineResponse The calculated tax rate for each product.

Example

{
  "shippingFee" : {
    "amountIncludingTax" : 29.99,
    "amountExcludingTax" : 22.49,
    "taxRate" : 0.25,
    "fixedTaxRate" : true
  },
  "paymentFee" : {
    "amountIncludingTax" : 29.99,
    "amountExcludingTax" : 22.49,
    "taxRate" : 0.25,
    "fixedTaxRate" : true
  },
  "serviceFee" : {
    "amountIncludingTax" : 29.99,
    "amountExcludingTax" : 22.49,
    "taxRate" : 0.25,
    "fixedTaxRate" : true
  },
  "orderLines" : [ {
    "lineId" : 1,
    "stockKeepingUnitId" : 379667,
    "priceLookUpNumber" : "57968634",
    "unitPriceIncludingTax" : 12.76,
    "unitPriceExcludingTax" : 10.21,
    "discountIncludingTax" : 26.49,
    "discountExcludingTax" : 21.19,
    "amountIncludingTax" : 11.79,
    "amountExcludingTax" : 9.44,
    "taxRate" : 0.25
  }, {
    "lineId" : 12345,
    "stockKeepingUnitId" : 12345,
    "priceLookUpNumber" : "...",
    "unitPriceIncludingTax" : 12345.0,
    "unitPriceExcludingTax" : 12345.0,
    "discountIncludingTax" : 12345.0,
    "discountExcludingTax" : 12345.0,
    "amountIncludingTax" : 12345.0,
    "amountExcludingTax" : 12345.0,
    "taxRate" : 12345.0
  } ]
}