Instantly Extract Structured Trade Document Data with Trademo's Data Extraction API

Automatically extract and structure data from Letters of Credit, Commercial Invoices, and Bills of Lading with Trademo’s Data Extraction API, enabling your systems to process documents instantly while eliminating manual effort in trade document processing and validation.

Rated 4.8/5 based on 120+ reviews
capterra image
Birch HillGigabyteArchromaCTSCofaceC.R. EnglandDriscoll'sALCEFWIntersurgicalKobre & KimLinlogisSGLSteam LogisticsPfizerJohn HancockJindal StainlessVantageBirch HillGigabyteArchromaCTSCofaceC.R. EnglandDriscoll'sALCEFWIntersurgicalKobre & KimLinlogisSGLSteam LogisticsPfizerJohn HancockJindal StainlessVantage

Digitize Key LC Fields Instantly

Extract structured data from Letters of Credit, including applicant and beneficiary details, issuing bank information, expiry dates, shipment terms, and document requirements. Convert LC documents into structured data to efficiently validate against the presented documents, reducing discrepancies and accelerating reviews.

coloured_close_icon
Sample Request & Response

Request:
{
  "doc_type": "LC",
  "file": "URL or base64 encoded file data"
}
Response:
{
  "status": "success",
  "total_match_results": 7,
  "response": [
    {
      "data": {
        "ocr_response": {
          "lc_number": {
            "x": 169,
            "y": 256,
            "page": 1,
            "type": "str",
            "label": "Number",
            "value": "DCX20240320",
            "width": 112,
            "height": 11,
            "confidence": 0.98
          },
          "lc_32_value": {
            "x": 221,
            "y": 415,
            "page": 1,
            "type": "float",
            "label": "Value",
            "value": 125000,
            "width": 91,
            "height": 11,
            "confidence": 0.98
          },
          "lc_45_weight": {
            "x": "",
            "y": "",
            "page": 0,
            "type": "str",
            "label": "Weight",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "lc_ba_number": {
            "x": "",
            "y": "",
            "page": 0,
            "type": "str",
            "label": "BA Number",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "lc_45_hs_code": {
            "x": 381,
            "y": 654,
            "page": 1,
            "type": "str",
            "label": "HS Code",
            "value": "6109.10.0000",
            "width": 121,
            "height": 11,
            "confidence": 0.97
          },
          "lc_32_currency": {
            "x": 177,
            "y": 415,
            "page": 1,
            "type": "str",
            "label": "Currency",
            "value": "USD",
            "width": 33,
            "height": 11,
            "confidence": 0.98
          },
          "lc_42_d_drawee": {
            "type": "dict",
            "label": "Drawee",
            "value": {
              "drawee_name": {
                "x": 169,
                "y": 711,
                "page": 1,
                "type": "str",
                "label": "Drawee Name",
                "value": "APPLICANT BANK",
                "width": 121,
                "height": 11,
                "confidence": 0.98
              },
              "drawee_address": {
                "x": 169,
                "y": 725,
                "page": 1,
                "type": "str",
                "label": "Drawee Address",
                "value": "123 BANK STREET, NEW DELHI, INDIA",
                "width": 298,
                "height": 25,
                "confidence": 0.97
              }
            }
          },
          "lc_45_quantity": {
            "x": 169,
            "y": 640,
            "page": 1,
            "type": "float",
            "label": "Quantity",
            "value": 5000,
            "width": 50,
            "height": 11,
            "confidence": 0.97
          },
          "lc_71_d_charges": {
            "x": 169,
            "y": 528,
            "page": 1,
            "type": "str",
            "label": "Charges",
            "value": "ALL BANKING CHARGES OUTSIDE\nAPPLICANT'S COUNTRY ARE FOR\nBENEFICIARY'S ACCOUNT.",
            "width": 289,
            "height": 39,
            "confidence": 0.97
          },
          "lc_available_by": {
            "x": 169,
            "y": 469,
            "page": 1,
            "type": "str",
            "label": "Available By",
            "value": "ANY BANK BY NEGOTIATION",
            "width": 260,
            "height": 11,
            "confidence": 0.98
          },
          "lc_45_unit_price": {
            "x": "",
            "y": "",
            "page": 0,
            "type": "str",
            "label": "Unit Price",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "lc_46_a_incoterm": {
            "x": 169,
            "y": 75,
            "page": 2,
            "type": "str",
            "label": "Incoterm",
            "value": "FOB MUMBAI",
            "width": 100,
            "height": 11,
            "confidence": 0.9
          },
          "lc_50_buyer_name": {
            "x": 169,
            "y": 270,
            "page": 1,
            "type": "str",
            "label": "Applicant Name",
            "value": "GLOBAL TRADING CO.",
            "width": 190,
            "height": 11,
            "confidence": 0.98
          },
          "lc_form_m_number": {
            "x": "",
            "y": "",
            "page": 0,
            "type": "str",
            "label": "Form M Number",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "lc_payment_terms": {
            "x": 169,
            "y": 445,
            "page": 1,
            "type": "str",
            "label": "Payment Terms",
            "value": "AT SIGHT",
            "width": 68,
            "height": 11,
            "confidence": 0.98
          },
          "lc_products_list": {
            "type": "list[dict]",
            "label": "Product Details",
            "value": [
              {
                "name": {
                  "x": 169,
                  "y": 640,
                  "page": 1,
                  "type": "str",
                  "label": "Item Name",
                  "value": "ASSORTED READYMADE GARMENTS (T-SHIRTS, JEANS, SHIRTS)",
                  "width": 453,
                  "height": 25,
                  "confidence": 0.97
                },
                "hscode": {
                  "x": 381,
                  "y": 654,
                  "page": 1,
                  "type": "str",
                  "label": "HS Code",
                  "value": "6109.10.0000",
                  "width": 121,
                  "height": 11,
                  "confidence": 0.97
                },
                "tolerance": {
                  "x": "",
                  "y": "",
                  "page": 0,
                  "type": "str",
                  "label": "Product Tolerance",
                  "value": "±5",
                  "width": "",
                  "height": "",
                  "confidence": 1
                },
                "weightUnit": {
                  "x": "",
                  "y": "",
                  "page": 0,
                  "type": "str",
                  "label": "Weight Unit",
                  "value": "NOT FOUND",
                  "width": "",
                  "height": "",
                  "confidence": 0
                },
                "weightValue": {
                  "x": "",
                  "y": "",
                  "page": 0,
                  "type": "float",
                  "label": "Weight",
                  "value": null,
                  "width": "",
                  "height": "",
                  "confidence": 0
                },
                "quantityUnit": {
                  "x": 222,
                  "y": 640,
                  "page": 1,
                  "type": "str",
                  "label": "Quantity Unit",
                  "value": "UNITS",
                  "width": 47,
                  "height": 11,
                  "confidence": 0.97
                },
                "quantityValue": {
                  "x": 169,
                  "y": 640,
                  "page": 1,
                  "type": "float",
                  "label": "Quantity",
                  "value": 5000,
                  "width": 50,
                  "height": 11,
                  "confidence": 0.97
                },
                "unitPriceValue": {
                  "x": "",
                  "y": "",
                  "page": 0,
                  "type": "float",
                  "label": "Unit Price Value",
                  "value": null,
                  "width": "",
                  "height": "",
                  "confidence": 0
                },
                "unitPriceCurrency": {
                  "x": "",
                  "y": "",
                  "page": 0,
                  "type": "str",
                  "label": "Unit Price Currency",
                  "value": "NOT FOUND",
                  "width": "",
                  "height": "",
                  "confidence": 0
                },
                "unitPriceMeasurement": {
                  "x": "",
                  "y": "",
                  "page": 0,
                  "type": "str",
                  "label": "Unit Price Measurement",
                  "value": "NOT FOUND",
                  "width": "",
                  "height": "",
                  "confidence": 0
                }
              }
            ]
          },
          "lc_31_expiry_date": {
            "x": 169,
            "y": 429,
            "page": 1,
            "type": "str",
            "label": "Expiry Date (yyyy-mm-dd)",
            "value": "2024-12-31",
            "width": 68,
            "height": 11,
            "confidence": 0.98
          },
          "lc_39_a_tolerance": {
            "x": 386,
            "y": 581,
            "page": 1,
            "type": "str",
            "label": "Percentage Credit Amount Tolerance",
            "value": "+5% / -5%",
            "width": 37,
            "height": 11,
            "confidence": 0.97
          },
          "lc_59_seller_name": {
            "x": 169,
            "y": 350,
            "page": 1,
            "type": "str",
            "label": "Beneficiary Name",
            "value": "ABC EXPORTS LTD.",
            "width": 178,
            "height": 11,
            "confidence": 0.98
          },
          "lc_message_header": {
            "type": "dict",
            "label": "Message Header",
            "value": {
              "sender": {
                "x": 169,
                "y": 212,
                "page": 1,
                "type": "str",
                "label": "Sender",
                "value": "BIC OF ISSUING BANK",
                "width": 173,
                "height": 11,
                "confidence": 0.98
              },
              "receiver": {
                "x": 169,
                "y": 226,
                "page": 1,
                "type": "str",
                "label": "Receiver",
                "value": "BIC OF ADVISING BANK",
                "width": 181,
                "height": 11,
                "confidence": 0.98
              },
              "swift_input": {
                "x": 169,
                "y": 188,
                "page": 1,
                "type": "str",
                "label": "Swift Input",
                "value": "MT700",
                "width": 57,
                "height": 13,
                "confidence": 0.98
              }
            }
          },
          "lc_place_of_expiry": {
            "x": 248,
            "y": 429,
            "page": 1,
            "type": "str",
            "label": "Place of Expiry",
            "value": "NEW DELHI, INDIA",
            "width": 148,
            "height": 11,
            "confidence": 0.98
          },
          "lc_44_c_latest_date": {
            "x": 169,
            "y": 484,
            "page": 1,
            "type": "str",
            "label": "Latest Shipment Date (yyyy-mm-dd)",
            "value": "2024-12-15",
            "width": 68,
            "height": 11,
            "confidence": 0.98
          },
          "lc_45_quantity_unit": {
            "x": 222,
            "y": 640,
            "page": 1,
            "type": "str",
            "label": "Quantity Unit",
            "value": "UNITS",
            "width": 47,
            "height": 11,
            "confidence": 0.97
          },
          "lc_50_buyer_address": {
            "x": 169,
            "y": 284,
            "page": 1,
            "type": "str",
            "label": "Applicant Address",
            "value": "201, ABC BUILDING,\n123 MAIN ROAD, NEW DELHI - 110001\nINDIA",
            "width": 278,
            "height": 38,
            "confidence": 0.97
          },
          "lc_50_buyer_country": {
            "x": 169,
            "y": 311,
            "page": 1,
            "type": "str",
            "label": "Buyer Country",
            "value": "INDIA",
            "width": 50,
            "height": 11,
            "confidence": 0.99
          },
          "lc_46_a_notify_party": {
            "x": "",
            "y": "",
            "page": 0,
            "type": "str",
            "label": "Notify Party",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "lc_59_seller_address": {
            "x": 169,
            "y": 364,
            "page": 1,
            "type": "str",
            "label": "Beneficiary Address",
            "value": "SUITE 700, 100 INTERNATIONAL BLVD,\nTORONTO, ON M5V 3C5\nCANADA",
            "width": 298,
            "height": 38,
            "confidence": 0.97
          },
          "lc_59_seller_country": {
            "x": 169,
            "y": 391,
            "page": 1,
            "type": "str",
            "label": "Seller Country",
            "value": "CANADA",
            "width": 68,
            "height": 11,
            "confidence": 0.99
          },
          "lc_country_of_origin": {
            "x": 246,
            "y": 667,
            "page": 1,
            "type": "str",
            "label": "Country of Origin",
            "value": "INDIA",
            "width": 49,
            "height": 11,
            "confidence": 0.97
          },
          "lc_31_c_date_of_issue": {
            "x": 169,
            "y": 400,
            "page": 1,
            "type": "str",
            "label": "Date of Issue (yyyy-mm-dd)",
            "value": "2024-03-20",
            "width": 68,
            "height": 11,
            "confidence": 0.98
          },
          "lc_41a_available_with": {
            "x": 313,
            "y": 469,
            "page": 1,
            "type": "str",
            "label": "Available With",
            "value": "BY NEGOTIATION",
            "width": 116,
            "height": 11,
            "confidence": 0.98
          },
          "lc_43_t_transshipment": {
            "x": 169,
            "y": 626,
            "page": 1,
            "type": "str",
            "label": "Transshipment",
            "value": "PROHIBITED",
            "width": 100,
            "height": 11,
            "confidence": 0.98
          },
          "lc_46a_consignee_name": {
            "x": 169,
            "y": 98,
            "page": 2,
            "type": "str",
            "label": "Consignee Name",
            "value": "TO THE ORDER OF SHIPPER",
            "width": 241,
            "height": 11,
            "confidence": 0.9
          },
          "lc_47_value_tolerance": {
            "x": 386,
            "y": 581,
            "page": 1,
            "type": "str",
            "label": "Value Tolerance",
            "value": "+/- 5%",
            "width": 37,
            "height": 11,
            "confidence": 0.97
          },
          "lc_confirmation_status": {
            "x": 169,
            "y": 514,
            "page": 1,
            "type": "str",
            "label": "Confirmation Status",
            "value": "MAY ADD",
            "width": 61,
            "height": 11,
            "confidence": 0.98
          },
          "lc_27_sequence_of_total": {
            "x": 169,
            "y": 241,
            "page": 1,
            "type": "str",
            "label": "Sequence of Total",
            "value": "1/1",
            "width": 25,
            "height": 11,
            "confidence": 0.98
          },
          "lc_44_e_port_of_loading": {
            "x": 169,
            "y": 682,
            "page": 1,
            "type": "str",
            "label": "Port of Loading",
            "value": "MUMBAI, INDIA",
            "width": 121,
            "height": 11,
            "confidence": 0.98
          },
          "lc_45_goods_description": {
            "x": 169,
            "y": 640,
            "page": 1,
            "type": "str",
            "label": "Goods Description",
            "value": "5000 UNITS OF ASSORTED READYMADE GARMENTS (T-SHIRTS, JEANS, SHIRTS) HS CODE 6109.10.0000 ORIGIN INDIA",
            "width": 453,
            "height": 38,
            "confidence": 0.97
          },
          "lc_40_e_applicable_rules": {
            "x": 169,
            "y": 611,
            "page": 1,
            "type": "str",
            "label": "Applicable Rules",
            "value": "UCP LATEST VERSION",
            "width": 166,
            "height": 11,
            "confidence": 0.98
          },
          "lc_43_p_partial_shipment": {
            "x": 169,
            "y": 611,
            "page": 1,
            "type": "str",
            "label": "Partial Shipment",
            "value": "ALLOWED",
            "width": 68,
            "height": 11,
            "confidence": 0.98
          },
          "lc_47_quantity_tolerance": {
            "x": 386,
            "y": 581,
            "page": 1,
            "type": "str",
            "label": "Quantity Tolerance",
            "value": "+/- 5%",
            "width": 37,
            "height": 11,
            "confidence": 0.97
          },
          "lc_78_instruction_to_pay": {
            "x": 169,
            "y": 116,
            "page": 2,
            "type": "str",
            "label": "Instruction to Payg/Accptg/Negotg Bank",
            "value": "PAYMENT TO BE MADE AGAINST PRESENTATION\nOF DOCUMENTS COMPLYING WITH LC TERMS AND CONDITIONS.",
            "width": 432,
            "height": 25,
            "confidence": 0.97
          },
          "lc_44_f_port_of_discharge": {
            "x": 169,
            "y": 696,
            "page": 1,
            "type": "str",
            "label": "Port of Discharge",
            "value": "TORONTO, CANADA",
            "width": 138,
            "height": 11,
            "confidence": 0.98
          },
          "lc_48_presentation_period": {
            "x": 169,
            "y": 499,
            "page": 1,
            "type": "int",
            "label": "Presentation Period",
            "value": 15,
            "width": 18,
            "height": 11,
            "confidence": 0.98
          },
          "lc_deck_carriage_allowance": {
            "type": "dict",
            "label": "On Deck Carriage Allowance",
            "value": {
              "status": {
                "x": "",
                "y": "",
                "page": 0,
                "type": "str",
                "label": "Status",
                "value": "NOT ALLOWED",
                "width": "",
                "height": "",
                "confidence": 0
              },
              "supporting_statement": {
                "x": "",
                "y": "",
                "page": 0,
                "type": "str",
                "label": "Supporting Statement",
                "value": "",
                "width": "",
                "height": "",
                "confidence": 0
              }
            }
          },
          "lc_stale_documents_allowed": {
            "x": "",
            "y": "",
            "page": 0,
            "type": "str",
            "label": "LC Stale Documents Allowed",
            "value": "NOT ALLOWED",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "lc_32_currency_standardized": {
            "x": 177,
            "y": 415,
            "page": 1,
            "type": "str",
            "label": "Currency Standardized",
            "value": "USD",
            "width": 33,
            "height": 11,
            "confidence": 0.98
          },
          "lc_50_buyer_country_standardized": {
            "x": 169,
            "y": 311,
            "page": 1,
            "type": "str",
            "label": "Buyer Country Standardized",
            "value": "IND",
            "width": 50,
            "height": 11,
            "confidence": 0.99
          },
          "lc_third_party_documents_allowed": {
            "x": 169,
            "y": 145,
            "page": 2,
            "type": "str",
            "label": "LC Third Party Documents Allowed",
            "value": "ALLOWED",
            "width": 314,
            "height": 25,
            "confidence": 0.9
          },
          "lc_59_seller_country_standardized": {
            "x": 169,
            "y": 391,
            "page": 1,
            "type": "str",
            "label": "Seller Country Standardized",
            "value": "CAN",
            "width": 68,
            "height": 11,
            "confidence": 0.99
          },
          "lc_country_of_origin_standardized": {
            "x": 246,
            "y": 667,
            "page": 1,
            "type": "str",
            "label": "Country of Origin Standardized",
            "value": "IND",
            "width": 49,
            "height": 11,
            "confidence": 0.97
          },
          "lc_40_a_form_of_documentary_credit": {
            "x": 169,
            "y": 596,
            "page": 1,
            "type": "str",
            "label": "Form of Documentary Credit",
            "value": "IRREVOCABLE",
            "width": 93,
            "height": 11,
            "confidence": 0.98
          },
          "lc_72_z_sender_to_receiver_information": {
            "x": "",
            "y": "",
            "page": 0,
            "type": "str",
            "label": "Sender to Receiver Information",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          }
        }
      }
    }
  ]
}

Extract Detailed Invoice Data for Trade Processing

Automatically extract itemized invoice data and related document details, including product descriptions, quantities, declared values, HS codes, and buyer-seller information. This data can be directly used by internal systems for validation, reconciliation, and compliance workflows, reducing manual entry and enabling faster, more accurate decision-making.

coloured_close_icon
Sample Request & Response

Request:
{
  "doc_type": "CI",
  "file": "URL or base64 encoded file data"
}
Response:
{
  "status": "success",
  "total_match_results": 7,
  "response": [
    {
      "data": {
        "ocr_response": {
          "incoterm": {
            "x": 314,
            "y": 1369,
            "page": 1,
            "type": "str",
            "label": "Incoterm",
            "value": "CFR Ocean Port, Savannah, Georgia, United States",
            "width": 612,
            "height": 26,
            "confidence": 0.95
          },
          "invoice_date": {
            "x": 215,
            "y": 1824,
            "page": 1,
            "type": "str",
            "label": "Date",
            "value": "2024-12-02",
            "width": 129,
            "height": 21,
            "confidence": 0.99
          },
          "invoice_vessel_name": {
            "x": 1325,
            "y": 829,
            "page": 1,
            "type": "str",
            "label": "Vessel Name",
            "value": "ORCA I",
            "width": 90,
            "height": 26,
            "confidence": 0.97
          },
          "commercial_invoice_notes": {
            "x": 130,
            "y": 1563,
            "page": 1,
            "type": "str",
            "label": "Notes",
            "value": "These commodities, technology, or software were exported from Germany in accordance with the Export Administration Regulations. Diversion contrary to EU. law prohibited. This invoice is for export/import purposes only and not intended for payment purposes.",
            "width": 1278,
            "height": 329,
            "confidence": 0.95
          },
          "commercial_invoice_value": {
            "x": 1471,
            "y": 1369,
            "page": 1,
            "type": "float",
            "label": "Value",
            "value": 2896.283,
            "width": 105,
            "height": 20,
            "confidence": 0.98
          },
          "commercial_invoice_number": {
            "x": 1390,
            "y": 410,
            "page": 1,
            "type": "str",
            "label": "Number",
            "value": "S1901005",
            "width": 112,
            "height": 22,
            "confidence": 0.99
          },
          "invoice_container_numbers": {
            "page": 0,
            "type": "list[str]",
            "label": "Container Numbers",
            "value": [],
            "box_2d": "NOT FOUND",
            "confidence": 0
          },
          "commercial_invoice_currency": {
            "x": 1410,
            "y": 1369,
            "page": 1,
            "type": "str",
            "label": "Currency",
            "value": "USD",
            "width": 51,
            "height": 20,
            "confidence": 0.99
          },
          "commercial_invoice_quantity": {
            "x": 1416,
            "y": 892,
            "page": 1,
            "type": "int",
            "label": "Quantity",
            "value": 1,
            "width": 13,
            "height": 25,
            "confidence": 0.99
          },
          "commercial_invoice_ba_number": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "BA Number",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "commercial_invoice_lc_number": {
            "x": 426,
            "y": 924,
            "page": 1,
            "type": "str",
            "label": "LC Number",
            "value": "120ICCI000-990093",
            "width": 146,
            "height": 21,
            "confidence": 0.97
          },
          "commercial_invoice_sub_total": {
            "x": 1473,
            "y": 1178,
            "page": 1,
            "type": "float",
            "label": "Sub Total",
            "value": 1896.283,
            "width": 103,
            "height": 20,
            "confidence": 0.98
          },
          "commercial_invoice_net_weight": {
            "x": 1370,
            "y": 924,
            "page": 1,
            "type": "float",
            "label": "Net Weight",
            "value": 181,
            "width": 39,
            "height": 26,
            "confidence": 0.99
          },
          "commercial_invoice_tax_amount": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "float",
            "label": "Tax Amount",
            "value": null,
            "width": "",
            "height": "",
            "confidence": 0
          },
          "commercial_invoice_ship_to_ref": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Ship To Ref",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "chamber_of_commerce_attestation": {
            "type": "dict",
            "label": "chamber_of_commerce_attestation",
            "value": {
              "status": {
                "x": "",
                "y": "",
                "page": 1,
                "type": "str",
                "label": "status",
                "value": "NOT PRESENT",
                "width": "",
                "height": "",
                "confidence": 0
              },
              "supporting_statement": {
                "x": "",
                "y": "",
                "page": 1,
                "type": "str",
                "label": "supporting_statement",
                "value": "No chamber attestation marks or text found",
                "width": "",
                "height": "",
                "confidence": 0
              }
            }
          },
          "commercial_invoice_exporter_ref": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Exporter Ref",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "commercial_invoice_gross_weight": {
            "x": 1395,
            "y": 956,
            "page": 1,
            "type": "float",
            "label": "Gross Weight",
            "value": 212,
            "width": 41,
            "height": 26,
            "confidence": 0.99
          },
          "commercial_invoice_importer_ref": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Importer Ref",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "commercial_invoice_pi_po_number": {
            "x": 682,
            "y": 458,
            "page": 1,
            "type": "str",
            "label": "PI/PO Number",
            "value": "M5794",
            "width": 80,
            "height": 26,
            "confidence": 0.96
          },
          "commercial_invoice_ship_to_city": {
            "x": 1094,
            "y": 667,
            "page": 1,
            "type": "str",
            "label": "Ship To City",
            "value": "MODENAMO",
            "width": 164,
            "height": 21,
            "confidence": 0.98
          },
          "commercial_invoice_ship_to_name": {
            "x": 1090,
            "y": 571,
            "page": 1,
            "type": "str",
            "label": "Ship To Name",
            "value": "JAS (GERMANY) AS AGENT FOR BLUE WORLD LINE",
            "width": 420,
            "height": 53,
            "confidence": 0.96
          },
          "commercial_invoice_tax_currency": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Tax Currency",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "commercial_invoice_exporter_city": {
            "x": 368,
            "y": 604,
            "page": 1,
            "type": "str",
            "label": "Exporter City",
            "value": "WEINHEIMDE",
            "width": 179,
            "height": 21,
            "confidence": 0.95
          },
          "commercial_invoice_exporter_name": {
            "x": 131,
            "y": 571,
            "page": 1,
            "type": "str",
            "label": "Exporter Name",
            "value": "FREUDENBERG FST GMBH",
            "width": 344,
            "height": 21,
            "confidence": 0.96
          },
          "commercial_invoice_form_m_number": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Form M Number",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "commercial_invoice_importer_city": {
            "x": 656,
            "y": 635,
            "page": 1,
            "type": "str",
            "label": "Importer City",
            "value": "GAINESVILLE",
            "width": 179,
            "height": 21,
            "confidence": 0.98
          },
          "commercial_invoice_importer_name": {
            "x": 656,
            "y": 572,
            "page": 1,
            "type": "str",
            "label": "Importer Name",
            "value": "ZF GAINESVILLE LLC",
            "width": 278,
            "height": 20,
            "confidence": 0.95
          },
          "commercial_invoice_payment_terms": {
            "x": 325,
            "y": 890,
            "page": 1,
            "type": "str",
            "label": "Payment Terms",
            "value": "Payable by letter of credit",
            "width": 289,
            "height": 29,
            "confidence": 0.97
          },
          "commercial_invoice_products_list": {
            "type": "list[dict]",
            "label": "Product Details",
            "value": [
              {
                "name": {
                  "x": 242,
                  "y": 1177,
                  "page": 1,
                  "type": "str",
                  "label": "Item Name",
                  "value": "AUTOMOTIVE PARTS",
                  "width": 279,
                  "height": 21,
                  "confidence": 0.97
                },
                "hscode": {
                  "x": 474,
                  "y": 1209,
                  "page": 1,
                  "type": "str",
                  "label": "HS Code",
                  "value": "870829",
                  "width": 83,
                  "height": 21,
                  "confidence": 0.96
                },
                "others": {
                  "x": "",
                  "y": "",
                  "page": 1,
                  "type": "str",
                  "label": "Additional Info",
                  "value": "NOT FOUND",
                  "width": "",
                  "height": "",
                  "confidence": 0
                },
                "totalPrice": {
                  "x": 1473,
                  "y": 1178,
                  "page": 1,
                  "type": "float",
                  "label": "Total Price",
                  "value": 1896.283,
                  "width": 103,
                  "height": 20,
                  "confidence": 0.98
                },
                "weightUnit": {
                  "x": "",
                  "y": "",
                  "page": 1,
                  "type": "str",
                  "label": "Weight Unit",
                  "value": "NOT FOUND",
                  "width": "",
                  "height": "",
                  "confidence": 0
                },
                "weightValue": {
                  "x": "",
                  "y": "",
                  "page": 1,
                  "type": "float",
                  "label": "Weight",
                  "value": null,
                  "width": "",
                  "height": "",
                  "confidence": 0
                },
                "quantityUnit": {
                  "x": "",
                  "y": "",
                  "page": 1,
                  "type": "str",
                  "label": "Quantity Unit",
                  "value": "NOT FOUND",
                  "width": "",
                  "height": "",
                  "confidence": 0
                },
                "quantityValue": {
                  "x": 1207,
                  "y": 1178,
                  "page": 1,
                  "type": "float",
                  "label": "Quantity",
                  "value": 1,
                  "width": 11,
                  "height": 19,
                  "confidence": 0.99
                },
                "unitPriceValue": {
                  "x": "",
                  "y": "",
                  "page": 1,
                  "type": "float",
                  "label": "Unit Price Value",
                  "value": null,
                  "width": "",
                  "height": "",
                  "confidence": 0
                },
                "unitPriceCurrency": {
                  "x": "",
                  "y": "",
                  "page": 1,
                  "type": "str",
                  "label": "Unit Price Currency",
                  "value": "NOT FOUND",
                  "width": "",
                  "height": "",
                  "confidence": 0
                },
                "totalPriceCurrency": {
                  "x": 1410,
                  "y": 1178,
                  "page": 1,
                  "type": "str",
                  "label": "Total Price Currency",
                  "value": "USD",
                  "width": 50,
                  "height": 20,
                  "confidence": 0.99
                },
                "unitPriceMeasurement": {
                  "x": "",
                  "y": "",
                  "page": 1,
                  "type": "str",
                  "label": "Unit Price Measurement",
                  "value": "NOT FOUND",
                  "width": "",
                  "height": "",
                  "confidence": 0
                }
              }
            ]
          },
          "commercial_invoice_quantity_unit": {
            "x": 1291,
            "y": 890,
            "page": 1,
            "type": "str",
            "label": "Quantity Unit",
            "value": "Packages",
            "width": 110,
            "height": 27,
            "confidence": 0.9
          },
          "commercial_invoice_ship_to_email": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Ship To Email",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "commercial_invoice_ship_to_phone": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Ship To Phone",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "commercial_invoice_exporter_email": {
            "x": 131,
            "y": 667,
            "page": 1,
            "type": "str",
            "label": "Exporter Email",
            "value": "FRUEDENBERG@GMAIL.COM",
            "width": 387,
            "height": 25,
            "confidence": 0.98
          },
          "commercial_invoice_exporter_phone": {
            "x": 133,
            "y": 699,
            "page": 1,
            "type": "str",
            "label": "Exporter Phone",
            "value": "+38 385596465",
            "width": 173,
            "height": 21,
            "confidence": 0.97
          },
          "commercial_invoice_importer_email": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Importer Email",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "commercial_invoice_importer_phone": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Importer Phone",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "commercial_invoice_port_of_lading": {
            "x": 736,
            "y": 828,
            "page": 1,
            "type": "str",
            "label": "Port of Lading",
            "value": "Port of Bremerhaven, Bremen, Germany",
            "width": 124,
            "height": 58,
            "confidence": 0.97
          },
          "commercial_invoice_ship_to_region": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Ship To Region",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "commercial_invoice_exporter_region": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Exporter Region",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "commercial_invoice_freight_charges": {
            "x": 1514,
            "y": 1274,
            "page": 1,
            "type": "float",
            "label": "Freight Charges",
            "value": 1000,
            "width": 61,
            "height": 21,
            "confidence": 0.95
          },
          "commercial_invoice_importer_region": {
            "x": 922,
            "y": 635,
            "page": 1,
            "type": "str",
            "label": "Importer Region",
            "value": "GA",
            "width": 37,
            "height": 21,
            "confidence": 0.98
          },
          "commercial_invoice_net_weight_unit": {
            "x": 1306,
            "y": 923,
            "page": 1,
            "type": "str",
            "label": "Net Weight Unit",
            "value": "KG",
            "width": 38,
            "height": 26,
            "confidence": 0.99
          },
          "commercial_invoice_ship_to_address": {
            "x": 1093,
            "y": 635,
            "page": 1,
            "type": "str",
            "label": "Ship To Address",
            "value": "VIA EMILIA EST 985 INTERNO 2, MODENAMO 41122 ITALY 395929",
            "width": 422,
            "height": 53,
            "confidence": 0.95
          },
          "commercial_invoice_ship_to_country": {
            "x": 1344,
            "y": 667,
            "page": 1,
            "type": "str",
            "label": "Ship To Country",
            "value": "ITALY",
            "width": 78,
            "height": 21,
            "confidence": 0.98
          },
          "commercial_invoice_exporter_address": {
            "x": 131,
            "y": 604,
            "page": 1,
            "type": "str",
            "label": "Exporter Address",
            "value": "HOEHNERWEG 24 WEINHEIMDE, GERMANY",
            "width": 416,
            "height": 52,
            "confidence": 0.95
          },
          "commercial_invoice_exporter_country": {
            "x": 131,
            "y": 636,
            "page": 1,
            "type": "str",
            "label": "Exporter Country",
            "value": "GERMANY",
            "width": 134,
            "height": 20,
            "confidence": 0.98
          },
          "commercial_invoice_freight_currency": {
            "x": 1410,
            "y": 1178,
            "page": 1,
            "type": "str",
            "label": "Freight Currency",
            "value": "USD",
            "width": 50,
            "height": 20,
            "confidence": 0.9
          },
          "commercial_invoice_importer_address": {
            "x": 657,
            "y": 604,
            "page": 1,
            "type": "str",
            "label": "Importer Address",
            "value": "1261 PALMOUR DR, GAINESVILLE 30501 GA US, UNITED STATES",
            "width": 210,
            "height": 84,
            "confidence": 0.94
          },
          "commercial_invoice_importer_country": {
            "x": 656,
            "y": 668,
            "page": 1,
            "type": "str",
            "label": "Importer Country",
            "value": "UNITED STATES",
            "width": 211,
            "height": 20,
            "confidence": 0.98
          },
          "commercial_invoice_issuer_signature": {
            "x": 396,
            "y": 1669,
            "page": 1,
            "type": "str",
            "label": "Issuer Signature",
            "value": "PRESENT",
            "width": 194,
            "height": 73,
            "confidence": 0.9
          },
          "commercial_invoice_mode_of_shipment": {
            "x": 712,
            "y": 797,
            "page": 1,
            "type": "str",
            "label": "Mode of Shipment",
            "value": "Ocean",
            "width": 71,
            "height": 20,
            "confidence": 0.98
          },
          "commercial_invoice_country_of_origin": {
            "x": 1031,
            "y": 1177,
            "page": 1,
            "type": "str",
            "label": "Country of Origin",
            "value": "Germany",
            "width": 102,
            "height": 25,
            "confidence": 0.98
          },
          "commercial_invoice_country_of_supply": {
            "x": 1003,
            "y": 1563,
            "page": 1,
            "type": "str",
            "label": "Country of Supply",
            "value": "Germany",
            "width": 103,
            "height": 26,
            "confidence": 0.98
          },
          "commercial_invoice_gross_weight_unit": {
            "x": 1332,
            "y": 955,
            "page": 1,
            "type": "str",
            "label": "Gross Weight Unit",
            "value": "KG",
            "width": 40,
            "height": 26,
            "confidence": 0.99
          },
          "commercial_invoice_port_of_discharge": {
            "x": 894,
            "y": 890,
            "page": 1,
            "type": "str",
            "label": "Port of Discharge",
            "value": "Port of Savannah, Georgia, United States",
            "width": 135,
            "height": 28,
            "confidence": 0.97
          },
          "commercial_invoice_sub_total_currency": {
            "x": 1410,
            "y": 1178,
            "page": 1,
            "type": "str",
            "label": "Sub Total Currency",
            "value": "USD",
            "width": 50,
            "height": 20,
            "confidence": 0.99
          },
          "commercial_invoice_product_description": {
            "x": 242,
            "y": 1177,
            "page": 1,
            "type": "str",
            "label": "Product Description",
            "value": "AUTOMOTIVE PARTS",
            "width": 279,
            "height": 21,
            "confidence": 0.97
          },
          "commercial_invoice_ship_to_postal_code": {
            "x": 1265,
            "y": 667,
            "page": 1,
            "type": "str",
            "label": "Ship To Postal Code",
            "value": "41122",
            "width": 70,
            "height": 21,
            "confidence": 0.98
          },
          "commercial_invoice_exporter_postal_code": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Exporter Postal Code",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "commercial_invoice_importer_postal_code": {
            "x": 845,
            "y": 635,
            "page": 1,
            "type": "str",
            "label": "Importer Postal Code",
            "value": "30501",
            "width": 67,
            "height": 21,
            "confidence": 0.98
          },
          "commercial_invoice_currency_standardized": {
            "x": 1410,
            "y": 1369,
            "page": 1,
            "type": "str",
            "label": "commercial_invoice_currency_standardized",
            "value": "USD",
            "width": 51,
            "height": 20,
            "confidence": 0.99
          },
          "commercial_invoice_exporter_country_standardized": {
            "x": 131,
            "y": 636,
            "page": 1,
            "type": "str",
            "label": "Exporter Country ISO",
            "value": "DEU",
            "width": 134,
            "height": 20,
            "confidence": 0.98
          },
          "commercial_invoice_importer_country_standardized": {
            "x": 656,
            "y": 668,
            "page": 1,
            "type": "str",
            "label": "Importer Country ISO",
            "value": "USA",
            "width": 211,
            "height": 20,
            "confidence": 0.98
          },
          "commercial_invoice_country_of_origin_standardized": {
            "x": 1031,
            "y": 1177,
            "page": 1,
            "type": "str",
            "label": "Country of Origin Standard",
            "value": "DEU",
            "width": 102,
            "height": 25,
            "confidence": 0.98
          }
        }
      }
    }
  ]
}

Capture Shipment Data From Any BoL Format

Extract key shipment details from Bills of Lading, including consignee and shipper information, carrier and vessel details, ports, freight status, container data, marks & seals, and goods descriptions. Digitized shipment data is immediately available for validation and risk monitoring across trade finance and compliance processes.

coloured_close_icon
Sample Request & Response

Request:
{
  "doc_type": "BoL",
  "file": "URL or base64 encoded file data"
}
Response:
{
  "data": {
    "ocr_response": {
      "voyage_no": {
        "x": 181,
        "y": 760,
        "page": 1,
        "type": "str",
        "label": "Voyage No",
        "value": "SNX0321",
        "width": 73,
        "height": 13,
        "confidence": 0.98
      },
      "vessel_name": {
        "x": 53,
        "y": 760,
        "page": 1,
        "type": "str",
        "label": "Vessel Name",
        "value": "MV SUNAID X",
        "width": 112,
        "height": 13,
        "confidence": 0.98
      },
      "bol_incoterm": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Incoterm",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "notify_party": {
        "x": 53,
        "y": 300,
        "page": 1,
        "type": "str",
        "label": "Notify Party",
        "value": "STE MAHA DE COMMERCE",
        "width": 223,
        "height": 13,
        "confidence": 0.9
      },
      "bol_ba_number": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "BA Number",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "bol_load_type": {
        "x": 54,
        "y": 1673,
        "page": 1,
        "type": "str",
        "label": "Load Type",
        "value": "FCL",
        "width": 63,
        "height": 14,
        "confidence": 0.95
      },
      "port_of_lading": {
        "x": 410,
        "y": 760,
        "page": 1,
        "type": "str",
        "label": "Port of Lading",
        "value": "AMBARLI",
        "width": 76,
        "height": 13,
        "confidence": 0.98
      },
      "signatures_bol": {
        "type": "list[dict]",
        "label": "Signatures",
        "value": [
          {
            "on_behalf_of": {
              "x": 1371,
              "y": 2030,
              "page": 1,
              "type": "str",
              "label": "On Behalf Of",
              "value": "Carrier",
              "width": 50,
              "height": 16,
              "confidence": 0.95
            },
            "signatory_name": {
              "x": "",
              "y": "",
              "page": 1,
              "type": "str",
              "label": "Name",
              "value": "NOT FOUND",
              "width": "",
              "height": "",
              "confidence": 0
            },
            "signatory_role": {
              "x": 1479,
              "y": 2241,
              "page": 1,
              "type": "str",
              "label": "Role",
              "value": "Agent",
              "width": 45,
              "height": 18,
              "confidence": 0.9
            },
            "signature_present": {
              "x": "",
              "y": "",
              "page": 1,
              "type": "str",
              "label": "Signature Present",
              "value": "NOT PRESENT",
              "width": "",
              "height": "",
              "confidence": 1
            }
          }
        ]
      },
      "goods_condition": {
        "type": "dict",
        "label": "Goods Condition",
        "value": {
          "status": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Verdict",
            "value": "CLEAN",
            "width": "",
            "height": "",
            "confidence": 0.95
          },
          "supporting_statement": {
            "x": 697,
            "y": 1610,
            "page": 1,
            "type": "str",
            "label": "Supporting Statement",
            "value": "RECEIVED the goods in apparent good order and condition and as far as ascertained by reasonable means of checking, as specified above unless otherwise stated.",
            "width": 779,
            "height": 44,
            "confidence": 0.99
          }
        }
      },
      "bol_pi_po_number": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "PI/PO Number",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "declared_hs_code": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Declared HS Code",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "notify_party_ref": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Notify Party Ref",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "place_of_receipt": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Place of Receipt",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "bol_form_m_number": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Form M Number",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "container_numbers": {
        "type": "list[str]",
        "label": "Container Numbers",
        "value": [
          {
            "x": 322,
            "y": 1047,
            "page": 1,
            "type": "str",
            "label": "Container Number 1",
            "value": "CRSU1273238",
            "width": 134,
            "height": 16,
            "confidence": 0.98
          }
        ]
      },
      "country_of_origin": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Country of Origin",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "port_of_discharge": {
        "x": 53,
        "y": 889,
        "page": 1,
        "type": "str",
        "label": "Port of Discharge",
        "value": "BIZERTE",
        "width": 70,
        "height": 15,
        "confidence": 0.98
      },
      "bol_freight_status": {
        "x": 248,
        "y": 1675,
        "page": 1,
        "type": "str",
        "label": "Freight Status",
        "value": "Freight Prepaid",
        "width": 159,
        "height": 13,
        "confidence": 0.99
      },
      "bol_invoice_number": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Invoice Number",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "notify_party_email": {
        "x": 103,
        "y": 344,
        "page": 1,
        "type": "str",
        "label": "Notify Party Email",
        "value": "KHALILKRIMIK@HOTMAIL.FR",
        "width": 243,
        "height": 18,
        "confidence": 0.9
      },
      "notify_party_phone": {
        "x": 53,
        "y": 367,
        "page": 1,
        "type": "str",
        "label": "Notify Party Phone",
        "value": "0021627226437",
        "width": 124,
        "height": 14,
        "confidence": 0.9
      },
      "laden_on_board_date": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Laden on Board Date",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "notify_party_region": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Notify Party Region",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "product_description": {
        "x": 574,
        "y": 1082,
        "page": 1,
        "type": "str",
        "label": "Product Description",
        "value": "woven fabric drapery duvet cover fabric",
        "width": 354,
        "height": 17,
        "confidence": 0.95
      },
      "notify_party_address": {
        "x": 53,
        "y": 323,
        "page": 1,
        "type": "str",
        "label": "Notify Party Address",
        "value": "266 MOHAMED RACHID RIDHA HAMMAM LIF, 2050.TUNISIA",
        "width": 485,
        "height": 13,
        "confidence": 0.9
      },
      "notify_party_country": {
        "x": 425,
        "y": 323,
        "page": 1,
        "type": "str",
        "label": "Notify Party Country",
        "value": "TUNISIA",
        "width": 113,
        "height": 13,
        "confidence": 0.9
      },
      "master_bill_lc_number": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "LC Number",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "shipped_on_board_date": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Shipped on Board Date",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "bill_of_lading_quantity": {
        "x": 576,
        "y": 1046,
        "page": 1,
        "type": "int",
        "label": "Quantity",
        "value": 1486,
        "width": 47,
        "height": 15,
        "confidence": 0.99
      },
      "goods_on_deck_statement": {
        "type": "dict",
        "label": "Goods on Deck Statement",
        "value": {
          "status": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Status",
            "value": "NOT FOUND",
            "width": "",
            "height": "",
            "confidence": 0
          },
          "supporting_statement": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Supporting Statement",
            "value": "",
            "width": "",
            "height": "",
            "confidence": 0
          }
        }
      },
      "master_bill_shipper_ref": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Shipper Ref",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "master_bill_volume_unit": {
        "x": 1516,
        "y": 997,
        "page": 1,
        "type": "str",
        "label": "Volume Unit",
        "value": "m3",
        "width": 28,
        "height": 15,
        "confidence": 0.9
      },
      "master_bill_carrier_name": {
        "x": 1180,
        "y": 542,
        "page": 1,
        "type": "str",
        "label": "Carrier Name",
        "value": "Akkon Lines",
        "width": 94,
        "height": 13,
        "confidence": 0.98
      },
      "master_bill_package_type": {
        "x": 630,
        "y": 1045,
        "page": 1,
        "type": "str",
        "label": "Package Type",
        "value": "PACKAGES",
        "width": 106,
        "height": 16,
        "confidence": 0.95
      },
      "master_bill_seal_numbers": {
        "page": 0,
        "type": "list[str]",
        "label": "Seal Numbers",
        "value": [],
        "box_2d": "NOT FOUND",
        "confidence": 0
      },
      "master_bill_shipper_city": {
        "x": 491,
        "y": 156,
        "page": 1,
        "type": "str",
        "label": "Shipper City",
        "value": "ESENLER",
        "width": 80,
        "height": 13,
        "confidence": 0.95
      },
      "master_bill_shipper_name": {
        "x": 53,
        "y": 133,
        "page": 1,
        "type": "str",
        "label": "Shipper Name",
        "value": "TOUWIER BUSINESS DIS TICARET LIMITED SIRKETI",
        "width": 432,
        "height": 13,
        "confidence": 0.98
      },
      "master_bill_total_volume": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Total Volume",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "notify_party_postal_code": {
        "x": 425,
        "y": 323,
        "page": 1,
        "type": "str",
        "label": "Notify Party Postal Code",
        "value": "2050",
        "width": 43,
        "height": 13,
        "confidence": 0.9
      },
      "bill_of_lading_net_weight": {
        "x": 383,
        "y": 1198,
        "page": 1,
        "type": "float",
        "label": "Net Weight",
        "value": 2210,
        "width": 78,
        "height": 20,
        "confidence": 0.98
      },
      "master_bill_consignee_ref": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Consignee Ref",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "master_bill_shipper_email": {
        "x": 52,
        "y": 178,
        "page": 1,
        "type": "str",
        "label": "Shipper Email",
        "value": "ABDALHASEB1989@GMAIL.COM",
        "width": 272,
        "height": 16,
        "confidence": 0.99
      },
      "master_bill_booking_number": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Booking Number",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "master_bill_consignee_city": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Consignee City",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "master_bill_consignee_name": {
        "x": 53,
        "y": 300,
        "page": 1,
        "type": "str",
        "label": "Consignee Name",
        "value": "STE MAHA DE COMMERCE",
        "width": 223,
        "height": 13,
        "confidence": 0.98
      },
      "master_bill_of_lading_date": {
        "x": 1341,
        "y": 1983,
        "page": 1,
        "type": "str",
        "label": "Date",
        "value": "2021-04-01",
        "width": 86,
        "height": 12,
        "confidence": 0.99
      },
      "master_bill_of_lading_type": {
        "type": "dict",
        "label": "Master Bill of Lading Type",
        "value": {
          "status": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Type",
            "value": "NON-CHARTER PARTY",
            "width": "",
            "height": "",
            "confidence": 0.95
          },
          "supporting_statement": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Supporting Statement",
            "value": "",
            "width": "",
            "height": "",
            "confidence": 0
          }
        }
      },
      "master_bill_shipper_region": {
        "x": 582,
        "y": 156,
        "page": 1,
        "type": "str",
        "label": "Shipper Region",
        "value": "ISTANBUL",
        "width": 83,
        "height": 13,
        "confidence": 0.95
      },
      "bill_of_lading_gross_weight": {
        "x": 1233,
        "y": 1065,
        "page": 1,
        "type": "float",
        "label": "Gross Weight",
        "value": 11990,
        "width": 96,
        "height": 15,
        "confidence": 0.98
      },
      "master_bill_consignee_email": {
        "x": 103,
        "y": 344,
        "page": 1,
        "type": "str",
        "label": "Consignee Email",
        "value": "KHALILKRIMIK@HOTMAIL.FR",
        "width": 243,
        "height": 18,
        "confidence": 0.99
      },
      "master_bill_consignee_phone": {
        "x": 53,
        "y": 367,
        "page": 1,
        "type": "str",
        "label": "Consignee Phone",
        "value": "0021627226437",
        "width": 124,
        "height": 14,
        "confidence": 0.99
      },
      "master_bill_shipper_address": {
        "x": 53,
        "y": 156,
        "page": 1,
        "type": "str",
        "label": "Shipper Address",
        "value": "ORUCREIS MAH. TEKSTILKENT CAD. NO:10 AB 3003 ESENLER/ ISTANBUL",
        "width": 612,
        "height": 13,
        "confidence": 0.97
      },
      "master_bill_shipper_country": {
        "x": 582,
        "y": 156,
        "page": 1,
        "type": "str",
        "label": "Shipper Country",
        "value": "TURKEY",
        "width": 83,
        "height": 13,
        "confidence": 0.95
      },
      "bill_of_lading_quantity_unit": {
        "x": 630,
        "y": 1045,
        "page": 1,
        "type": "str",
        "label": "Quantity Unit",
        "value": "PACKAGES",
        "width": 106,
        "height": 16,
        "confidence": 0.99
      },
      "master_bill_consignee_region": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Consignee Region",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "master_bill_of_lading_number": {
        "x": 1130,
        "y": 178,
        "page": 1,
        "type": "str",
        "label": "BoL Number",
        "value": "AKKAMB21006013",
        "width": 150,
        "height": 12,
        "confidence": 0.99
      },
      "master_bill_consignee_address": {
        "x": 53,
        "y": 323,
        "page": 1,
        "type": "str",
        "label": "Consignee Address",
        "value": "266 MOHAMED RACHID RIDHA HAMMAM LIF, 2050.TUNISIA",
        "width": 485,
        "height": 13,
        "confidence": 0.97
      },
      "master_bill_consignee_country": {
        "x": 425,
        "y": 323,
        "page": 1,
        "type": "str",
        "label": "Consignee Country",
        "value": "TUNISIA",
        "width": 113,
        "height": 13,
        "confidence": 0.99
      },
      "bill_of_lading_net_weight_unit": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Net Weight Unit",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "country_of_origin_standardized": {
        "x": "",
        "y": "",
        "page": 1,
        "type": "str",
        "label": "Country of Origin Standardized",
        "value": "NOT FOUND",
        "width": "",
        "height": "",
        "confidence": 0
      },
      "master_bill_freight_payable_at": {
        "x": 925,
        "y": 892,
        "page": 1,
        "type": "str",
        "label": "Freight Payable At",
        "value": "AMBARLI",
        "width": 76,
        "height": 11,
        "confidence": 0.99
      },
      "master_bill_number_of_packages": {
        "x": 576,
        "y": 1046,
        "page": 1,
        "type": "str",
        "label": "Number of packages",
        "value": "1486",
        "width": 47,
        "height": 15,
        "confidence": 0.95
      },
      "master_bill_shipper_postal_code": {
        "x": 447,
        "y": 156,
        "page": 1,
        "type": "str",
        "label": "Shipper Postal Code",
        "value": "3003",
        "width": 38,
        "height": 13,
        "confidence": 0.95
      },
      "bill_of_lading_gross_weight_unit": {
        "x": 1233,
        "y": 1065,
        "page": 1,
        "type": "str",
        "label": "Gross Weight Unit",
        "value": "Kgs",
        "width": 96,
        "height": 15,
        "confidence": 0.99
      },
      "master_bill_number_of_containers": {
        "x": 502,
        "y": 1321,
        "page": 1,
        "type": "str",
        "label": "Number of containers",
        "value": "1",
        "width": 9,
        "height": 14,
        "confidence": 0.95
      },
      "master_bill_shipper_phone_number": {
        "x": 199,
        "y": 201,
        "page": 1,
        "type": "str",
        "label": "Shipper Phone Number",
        "value": "02124384601, 02124384602, 05365694077",
        "width": 159,
        "height": 13,
        "confidence": 0.98
      },
      "master_bill_consignee_postal_code": {
        "x": 425,
        "y": 323,
        "page": 1,
        "type": "str",
        "label": "Consignee Postal Code",
        "value": "2050",
        "width": 43,
        "height": 13,
        "confidence": 0.9
      },
      "notify_party_country_standardized": {
        "x": 425,
        "y": 323,
        "page": 1,
        "type": "str",
        "label": "Notify Party Country Standardized",
        "value": "TUN",
        "width": 113,
        "height": 13,
        "confidence": 0.9
      },
      "additional_clean_cargo_desc_objects": {
        "type": "list[dict]",
        "label": "Product Details",
        "value": [
          {
            "name": {
              "x": 574,
              "y": 1082,
              "page": 1,
              "type": "str",
              "label": "Item Name",
              "value": "woven fabric drapery duvet cover fabric",
              "width": 354,
              "height": 17,
              "confidence": 0.95
            },
            "hscode": {
              "x": "",
              "y": "",
              "page": 1,
              "type": "str",
              "label": "HS Code",
              "value": "NOT FOUND",
              "width": "",
              "height": "",
              "confidence": 0
            },
            "weightUnit": {
              "x": 1233,
              "y": 1065,
              "page": 1,
              "type": "str",
              "label": "Weight Unit",
              "value": "Kgs",
              "width": 96,
              "height": 15,
              "confidence": 0.99
            },
            "weightValue": {
              "x": 1233,
              "y": 1065,
              "page": 1,
              "type": "float",
              "label": "Weight",
              "value": 11990,
              "width": 96,
              "height": 15,
              "confidence": 0.98
            },
            "quantityUnit": {
              "x": 630,
              "y": 1045,
              "page": 1,
              "type": "str",
              "label": "Quantity Unit",
              "value": "PACKAGES",
              "width": 106,
              "height": 16,
              "confidence": 0.99
            },
            "quantityValue": {
              "x": 576,
              "y": 1046,
              "page": 1,
              "type": "int",
              "label": "Quantity",
              "value": 1486,
              "width": 47,
              "height": 15,
              "confidence": 0.99
            }
          }
        ]
      },
      "master_bill_shipper_country_standardized": {
        "x": 582,
        "y": 156,
        "page": 1,
        "type": "str",
        "label": "Shipper Country Standardized",
        "value": "TUR",
        "width": 83,
        "height": 13,
        "confidence": 0.95
      },
      "master_bill_consignee_country_standardized": {
        "x": 425,
        "y": 323,
        "page": 1,
        "type": "str",
        "label": "Consignee Country Standardized",
        "value": "TUN",
        "width": 113,
        "height": 13,
        "confidence": 0.99
      },
      "master_bill_of_lading_terms_and_conditions": {
        "type": "dict",
        "label": "Terms and Conditions",
        "value": {
          "status": {
            "x": "",
            "y": "",
            "page": 1,
            "type": "str",
            "label": "Status",
            "value": "PRESENT",
            "width": "",
            "height": "",
            "confidence": 0.95
          },
          "supporting_statement": {
            "x": 53,
            "y": 2226,
            "page": 1,
            "type": "str",
            "label": "Supporting Statement",
            "value": "The Merchants attention is called to the fact that according to Clauses 11 to 12 and clause 2.4 of this BIL, the liability of the Carrier is, in most cases, limited in respect of loss of or damage to the goods and delay.",
            "width": 674,
            "height": 39,
            "confidence": 0.98
          }
        }
      }
    }
  }
}

Trade Data Extraction API Made to Make Your Work Easier

Integrates with Existing Systems
Trademo's Data Extraction API integrates with Trade processing systems, document management systems, trade management systems (TMS), and ERP environments. Ingest documents via API, SFTP, or direct upload across multiple file formats, including SWIFT messages and multi-page files. Structured outputs feed directly into downstream systems for document validation, reconciliation, and compliance workflows.
Platform Independent
Trademo's APIs are platform-independent and work across programming languages and enterprise environments. With lightweight integration and no proprietary lock-in, teams can quickly embed trade document extraction capabilities into their existing workflows and applications.