Skip to content

Dataset

Bill of lading and freight document datasets for AI training

A bill of lading dataset is a set of freight documents as carriers, brokers and auditors received them: bills of lading, proofs of delivery, rate confirmations, packing lists, weight tickets and carrier invoices, scanned or digital, each paired with the fields keyed from it and the load it was matched to. SourceX sources these to a buyer's specification from established carriers, freight brokers, third-party logistics providers and freight audit firms, with the audit discrepancy recorded where one was found. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Freight paperwork as received, with keyed fields, the matched load and audit findings
Typical systems
Carrier and broker TMS imaging modules, driver scanning apps, freight audit platforms
Typical history
Varies by partner; image retention rules and TMS migrations limit how far back scans go
Modality
Scanned pages, phone photos and PDFs; keyed field values; load and invoice records
Delivery formats
Agreed per order; TIFF, JPEG or PDF pages with JSONL labels and document-to-load links
Preparation
Signatures, driver details and private addresses masked or replaced; trading partners tokenized
Licensing
Permitted use agreed per license; rights in documents issued by trading partners reviewed per source
Availability
Sourced to your spec from carriers, brokers, 3PLs and freight audit firms; not guaranteed
ImagesIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
freight_doc_idstringPseudonymous ID for one document as received, stable across its pages and labels; a load's documents are delivered together.
doc_kindenumBill of lading, delivery receipt, rate confirmation, packing list, weight ticket, lumper receipt or carrier invoice.
load_refobjectTokenized load plus the numbers that tie its documents together: BOL number, PRO number, shipper reference and PO.
captureobjectHow the page arrived: driver phone photo, terminal scanner, fax or emailed PDF, with resolution and skew.
form_familystringID of the printed layout, such as one shipper's BOL template, for splitting by form.
printed_fieldsobjectValues keyed from the printed form: tokenized parties, carrier SCAC, freight terms, handling units, pieces, weight and seal number.
line_itemsarrayCommodity lines with handling units, pieces, weight, freight class, NMFC item, description and hazmat flag.
markingsarrayEach stamp, sticker, signature or handwritten note added after printing, with type, position, writer and transcription.
receiver_exceptionsarrayShortage, overage, damage or refusal noted at delivery, as written on the page and as quantities.
chargesarrayInvoice lines for linehaul, fuel surcharge and accessorials, with amount, billed weight and billed class.
agreed_rateobjectThe rate confirmation, contract or tariff the invoice was checked against, with accessorials authorized in advance.
cross_checksarrayResult of each comparison between the load's documents, such as units tendered against units signed for.
audit_findingobjectThe discrepancy an auditor recorded, with reason code, amount disputed, outcome and the carrier's response.
redactionobjectWhat was masked, replaced or tokenized in pixels, text layers and keyed values.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "load_ref": { "load": "ld_tok_48c1", "bol_no": "bol_tok_7731", "pro_no": "pro_tok_0925", "mode": "ltl" },
  "documents": [
    { "freight_doc_id": "fd_2a91e0", "doc_kind": "bill_of_lading", "form_family": "ff_shipper_0182",
      "capture": { "channel": "terminal_scanner", "dpi": 200 },
      "printed_fields": { "carrier_scac": "scac_tok_17", "freight_terms": "prepaid", "handling_units": 6,
                          "pieces": 48, "weight_lb": 2140 },
      "line_items": [
        { "hu_type": "pallet", "hu_count": 6, "pieces": 48, "weight_lb": 2140, "freight_class": "70",
          "description": "Plumbing fixtures, boxed" } ],
      "markings": [
        { "type": "signature", "by": "driver", "redacted": true },
        { "type": "handwritten_count", "by": "driver", "text": "6 plts SLC" } ] },
    { "freight_doc_id": "fd_2a91e1", "doc_kind": "delivery_receipt",
      "capture": { "channel": "driver_phone_photo", "skew_deg": 6.2, "shadow": true },
      "markings": [
        { "type": "signature", "by": "receiver", "redacted": true },
        { "type": "exception_note", "by": "receiver", "text": "5 plts recd 1 short, 2 ctns crushed",
          "keyed_as": "exception_flag_only" } ],
      "receiver_exceptions": [
        { "kind": "shortage", "handling_units": 1 }, { "kind": "damage", "pieces": 2 } ] },
    { "freight_doc_id": "fd_2a91e2", "doc_kind": "carrier_invoice",
      "capture": { "channel": "emailed_pdf", "text_layer": true },
      "charges": [
        { "code": "linehaul", "amount": 412.60, "billed_weight_lb": 2390, "billed_class": "70" },
        { "code": "fuel_surcharge", "amount": 98.20 },
        { "code": "reweigh", "amount": 25.00 },
        { "code": "liftgate", "amount": 85.00 } ] }
  ],
  "agreed_rate": { "source": "contract_tariff", "expected_linehaul": 371.90, "accessorials_authorized": [] },
  "cross_checks": [
    { "check": "units_bol_vs_delivery_receipt", "result": "mismatch", "detail": "6 tendered, 5 signed for" },
    { "check": "weight_bol_vs_invoice", "result": "mismatch", "detail": "2140 lb declared, 2390 lb billed, no certificate" },
    { "check": "accessorial_vs_support", "result": "mismatch", "detail": "liftgate not noted on either document" }
  ],
  "audit_finding": { "reason_codes": ["reweigh_unsupported", "accessorial_unsupported"],
                     "amount_disputed": 150.70, "outcome": "short_paid",
                     "carrier_response": "weight certificate supplied, liftgate credited" },
  "redaction": { "signatures": "masked_presence_labeled", "person_names": "removed", "addresses": "tokenized" }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Extract fields across shipper and carrier forms

Pages paired with keyed reference numbers, pieces, weight and class train extraction on forms that every shipper prints differently.

Read what was added in transit

Labeled stamps, handwritten counts and exception notes train a model to separate the printed form from marks made at pickup and delivery.

Automate freight audit

Loads with their documents and the auditor's finding teach a model to compare bill of lading, delivery receipt and invoice and flag unsupported charges.

Split and classify trip paperwork

Drivers often scan a trip's paperwork as one file, so captures labeled by document type and load train page classification and splitting.

Benchmark on unseen forms and capture conditions

Holding out form families and capture channels tests a document model on templates and photo conditions it has never seen.

Use-case guides: Document AI, enterprise search and RAG, Finance and accounting agents, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Documents as received

Original scans and phone photos with skew, shadow and stamps intact.

Complete load sets

A stated share of loads with bill of lading, proof of delivery and invoice all present.

Marks attributed to a writer

Each in-transit mark labeled as the shipper's, the driver's or the receiver's.

Auditor findings with outcomes

Reason code, amount and whether the carrier accepted, rebilled or overturned the finding.

Form families identified

A layout ID per page exposes the long tail of shipper templates.

Keying provenance

Whether each value was keyed once, double keyed or corrected after OCR.

Document stack

Bill of lading dataset

This page covers bills of lading and freight documents.Illustrative

What gets written on a freight document in transit

A bill of lading leaves the shipper's dock as a printed form and arrives as something else. At pickup the driver signs it and often writes the number of handling units accepted instead of confirming the carton count, sometimes adding shipper load and count. A less-than-truckload carrier adds its PRO number, often as a barcode sticker. At delivery the receiver signs, writes the date and the time in and out, and records anything wrong: one pallet short, two cartons crushed, refused, subject to count.

Those marks decide who pays. In practice, a delivery receipt signed with no exception makes a later shortage or damage claim harder to support, while one that says a pallet is short usually starts a claim and often a short payment. Handwritten arrival and departure times are commonly the evidence offered for detention charges, and a note about a liftgate supports that accessorial on the invoice. A model that reads only the printed fields returns the shipment as tendered, which is the version nobody is arguing about.

The marks are also the hardest part to read. Stamps overlap printed boxes, counts are written over typed numbers, and many proofs of delivery are phone photos taken in a truck cab with skew and shadow. Ask what the labels cover. Billing clerks usually key a delivered date, a signed-by name and an exception flag, not the note itself. A dataset that transcribes each mark, gives its position and names its writer carries labeling the billing system never produced.

One shipment, several documents that should agree

One shipment produces several documents written by different parties. The rate confirmation or contract tariff states the price agreed. The bill of lading states what the shipper says was tendered. The delivery receipt states what the consignee says arrived. A weight ticket or inspection certificate states what the carrier measured. The carrier's invoice, on paper, as a PDF or as an X12 210 transaction, states what the carrier wants to be paid. Freight audit is the job of checking whether they agree.

The disagreements are specific. Billed weight exceeds the weight on the bill of lading and no reweigh certificate is attached. The invoiced freight class differs from the one declared. A detention or liftgate charge appears that no document supports. The same shipment is billed twice, sometimes once by the carrier and once by its factoring company. The auditor records which check failed, a reason code, the amount adjusted and what happened next: paid as billed, short paid, rebilled with support or credited. That finding is a label written during the work, with a dollar amount on it.

Check three things on a sample: how complete the document sets are, since many loads have only an invoice and a proof of delivery on file; how documents were matched to the load, because the linking numbers are themselves keyed and sometimes wrong; and whether clean loads and overturned findings were kept at their natural rate. A finding the carrier reversed by producing the certificate is the negative example an audit model needs most.

What to check before licensing

  • Check redaction on a sample in every layer: signatures and the names printed beside them, driver names, license and phone numbers, PDF text layers and file names.
  • Look for deliveries to private individuals. Residential consignee names and addresses are personal data even when business addresses are left readable or tokenized.
  • Ask how identifiers were removed from images. A black box changes the page a model will see in production, and a synthetic replacement keeps the layout.
  • Confirm the holder's right to license documents its trading partners issued, and have counsel review the basis. A bill of lading is the shipper's form, an invoice is the carrier's, and contracts often restrict disclosure of rates and shipment details.
  • Measure the share of loads that have each document type, and ask how each document was matched to its load: barcode, keyed PRO number or manual indexing.
  • Count documents per form family and per capture channel, and ask what share of pages a system rendered from EDI data.
  • Run the cross-document checks on the sample yourself and compare the result with the recorded audit findings.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

How is this different from a supply chain operations dataset?

It is the paperwork itself, not the event history. A supply chain operations dataset follows purchase orders, shipments and tracking events through a company's systems and treats freight documents as attachments. This dataset is built around the page: the image as received, what was written on it in transit, the keyed fields and the audit result.

Which freight documents can be included?

Bills of lading, delivery receipts and other proofs of delivery, rate confirmations, packing lists, weight tickets, lumper receipts and carrier invoices are the usual set for road freight. Freight forwarders may also hold ocean bills of lading and air waybills. Holders differ: a carrier keeps its own delivery receipts and invoices, a broker keeps rate confirmations, and an audit firm sees what shippers were billed.

Are the labels full transcriptions of each page?

Usually not. The fields attached to a freight document were keyed for billing, tracking or audit, so they cover what that job needed: reference numbers, parties, pieces, weight, class, delivery date and charges. Handwritten notes are often reduced to a flag. If you need every mark transcribed with its position, say so in the request, and expect that labeling to be added work.

Can signatures and handwriting stay in the images?

Handwriting that describes the freight can stay, and signatures and names normally cannot. Piece counts, times and exception notes rarely identify a person. Signatures, the printed names beside them, and driver license and phone numbers are personal data, so they are masked or replaced before delivery, with a label recording that a signature was present and in what role. Verify this on sample pages.

Does the dataset cover electronic bills of lading and EDI invoices?

It can, where the holder has them. Many freight documents now start digital: an emailed PDF with a text layer, an electronic bill of lading signed on a tablet, or an X12 210 invoice with no page at all. Pages a system rendered from EDI data should be flagged, because they are far easier to read.

How should train and test sets be split?

Split by load and by form family, never by page. All documents of one load must sit on the same side, or the invoice in training reveals the answer for the bill of lading in test. A shipper prints the same layout on every shipment, so one shipper's pages on both sides inflate extraction scores.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 25 November 2026.

See if your company qualifies