| 200 |
OK is returned to indicate that the document was processed successfully.
The response contains the following fields:
| docType |
Type of the document: BankStatement, TravelTicket, Passport, BusinessCard, EmployeeIDCard, StudentIDCard, DrivingLicense, BirthCertificate, DeliverySheet, Resume or your customised definition of the document type |
| general |
Summarizes general information about the document, which includes an array of key-value pairs.
Possible keys depend on the document type. For example, for a bank statement, the keys can be:
BankName, AccountHolderName, AccountNumber, StatementPeriod, OpeningBalance, ClosingBalance, TotalDeposits, TotalWithdrawals, BranchAddress, BranchCode, IFSCCode, MICRCode, SWIFTCode, Currency, AccountType, InterestEarned, FeesCharged, MinimumBalanceRequired, AccountStatus
|
| lists |
Contains an array of the expected extractions. Each list is an array of key-value pairs.
Possible list types depend on the document type. For example, for a bank statement, the list types can be:
TransactionList
|
| processingInfo |
Here contains the processing information of the document. It includes a list of key value pairs. The keys are Language, Version, FileHash, Duration, NumberOfPages, and DocType. |
An example result from a bank statement can look like this:
{
"docType": "BankStatement",
"general": {
"BankName": "CHASE",
"AccountHolderName": "VICTOR FRANCO",
"AccountNumber": "000000797746625",
"StatementPeriod": "2009-07-23 to 2009-08-24",
"OpeningBalance": "408.86",
"ClosingBalance": "916.03",
"TotalDeposits": "1,579.48",
"TotalWithdrawals": "682.31",
"BranchAddress": "6962 W PALO VERDE DR\nGLENDALE AZ 85303-4405",
"BranchCode": "",
"IFSCCode": "",
"MICRCode": "",
"SWIFTCode": "",
"Currency": "USD",
"AccountType": "Checking",
"InterestEarned": "",
"FeesCharged": "",
"MinimumBalanceRequired": "",
"AccountStatus": ""
},
"lists": "TransactionList": [
{
"TransactionAmount": "331.00",
"TransactionType": "Deposit",
"TransactionDescription": "Deposit 551611914",
"TransactionDate": "2009-07-27"
},
{
"TransactionAmount": "391.50",
"TransactionType": "Deposit",
"TransactionDescription": "Deposit 23203176",
"TransactionDate": "2009-08-06"
}
]
},
"processingInfo": {
"Language": "en",
"Version": "2.06.18",
"FileHash": "199b7bad9b61cfb94c53871830b23281",
"Duration": "7.032",
"NumberOfPages": "1",
"DocType": "BankStatement"
}
}
|