Home · Docs-to-JSON · Customs Entry to JSON

Convert Customs Entry to structured JSON in 2 seconds

Paste any customs entry — get clean JSON with fields, line items, totals and dates. One API call. No regex. No training.

Try live demo → See pricing

Example: Customs Entry → JSON

Input — raw customs entry text
BILL OF LADING
B/L No: MAEU-2026-0043
Date: 2026-03-14

Shipper: Brightline Imports Inc.
Consignee: Nordwind Trading GmbH
Notify: Same as consignee

Vessel: MSC Aurora · Voyage 214E
Port of Loading: Odesa, UA
Port of Discharge: Hamburg, DE

Containers:
- MSKU1234567, 40ft, gross 22,400 kg
- MSKU7654321, 20ft, gross 14,200 kg

Description: Copper wire, steel fittings
Incoterms: CIF Hamburg
Freight: Prepaid
Output — structured JSON
{
  "document_type": "customs-entry-to-json",
  "fields": {
    "document_id": "DOC-2026-0043",
    "date": "2026-03-14",
    "parties": {
      "issuer": "Brightline Imports Inc.",
      "recipient": "Nordwind Trading GmbH"
    },
    "currency": "USD",
    "amount": 1017.5
  }
}

API call

curl -X POST https://document-to-json.boring-saas-infra.workers.dev/extract \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_KEY" \
  -d '{
    "document_type": "customs-entry-to-json",
    "text": "<your customs entry text here>"
  }'

# → 200 OK
{
  "document_type": "customs-entry-to-json",
  "fields": { ... }
}

Why use our customs entry parser

Pricing

$0/forever
  • 50 extractions / day
  • All 100+ document types
  • REST API access
Start free
$19.99/month
  • 5,000 extractions / month
  • Priority queue
  • Email support
Subscribe →

FAQ

How do I convert a customs entry to JSON?

POST the raw text of your customs entry to our /extract endpoint with document_type="customs-entry-to-json". You get structured JSON back in ~2 seconds.

Is there a free tier for customs entry extraction?

Yes. 50 extractions per day, no credit card required.

Do I need to OCR my customs entry first?

No. Send raw text. If you have a PDF or image, use any OCR you already have and send us the text — or use our MCP server which handles PDFs directly.

What fields are extracted from a customs entry?

Typical fields: parties, dates, amounts, totals, currency, line items, tax, identifiers, and any document-specific fields.

Can I integrate this via API?

Yes. REST API. Works from any language. See the main Docs-to-JSON page for docs.

Related document types