Skip to main content

Get Statement Analysis

POST https://api.sat.tausi.africa/v2/nmb/2d_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.sat.tausi.africa/v2/nmb/2d_analysis'
-F fullname=Ayoub \
-F 'file=@NMB_Statement.pdf' \
-H 'Authorization: Bearer XXXXXXXXXXX' \

Response Sample

  1. Status OK Response
200 OK

{
"cash_inflow": {
"Agency": {
"total_amount": 26720000.0,
"percentage_of_total": 40.26
},
"FTT": {
"total_amount": 38872000.0,
"percentage_of_total": 58.57
},
"Payroll_and_Salary_Transactions": {
"total_amount": 0.0,
"percentage_of_total": 0.0
},
"Branch_Teller": {
"total_amount": 0.0,
"percentage_of_total": 0.0
},
"Others": {
"total_amount": 780408.28,
"percentage_of_total": 1.17
}
},
"total_cash_inflow": 66372408.28,
"cash_outflow": {
"Agency": {
"total_amount": 11452937.98,
"percentage_of_total": 19.18
},
"Mobile_Banking": {
"total_amount": 11266913.6,
"percentage_of_total": 18.86
},
"FTT": {
"total_amount": 18581030.51,
"percentage_of_total": 31.11
},
"POS": {
"total_amount": 1399936.0,
"percentage_of_total": 2.34
},
"Payroll_and_Salary_Transactions": {
"total_amount": 75000.0,
"percentage_of_total": 0.13
},
"Branch_Teller": {
"total_amount": 0.0,
"percentage_of_total": 0.0
},
"LUKU": {
"total_amount": 95700.0,
"percentage_of_total": 0.16
},
"Bills": {
"total_amount": 593414.0,
"percentage_of_total": 0.99
},
"Others": {
"total_amount": 16258981.86,
"percentage_of_total": 27.23
}
},
"total_cash_outflow": 59723913.95
}