OCR QR Code 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

qr_data

Action

Hit the Send button.

Response

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

{
    "data": {
        "invoices": [
            {
                "field_data": {
                    "qr_supplier_gstin": [
                        "27AACCK1395D1ZO"
                    ],
                    "qr_buyer_gstin": [
                        "29AAEFM3749C1ZA"
                    ],
                    "qr_invoice_number": [
                        "6124000753"
                    ],
                    "qr_invoice_date": [
                        "06/04/2024"
                    ],
                    "qr_invoice_value": [
                        "29226.24"
                    ],
                    "qr_total_item": [
                        "1"
                    ],
                    "qr_hsn_code": [
                        "38190010"
                    ],
                    "qr_hash_code": [
                        "f0ab59b2d2b4b04876fd2451addfb16f5e109a7863b9b97be7cc0da6368c34a2"
                    ]
                },
                "table_data": [],
                "file_status": "invoice_ocr_completed for 596023238887389378",
                "file_name": "6124000753_0001040320_YF2.pdf",
                "qr_status": "QR Success"
            }
        ],
        "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