API Guide
  1. Malaysia
API Guide
  • Get Started
  • Document AI
    • Malaysia
      • Extract Bank Statement Data
        POST
      • Extract Bill of Lading Data
        POST
      • Extract Business Card Data
        POST
      • Extract Car Meter Data
        POST
      • Extract Cheque (Front) Data
        POST
      • Extract Company Financial Statement Data
        POST
      • Extract Resume Data
        POST
      • Extract E-Invoice Data
        POST
      • Extract Electricity Bill Data
        POST
      • Extract Identity Card Data
        POST
      • Extract Invoice Data
        POST
      • Extract Passport Data
        POST
      • Extract Payslip Data
        POST
      • Extract Price Tag Data
        POST
      • Extract Purchase Order Data
        POST
      • Extract Receipt (General) Data
        POST
      • Extract SSM Documents Data
        POST
      • Extract Water Bill Data
        POST
    • Thailand
      • Extract Business Card Data
      • Extract Identity Card Data
      • Extract Passport Data
      • Extract Receipt Data
    • Vietnam
      • Extract Business Card Data
      • Extract Identity Card Data
      • Extract Passport Data
      • Extract Receipt Data
    • Philippines
      • Extract Business Card Data
      • Extract Identity Card Data
      • Extract Passport Data
      • Extract Receipt Data
  1. Malaysia

Extract Bank Statement Data

POST
/document-ai/{model-id}

Extracted Data Types#

The following types will always be present in the API response. If a type parameter is not found in the input, its value will be null.
Parameter NameVariable Type
bank_statement_bank_namestring | null
bank_statement_account_numberstring | null
bank_statement_holder_namestring | null
bank_statement_holder_addressstring | null
bank_statement_datestring | null
bank_statement_opening_balancestring | null
bank_statement_closing_balancestring | null
bank_statement_total_depositstring | null
bank_statement_total_withdrawalstring | null
bank_statement_transactionObject
bank_statement_transaction.transaction_datestring | null
bank_statement_transaction.transaction_descriptionstring | null
bank_statement_transaction.transaction_amountstring | null
bank_statement_transaction.transaction_balancestring | null

Notes#

Each type parameter in the data array will always have the specified type, with the possibility of being null.
If a specific type parameter is not present in the input, its value in the response will be null.

Request

Authorization
Add parameter in header
X-API-KEY
Example:
X-API-KEY: ********************
Path Params
model-id
string 
required
Body Params multipart/form-data
file
file 
optional
If fileBase64 is not provided, then file is required. Format: PDF, JPEG, PNG.
fileBase64
string 
optional
If file is not provided, then fileBase64 is required. If both file and fileBase64 are provided, only file will be used.
Example:
JVBERi0xLjMNCiXi48/....
mimeType
string 
optional
Required only when fileBase64 is provided. Supported: application/pdf, image/jpeg, image/jpg, image/png.
Example:
application/pdf

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.axtraction.ai/v1/document/document-ai/' \
--header 'X-API-KEY;' \
--form 'file=@""' \
--form 'fileBase64="JVBERi0xLjMNCiXi48/...."' \
--form 'mimeType="application/pdf"'

Responses

🟢200Success
application/json
Body
success
boolean 
required
data
array [object {3}] 
required
type
string 
required
value
string  | integer  | boolean  | array  | object  | number  | null 
required
confidence
integer 
required
verification
object 
required
verified
boolean 
required
description
string 
required
miscellaneous
object 
required
processedTime
number 
required
Example
{
    "success": true,
    "data": [
        {
            "type": "bank_statement_bank_name",
            "value": "XYZ Bank",
            "confidence": 1
        },
        {
            "type": "bank_statement_account_number",
            "value": "1234567890",
            "confidence": 1
        },
        {
            "type": "bank_statement_holder_name",
            "value": "Jane Smith",
            "confidence": 1
        },
        {
            "type": "bank_statement_holder_address",
            "value": "123 Elm Street",
            "confidence": 1
        },
        {
            "type": "bank_statement_date",
            "value": "2024-01-01",
            "confidence": 1
        },
        {
            "type": "bank_statement_opening_balance",
            "value": 1000,
            "confidence": 1
        },
        {
            "type": "bank_statement_closing_balance",
            "value": 1200,
            "confidence": 1
        },
        {
            "type": "bank_statement_total_deposit",
            "value": 200,
            "confidence": 1
        },
        {
            "type": "bank_statement_total_withdrawal",
            "value": 100,
            "confidence": 1
        },
        {
            "type": "bank_statement_transaction",
            "value": {
                "transaction_date": "2024-01-01",
                "transaction_description": "Payment",
                "transaction_amount": -100,
                "transaction_balance": 1200
            },
            "confidence": 1
        }
    ],
    "verification": {
        "verified": true,
        "description": "Amount validation is confirmed by reconciling the opening balance with the total of all transactions to verify that it matches the closing balance."
    },
    "miscellaneous": {
        "processedTime": 108.996
    }
}
Modified at 2025-05-13 03:37:30
Previous
Get Started
Next
Extract Bill of Lading Data
Built with