Cross-Border Digital Trade Tax & Tariff Resolution System
Digital economy agreements across Southeast Asia require automated calculation and audit of digital services tax and tariff rules. Construct a tax resolution engine using FastRules and Pydantic to apply regional tax treaties to digital transactions. Achieve reliable tax code assignment and eliminate calculation errors.
What you are building
Build an automated digital service tax and cross-border tariff evaluation engine using Pydantic and FastRules.
How work is evaluated
Evaluates tax calculation accuracy and treaty exemption determination.
Datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
tax_math_precision
Verifies that tax amount calculations match standard rounding rules.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
tax_accuracy
Accuracy percentage across tax treaty test scenarios. • target: 1 • range: 0-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
Learning goals
Define type-safe Pydantic models for digital service invoice payloads
Implement dynamic tax rule evaluation based on ASEAN Digital Economy Framework Agreements
Determine double-taxation exemption eligibility across bilateral tax treaties
Generate automated compliance invoices with breakdown of VAT/GST withholding
Resources
Synthetic cross-border SaaS invoices and ASEAN tax rate matrices.
Challenge setup
Evaluates tax calculation accuracy and treaty exemption determination.
Challenge input
JSON invoice transaction
Pydantic
Type safe validation of financial invoice payloads.
Evaluated output
JSON tax breakdown summary
- Verifies that tax amount calculations match standard rounding rules.
- Accuracy percentage across tax treaty test scenarios. • target: 1 • range: 0-1
- Benchmark: TaxTech-Treaty-Bench
- Tax Accuracy target: 1
- 1 public reference case
- Python execution harness
- Python sandbox (unavailable on Versalist)
Shows the first task, up to three tools, and up to three evidence items.
View technical recipe
Configured tools
- Agents.js · Required
- Relicx · Optional
- Hume AI · Optional
Evaluation contract
- tax_math_precision · Weight 1
- tax_accuracy · Weight 1
Metrics
- tax_accuracy · Target 1
Benchmarks
- TaxTech-Treaty-Bench
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON invoice transaction
Output: JSON tax breakdown summary
Execution harness: Python
Evaluation tools
- Pydantic · Data Model Enforcement
Recipe freeze marker
No recipe freeze time is recorded.