Get Statement Analysis
This analyses the pdf and generates the report. The response is in a json format.
Header Requirements
- Authorizaion --required
Body Params
- file --required
- fullname --required
curl example request
curl -X 'POST' 'https://api.manka.tz/api/v1/analysis/2d'
-F fullname=Ayoub \
-F 'file=@NMB_Statement.pdf' \
-H 'Authorization: Bearer XXXXXXXXXXX' \
Response Sample
- Status OK Response
200 OK
{
"total_cash_inflow": 8762389.35,
"cash_inflow": {
"mobile_banking": {
"total_amout": 0.0,
"percentage_of_total": 0.0
},
"cash_and_atm": {
"total_amout": 0.0,
"percentage_of_total": 0.0
},
"agency": {
"total_amout": 650000.0,
"percentage_of_total": 7.42
},
"fund_transfer": {
"total_amout": 7892500.0,
"percentage_of_total": 90.07
},
"POS": {
"total_amout": 0.0,
"percentage_of_total": 0.0
},
"payroll_and_salary": {
"total_amout": 0.0,
"percentage_of_total": 0.0
},
"other": {
"total_amout": 219889.35,
"percentage_of_total": 2.51
}
},
"total_cash_outflow": 9997030.53,
"cash_outflow": {
"mobile_banking": {
"total_amout": 5102030.52,
"percentage_of_total": 51.04
},
"cash_and_atm": {
"total_amout": 357510.0,
"percentage_of_total": 3.58
},
"agency": {
"total_amout": 0.0,
"percentage_of_total": 0.0
},
"fund_transfer": {
"total_amout": 2123300.0,
"percentage_of_total": 21.24
},
"POS": {
"total_amout": 1759847.0,
"percentage_of_total": 17.6
},
"payroll_and_salary": {
"total_amout": 60000.0,
"percentage_of_total": 0.6
},
"other": {
"total_amout": 594343.01,
"percentage_of_total": 5.95
}
}
}