OCRRouter

Customs declaration OCR

Extract declarant, HS codes, values, origin and duties from customs declarations and entry summaries such as CBP 7501 and EU SAD forms.

PDF, PNG, JPG, WebP, HEIC. Up to 10 files at onceNo file?

What makes customs declarations hard to read

  • Numbered boxes that differ by country
  • HTS codes where one wrong digit changes the duty
  • Continuation sheets with dozens of lines

Fields coming with document_type

200customs-declaration fields
{"form": "CBP 7501","entry_number": "ABC-1234567-8","importer": "Delta Imports LLC","port_of_entry": "2704 Los Angeles","lines[]": "hts_code, description, country_of_origin, enter…","total_entered_value": "182,400.00","total_duty": "6,384.00"}

Best models for customs declarations

Call it from your code

curl https://api.ocrrouter.ai/v1/ocr \
  -H "Authorization: Bearer $OCRROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "azure/document-intelligence",
    "file_url": "https://example.com/invoice.pdf",
    "format": "json"
  }'

Questions

Free tools

Other documents