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": 203744450.62,
"cash_inflow": {
"BranchTeller": {
"total_amount": 35646824.75,
"percentage_of_total": 17.495850631281357
},
"SIMAPP_SIMUSSD": {
"total_amount": 14228000.0,
"percentage_of_total": 6.983257682211123
},
"Internet_Banking": {
"total_amount": 0.0,
"percentage_of_total": 0.0
},
"POS": {
"total_amount": 25568387.08,
"percentage_of_total": 12.549243428321452
},
"AGENCY": {
"total_amount": 7615000.0,
"percentage_of_total": 3.7375251089427683
},
"CBS": {
"total_amount": 120686238.79,
"percentage_of_total": 59.2341231492433
},
"OTHER": {
"total_amount": 0.0,
"percentage_of_total": 0.0
}
},
"total_cash_outflow": 170672667.52,
"cash_outflow": {
"BILLS": {
"total_amount": 13306121.0,
"percentage_of_total": 7.79628114644704
},
"TO_MNOS": {
"total_amount": 28453255.42,
"percentage_of_total": 16.671243165907484
},
"ATM_CARDLESS": {
"total_amount": 1898136.7,
"percentage_of_total": 1.1121503680591212
},
"BranchTeller": {
"total_amount": 14964950.0,
"percentage_of_total": 8.768217089151875
},
"SIMAPP_SIMUSSD": {
"total_amount": 95091649.56,
"percentage_of_total": 55.71580437673587
},
"Internet_Banking": {
"total_amount": 0.0,
"percentage_of_total": 0.0
},
"POS": {
"total_amount": 15331988.3,
"percentage_of_total": 8.983271031492695
},
"AGENCY": {
"total_amount": 158997.0,
"percentage_of_total": 0.09315902909958809
},
"CBS": {
"total_amount": 42998336.86,
"percentage_of_total": 25.193452170636117
},
"OTHER": {
"total_amount": 2126745.8,
"percentage_of_total": 1.25
}
}
}