{
"appId": "OpenTestAppId",
"storeKey": "OpenTestStoreKey",
"sign": "OpenTestSign",
"param": "{\"productInfo\":[{\"productName\":\"item1\",\"price\":100,\"quantity\":1},{\"productName\":\"item2\",\"price\":100,\"quantity\":1}],\"totalAmount\":200}"
}curl --location '/open-api/order/tax/calculate' \
--header 'Content-Type: application/json' \
--data '{
"appId": "OpenTestAppId",
"storeKey": "OpenTestStoreKey",
"sign": "OpenTestSign",
"param": "{\"productInfo\":[{\"productName\":\"item1\",\"price\":100,\"quantity\":1},{\"productName\":\"item2\",\"price\":100,\"quantity\":1}],\"totalAmount\":200}"
}'{
"code": 10000,
"message": "success",
"data": {
"productName": "string",
"productAmount": 0,
"taxAmount": 0,
"vatableSales": 0,
"vatExemptSales": 0,
"vatExemption": 0,
"zeroRatedSales": 0,
"discountedAmount": 0,
"productTaxInfo": [
{
"productName": "string",
"productAmount": 0,
"taxAmount": 0,
"vatableSales": 0,
"vatExemptSales": 0,
"vatExemption": 0,
"zeroRatedSales": 0,
"discountedAmount": 0
}
]
}
}