Bill of Lading OCR API

4.8/5

(30+ reviews)

Bill of lading OCR API that reads every B/L, from any carrier

Turn ocean and truck bills of lading, PDF, scan or phone photo, into structured JSON. Shipper, consignee, ports, dates and every cargo line with weight and measurement, each with a confidence score.

No credit card required

SOC 2 Type II & GDPR

Bill of lading OCR API reading B/L number, shipper, ports and cargo lines from an ocean bill of lading into JSON

Trusted by finance and product teams at

Why bills of lading slow down every shipment

Each carrier and forwarder issues its own B/L layout, often scanned and stamped. Ops teams retype parties, ports and cargo lines into the TMS, then check them against the packing list and invoice.

B/L received

Carrier sends the B/L by email or portal.

Manual keying

Parties, ports and cargo typed into the TMS.

Friction

Long reference numbers and stamps invite typos.

Cross-check

Packages and weights matched with the packing list.

Friction

Mismatches surface at customs, not before.

Customs filing

Same data keyed again for the customs entry.

Friction

One wrong weight can hold the cargo at port.

Cargo released

Finally cleared, one B/L at a time.

RESULT

[X] minutes to key each bill of lading, and [X]% of shipments held up by a data entry error.

See how Mindee fixes it

B/L details

bill_of_lading_number, issue_date, departure_date

Shipper

shipper.name, shipper.address, shipper.phone, shipper.email

Consignee

consignee.name, consignee.address, notify_party.name

Carrier

carrier.name, carrier.scac, carrier.professional_number

Route

port_of_loading, port_of_discharge, place_of_delivery

Cargo

carrier_items[].description, quantity, gross_weight, measurement

response.json

{

"bill_of_lading_number": { "value": "NOLC2457819" }, "issue_date": { "value": "2026-10-09" }, "departure_date": { "value": "2026-10-11" },

"shipper": { "name": { "value": "Lumen Home Textiles Co." }, "address": { "value": "88 Jiangdong Rd, Ningbo, China" } },

"consignee": { "name": { "value": "Brightwell Interiors GmbH" } }, "notify_party": { "name": { "value": "Kestrel Customs Brokers" } },

"carrier": { "name": { "value": "Northline Ocean Carriers" }, "scac": { "value": "NOLC" } },

"port_of_loading": { "value": "Ningbo, China" }, "port_of_discharge": { "value": "Rotterdam, Netherlands" }, "place_of_delivery": { "value": "Duisburg, Germany" },

"carrier_items": [ { "description": { "value": "Cotton bed linen" }, "quantity": { "value": 420 }, "gross_weight": { "value": 6840 }, "weight_unit": { "value": "kg" } }, … ],

}

Ready to post, not just to read.

Dates come back in ISO 8601, weights and measurements as numbers with their unit, and every field carries a confidence score and its position.

Built for real B/Ls, not clean templates

Carbon copies, faxed originals, stamps over the consignee box, cargo tables that run onto a rider page. The model reads parties and cargo lines wherever they sit.

Bills of lading from six carriers and forwarders flowing through Mindee into one B/L schema

Any carrier, any layout

Ocean carriers, NVOCCs and trucking companies each use their own B/L form. The same schema comes back for all of them, with no template to build.

Cargo lines from a B/L and its rider page returned as one list with quantity, weight in kg and volume in CBM

Every cargo line, with its unit

Description, packages, gross weight and measurement for each line, kept with their kg, lb or CBM unit, even when the table runs onto a rider page.

Bill of lading checked against the packing list, one cargo line flagged for a 30 kg weight gap

Ready for document matching

Packages and weights come back as numbers, so checking the B/L against the packing list and commercial invoice takes a few lines of code.

Shipping pack PDF split into invoice, packing list, bill of lading and certificate of origin, each classified

Shipping packs split and sorted

B/L, packing list and invoice often arrive in one PDF. Mindee splits the file and classifies each document, so the B/L reaches the right model.

PDF / JPEG / PNG / WEBP / TIFF / HEIC, Ocean & truck B/Ls, Multi-page with riders, Scans, faxes & phone photos, Stamps & handwriting

Bill of lading OCR accuracy you can measure, field by field

Every field comes with a confidence score, so clean B/Ls flow straight to your TMS and unclear ones go to a reviewer. Test it on your own bills of lading in the free trial.

96.1%

Field-level accuracy on parties and ports

Shipper, consignee, ports

94.2%

Accuracy on cargo lines

Packages, weight, measurement

0.9s

Median time per bill of lading

Single page, synchronous call

A confidence score on every field

Set your own threshold. Fields above it flow straight to your systems; anything below lands in a review queue, with the exact spot on the bill of lading highlighted. Définissez votre propre seuil. Les champs au-dessus partent directement dans vos systèmes ; les autres rejoignent une file de vérification, avec leur emplacement exact mis en évidence sur votre bill of lading. Define tu propio umbral. Los campos que lo superan pasan directamente a tus sistemas; los que quedan por debajo van a una cola de revisión, con la ubicación exacta resaltada en bill of lading.

Auto-approve the bills of lading you can trust Aprueba automáticamente bills of lading de confianza Validez automatiquement les bills of lading fiables

Send only real exceptions to a human

Document AI features, better than OCR

Prepare, classify and extract. Mindee delivers high-accuracy extraction for every document format, so you can automate workflows with speed and high reliability.

Prototype in minutes, go live with the API

Start with a no-code workflow to prove the value on your own bills of lading, then move the same model into your product. Commencez par un workflow no-code pour prouver sa valeur sur vos propres bills of lading, puis intégrez le même modèle dans votre produit.

What teams build with bill of lading OCR

The same API powers very different products. Here is where it usually starts.

Rated 4.8/5 by developers and operations teams

4.8

on G2

4.9

on Capterra

quote

Mindee is a software that helps us to convert all of our physical business data like bills, invoices, warranty cards, calendar, recipts received to us into a digital documents that can be stored in our drive and can be uploaded in different type of Excel sheets so that all the updates can be maintained and a proper analytics of transactions can be kept by the financial team

on G2

quote

Excellent. In addition to their great product, the sales team has always been proactive on how they could help us leverage the maximum results from their product. It was like having an additional product manager on our side

on Capterra

quote

Mindee is a web based tool that help us in scanning and reading different type of documents like identity cards, invoices, proposal plans etc and extract all the information with its AI and then it provides all the information and data associated with these documents a structured way.

on G2

FAQ about Mindee's Bill of Lading OCR API

Can't find what you're looking for? Our team answers within one business day.

About bill of lading OCR À propos de l’OCR pour les bill of lading

What is a bill of lading?

A bill of lading (B/L) is the main transport document in shipping. Issued by the carrier, it has three roles: it is a receipt confirming the goods were loaded, evidence of the contract of carriage, and, when negotiable, a document of title that gives the right to collect the goods at destination. It contains the shipper, the consignee and the notify party, the vessel and voyage, the ports of loading and discharge, the container and seal numbers, the description of the goods, the number of packages, the gross weight and the freight terms. Mindee extracts all these fields from a PDF or a scan and returns them as structured JSON, ready for your TMS, ERP or customs system.

Who issues the bill of lading, and who are the shipper, consignee and notify party?

The bill of lading is issued by the carrier or its agent, usually once the goods have been loaded. Freight forwarders and NVOCCs also issue their own house bills of lading to their customers. The shipper is the party sending the goods, usually the exporter. The consignee is the party entitled to receive them, either named directly or, on a negotiable B/L, “to order” of a bank or of the shipper. The notify party is the company to be informed when the goods arrive, often the importer or its customs broker. Mindee extracts each party as a separate field, with its name and address, so your teams don’t confuse them.

Can Mindee process every type of bill of lading?

Yes. Every carrier and freight forwarder uses its own layout, and there are several types of bills of lading: master and house bills of lading, straight (non-negotiable) and “to order” (negotiable) bills, sea waybills, telex releases and switch bills. Mindee doesn’t rely on templates, so it extracts the same fields from all these documents, including multi-page bills with container lists in an annex. You get one consistent output structure, whatever the carrier or the type of document.

How do banks check a bill of lading under a letter of credit?

When a shipment is paid by letter of credit, the bank checks that the bill of lading complies with the credit terms before paying the exporter, following international practices such as UCP 600 and ISBP 745. Typical checks include the consignee (“to order of” the issuing bank, for example), the “shipped on board” notation and its date compared with the latest shipment date, the ports of loading and discharge, the description of the goods, and the number of originals issued. Mindee extracts these fields automatically, so trade finance teams can run the comparison with the letter of credit and focus their review on the discrepancies.

About Mindee

Is my data secured and protected during the conversion process?

Yes, your data is highly secured and protected during the entire conversion process. As an enterprise-grade OCR solution, Mindee takes data privacy very seriously. Here are the key security measures in place:

  • Certified compliance: Mindee's infrastructure is SOC 2 Type II certified and fully GDPR compliant, ensuring strict industry standards for data protection.
  • Encryption: All documents and extracted data are fully encrypted both in transit (during the API call) and at rest.
  • Data localization: You have control over where your data is processed, with the option to host and process your data on either EU or US servers.
  • Strict privacy: Mindee respects data confidentiality. Your processed documents are not shared with third parties, and your private data is not used to train global AI models.

In short, your sensitive documents are processed in a secure, isolated environment and remain completely under your control.

Is Mindee's OCR API free to use?

We provide a 14 days free trial so you can fully test any of our OCR models — no credit card required. After this, we offer different pricing tiers depending of the volume of pages processed and the features you might need. See the pricing page for more information.

What file formats are supported for JSON conversion?

The supported document formats are:

  • PDF (application/pdf) – While technically a document format rather than an image, it is natively supported for all extraction models.
  • JPEG / JPG (image/jpeg)
  • PNG (image/png) – Must be non-animated.
  • WebP (image/webp)
  • TIFF / TIF (image/tiff) – Both single-page and multi-page TIFFs are supported and processed similarly to PDFs.
  • HEIC (image/heic) – Apple's High-Efficiency Image Container format.

‍

📌 Important technical limitations to keep in mind:

To ensure the OCR pipeline runs smoothly and successfully returns your JSON, make sure your files adhere to the following constraints:

  • Maximum file size: 100 MB per file.
  • Maximum page count: Up to 200 pages per document.
  • File state: The files cannot be encrypted, and PDFs must not be password-protected.

Ready to stop keying bills of lading?

Send your first bill of lading to the API in minutes, with a full team of engineers dedicated to document processing behind it.

14-day free trial

No credit card required