Skip to main content

Method

POST /v1/verify/tax-preview

Body Parameters

Headers

Authorization
string
Bearer token (e.g. Authorization: Bearer YOUR_API_KEY)
content-type
string
application/json

Request Example

curl -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"
  }'

Response

{
  "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
}
Use the preview in admin tooling to explain price breakdowns. The rule block mirrors the structure returned by the pricing engine and can be displayed to finance teams for auditing.