# OCR Delivery Order API

### OCR Upload API&#x20;

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

{% tabs %}
{% tab title="Data Ectraction API" %}
**Upload API**

<table><thead><tr><th width="130">Name</th><th width="592">Description</th></tr></thead><tbody><tr><td><strong>API</strong></td><td>Upload</td></tr><tr><td><strong>URL</strong></td><td><a href="https://api-platform.mastersindia.co/api/v1/ocr/upload/">https://api-platform.mastersindia.co/api/v2/ocr/upload</a></td></tr><tr><td><strong>Method Type</strong></td><td>POST</td></tr><tr><td><strong>Headers</strong></td><td></td></tr><tr><td><strong>Body</strong></td><td></td></tr><tr><td><strong>Action</strong> </td><td>Hit the Send button.</td></tr><tr><td><strong>Response</strong></td><td><p><strong>Note -</strong> Response may vary as per data available in the Invoice</p><pre class="language-json"><code class="lang-json">{
    "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
}
```
</code></pre></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

You can use this JSON Response in your ERP or Software
