AI-Powered Trade Compliance
Automated PDF parsing, HS code classification, and real-time sanctions screening — with human-in-the-loop approval workflow.
PDF Document Parsing
Extract invoice numbers, HS codes, shipper/consignee data, and trade terms from commercial documents using pypdf.
HS Code Classification
6,940+ WCO codes via pyhscodes for 6-digit base classification, with LLM augmentation for 10-digit HTSUS/12-digit TARIC.
Sanctions Screening
8-layer matching against OFAC SDN, EU Consolidated, and UK HMT OFSI lists with phonetic + fuzzy + Unicode normalization.
Platform Architecture
Backend Stack
- FastAPI + Uvicorn (uvloop)
- PostgreSQL (asyncpg + SQLAlchemy)
- SHA-256 audit chain
- 24h sanctions auto-refresh
- Multi-tenant row-level isolation
Frontend Stack
- Next.js 14 + TypeScript
- Tailwind CSS
- Cloudflare Pages (edge)
- Real-time review queue
- Approve / Reject / Request Info
API Status: ● Operational
141/141 tests passing · AGPL-clean · Source Available