Masters India APIs
Product DocWebsite
  • APIs documentation.
  • Environment
  • Auth API
  • SIM Tracking API
    • Add Driver
    • Driver Consent
    • Driver Location
    • Bulk Driver Location
    • Delete Driver
  • Proof of Delivery (POD) API
    • Introduction
    • Driver License API
    • Fastag API
    • Fastag API 02
    • Vehicle e-Challan
    • Vahan API - Vehicle Detail API (RC)
  • Invoice OCR API
    • Introduction
    • OCR Tax Invoice API
    • OCR QR Code API
    • OCR Delivery Order API
    • OCR BOE API
  • Vendor Verification API
    • MCA Status API
  • IRN APIs
    • Auth API
    • IRN List API
    • IRN Detail API
Powered by GitBook
On this page

Was this helpful?

  1. Invoice OCR API

OCR Delivery Order API

PreviousOCR QR Code APINextOCR BOE API

Last updated 8 months ago

Was this helpful?

OCR Upload API

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

Upload API

Name
Description

API

Upload

URL

Method Type

POST

Headers

Key
Values
Mandatory

Body

form_data

Action

Hit the Send button.

Response

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

You can use this JSON Response in your ERP or Software

Authorization

JWT {{token}}

Yes

subid

Will be shared during POC

Yes

productid

arap

Yes

mode

Buyer

Yes

file_url

file

Select file - upload file - PDF/JPEG/PNG

document_type

delivery_order

{
    "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
}
```
https://api-platform.mastersindia.co/api/v2/ocr/upload