OCR BOE API

OCR Upload API

Use this API to Extract data from the Invoice/Delivery order & Bill of Entry & E-invoice QR code

Upload API

NameDescription

API

Upload

URL

Method Type

POST

Headers

KeyValuesMandatory

Authorization

JWT {{token}}

Yes

subid

Will be shared during POC

Yes

productid

arap

Yes

mode

Buyer

Yes

Body

form_data

file_url

file

Select file - upload file - PDF/JPEG/PNG

document_type

BOE

format

boe boe_v2

Action

Hit the Send button.

Note - Below response id BOE v1 {

    "data": {
        "country_of_consignment": "UNITED STATES",
        "port_of_shipment": "Norfolk",
        "importer_name": "ANDREAS STIHL PRIVATE LIMITED",
        "importer_address": "PLOT NO E2/5,6 MIDC MIDC INDUSTRIAL AREA PHASE 3, KHARA PUNE 410501",
        "total_ass_val": "7578350",
        "exchange_rate": "84.85",
        "boe_num": "5380006",
        "boe_date": "02/09/2024",
        "no_of_pkg": "44",
        "mawb_number": "OOLU2742989910",
        "mawb_date": "29/07/2024",
        "hawb_number": "44",
        "hawb_date": "29/07/2024",
        "gross_weight": "4400",
        "hawb_date_extra": "44",
        "total_duty": "3302073",
        "total_int": "0",
        "total_pnlty": "0",
        "total_fine": "0",
        "total_amount": "3302073",
        "importer_pincode": "410501",
        "gstin": "27AAFCA7103G1ZZ",
        "invoice_num_1": "90524223",
        "invoice_date_1": "25-JUL-24",
        "invoice_term_1": "FOB",
        "freight_amount_1": "63325",
        "freight_currency_1": "INR",
        "insurance_amount_1": "1943",
        "insurance_currency_1": "INR",
        "igst_levi_num_1": "III317B",
        "igst_rate_1": "18",
        "igst_amount_1": 1621908.5,
        "igst_levi_num_2": "III103",
        "igst_rate_2": "18",
        "igst_amount_2": 3926.2,
        "igst_levi_num_3": "III103",
        "igst_rate_3": "18",
        "igst_amount_3": 4330.8,
        "invoice_serial_number_1": "1",
        "invoice_serial_number_2": "1",
        "invoice_serial_number_3": "1",
        "item_serial_number_1": "1",
        "item_serial_number_2": "2",
        "item_serial_number_3": "3",
        "duty_total_1": "3246771.3",
        "duty_total_2": "6087.8",
        "duty_total_3": "6715.2",
        "unit_of_measure_1": "PCS",
        "unit_of_measure_2": "KGS",
        "unit_of_measure_3": "KGS",
        "custom_ass_1": "7385739.91",
        "custom_ass_2": "19650.8",
        "custom_ass_3": "21675.79",
        "add_rate_1": 0,
        "add_amount_1": 0,
        "add_rate_2": 0,
        "add_amount_2": 0,
        "add_rate_3": 0,
        "add_amount_3": 0,
        "bcd_rate_1": "20",
        "bcd_amount_1": 1477148.0,
        "bcd_rate_2": "10",
        "bcd_amount_2": 1965.1,
        "bcd_rate_3": "10",
        "bcd_amount_3": 2167.6,
        "sws_rate_1": "10",
        "sws_amount_1": 147714.8,
        "prev_rate_1": 0,
        "taxable_1": 9010602.71,
        "total_1": 10632511.21,
        "sws_rate_2": "10",
        "sws_amount_2": 196.5,
        "prev_rate_2": 0,
        "taxable_2": 21812.399999999998,
        "total_2": 25738.6,
        "sws_rate_3": "10",
        "sws_amount_3": 216.8,
        "prev_rate_3": 0,
        "taxable_3": 24060.19,
        "total_3": 28390.989999999998,
        "unit_price_1": "261.5",
        "unit_price_2": "5.218182",
        "unit_price_3": "5.388511",
        "hsn_1": "84145920",
        "item_count": 8,
        "hsn_2": "39169010",
        "hsn_3": "39169010",
        "desc_1": "BR 600 BLOWER, BACKPACK (4282-011-1629-GB) (USE FOR AGRICULTURE) ",
        "desc_2": "LINE SQUARE 3.0 MM X 271 M YELLOW (0000-930-2620) (QTY 16 PCS /UNIT PRICE USD 14.35) (USE FOR AGRICULTURE) ",
        "desc_3": "LINE ROUND 2.7 MM X 208 M RED (0000-930-2227) (QTY 27 PCS /UNIT PRICE USD 9.38) (USE FOR AGRICULTURE) ",
        "qty_1": "330",
        "qty_2": "44",
        "qty_3": "47",
        "igst_levi_num_4": "III357",
        "igst_rate_4": "18",
        "igst_amount_4": 20632.4,
        "igst_levi_num_5": "III103",
        "igst_rate_5": "18",
        "igst_amount_5": "595.1",
        "igst_levi_num_6": "III103",
        "igst_rate_6": "18",
        "igst_amount_6": 2729.2,
        "invoice_serial_number_4": "1",
        "invoice_serial_number_5": "1",
        "invoice_serial_number_6": "1",
        "item_serial_number_4": "4",
        "item_serial_number_5": "5",
        "item_serial_number_6": "6",
        "duty_total_4": "29368.2",
        "duty_total_5": "922.7",
        "duty_total_6": "4231.8",
        "unit_of_measure_4": "KGS",
        "unit_of_measure_5": "KGS",
        "unit_of_measure_6": "KGS",
        "custom_ass_4": "105888.38",
        "custom_ass_5": "2978.43",
        "custom_ass_6": "13659.7",
        "add_rate_4": 0,
        "add_amount_4": 0,
        "add_rate_5": 0,
        "add_amount_5": 0,
        "add_rate_6": 0,
        "add_amount_6": 0,
        "bcd_rate_4": "7.5",
        "bcd_amount_4": 7941.6,
        "bcd_rate_5": "10",
        "bcd_amount_5": "297.8",
        "bcd_rate_6": "10",
        "bcd_amount_6": 1366.0,
        "sws_rate_4": "10",
        "sws_amount_4": 794.2,
        "prev_rate_4": 0,
        "taxable_4": 114624.18000000001,
        "total_4": 135256.58000000002,
        "sws_rate_5": "10",
        "sws_amount_5": "29.8",
        "prev_rate_5": 0,
        "taxable_5": 3306.03,
        "total_5": 3901.13,
        "sws_rate_6": "10",
        "sws_amount_6": 136.6,
        "prev_rate_6": 0,
        "taxable_6": 15162.300000000001,
        "total_6": 17891.5,
        "unit_price_4": "12.49697",
        "unit_price_5": "11.280389",
        "unit_price_6": "11.615721",
        "hsn_4": "84679900",
        "hsn_5": "39169010",
        "hsn_6": "39169010",
        "desc_4": "MOWING HEAD AUTOCUT 46-2 (4003-710-2115) (QTY 120 PCS / UNITPRICE USD 10.31) (USE FOR AGRICULTURE) ",
        "desc_5": "LINE ROUND QUIET 2.4 MM X 14 M ORANGE (0000- 930-2419) (QTY24 PCS/UNIT PRICE USD 1.45) (USE FOR AGRICULTURE) ",
        "desc_6": "LINE ROUND QUIET 2.7 MM X 9 M RED (0000-930-2422) (QTY 120 PCS/UNIT PRICE USD 1.33) (USE FOR AGRICULTURE) ",
        "qty_4": "99",
        "qty_5": "3.085",
        "qty_6": "13.74",
        "igst_levi_num_7": "III357",
        "igst_rate_7": "18",
        "igst_amount_7": "5603.4",
        "invoice_serial_number_7": "1",
        "item_serial_number_7": "7",
        "duty_total_7": "7975.9",
        "unit_of_measure_7": "KGS",
        "custom_ass_7": "28757.27",
        "add_rate_7": 0,
        "add_amount_7": 0,
        "bcd_rate_7": "7.5",
        "bcd_amount_7": "2156.8",
        "sws_rate_7": "10",
        "sws_amount_7": "215.7",
        "prev_rate_7": 0,
        "taxable_7": 31129.77,
        "total_7": 36733.17,
        "unit_price_7": "42",
        "hsn_7": "84679900",
        "desc_7": "DEFLECTOR KIT 420 MM (4180-007-1028) (QTY 20 PCS/UNIT PRICEUSD 16.80) (USE FOR AGRICULTURE) ",
        "qty_7": "8",
        "consignor_name": "STIHL INCORPORATED",
        "consignor_address": " 536 VIKING DRIVEP O BOX 2015 VIRGIN IA BEACHVIRGINIA 23450-2015  U.S.A.",
        "invoice_type": "bill_of_entry"
    },
    "message": "Data Extracted Successfully",
    "status_code": 200,
    "success": true
}

Response

Note - Below response id BOE v2, This is part wise response

{
    "data": {
        "Part4": {
            "ooc_det": [
                {
                    "ooc_no": "Not Verified",
                    "ooc_date": ""
                }
            ],
            "certificate": [],
            "licence": [],
            "support_doc": [
                {
                    "inv_sr_num": "0",
                    "item_sr_num": "0",
                    "type": "70500",
                    "icegate_id": "TSSPLBOM2133",
                    "irn": "2024090200054505",
                    "doc_code": "",
                    "issue_place": "U.S.A.",
                    "issue_date": "02-SEP-24",
                    "exp_dt": ""
                },
                {
                    "inv_sr_num": "1",
                    "item_sr_num": "0",
                    "type": "10100",
                    "icegate_id": "TSSPLBOM2133",
                    "irn": "2024090200054374",
                    "doc_code": "",
                    "issue_place": "U.S.A.",
                    "issue_date": "02-SEP-24",
                    "exp_dt": ""
                },
                {
                    "inv_sr_num": "1",
                    "item_sr_num": "0",
                    "type": "52000",
                    "icegate_id": "TSSPLBOM2133",
                    "irn": "2024090200054375",
                    "doc_code": "",
                    "issue_place": "U.S.A.",
                    "issue_date": "02-SEP-24",
                    "exp_dt": ""
                },
                {
                    "inv_sr_num": "1",
                    "item_sr_num": "0",
                    "type": "38000",
                    "icegate_id": "TSSPLBOM2133",
                    "irn": "2024090200054376",
                    "doc_code": "",
                    "issue_place": "U.S.A.",
                    "issue_date": "02-SEP-24",
                    "exp_dt": ""
                },
                {
                    "inv_sr_num": "1",
                    "item_sr_num": "0",
                    "type": "27100",
                    "icegate_id": "TSSPLBOM2133",
                    "irn": "2024090200054378",
                    "doc_code": "",
                    "issue_place": "U.S.A.",
                    "issue_date": "02-SEP-24",
                    "exp_dt": ""
                },
                {
                    "inv_sr_num": "1",
                    "item_sr_num": "0",
                    "type": "10100",
                    "icegate_id": "TSSPLBOM2133",
                    "irn": "2024090200054504",
                    "doc_code": "",
                    "issue_place": "U.S.A.",
                    "issue_date": "02-SEP-24",
                    "exp_dt": ""
                },
                {
                    "inv_sr_num": "1",
                    "item_sr_num": "1",
                    "type": "101LM",
                    "icegate_id": "TSSPLBOM2133",
                    "irn": "2024090200054377",
                    "doc_code": "",
                    "issue_place": "U.S.A.",
                    "issue_date": "02-SEP-24",
                    "exp_dt": ""
                },
                {
                    "inv_sr_num": "1",
                    "item_sr_num": "1",
                    "type": "86100",
                    "icegate_id": "TSSPLBOM2133",
                    "irn": "2024090200054506",
                    "doc_code": "",
                    "issue_place": "U.S.A.",
                    "issue_date": "02-SEP-24",
                    "exp_dt": ""
                }
            ],
            "hss_details": [],
            "container_details": [
                {
                    "cont_num": "CSNU7424459",
                    "truck_num": "",
                    "seal_num": "NA",
                    "fcl_lcl": "F"
                }
            ]
        },
        "part1": {
            "country_of_consignment": "UNITED STATES",
            "port_of_shipment": "Norfolk",
            "cb_name": "THREESTAR SOLUTIONS AND SERVICES PRIVATE",
            "country_of_origin": "UNITED STATES",
            "port_of_loading": "Norfolk",
            "total_ass_val": "7578350",
            "challan_no": "2050830723",
            "no_of_pkg": "44",
            "total_bcd": "1493042.9",
            "total_acd": "0",
            "total_sws": "149304.4",
            "total_nccd": 0,
            "total_add": "0",
            "total_cvd": "0",
            "total_igst": "1659726",
            "total_duty": "3302073",
            "total_int": "0",
            "total_pnlty": "0",
            "total_fine": "0",
            "total_amount": "3302073",
            "be_status": "FIRST COPY",
            "mode": "Sea",
            "port_code": "INNSA1",
            "be_type": "H",
            "exchange_rate": "1 USD=84.85INR",
            "container_number": "CSNU7424459",
            "paid_date": "",
            "submission": "02-SEP-24 17:49",
            "assessment": "02-SEP-24 17:59",
            "examination": "",
            "ooc": "",
            "ooc_no": "Not Verified",
            "boe_num": "5380006",
            "boe_date": "02/09/2024",
            "inw_date": "0",
            "mawb_number": "OOLU2742989",
            "mawb_date": "29/07/2024",
            "hawb_number": "",
            "hawb_date": "",
            "gross_weight": "4400"
        },
        "part2": [
            {
                "invoice_num": "90524223",
                "invoice_date": "25-JUL-24",
                "invoice_val": "88545.46",
                "invoice_curr": "USD",
                "invoice_term": "FOB",
                "misc_charge": "",
                "valuation_method": "RULE 4 - TRANSACTION VALUE",
                "svb_no": "S/9-SVC-131/2022",
                "svb_date": "20-OCT-22",
                "freight_amount": "63325",
                "freight_currency": "INR",
                "insurance_amount": "1943"
            }
        ],
        "part3": [
            {
                "igst_rate": "18",
                "igst_amount": "0",
                "invoice_serial_number": "1",
                "item_serial_number": "1",
                "duty_total": "3246771.3",
                "unit_of_measure": "PCS",
                "s_unit_of_measure": "NOS",
                "custom_ass": "7385739.91",
                "bcd_rate": "20",
                "bcd_amount": "1477148",
                "acd_rate": 0,
                "acd_amount": 0,
                "sad_rate": 0,
                "sad_amount": 0,
                "g_cess_rate": "0",
                "g_cess_amount": "0",
                "add_rate": 0,
                "add_amount": 0,
                "cvd_rate": "0",
                "cvd_amount": "0",
                "sg_rate": 0,
                "sg_amount": 0,
                "t_value_rate": 0,
                "t_value_amount": 0,
                "caidc_rate": 0,
                "caidc_amount": 0,
                "sws_rate": "10",
                "sws_amount": 0,
                "unit_price": "261.5",
                "coo": "US",
                "hsn": "84145920",
                "desc": " BR 600 BLOWER, BACKPACK (4282-011-1629-GB) (USE FOR AGRICULTURE) ",
                "qty": "330",
                "s_qty": "330"
            },
            {
                "igst_rate": "18",
                "igst_amount": "3926.2",
                "invoice_serial_number": "1",
                "item_serial_number": "2",
                "duty_total": "6087.8",
                "unit_of_measure": "KGS",
                "s_unit_of_measure": "KGS",
                "custom_ass": "19650.8",
                "bcd_rate": "10",
                "bcd_amount": "1965.1",
                "acd_rate": 0,
                "acd_amount": 0,
                "sad_rate": 0,
                "sad_amount": 0,
                "g_cess_rate": "0",
                "g_cess_amount": "0",
                "add_rate": 0,
                "add_amount": 0,
                "cvd_rate": "0",
                "cvd_amount": "0",
                "sg_rate": 0,
                "sg_amount": 0,
                "t_value_rate": 0,
                "t_value_amount": 0,
                "caidc_rate": 0,
                "caidc_amount": 0,
                "sws_rate": "10",
                "sws_amount": "196.5",
                "unit_price": "5.218182",
                "coo": "US",
                "hsn": "39169010",
                "desc": " LINE SQUARE 3.0 MM X 271 M YELLOW (0000-930-2620) (QTY 16 PCS /UNIT PRICE USD 14.35) (USE FOR AGRICULTURE) ",
                "qty": "44",
                "s_qty": "44"
            },
            {
                "igst_rate": "18",
                "igst_amount": "4330.8",
                "invoice_serial_number": "1",
                "item_serial_number": "3",
                "duty_total": "6715.2",
                "unit_of_measure": "KGS",
                "s_unit_of_measure": "KGS",
                "custom_ass": "21675.79",
                "bcd_rate": "10",
                "bcd_amount": "2167.6",
                "acd_rate": 0,
                "acd_amount": 0,
                "sad_rate": 0,
                "sad_amount": 0,
                "g_cess_rate": "0",
                "g_cess_amount": "0",
                "add_rate": 0,
                "add_amount": 0,
                "cvd_rate": "0",
                "cvd_amount": "0",
                "sg_rate": 0,
                "sg_amount": 0,
                "t_value_rate": 0,
                "t_value_amount": 0,
                "caidc_rate": 0,
                "caidc_amount": 0,
                "sws_rate": "10",
                "sws_amount": "216.8",
                "unit_price": "5.388511",
                "coo": "US",
                "hsn": "39169010",
                "desc": " LINE ROUND 2.7 MM X 208 M RED (0000-930-2227) (QTY 27 PCS /UNIT PRICE USD 9.38) (USE FOR AGRICULTURE) ",
                "qty": "47",
                "s_qty": "47"
            },
            {
                "igst_rate": "18",
                "igst_amount": "20632.4",
                "invoice_serial_number": "1",
                "item_serial_number": "4",
                "duty_total": "29368.2",
                "unit_of_measure": "KGS",
                "s_unit_of_measure": "KGS",
                "custom_ass": "105888.38",
                "bcd_rate": "7.5",
                "bcd_amount": "7941.6",
                "acd_rate": 0,
                "acd_amount": 0,
                "sad_rate": 0,
                "sad_amount": 0,
                "g_cess_rate": "0",
                "g_cess_amount": "0",
                "add_rate": 0,
                "add_amount": 0,
                "cvd_rate": "0",
                "cvd_amount": "0",
                "sg_rate": 0,
                "sg_amount": 0,
                "t_value_rate": 0,
                "t_value_amount": 0,
                "caidc_rate": 0,
                "caidc_amount": 0,
                "sws_rate": "10",
                "sws_amount": "794.2",
                "unit_price": "12.49697",
                "coo": "US",
                "hsn": "84679900",
                "desc": " MOWING HEAD AUTOCUT 46-2 (4003-710-2115) (QTY 120 PCS / UNITPRICE USD 10.31) (USE FOR AGRICULTURE) ",
                "qty": "99",
                "s_qty": "99"
            },
            {
                "igst_rate": "18",
                "igst_amount": "595.1",
                "invoice_serial_number": "1",
                "item_serial_number": "5",
                "duty_total": "922.7",
                "unit_of_measure": "KGS",
                "s_unit_of_measure": "KGS",
                "custom_ass": "2978.43",
                "bcd_rate": "10",
                "bcd_amount": "297.8",
                "acd_rate": 0,
                "acd_amount": 0,
                "sad_rate": 0,
                "sad_amount": 0,
                "g_cess_rate": "0",
                "g_cess_amount": "0",
                "add_rate": 0,
                "add_amount": 0,
                "cvd_rate": "0",
                "cvd_amount": "0",
                "sg_rate": 0,
                "sg_amount": 0,
                "t_value_rate": 0,
                "t_value_amount": 0,
                "caidc_rate": 0,
                "caidc_amount": 0,
                "sws_rate": "10",
                "sws_amount": "29.8",
                "unit_price": "11.280389",
                "coo": "US",
                "hsn": "39169010",
                "desc": " LINE ROUND QUIET 2.4 MM X 14 M ORANGE (0000- 930-2419) (QTY24 PCS/UNIT PRICE USD 1.45) (USE FOR AGRICULTURE) ",
                "qty": "3.085",
                "s_qty": "3.085"
            },
            {
                "igst_rate": "18",
                "igst_amount": "2729.2",
                "invoice_serial_number": "1",
                "item_serial_number": "6",
                "duty_total": "4231.8",
                "unit_of_measure": "KGS",
                "s_unit_of_measure": "KGS",
                "custom_ass": "13659.7",
                "bcd_rate": "10",
                "bcd_amount": "1366",
                "acd_rate": 0,
                "acd_amount": 0,
                "sad_rate": 0,
                "sad_amount": 0,
                "g_cess_rate": "0",
                "g_cess_amount": "0",
                "add_rate": 0,
                "add_amount": 0,
                "cvd_rate": "0",
                "cvd_amount": "0",
                "sg_rate": 0,
                "sg_amount": 0,
                "t_value_rate": 0,
                "t_value_amount": 0,
                "caidc_rate": 0,
                "caidc_amount": 0,
                "sws_rate": "10",
                "sws_amount": "136.6",
                "unit_price": "11.615721",
                "coo": "US",
                "hsn": "39169010",
                "desc": " LINE ROUND QUIET 2.7 MM X 9 M RED (0000-930-2422) (QTY 120 PCS/UNIT PRICE USD 1.33) (USE FOR AGRICULTURE) ",
                "qty": "13.74",
                "s_qty": "13.74"
            },
            {
                "igst_rate": "18",
                "igst_amount": "5603.4",
                "invoice_serial_number": "1",
                "item_serial_number": "7",
                "duty_total": "7975.9",
                "unit_of_measure": "KGS",
                "s_unit_of_measure": "KGS",
                "custom_ass": "28757.27",
                "bcd_rate": "7.5",
                "bcd_amount": "2156.8",
                "acd_rate": 0,
                "acd_amount": 0,
                "sad_rate": 0,
                "sad_amount": 0,
                "g_cess_rate": "0",
                "g_cess_amount": "0",
                "add_rate": 0,
                "add_amount": 0,
                "cvd_rate": "0",
                "cvd_amount": "0",
                "sg_rate": 0,
                "sg_amount": 0,
                "t_value_rate": 0,
                "t_value_amount": 0,
                "caidc_rate": 0,
                "caidc_amount": 0,
                "sws_rate": "10",
                "sws_amount": "215.7",
                "unit_price": "42",
                "coo": "US",
                "hsn": "84679900",
                "desc": " DEFLECTOR KIT 420 MM (4180-007-1028) (QTY 20 PCS/UNIT PRICEUSD 16.80) (USE FOR AGRICULTURE) ",
                "qty": "8",
                "s_qty": "8"
            }
        ],
        "supplier_name": "STIHL INCORPORATED",
        "supplier_address": " 536 VIKING DRIVEP O BOX 2015 VIRGIN IA BEACHVIRGINIA 23450-2015  U.S.A.",
        "invoice_type": "bill_of_entry"
    },
    "message": "Data Extracted Successfully",
    "status_code": 200,
    "success": true
}

You can use this JSON Response in your ERP or Software

Last updated