A bill of lading arrives as one page in a packet. The freight invoice comes later from the carrier, the proof of delivery comes back from the driver, and the order lives in the shipper's own system. Nobody reconciles those documents by reading them in full. They are joined by a few identifiers, and when one of those identifiers is read wrong, the shipment stops matching itself.
Bill of lading OCR is often evaluated as a field count: did the extraction find the shipper, the consignee, the weight. The fields that decide whether the packet reconciles are fewer and less forgiving. The BOL number, the carrier's SCAC, and the PRO number are keys. The exception notes are not a footer either. They are the one field that records what the carrier saw at pickup.
This piece covers which identifier joins which document, a worked example where one key is off by two digits, and where the extraction stops. The example is fictional, including the codes. Nothing here is legal or claims advice.
Three keys, three joins
Each identifier on a bill of lading comes from a different party, and each one is the reference a different downstream document quotes. Reading them as interchangeable "reference numbers" loses the join.
| Field | Who assigns it | Where it appears | What it matches |
|---|---|---|---|
| BOL number | Usually the shipper, on its own bill of lading form | Header of the BOL, often with a barcode | The shipper's order or shipment record, and the reference on the carrier invoice |
| SCAC | A two-to-four letter code identifying the carrier | Carrier block of the BOL, carrier invoice header | Which carrier issued the invoice and signed for the freight |
| PRO number | The carrier, when it accepts the freight | Carrier sticker or stamp on the BOL, freight bill, delivery receipt | The carrier invoice and the proof of delivery for the same load |
| Container number | The container owner, for ocean freight | Equipment block of an ocean BOL | Booking, arrival notice, and terminal records |
The BOL number ties the paper to the shipper's side. The PRO number ties it to the carrier's side. The SCAC says which carrier's side. A carrier invoice that quotes the right PRO under a different SCAC is not a match. It is either a keying error or an invoice from a carrier that never had the load.
Where each key is read
The three keys rarely sit in one predictable place, which is why a bill of lading is a poor fit for fixed-position templates.
- The BOL number is printed, the PRO often is not — many shippers print the BOL number in the header. The PRO number is frequently a sticker or a stamp the driver adds at pickup, placed wherever there is room, sometimes over other text. The extraction has to find it by what it is, not by where the form expects it.
- The SCAC competes with the carrier name — a BOL can carry the carrier's name, the SCAC, a broker's name, and the name of the carrier that actually moved the freight. They are separate fields. Collapsing them into one "carrier" value makes the invoice match ambiguous.
- Two shipments can share a page — a master bill of lading can list several shipments, each with its own reference. A single "BOL number" field for that page is the wrong shape. The output needs one record per shipment, each with its own citation.
- The container number has a structure — ocean container numbers follow ISO 6346: an owner code, an equipment category letter, a serial, and a final check digit computed from the first ten characters. A misread character usually breaks that arithmetic, which makes the format itself a useful review trigger.
Exception notes are a field
A bill of lading is also the carrier's acknowledgment of what it received. When the driver writes "2 pallets shrink-wrap torn" or the shipper marks the load as shipper's load and count, that text changes what the BOL proves. A clean BOL says the carrier accepted the freight in apparent good order. A BOL with an exception note says it did not.
Those notes are handwritten, short, and placed in margins or in a remarks box that the form treats as optional. An extraction that reads only the printed grid drops them. The result looks complete and loses the one piece of evidence a damage claim will later depend on.
Treat the exception note as its own field, with its text, its page, and its region. An empty exception field should mean the remarks area was read and was blank, not that nobody looked. The delivery side carries its own exceptions on the proof of delivery. This piece is about the pickup document.
Other fields that change the match
Around the three keys sit the fields that a freight audit or a claim compares next.
- Consignee and notify party — on an ocean BOL the consignee can be "to order", and the notify party is a different entity: the one to tell when the cargo arrives. Reading the notify party as the consignee routes the arrival to the wrong desk.
- Weight, pieces, and freight class — the carrier invoice bills a weight and, for less-than-truckload freight, a class. Both should match what the BOL declared, or carry a reweigh or reclass the reviewer can see.
- Accessorial charges — liftgate, inside delivery, and appointment requests on the BOL explain charges that appear later on the invoice. Rating those charges is a separate check; this one only keeps them attached to the shipment.
A worked example: one key off by two digits
A fictional shipper sends four pallets of components by less-than-truckload. The packet has three documents: the BOL, the carrier's freight invoice, and the delivery receipt. The codes below are placeholders, not real carrier assignments.
| Field | Bill of lading | Carrier invoice | Delivery receipt | Result |
|---|---|---|---|---|
| BOL number | NF-48213, p. 1 header | NF-48213 | — | Match |
| SCAC | ABCD, p. 1 carrier block | ABCD | ABCD | Match |
| PRO number | 0712 4489 56, sticker, p. 1 | 0712 4498 56 | 0712 4489 56 | Invoice differs by two transposed digits |
| Pieces and weight | 4 pallets, 1,840 lb | 4 pallets, 2,060 lb | 4 pallets | Weight differs; no reweigh on file |
| Exception note | "1 carton crushed, corner", handwritten, p. 1 remarks | — | none | Carried to the shipment record |
The BOL and the delivery receipt agree on the PRO. The invoice does not, and the difference is a transposition. A matching rule that requires an exact PRO leaves the invoice unmatched; a rule that silently fuzzes the PRO would match it, and would also match an invoice for a different load. The right outcome is a review item that shows both values with their sources, so a person confirms the transposition and the carrier corrects the invoice.
The weight difference is a separate flag. It may be a legitimate reweigh, but nothing in the packet shows one, so it goes to the same reviewer with the BOL value and the invoice value side by side. The exception note does not create a flag here. It travels with the shipment, so that a later damage claim on that carton starts from the fact that the damage was noted at pickup.
What the extraction should deliver
Our bill of lading extraction page lists the fields logistics teams benchmark, from the BOL, SCAC, and PRO numbers to the exception notes, and keeps each one linked to a page citation and a review status. For the joins above, each key needs four things:
- The value as printed — the characters on the page, before any normalization, so a reviewer can see what was read.
- A normalized value — spaces and dashes removed from the PRO, the SCAC upper-cased, so the match compares like with like.
- A page and region — the sticker, the stamp, or the header the value came from. A transposed digit is resolved by looking at the source, not by rereading the whole packet.
- A review status — whether the field was accepted, flagged, or corrected, and by whom, so the match result has an audit trail.
The same applies when the packet arrives as one PDF: the documents are classified and split by type first, then each key is read from its own document. The output goes over the extraction API to the TMS, ERP, or claims workflow that does the matching.
Where the check stops
Reading the keys well is the extraction's job. Several decisions are not.
- It does not verify a SCAC against an external registry — the extraction reads the code on the page and compares it with the other documents in the packet. Whether the code belongs to an approved carrier is a lookup in your own carrier master.
- It does not audit the rate — whether the invoiced charges follow the agreed tariff is a freight audit question, with its own inputs.
- It does not decide liability — an exception note is evidence of the condition at pickup. Who pays for a damaged carton is decided by the contract and the claims process, not by the document reader.
Read the keys before the totals
A bill of lading with every field extracted and one key misread is a packet that will not reconcile. Start the evaluation with the BOL number, the SCAC, the PRO number, and the exception notes, each with its source, and compare them across the BOL, the invoice, and the delivery receipt. If those four hold on your hardest packets, the remaining fields have something to attach to. To try that on your own documents, start with bill of lading extraction.
