ai-engine.parcelabs.com/easydogana/v1
From the description to the TARIC code.
scope="ai-engine:easydogana:classify:read"
The AI Engine classifies goods on the EU TARIC, shows the evidence behind each choice and calculates duties and landed cost for the origin. It runs in production in EasyDogana, its customs module.
POST /easydogana/v1/classify
Seven steps, no black box.
Every request follows the same path. The result carries the code hierarchy and the terms that decided it, so whoever checks it can see why.
"payload_type": "generic", "title": "Wireless Headphones", "description": "Over-ear Bluetooth headphones with microphone", "category": "Electronics > Audio > Headphones", "attributes": { "connectivity": "Bluetooth", "type": "over-ear" }
// title without description or category "genericity_flag": true, "questions_for_operator": [ "What is the product description?", "What is the product category?", … ]
BM25 × 0.4 vectors × 0.6 index: this month's TARIC, OpenSearch
BM25 rank vector rank → RRF 8518.30 8518.30 1 8517.62 8518.30.00.90 2 8518.29 8517.62 3
8518 heading 8518.30 subheading 8518.30.00 CN + 8518.30.00.90 TARIC ++
"taric_code": "8518.30.00.90", "hierarchy_path": [ { "code": "8518", … }, { "code": "8518.30", … }, { "code": "8518.30.00", … }, { "code": "8518.30.00.90", … } ], "evidence": { "matched_terms": ["headphones", "over-ear"] }
"applicable_duties": { "origin_country": "CN", "best_applicable_duty": { "rate": "3.500 %", "amount_eur": 6.56 } }
Weights and fusion from the AI Engine configuration. The rankings in step 4 are an example.
source_snapshot_id="{yyyy-mm}-monthly"
Always on this month's TARIC.
Every month a new TARIC snapshot arrives. It is loaded, checked and indexed next to the one in use; only when it is ready does the index switch in one go, without interrupting requests.
- REGISTERED
- INGESTING
- VALIDATING
- INDEXING
- READY
Authorization: Bearer <ParceLabs ID token>
The calls.
Access with a ParceLabs ID token; for services, client credentials. Also over MCP for AI agents.
- POST /normalize
- One product, or up to 100 with /batch.
- POST /classify
- Up to 10 TARIC codes, scored 0–100.
- POST /classify/refine/{request_id}
- Refine by excluding codes or adding hints.
- POST /lookup
- From a known code to descriptions, duties and measures.
- POST /classify/feedback
- Confirm or rate a classification.
- MCP /easydogana/mcp
- Classification, normalisation and lookup for AI agents.
"_mock": true
On the same base, four engines in development.
- EasyShipIn developmentCarriers, transport modes, volumetric weight, packaging.
- EasyQuoteIn developmentSuppliers, quote comparison, unusual prices.
- EasyCareIn developmentCustomer requests, missing documents, draft replies.
- EasyInsightsIn developmentKPIs, margins, suppliers, forecasts.