Skip to main content
Challenge

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.

Workflow AutomationHosted by Vera
Challenge brief

What you are building

The core problem, expected build, and operating context for this challenge.

Build an automated digital service tax and cross-border tariff evaluation engine using Pydantic and FastRules.

Delivery guide

How work is evaluated

Evaluation

Evaluates tax calculation accuracy and treaty exemption determination.

Datasets

Challenge datasets

Public datasets, plus the private datasets you have access to.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
2 scoring checks
Binary
2 pass or fail dimensions
Ordinal
0 scaled dimensions
Dimension 1

tax_math_precision

Verifies that tax amount calculations match standard rounding rules.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Dimension 2

tax_accuracy

Accuracy percentage across tax treaty test scenarios. • target: 1 • range: 0-1

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

What you should walk away with

  • 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 and assets

Reference links and supporting material

Dataset notes

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

Evaluation checks
  • Verifies that tax amount calculations match standard rounding rules.
  • Accuracy percentage across tax treaty test scenarios. • target: 1 • range: 0-1
Configured evaluation evidence
  • Benchmark: TaxTech-Treaty-Bench
  • Tax Accuracy target: 1
  • 1 public reference case
Configured runtime
  • Python execution harness
  • Python sandbox (unavailable on Versalist)

Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.

View technical recipe

Configured tools

Action Space
  • 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

  1. 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.

Frequently Asked Questions about Cross-Border Digital Trade Tax & Tariff Resolution System