Build a Cross-Border Customs Valuation Exception and Consignee Clarification Assistant
Detect declared customs valuation discrepancies between cross-border commercial invoices and freight rate baselines. Generate structured TradeTrust evidentiary packages and draft formal consignee clarification queries.
What you are building
The core problem, expected build, and operating context for this challenge.
Detect declared customs valuation discrepancies between cross-border commercial invoices and freight rate baselines. Generate structured TradeTrust evidentiary packages and draft formal consignee clarification queries.
Customs Compliance Broker
Extract declared CIF prices, incoterms, and currency conversion rates from normalized trade permits.
Compare declared values against historical benchmark price bands for identical HS codes.
Bundle anomalous valuation records into an OpenAttestation wrapped compliance dossier.
Draft a structured clarification notice to the consignee requesting proof of payment and contracts.
A compliance analyst audit workbench showing price deviation percentiles, HS code benchmark comparisons, and notice generation tools.
Use open-attestation npm tools with synthetic customs declaration files containing deliberate valuation anomalies. Starter examples below are synthetic. They are not downloaded records.
OpenAttestation Apply OpenAttestation wrapDocuments and obfuscateDocument to protect sensitive counterparty pricing while preserving proofs.
anthropic-claude, @govtechsg/open-attestation, pydantic. Anthropic Claude delivers high-precision document comparison and clear regulatory correspondence drafting. Hosted Claude API with system prompt enforcement for objective document analysis.
Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.
Detects CIF declared values deviating more than 35% from historical HS code medians.
Generates an OpenAttestation wrapped evidence record with cryptographic salt fields.
Supports selective obfuscation of trade counterparty names before sharing audit files.
Produces compliant consignee clarification letters requesting purchase contracts and wire receipts.
```json [ { "input": { "declaration_id": "DEC-SG-2025-401", "hs_code": "8471.30.10", "cargo_description": "Laptops and portable processors", "declared_cif_sgd": 120, "historical_median_cif_sgd": 850, "deviation_percent": -85.8, "consignee_entity": "Apex Electronics SG Pte Ltd" }, "expected_output": { "risk_tier": "high_undervaluation_suspect", "oa_wrapped": true, "obfuscated_preview_available": true, "clarification_request": { "recipient": "Apex Electronics SG Pte Ltd", "subject": "Inquiry: Declared Value Discrepancy for HS 8471.30.10", "mandatory_documents": [ "Original commercial sales contract", "Proof of overseas wire remittance", "Manufacturer price confirmation" ] } } }, { "input": { "declaration_id": "DEC-SG-2025-402", "hs_code": "8471.30.10", "cargo_description": "Enterprise micro-servers", "declared_cif_sgd": 920, "historical_median_cif_sgd": 850, "deviation_percent": 8.2, "consignee_entity": "CloudTech Solutions Pte Ltd" }, "expected_output": { "risk_tier": "nominal", "oa_wrapped": false, "obfuscated_preview_available": false, "clarification_request": null } } ] ```
Prepares compliance clarification drafts; does not submit binding customs reassessments or impose administrative penalties. Use mock external writes. Require human review before any real deployment.
Participation guide
Prepares compliance clarification drafts; does not submit binding customs reassessments or impose administrative penalties. Use mock external writes and human review.
How work is evaluated
Detects CIF declared values deviating more than 35% from historical HS code medians. Generates an OpenAttestation wrapped evidence record with cryptographic salt fields. Supports selective obfuscation of trade counterparty names before sharing audit files. Produces compliant consignee clarification letters requesting purchase contracts and wire receipts.
Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
Complete workflow
Extract declared CIF prices, incoterms, and currency conversion rates from normalized trade permits. Compare declared values against historical benchmark price bands for identical HS codes. Bundle anomalous valuation records into an OpenAttestation wrapped compliance dossier. Draft a structured clarification notice to the consignee requesting proof of payment and contracts.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Correctness and evidence
Detects CIF declared values deviating more than 35% from historical HS code medians. Generates an OpenAttestation wrapped evidence record with cryptographic salt fields. Supports selective obfuscation of trade counterparty names before sharing audit files. Produces compliant consignee clarification letters requesting purchase contracts and wire receipts.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Review interface
A compliance analyst audit workbench showing price deviation percentiles, HS code benchmark comparisons, and notice generation tools.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Safe execution
Prepares compliance clarification drafts; does not submit binding customs reassessments or impose administrative penalties.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Extract declared CIF prices, incoterms, and currency conversion rates from normalized trade permits.
Compare declared values against historical benchmark price bands for identical HS codes.
Bundle anomalous valuation records into an OpenAttestation wrapped compliance dossier.
Draft a structured clarification notice to the consignee requesting proof of payment and contracts.
Reference links and supporting material
Use open-attestation npm tools with synthetic customs declaration files containing deliberate valuation anomalies. Supplied starter examples are synthetic, not source extracts.
Challenge setup
Configuration summary for this challenge.
Challenge input
Input details are not configured.
Anthropic Claude
LLM for code generation & more
Evaluated output
No output checks are configured.
- Extract declared CIF prices, incoterms, and currency conversion rates from normalized trade permits. Compar...
- Detects CIF declared values deviating more than 35% from historical HS code medians. Generates an OpenAttes...
- A compliance analyst audit workbench showing price deviation percentiles, HS code benchmark comparisons, an...
- 2 public reference cases
- 1 configured tool
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
- Anthropic Claude · Optional
Evaluation contract
- Complete workflow · Weight 40
- Correctness and evidence · Weight 30
- Review interface · Weight 20
- Safe execution · Weight 10
Reference cases
- 2 public reference cases
Workflow tasks
No workflow tasks are configured.
Recipe freeze marker
No recipe freeze time is recorded.