Commercial invoice
The work
The document that decides duty. Values, HS codes, Incoterms, parties, currency — arriving as a clean PDF export, a crooked scan, or a photo somebody took on a phone at a warehouse.
Where generic AI falls over
Every shipper formats it differently, and a general-purpose model reads it correctly most of the time. Most of the time is exactly the problem: a transposed value or a misread HS code does not announce itself, it surfaces weeks later as a customs query. What is needed is extraction that scores its own confidence field by field and flags what it is unsure of, rather than filling the gap with something plausible.
What a build usually takes
Layout-aware OCR · field-level confidence scoring · HS code validation against a reference table · deterministic arithmetic checks