{"slug":"api-zfinia-com-x402-v1-tax-computation-audit-968e1c","title":"Check tax amounts against a rate schedule the caller supplies","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/tax-computation-audit","category":"code","description":"Check tax amounts against a rate schedule the caller supplies. When a declared amount disagrees, the other inclusivity formula is tried too: if that one gives the declared figure, the finding says the policy and the data disagree rather than that the arithmetic is wrong, which is a different correct","price_listed":0.18,"price_asked":0.18,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":7540,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"currency":"GBP","lines":[{"base":"100.00","description":"Consulting","tax_amount":"20.00","tax_code":"STD"},{"base":"100.00","description":"Licence","tax_amount":"16.67","tax_code":"STD"},{"base":"80.00","description":"Books","tax_amount":"16.00","tax_code":"RED","tax_rate":"20"},{"base":"40.00","description":"Export","tax_amount":"0","tax_code":"OUT"},{"base":"9.99","description":"Postage","tax_amount":"1.998","tax_code":"STD"}],"policy":{"rounding":"half_up","tax_inclusive":false},"schedule":[{"code":"STD","description":"standard","rate":"20"},{"code":"RED","description":"reduced","rate":"5"},{"code":"ZER","description":"zero","rate":"0"}]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"currency":{"maxLength":8,"type":"string"},"lines":{"items":{"additionalProperties":false,"properties":{"base":{"type":["string","number"]},"description":{"maxLength":512,"type":"string"},"tax_amount":{"type":["string","number"]},"tax_code":{"maxLength":64,"type":"string"},"tax_rate":{"type":["string","number"]}},"required":["base","tax_code"],"type":"object"},"maxItems":500,"minItems":1,"type":"array"},"policy":{"additionalProperties":false,"properties":{"minor_units":{"type":"object"},"rounding":{"enum":["half_up","half_even","down","up"],"type":"string"},"tax_inclusive":{"type":"boolean"}},"type":"object"},"schedule":{"items":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"type":"string"},"description":{"maxLength":256,"type":"string"},"rate":{"type":["string","number"]}},"required":["code","rate"],"type":"object"},"maxItems":200,"minItems":1,"type":"array"}},"required":["lines","currency","schedule"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.18,"price_match":true,"latency_ms":7540,"error":null}],"description_full":"Check tax amounts against a rate schedule the caller supplies. When a declared amount disagrees, the other inclusivity formula is tried too: if that one gives the declared figure, the finding says the policy and the data disagree rather than that the arithmetic is wrong, which is a different correction. Also reports a code absent from the schedule, a line rate disagreeing with it, and an amount too precise for the currency. Not tax advice.","last_updated":"2026-10-04T08:38:46.857Z","schemes":["exact"]}