OCR Delivery Order 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

delivery_order

Action

Hit the Send button.

Response

Note - Response may vary as per data available in the Invoice

{
    "data": {
        "invoices": [
            {
                "field_data": {
                    "bl_number": {
                        "value": "MEDUAW676137",
                        "accuracy": 99.82353448867798
                    },
                    "do_date": {
                        "value": "03-OCT-23",
                        "accuracy": 99.82337951660156
                    },
                    "consignee_name": {
                        "value": "KUSUMA PHARMA",
                        "accuracy": 99.82331693172455
                    },
                    "depot_name": {
                        "value": "THE MANAGERNAVKAR TERMINALS LTDVILLAGE TUMB TAL",
                        "accuracy": 99.82114632924399
                    },
                    "do_valid_date": {
                        "value": "12/OCT/2023",
                        "accuracy": 96.0
                    },
                    "container_no_size": {
                        "value": "MSDU7173409/40",
                        "accuracy": 0.9982336759567261
                    },
                    "to": {
                        "value": "",
                        "accuracy": 0
                    },
                    "cfs": {
                        "value": "",
                        "accuracy": 0
                    }
                },
                "table_data": [],
                "file_status": "invoice_ocr_completed for 601032083961855528",
                "file_name": "INDR040_C_03102023152819_MEDUAW676137.pdf"
            }
        ],
        "request_status": "completed"
    },
    "message": "Data Extracted Successfully",
    "status_code": 200,
    "success": true
}
```

You can use this JSON Response in your ERP or Software

Last updated