Extract Air Waybill Extractor Data — Automate Operations

Supply chain operations process thousands of shipping documents daily. Manual data entry causes delays and inventory errors.

125
Fields Extracted
300s
Max Processing

What This Template Does

AI-powered extraction using gemini-2.5-flash. Part of 113 production-ready templates.

Capabilities

  • Logistics Extraction
  • Air Waybill Processing
  • Air Freight
  • Shipping
  • Air Waybill

Output Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Air Waybill Extraction Schema",
  "description": "JSON Schema for Air Waybill (AWB) document extraction output",
  "type": "object",
  "required": [
    "document_type",
    "awb_number"
  ],
  "properties": {
    "document_type": {
      "type": "string",
      "const": "air_waybill",
      "description": "Document type identifier"
    },
    "awb_type": {
      "type": "string",
      "enum": [
        "master",
        "hou
...

Quick Start

$ pip install doclayer
$ doclayer process document.pdf --agent logistics.air-waybill

See It In Action

Real extraction example showing input document and structured output.

Input Document
AIR WAYBILL
Issued by: EMIRATES
NOT NEGOTIABLE

AWB No: 172-45678901

Shipper's Name and Address:
PACIFIC RIM ELECTRONICS LTD
Unit 2301, Tower B, China Hong Kong City
33 Canton Road, Tsim Sha Tsui
Hong Kong SAR
Contact: Michael Wong
Tel: +852 2736 9988

Consignee's Name and Address:
WESTCOAST TECH DISTRIBUTORS INC
18500 Von Karman Ave, Suite 450
Irvine, CA 92612
United States
Contact: Jennifer Martinez
Tel: +1 949 555 7890

Issuing Carrier's Agent Name and City:
GLOBAL AIR LOGISTICS (HKG) LTD
IA
Extracted Data
{
  "document_type": "air_waybill",
  "awb_type": "master",
  "awb_number": "172-45678901",
  "awb_prefix": "172",
  "awb_serial": "45678901",
  "document_date": "2024-03-14",
  "airline_info": {
    "airline_name": "Emirates",
    "airline_code": "EK",
    "icao_code": "UAE",
    "flight_numbers": [
      "EK318"
    ],
    "flight_dates": [
      "2024-03-15"
    ]
  },
  "shipper": {
    "name": "PACIFIC RIM ELECTRONICS LTD",
    "account_number": null,
    "address": {
      "street": "Unit 2301, Tower B, China Hong Kong City, 33 Canton Road, Tsim Sha Tsui",
      "city": "Hong Kong",
      "state_province": null,
      "postal_code": null,
      "country": "Hong Kong SAR",
      "country_code": "HK"
    },
    "contact": "Michael Wong",
    "phone": "+852 2736 9988"
  },
  "consignee": {
    "name": "WESTCOAST TECH DISTRIBUTORS INC",
    "account_number": null,
    "address": {
      "street": "18500 Von Karman Ave, Suite 450",
      "city": "Irvine",
      "state_province": "CA",
      "postal_code": "92612",
      "country": "United States",
      "country_code": "US"
    },
    "contact": "Jennifer Martinez",
    "phone": "+1 949 555 7890"
  },
  "issuing_agent": {
    "name": "GLOBAL AIR LOGISTICS (HKG) LTD",
    "iata_code": "89-7 2345",
    "account_number": null,
    "city": "Hong Kong",
    "cass_address": null
  },
  "routing": {
    "airport_of_departure": "Hong Kong International",
    "departure_code": "HKG",
    "airport_of_destination": "Los Angeles International",
    "destination_code": "LAX",
    "routing_and_destination": [
      {
        "to": "LAX",
        "by_carrier": "EK",
        "flight": "EK318"
      }
    ],
    "requested_flight_date": "2024-03-15"
  },
  "accounting_info": {
    "accounting_information": null,
    "currency": "USD",
    "chgs_code": null,
    "weight_charge": "Prepaid",
    "other_charges": "Prepaid",
    "declared_value_carriage": "NVD",
    "declared_value_customs": "NVD"
  },
  "handling_info": {
    "handling_codes": [],
    "handling_information": "HANDLE WITH CARE - ELECTRONIC EQUIPMENT, KEEP DRY",
    "sci": null,
    "remarks": null
  },
  "cargo_details": {
    "number_of_pieces": 45,
    "gross_weight": 892.5,
    "weight_unit": "K",
    "chargeable_weight": 1125,
    "rate_class": "Q",
    "commodity_item_no": null,
    "rate_charge": 3.85,
    "total_charge": 4331.25,
    "nature_quantity_goods": "LAPTOP COMPUTERS MODEL XP-500, HS CODE: 8471.30.0100, COUNTRY OF ORIGIN: CHINA, 45 CARTONS",
    "dimensions": "120x80x95 CM (45 CTNS)",
    "volume": "1125.0 KG"
  },
  "rate_description": [
    {
      "pieces": 45,
      "gross_weight": 892.5,
      "rate_class": "Q",
      "rate": 3.85,
      "total": 4331.25,
      "nature_of_goods": "LAPTOP COMPUTERS MODEL XP-500"
    }
  ],
  "charges": {
    "weight_charge_prepaid": 4331.25,
    "weight_charge_collect": 0,
    "valuation_charge_prepaid": 0,
    "valuation_charge_collect": 0,
    "tax_prepaid": 0,
    "tax_collect": 0,
    "other_charges_prepaid": 245,
    "other_charges_collect": 0,
    "total_prepaid": 4576.25,
    "total_collect": 0,
    "currency_conversion_rate": null
  },
  "other_charges": [
    {
      "charge_code": "MY",
      "entitlement": "A",
      "amount": 85
    },
    {
      "charge_code": "SC",
      "entitlement": "A",
      "amount": 125
    },
    {
      "charge_code": "AW",
      "entitlement": "C",
      "amount": 35
    }
  ],
  "shipper_certification": {
    "signature": true,
    "date": "2024-03-14",
    "place": "Hong Kong"
  },
  "carrier_execution": {
    "signature": true,
    "date": "2024-03-14",
    "place": "Hong Kong",
    "carrier_name": "EMIRATES"
  },
  "insurance": {
    "insurance_requested": false,
    "insurance_amount": null
  },
  "customs_info": {
    "customs_origin": "China",
    "export_declaration_number": null,
    "import_license_number": null
  },
  "references": {
    "shipper_reference": null,
    "agent_reference": null,
    "mawb_number": null
  },
  "validation": {
    "awb_format_valid": true,
    "weights_consistent": true,
    "charges_calculated": true,
    "routing_complete": true
  }
}

Master Air Waybill for electronics shipment from Hong Kong to Los Angeles via Emirates Airlines. Demonstrates standard AWB structure with cargo details, weight calculations, charges breakdown, and handling requirements for fragile goods.

Frequently Asked Questions

What documents can Air Waybill Extractor process?

The Air Waybill Extractor template processes logistics documents including various formats and layouts. See the instructions for specific document types supported.

How accurate is the Air Waybill Extractor extraction?

The Air Waybill Extractor template uses Gemini 2.5 Flash for high-accuracy extraction. Results include confidence scores for each field.

Can I customize the Air Waybill 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.