Method
POST /v1/verify/tax-preview
Body Parameters
Headers
Bearer token (e.g.
Authorization: Bearer YOUR_API_KEY)application/jsoncurl -X POST https://api.voyantcloud.com/v1/verify/tax-preview \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"productId": "d0a6b9c0-5e4f-4f29-93c9-5f55bd6d2a20",
"buyerType": "B2B",
"buyerVatId": "RO12345678"
}'
{
"marketId": null,
"jurisdiction": "RO",
"buyerType": "B2B",
"hasBuyerVatId": true,
"rule": {
"jurisdiction": "RO",
"buyerType": "B2B",
"requiresBuyerVatId": true,
"taxRate": 0,
"reverseCharge": true,
"taxIncluded": false,
"priority": 10
},
"taxRate": 0
}
Preview the tax rule and rate that will be applied for a product and buyer context.
POST /v1/verify/tax-preview
Authorization: Bearer YOUR_API_KEY)application/jsoncurl -X POST https://api.voyantcloud.com/v1/verify/tax-preview \
-H "Authorization: Bearer $VOYANT_API_KEY" \
-H "content-type: application/json" \
-d '{
"productId": "d0a6b9c0-5e4f-4f29-93c9-5f55bd6d2a20",
"buyerType": "B2B",
"buyerVatId": "RO12345678"
}'
{
"marketId": null,
"jurisdiction": "RO",
"buyerType": "B2B",
"hasBuyerVatId": true,
"rule": {
"jurisdiction": "RO",
"buyerType": "B2B",
"requiresBuyerVatId": true,
"taxRate": 0,
"reverseCharge": true,
"taxIncluded": false,
"priority": 10
},
"taxRate": 0
}
rule block mirrors the structure returned by the pricing engine and can be displayed to finance teams for auditing.