Skip to main content

Get Statement Analysis

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

Response Sample

  1. Status OK Response
200 OK

{
"total_cash_inflow": 106032219.37,
"cash_inflow": {
"BranchTeller": {
"total_amount": 71591.53,
"percentage_of_total": 0.06751865652286401
},
"SIMAPP_SIMUSSD": {
"total_amount": 36089000.0,
"percentage_of_total": 34.03588099393377
},
"Internet_Banking": {
"total_amount": 0.0,
"percentage_of_total": 0.0
},
"POS": {
"total_amount": 5085356.840000001,
"percentage_of_total": 4.796048663524264
},
"AGENCY": {
"total_amount": 30945000.0,
"percentage_of_total": 29.18452540544988
},
"CBS": {
"total_amount": 28990000.0,
"percentage_of_total": 27.340746211148552
},
"OTHER": {
"total_amount": 4851271.0,
"percentage_of_total": 4.58
}
},
"total_cash_outflow": 101277020.92,
"cash_outflow": {
"BILLS": {
"total_amount": 411300.0,
"percentage_of_total": 0.40611384128774003
},
"TO_MNOS": {
"total_amount": 8444149.26,
"percentage_of_total": 8.337675400888955
},
"ATM_CARDLESS": {
"total_amount": 6854744.88,
"percentage_of_total": 6.768312118318183
},
"BranchTeller": {
"total_amount": 0.0,
"percentage_of_total": 0.0
},
"SIMAPP_SIMUSSD": {
"total_amount": 47377363.620000005,
"percentage_of_total": 46.77997357112626
},
"Internet_Banking": {
"total_amount": 0.0,
"percentage_of_total": 0.0
},
"POS": {
"total_amount": 4835248.42,
"percentage_of_total": 4.774279867315039
},
"AGENCY": {
"total_amount": 7595915.579999999,
"percentage_of_total": 7.500137258184273
},
"CBS": {
"total_amount": 34497099.86,
"percentage_of_total": 34.06211946859071
},
"OTHER": {
"total_amount": 6971393.44,
"percentage_of_total": 6.88
}
}
}