Skip to main content

Get Statement Analysis

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

Response Sample

  1. Status OK Response
200 OK
{
"analysis_period": {
"start_date": "February_2024",
"end_date": "May_2024"
},
"cash_flow_analysis": {
"cash_inflow": [
{
"month": "May_2024",
"amount": 19120960.43,
"percentage": 18.03
},
{
"month": "April_2024",
"amount": 38357729.6,
"percentage": 36.18
},
{
"month": "March_2024",
"amount": 33455417.759999998,
"percentage": 31.55
},
{
"month": "February_2024",
"amount": 15098111.580000002,
"percentage": 14.24
}
],
"cash_outflow": [
{
"month": "May_2024",
"amount": 17572296.869999997,
"percentage": 17.35
},
{
"month": "April_2024",
"amount": 37104828.63999999,
"percentage": 36.64
},
{
"month": "March_2024",
"amount": 32111542.409999996,
"percentage": 31.71
},
{
"month": "February_2024",
"amount": 14488353.0,
"percentage": 14.31
}
]
},
"gepg_bills_analysis": {
"gepg_bills": [
{
"month": "May_2024",
"amount": 42900.0,
"percentage": 10.43
},
{
"month": "April_2024",
"amount": 126800.0,
"percentage": 30.83
},
{
"month": "March_2024",
"amount": 113600.0,
"percentage": 27.62
},
{
"month": "February_2024",
"amount": 128000.0,
"percentage": 31.12
}
]
},
"to_mnos_analysis": {
"to_mnos": [
{
"month": "May_2024",
"amount": 1031339.01,
"percentage": 12.21
},
{
"month": "April_2024",
"amount": 2325347.47,
"percentage": 27.54
},
{
"month": "March_2024",
"amount": 2482274.6500000004,
"percentage": 29.4
},
{
"month": "February_2024",
"amount": 2605188.13,
"percentage": 30.85
}
]
},
"atm_withdraw_analysis": {
"atm": [
{
"month": "May_2024",
"amount": 905932.0,
"percentage": 13.22
},
{
"month": "April_2024",
"amount": 2402371.88,
"percentage": 35.05
},
{
"month": "March_2024",
"amount": 1328136.0,
"percentage": 19.38
},
{
"month": "February_2024",
"amount": 2218305.0,
"percentage": 32.36
}
]
},
"internet_banking_analysis": {
"internet_banking": [
{
"month": "May_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "April_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "March_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "February_2024",
"amount": 0.0,
"percentage": 0.0
}
]
},
"branchteller_analysis": {
"branchteller_cashin": [
{
"month": "May_2024",
"amount": 54491.53,
"percentage": 76.11
},
{
"month": "April_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "March_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "February_2024",
"amount": 17100.0,
"percentage": 23.89
}
],
"branchteller_cashout": [
{
"month": "May_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "April_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "March_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "February_2024",
"amount": 0.0,
"percentage": 0.0
}
]
},
"simapp_ussd_analysis": {
"sim_cashin": [
{
"month": "May_2024",
"amount": 13304000.0,
"percentage": 36.86
},
{
"month": "April_2024",
"amount": 1865000.0,
"percentage": 5.17
},
{
"month": "March_2024",
"amount": 8900000.0,
"percentage": 24.66
},
{
"month": "February_2024",
"amount": 12020000.0,
"percentage": 33.31
}
],
"sim_cashout": [
{
"month": "May_2024",
"amount": 8657687.45,
"percentage": 18.27
},
{
"month": "April_2024",
"amount": 8812315.89,
"percentage": 18.6
},
{
"month": "March_2024",
"amount": 19473179.010000005,
"percentage": 41.1
},
{
"month": "February_2024",
"amount": 10434181.27,
"percentage": 22.02
}
]
},
"agency_analysis": {
"agents_cashin": [
{
"month": "May_2024",
"amount": 45000.0,
"percentage": 0.15
},
{
"month": "April_2024",
"amount": 27390000.0,
"percentage": 88.51
},
{
"month": "March_2024",
"amount": 3510000.0,
"percentage": 11.34
},
{
"month": "February_2024",
"amount": 0.0,
"percentage": 0.0
}
],
"agents_cashout": [
{
"month": "May_2024",
"amount": 7021064.14,
"percentage": 92.43
},
{
"month": "April_2024",
"amount": 407434.26,
"percentage": 5.36
},
{
"month": "March_2024",
"amount": 83708.59,
"percentage": 1.1
},
{
"month": "February_2024",
"amount": 83708.59,
"percentage": 1.1
}
]
},
"pos_analysis": {
"pos_cashin": [
{
"month": "May_2024",
"amount": 717468.9,
"percentage": 14.11
},
{
"month": "April_2024",
"amount": 1321458.5999999999,
"percentage": 25.99
},
{
"month": "March_2024",
"amount": 1985417.76,
"percentage": 39.04
},
{
"month": "February_2024",
"amount": 1061011.58,
"percentage": 20.86
}
],
"pos_cashout": [
{
"month": "May_2024",
"amount": 663734.45,
"percentage": 13.73
},
{
"month": "April_2024",
"amount": 1371299.3,
"percentage": 28.36
},
{
"month": "March_2024",
"amount": 1739208.88,
"percentage": 35.97
},
{
"month": "February_2024",
"amount": 1061005.79,
"percentage": 21.94
}
]
},
"cbs_analysis": {
"cbs_cashin": [
{
"month": "May_2024",
"amount": 5000000.0,
"percentage": 17.25
},
{
"month": "April_2024",
"amount": 2930000.0,
"percentage": 10.11
},
{
"month": "March_2024",
"amount": 19060000.0,
"percentage": 65.75
},
{
"month": "February_2024",
"amount": 2000000.0,
"percentage": 6.9
}
],
"cbs_cashout": [
{
"month": "May_2024",
"amount": 307770.47,
"percentage": 0.89
},
{
"month": "April_2024",
"amount": 24079167.82,
"percentage": 69.8
},
{
"month": "March_2024",
"amount": 9453483.590000002,
"percentage": 27.4
},
{
"month": "February_2024",
"amount": 656677.98,
"percentage": 1.9
}
]
}
}