For the complete documentation index, see llms.txt. This page is also available as Markdown.

Malaysia's LHDN Document (BETA)

This page contains the information for Malaysia's LHDN Document Information Extraction

POST https://okayiddemo.innov8tif.com/okayidapi/ocr/v1/lhdn

Request Body

Name
Type
Description

base64InputString*

string

Base64 string of the PDF file

apiKey*

string

To be provided by Innov8tif

inputType*

string

Format of the submitted file

Successfully Response
{
    "status": "success",
    "message": null,
    "result": [
        {
            "ListVerifiedFields": {
                "pFieldMaps": [
                    {
                        "wLCID": 0,
                        "FieldType": 20000,
                        "wFieldType": 20000,
                        "Field_MRZ": null,
                        "Field_Visual": "4xxxx3",
                        "Matrix": null
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 20001,
                        "wFieldType": 20001,
                        "Field_MRZ": null,
                        "Field_Visual": "4xxxx0",
                        "Matrix": null
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 25,
                        "wFieldType": 25,
                        "Field_MRZ": null,
                        "Field_Visual": "Leong",
                        "Matrix": null
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 2,
                        "wFieldType": 2,
                        "Field_MRZ": null,
                        "Field_Visual": "910341103912",
                        "Matrix": null
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 20002,
                        "wFieldType": 20002,
                        "Field_MRZ": null,
                        "Field_Visual": "BE2040244",
                        "Matrix": null
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 20003,
                        "wFieldType": 20003,
                        "Field_MRZ": null,
                        "Field_Visual": "1000.00",
                        "Matrix": null
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 20004,
                        "wFieldType": 20004,
                        "Field_MRZ": null,
                        "Field_Visual": "1000.04",
                        "Matrix": null
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 20005,
                        "wFieldType": 20005,
                        "Field_MRZ": null,
                        "Field_Visual": "1000.04",
                        "Matrix": null
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 20006,
                        "wFieldType": 20006,
                        "Field_MRZ": null,
                        "Field_Visual": "200.04",
                        "Matrix": null
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 20007,
                        "wFieldType": 20007,
                        "Field_MRZ": null,
                        "Field_Visual": "SG987343230",
                        "Matrix": null
                    },
                    {
                        "wLCID": 0,
                        "FieldType": 20008,
                        "wFieldType": 20008,
                        "Field_MRZ": null,
                        "Field_Visual": "Balance Of Tax Payable",
                        "Matrix": null
                    }
                ]
            }
        }
    ],
    "documentType": "LHDN Statement"
}

Last updated