Extract Bill of Lading Extractor Data — Automate Operations
Supply chain operations process thousands of shipping documents daily. Manual data entry causes delays and inventory errors.
Common Pain Points
- Shipping delays cost customer satisfaction
- Inventory discrepancies from manual entry
- Customs holds from document errors
- Lost shipments from misrouted packages
What This Template Does
AI-powered extraction using gemini-2.5-flash. Part of 113 production-ready templates.
Capabilities
- Logistics Extraction
- Bill Of Lading Processing
- Ocean Freight
- Shipping
- Bill Of Lading
Output Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Bill of Lading Extraction Schema",
"description": "JSON Schema for Ocean Bill of Lading (B/L) document extraction output",
"type": "object",
"required": [
"document_type",
"bl_number"
],
"properties": {
"document_type": {
"type": "string",
"const": "bill_of_lading",
"description": "Document type identifier"
},
"bl_type": {
"type": "string",
"enum": [
"master",
...Quick Start
See It In Action
Real extraction example showing input document and structured output.
BILL OF LADING MSC MEDITERRANEAN SHIPPING COMPANY S.A. SHIPPED ON BOARD BILL OF LADING B/L No: MSCU24031567890 Booking No: BK789456123 Shipper: SHANGHAI SUNRISE MANUFACTURING CO., LTD No. 888 Pudong Avenue, Building C Pudong New District Shanghai 200120, China Tel: +86 21 5888 9999 Email: export@shanghaisunrise.cn Consignee: EUROPARTS DISTRIBUTION B.V. Waalhaven Zuid 58 3089 JH Rotterdam Netherlands Tel: +31 10 495 8800 Notify Party: DUTCH LOGISTICS PARTNERS Westblaak 100 3012 KM Rotterdam N
{
"document_type": "bill_of_lading",
"bl_type": "master",
"bl_number": "MSCU24031567890",
"booking_number": "BK789456123",
"document_date": "2024-03-18",
"carrier_info": {
"carrier_name": "MSC Mediterranean Shipping Company S.A.",
"carrier_code": "MSCU",
"vessel_name": "MSC ISABELLA",
"voyage_number": "IA412W",
"flag_state": "Panama",
"imo_number": "9839430"
},
"shipper": {
"name": "SHANGHAI SUNRISE MANUFACTURING CO., LTD",
"address": {
"street": "No. 888 Pudong Avenue, Building C, Pudong New District",
"city": "Shanghai",
"state_province": null,
"postal_code": "200120",
"country": "China",
"country_code": "CN"
},
"contact": null,
"phone": "+86 21 5888 9999",
"email": "export@shanghaisunrise.cn"
},
"consignee": {
"name": "EUROPARTS DISTRIBUTION B.V.",
"to_order": false,
"to_order_of": null,
"address": {
"street": "Waalhaven Zuid 58",
"city": "Rotterdam",
"state_province": null,
"postal_code": "3089 JH",
"country": "Netherlands",
"country_code": "NL"
},
"contact": null,
"phone": "+31 10 495 8800"
},
"notify_party": {
"name": "DUTCH LOGISTICS PARTNERS",
"address": "Westblaak 100, 3012 KM Rotterdam, Netherlands",
"phone": "+31 10 411 2233"
},
"routing": {
"port_of_loading": "Shanghai, China",
"port_of_loading_code": "CNSHA",
"port_of_discharge": "Rotterdam, Netherlands",
"port_of_discharge_code": "NLRTM",
"place_of_receipt": "Shanghai CFS",
"place_of_delivery": "Rotterdam",
"transshipment_port": null,
"on_board_date": "2024-03-18",
"estimated_arrival": null
},
"containers": [
{
"container_number": "MSCU4567891",
"container_type": "40HC",
"container_size": "40",
"container_status": "FCL",
"seal_number": "SH2024789",
"tare_weight": null,
"tare_weight_unit": "KG",
"vgm": 28450,
"vgm_method": null,
"temperature": null,
"humidity": null
},
{
"container_number": "MSCU4567892",
"container_type": "40HC",
"container_size": "40",
"container_status": "FCL",
"seal_number": "SH2024790",
"tare_weight": null,
"tare_weight_unit": "KG",
"vgm": 27890,
"vgm_method": null,
"temperature": null,
"humidity": null
},
{
"container_number": "MSCU4567893",
"container_type": "40HC",
"container_size": "40",
"container_status": "FCL",
"seal_number": "SH2024791",
"tare_weight": null,
"tare_weight_unit": "KG",
"vgm": 28120,
"vgm_method": null,
"temperature": null,
"humidity": null
}
],
"cargo_details": [
{
"marks_numbers": "EUROPARTS ROTTERDAM PO# EP-2024-0892 C/NO. 1-450 MADE IN CHINA",
"description": "AUTOMOTIVE SPARE PARTS - BRAKE PADS AND ROTORS, SUSPENSION COMPONENTS, ENGINE PARTS",
"hs_code": "8708.30.5000, 8708.80.9000",
"package_count": 450,
"package_type": "CARTONS",
"gross_weight": 25460,
"gross_weight_unit": "KG",
"net_weight": null,
"net_weight_unit": null,
"volume": 95.5,
"volume_unit": "CBM"
}
],
"cargo_totals": {
"total_packages": 450,
"total_gross_weight": 25460,
"total_gross_weight_unit": "KG",
"total_volume": 95.5,
"total_volume_unit": "CBM",
"total_containers": 3
},
"freight_charges": {
"freight_terms": "Prepaid",
"freight_payable_at": "Shanghai",
"freight_amount": null,
"currency": null,
"incoterms": "FOB",
"incoterms_place": "Shanghai"
},
"bl_terms": {
"shipped_on_board": true,
"clean_bl": true,
"clauses": [],
"number_of_originals": 3,
"negotiable": false,
"liner_terms": null
},
"documentary_credit": {
"lc_number": null,
"lc_issuing_bank": null,
"lc_date": null
},
"references": {
"shipper_reference": null,
"forwarder_reference": null,
"po_number": "EP-2024-0892",
"export_reference": null
},
"agent_info": {
"agent_name": null,
"agent_address": null
},
"issue_info": {
"place_of_issue": "Shanghai, China",
"date_of_issue": "2024-03-18",
"signatory": "As Agent for the Carrier"
},
"validation": {
"bl_number_present": true,
"parties_complete": true,
"container_numbers_valid": true,
"weights_provided": true,
"on_board_notation": true
}
}Shipped on board Bill of Lading from Shanghai to Rotterdam via MSC Mediterranean Shipping Company. Demonstrates ocean freight documentation with shipper/consignee details, vessel information, cargo description, and complete port routing.
Related Templates
Air Waybill Extractor
Extract shipping data from Air Waybills (AWB). Captures shipper, consignee, cargo details, routing, and charges for air freight shipments following IATA standards.
Certificate of Origin Extractor
Extract data from Certificates of Origin (CO) for trade compliance. Supports generic COs, preferential origin certificates (EUR.1, USMCA, GSP Form A), and chamber-issued documents.
Commercial Invoice Extractor
Extract trade data from commercial invoices for import/export transactions. Captures seller, buyer, goods description, values, and customs-relevant information.
Frequently Asked Questions
What documents can Bill of Lading Extractor process?
The Bill of Lading Extractor template processes logistics documents including various formats and layouts. See the instructions for specific document types supported.
How accurate is the Bill of Lading Extractor extraction?
The Bill of Lading Extractor template uses Gemini 2.5 Flash for high-accuracy extraction. Results include confidence scores for each field.
Can I customize the Bill of Lading Extractor template?
Yes, you can modify the extraction schema, add custom fields, or adjust the instructions to match your specific requirements.
Start Extracting Data Today
Process your first document in under 5 minutes. No credit card required.