Decision page
Customs document assistant stack for Logistics
What should a logistics team use to prepare and check customs-document packets?
ZBS editorial starting point. Start with Docling for conversion, Claude API with citations for checklist comparison and LangGraph for missing-field review and sign-off.
Operators receive cited missing-field checks without delegating customs classification to a model.
Editorial starting point
Cited customs packet review
A concrete starting configuration that keeps source facts, model output and operational authority separate.
Choose this when: The job is packet preparation and verification, not autonomous customs decisions.
-
Convert declarations and attachments. The public quickstart documents local conversion and structured export.
Limit: Scans, unusual tables, annotations and source metadata require a representative parsing test.
Evidence: source 1
-
Compare the packet with cited rules. Native citations expose which supplied source passages support an answer.
Limit: A correct source link does not prove the interpretation or decision is correct.
Evidence: source 1
-
Track missing items and sign-off. Stateful workflow steps keep model output separate from acceptance and operational action.
Limit: Policy, persistence, access control and recovery remain application responsibilities.
Evidence: source 1
Private / local
Controlled reasoning path
Keep parsing, retrieval or model inference in controlled infrastructure while retaining the same source-of-truth and approval rules.
Choose this when: Sensitive inputs cannot be sent to an external model API and the team can operate the additional infrastructure.
-
Document
Docling
source backed inference
Parse the packet locally. The public quickstart documents local conversion and structured export.
Limit: Scans, unusual tables, annotations and source metadata require a representative parsing test.
Evidence: source 1
-
Retrieval
pgvector
source backed inference
Retrieve approved checklists. It keeps vector search beside relational metadata and access filters in PostgreSQL.
Limit: Approximate retrieval can miss results and needs recall measurement against an exact baseline.
Evidence: source 1
-
Review
vLLM
source backed inference
Serve a local comparison model. It provides a documented self-operated model-serving layer.
Limit: Serving a model does not prove its task accuracy, safe tool use or secure operation.
Evidence: source 1
-
Require qualified approval. Stateful workflow steps keep model output separate from acceptance and operational action.
Limit: Policy, persistence, access control and recovery remain application responsibilities.
Evidence: source 1
Budget alternative
Lower-cost external model path
Keep the workflow and source integration explicit while evaluating a lower-cost model candidate on the same acceptance set.
Choose this when: External processing is acceptable and measured model spend is a leading constraint.
-
Document
Docling
source backed inference
Convert the same packet. The public quickstart documents local conversion and structured export.
Limit: Scans, unusual tables, annotations and source metadata require a representative parsing test.
Evidence: source 1
-
Produce candidate checklist findings. It is a concrete lower-cost external model candidate for the same acceptance set.
Limit: Price alone is not task fitness; output structure, languages, availability and data terms need testing.
Evidence: source 1
-
Route findings to review. Stateful workflow steps keep model output separate from acceptance and operational action.
Limit: Policy, persistence, access control and recovery remain application responsibilities.
Evidence: source 1
Trade-offs that change the choice
Implementation path
1. Choose one trade lane and dated checklist.
2. Test complete, incomplete and inconsistent packets.
3. Require a passage and rule for every finding.
4. Measure missed omissions, false flags and reviewer time.
Known limits
This assists packet preparation, not customs or tax advice.
Rules vary by goods and route.
No product on this page is a universal winner; the configuration still needs a task-specific acceptance test.
EU and US routes stay consolidated with Global until evidence changes the answer.
Validate this stack on your data
A recommendation is a starting point. Practice Lab can test the same workflow on representative inputs, constraints and failure cases.
Request a real-data evaluation