# Malaysia's Electricity Bill OCR

<mark style="color:green;">`POST`</mark> `https://okayiddemo.innov8tif.com/okayid/api/ocr/my/electric-bill`

#### Request Body

| Name                                                | Type    | Description                                                      |
| --------------------------------------------------- | ------- | ---------------------------------------------------------------- |
| base64ImageString<mark style="color:red;">\*</mark> | String  | Electricity Bill Image (Can be submitted in either image or PDF) |
| apiKey<mark style="color:red;">\*</mark>            | String  | Given by Innov8tif                                               |
| docTypeEnabled<mark style="color:red;">\*</mark>    | Boolean | To enable/disable the docType detection                          |

{% tabs %}
{% tab title="200: OK Successfully Response" %}
{% code title="Sample Response Code" %}

```javascript
{
    "status": "success",
    "message": null,
    "result": [
        {
            "ListVerifiedFields": {
                "pFieldMaps": [
                    {
                        "wLCID": 0,
                        "FieldType": 17,
                        "wFieldType": 17,
                        "Field_MRZ": null,
                        "Field_Visual": "44  LRG KUKANG^TMN KINANTY PHS 2  LUYANG^88300, KOTA KINABALU",
                        "Matrix": null
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 25,
                        "wFieldType": 25,
                        "Field_MRZ": null,
                        "Field_Visual": "CHONG YIN FOON",
                        "Matrix": null
                    }
                ]
            }
        }
    ],
    "documentType": "Malaysia - Electric Bill #3"
}

```

{% endcode %}
{% endtab %}

{% tab title="400: Bad Request Failure Response" %}

```javascript
{
  "status":"error",
  "message":"NO_RELEVANT_INFO",
  "result":null,
  "documentType":null
}
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
Please make sure the image is submitted in either image or PDF form
{% endhint %}
