Extract Dangerous Goods Declaration Extractor Data — Automate Operations

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

115
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
  • Dangerous Goods Processing
  • Hazmat Compliance
  • Dangerous Goods
  • Hazmat

Output Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Dangerous Goods Declaration Extraction Schema",
  "description": "JSON Schema for Dangerous Goods Declaration (DGD) document extraction output supporting IATA DGR, IMDG Code, ADR, and DOT requirements",
  "type": "object",
  "required": [
    "document_type",
    "dangerous_goods"
  ],
  "properties": {
    "document_type": {
      "type": "string",
      "const": "dangerous_goods_declaration",
      "description": "Document t
...

Quick Start

$ pip install doclayer
$ doclayer process document.pdf --agent logistics.dangerous-goods

See It In Action

Real extraction example showing input document and structured output.

Input Document
SHIPPER'S DECLARATION FOR DANGEROUS GOODS
(IATA Dangerous Goods Regulations)

Air Waybill No: 020-12345678
Page 1 of 1
Date: November 8, 2024

SHIPPER
ChemTech Solutions Inc.
4500 Industrial Park Drive
Houston, TX 77015
United States
Contact: Michael Torres, Hazmat Coordinator
24-Hour Emergency Phone: +1 800-555-CHEM (2436)
Email: hazmat@chemtechsolutions.com

CONSIGNEE
European Chemical Distributors GmbH
Industriestrasse 45
60314 Frankfurt am Main
Germany
Contact: Klaus Weber
Tel: +49 69 7890 4
Extracted Data
{
  "document_type": "dangerous_goods_declaration",
  "declaration_type": "air",
  "form_type": "IATA DGD",
  "document_date": "2024-11-08",
  "shipper": {
    "name": "ChemTech Solutions Inc.",
    "address": "4500 Industrial Park Drive, Houston, TX 77015",
    "country": "United States",
    "contact": "Michael Torres, Hazmat Coordinator",
    "phone": "+1 800-555-CHEM (2436)",
    "email": "hazmat@chemtechsolutions.com"
  },
  "consignee": {
    "name": "European Chemical Distributors GmbH",
    "address": "Industriestrasse 45, 60314 Frankfurt am Main",
    "country": "Germany"
  },
  "transport_info": {
    "air_waybill": "020-12345678",
    "bill_of_lading": null,
    "booking_reference": "LH-CARGO-2024-89012",
    "aircraft_type": "Boeing 777-F",
    "vessel_name": null,
    "departure_airport_port": "Houston George Bush Intercontinental (IAH)",
    "destination_airport_port": "Frankfurt (FRA)",
    "cargo_only": false,
    "passenger_cargo": true
  },
  "dangerous_goods": [
    {
      "item_number": "1",
      "un_number": "UN1219",
      "proper_shipping_name": "ISOPROPANOL (ISOPROPYL ALCOHOL)",
      "technical_name": "2-Propanol",
      "class_division": "3",
      "subsidiary_risks": [],
      "packing_group": "II",
      "quantity": "200 L",
      "quantity_unit": "L",
      "net_quantity_per_package": "50 L",
      "number_of_packages": 4,
      "package_type": "1A1",
      "packing_instruction": "PI364",
      "authorization": null,
      "radioactive_info": {
        "is_radioactive": false,
        "radionuclide": null,
        "activity": null,
        "category": null,
        "transport_index": null,
        "criticality_index": null,
        "physical_form": null,
        "chemical_form": null
      },
      "limited_quantity": false,
      "excepted_quantity": false,
      "marine_pollutant": false,
      "environmentally_hazardous": false,
      "ems_number": null,
      "stowage_segregation": null,
      "labels_required": [
        "FLAMMABLE LIQUID"
      ],
      "marks_required": [
        "UN1219"
      ]
    },
    {
      "item_number": "2",
      "un_number": "UN2796",
      "proper_shipping_name": "SULPHURIC ACID with not more than 51% acid",
      "technical_name": "Sulfuric Acid Solution",
      "class_division": "8",
      "subsidiary_risks": [],
      "packing_group": "II",
      "quantity": "100 L",
      "quantity_unit": "L",
      "net_quantity_per_package": "25 L",
      "number_of_packages": 4,
      "package_type": "3H1",
      "packing_instruction": "PI851",
      "authorization": null,
      "radioactive_info": {
        "is_radioactive": false,
        "radionuclide": null,
        "activity": null,
        "category": null,
        "transport_index": null,
        "criticality_index": null,
        "physical_form": null,
        "chemical_form": null
      },
      "limited_quantity": false,
      "excepted_quantity": false,
      "marine_pollutant": false,
      "environmentally_hazardous": false,
      "ems_number": null,
      "stowage_segregation": null,
      "labels_required": [
        "CORROSIVE"
      ],
      "marks_required": [
        "UN2796"
      ]
    },
    {
      "item_number": "3",
      "un_number": "UN1950",
      "proper_shipping_name": "AEROSOLS, non-flammable",
      "technical_name": "Compressed Gas Aerosol (Nitrogen propellant)",
      "class_division": "2.2",
      "subsidiary_risks": [],
      "packing_group": null,
      "quantity": "48 units",
      "quantity_unit": "units",
      "net_quantity_per_package": "1800 ml",
      "number_of_packages": 4,
      "package_type": "4G",
      "packing_instruction": "PI203",
      "authorization": null,
      "radioactive_info": {
        "is_radioactive": false,
        "radionuclide": null,
        "activity": null,
        "category": null,
        "transport_index": null,
        "criticality_index": null,
        "physical_form": null,
        "chemical_form": null
      },
      "limited_quantity": false,
      "excepted_quantity": false,
      "marine_pollutant": false,
      "environmentally_hazardous": false,
      "ems_number": null,
      "stowage_segregation": null,
      "labels_required": [
        "NON-FLAMMABLE GAS"
      ],
      "marks_required": [
        "UN1950"
      ]
    }
  ],
  "package_details": {
    "total_packages": 12,
    "package_types": [
      "Steel drums",
      "Plastic jerricans",
      "Fiberboard boxes"
    ],
    "gross_weight": 425,
    "gross_weight_unit": "KG",
    "net_weight": 348,
    "net_weight_unit": "KG"
  },
  "handling_info": {
    "special_handling": [
      "Keep upright at all times",
      "Store away from direct sunlight",
      "Maintain temperature between 15-25C"
    ],
    "temperature_control": false,
    "temperature_range": "15-25C",
    "orientation_required": true,
    "cargo_aircraft_only": false,
    "state_variations": [],
    "overpack_used": false,
    "all_packed_one_overpack": false
  },
  "emergency_info": {
    "emergency_contact": "ChemTech Emergency Response",
    "emergency_phone": "+1 800-555-CHEM (2436)",
    "erg_guide_number": "129, 137, 126",
    "first_aid": null,
    "fire_fighting": null,
    "spill_response": null
  },
  "compliance_info": {
    "iata_dgr_edition": "65th Edition (2024)",
    "imdg_code_amendment": null,
    "adr_version": null,
    "dot_revision": null,
    "training_required": "Current (Valid through December 2025)",
    "competent_authority_approval": null
  },
  "certifications": {
    "shipper_declaration": "This is to certify that the contents of this consignment are fully and accurately described above by the proper shipping name, and are classified, packaged, marked and labelled/placarded, and are in all respects in proper condition for transport according to applicable international and national governmental regulations.",
    "signatory_name": "Michael Torres",
    "signatory_title": "Hazmat Coordinator",
    "signature_date": "2024-11-08",
    "signature_place": "Houston, TX, USA",
    "packed_according_to": "IATA Dangerous Goods Regulations 65th Edition",
    "shipper_certified": true
  },
  "aircraft_limitations": {
    "passenger_aircraft_forbidden": false,
    "cargo_aircraft_only": false,
    "max_net_quantity_passenger": null,
    "max_net_quantity_cargo": null
  },
  "sea_specific": null,
  "validation": {
    "un_numbers_valid": true,
    "proper_shipping_names_correct": true,
    "packing_groups_valid": true,
    "quantities_within_limits": true,
    "declaration_complete": true,
    "certification_signed": true
  }
}

IATA Shipper's Declaration for Dangerous Goods for chemical shipment from Houston to Frankfurt. Documents hazmat classification, proper packaging, labeling, emergency contacts, and regulatory compliance for air transport of hazardous materials.

Frequently Asked Questions

What documents can Dangerous Goods Declaration Extractor process?

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

How accurate is the Dangerous Goods Declaration Extractor extraction?

The Dangerous Goods Declaration Extractor template uses Gemini 2.5 Flash for high-accuracy extraction. Results include confidence scores for each field.

Can I customize the Dangerous Goods Declaration 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.