BOL (Bill of Lading) OCR API

Transform complex Bills of Lading into structured data with AI-powered extraction of shipping details, cargo descriptions, and consignment information - enabling automated 3-way matching with purchase orders and invoices while streamlining logistics documentation across sea, air, and land freight formats.

Get Started for Free Free Demo
BOL (Bill of Lading) OCR API

What is BOL (Bill of Lading) OCR?

Bill of lading OCR (Optical Character Recognition) is a technology that enables the automatic extraction of data from bill of lading documents. A bill of lading is a crucial document in international trade, and OCR technology makes it easier for businesses to extract valuable information, such as the consignor, consignee, and product descriptions, from these documents. With bill of lading OCR, businesses can streamline their operations, reduce manual errors, and improve their supply chain efficiency.

Bill of lading OCR also improves data accuracy by eliminating errors that may occur during manual data entry. Businesses can easily manage large volumes of shipping documents, track their shipments in real-time, and improve their overall supply chain management. Additionally, businesses can reduce the risk of fraud, improve their compliance with trade regulations, and enable more efficient AP workflows.

Request: BOL (Bill of Lading) Data Extraction
import requests
url = "https://api.veryfi.com/api/v8/partner/documents"
headers = {
'CLIENT-ID': '<API_KEY_VALUE>',
'AUTHORIZATION': '<API_KEY_VALUE>'
}
payload = {'file_url': 'https://cdn…'}
response = requests.post(url, headers=headers, data=payload)
print(response.json())
Response: Structured JSON
{
“vendor”: {
“name”: “Rumpke Waste & Recycling”,
“address”: “3800 Struble Road, Cincinnati, Ohio 45251, United States”,
“phone_number”: “(800) 828-8171”
},
“bill_to”: {
“name”: “JOHN DOE”,
“address”: “1234 CUSTOMER AVE\nCLEVELAND OH 44114”
},
“invoice_number”: “0998811”,
“date”: “2023-03-28 00:00:00”,
“due_date”: “2023-04-28”,
“line_items”: [
{
“description”: “2YD FL/MONTH-MSW”,
“quantity”: 1,
“price”: 116.32,
“total”: 116.32
}
],
“subtotal”: 306.27,
“tax”: 23.47,
“total”: 329.74,
“currency_code”: “USD”
}
Support for over 150 fields 🤟

BOL (Bill of Lading) OCR API

Veryfi’s BOL (Bill of Lading) OCR API is easy and fast to implement with just a few lines of code (as shown).

BOL (Bill of Lading) OCR API comes bundled with:
✓ Day-1 Ready Pre-Trained Purchase Order AI model,
✓ Free 🧰 SDKs to help you launch faster in your preferred programming language and
✓ Easy to use no-code API 🗔 Portal where you can store and edit your documents, fine-tune the ML model and more.

Need help? email support@veryfi.com

Supported Fields

  • Vendor/Merchant
    • Name and Raw Name
    • Address and Raw Address
    • Logo
    • Phone
    • Fax
    • Email
    • Latitude
    • Longitude
    • Website Url
    • Logo
    • Vendor Category
    • Vendor Account currency
    • VAT Number (Value-Added Tax)
    • ABN Number (Australian Business Number)
    • Vendor Registration Number
    • Store Number Name (enriched)
    • Learn more …
  • Dates
    • Invoice Date
    • Due Date
    • Order Date
    • Ship Date
    • Delivery Date
    • Start Date (or arrival in hotel folio)
    • End Date (or departure in hotel folio)
    • Line Item Start Date (service provided dates)
    • Line Item End Date (service provided dates)
    • Learn more …
  • Line-Items
    • Date
    • SKU (Stock keeping unit)
    • UPC (Universal Product Code)
    • HSN (Harmonized System Code/Number)
    • Category
    • Section
    • Description
    • Quantity
    • Reference
    • Unit of Measure
    • Price
    • Tax
    • Tax Rate
    • Discount
    • Discount Rate
    • Total
    • Type (food, product, alcohol,..)
    • Weight (eg. kg/lb)
    • Start/End Date
    • Country of Origin
    • Lot number
    • Learn more …
  • Financials
    • Subtotal
    • Discount
    • Cashback
    • Shipping cost
    • Tax (VAT, GST)
    • Tax Lines
    • Tip
    • Total
    • Rounding
    • Currency Code
    • Currency Exchange Rate
    • Insurance
    • Incoterms
    • Balance (current / previous)
    • Learn more …
  • Tax Lines Breakdown
    • Tax name
    • Tax rate %
    • Tax total
    • Tax base
  • Meta
    • Document Type (receipt/check/purchase order/invoice etc)
    • Document Title
    • Category
    • Tag
    • OCR Text
  • Ship To
    • Name
    • Address
    • Tracking Number
    • Ship Date
    • Delivery Date
    • Order Date
    • Incoterms
    • Insurance
    • Weight + List
  • Bank Information
    • Bank name
    • Bank number
    • Routing number
    • Account number
    • IBAN (International Bank Account Number)
    • SWIFT / BIC
    • Learn more …
  • Barcodes
  • Payment Method
    • Card Type (eg. visa, mastercard etc)
    • Card Number
    • Terms
  • Identifiers
    • Account Number
    • Invoice Number
    • PO (Purchase Order) Number
    • Reference Number
  • Bill To
    • Name
    • Address
    • Phone Number
    • Email
    • VAT Number
    • ABN Number
    • Bill to ABN Number
    • Payment Terms
    • Business Registration Number

Process your bills of lading in less time than it takes to read this.

See for yourself.

But wait, there’s more…

  • 3-Way Matching

    Transform invoice-to-purchase-order matching into an automated process with AI-powered validation that compares unit prices, quantities, and line items – eliminating manual reconciliation and detecting discrepancies instantly.

  • Global Port Code Validation

    Automatically validate and standardize port codes (UNLOCODE) across all shipping documents, ensuring accuracy of origin, destination, and transshipment points while maintaining compliance with international shipping standards.

  • Line Item Categorization

    Convert free-text product descriptions into structured spend categories using machine learning classification – automatically mapping to UNSPSC, custom taxonomies, or internal category codes while maintaining consistency across your procurement lifecycle.

  • Duplicate PO Detection

    Automatically identify duplicate or similar purchase orders using AI-powered pattern matching – preventing double payments, catching redundant submissions, and flagging potential errors across order history in real-time. The system analyzes multiple data points including supplier details, line items, quantities, pricing, and delivery dates to catch duplicates even when documents appear different at first glance.

  • Specialized Fields

    – PO Number Format Validation (match custom enterprise numbering schemas)
    – Contract/Framework Agreement Reference Detection
    – Department/Cost Center Code Validation
    – Approved Vendor List Verification
    – Budget Code Matching
    – Delivery Terms (Incoterms) Extraction
    – Payment Terms Net Days Detection
    – Multi-Currency Line Items Support
    – Split Delivery Date Detection (per line item)
    – Required-By Date Validation
    – Requisitioner Information Extraction
    – Authorized Signatory Validation
    – Custom Fields Mapping (client-specific PO formats)
    – SKU/Part Number Standardization
    – Unit of Measure (UOM) Standardization
    – Blanket PO Detection and Processing
    – Change Order Version Control
    – Quote Reference Number Extraction