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.sat.tausi.africa/v2/nmb/3d_analysis'
-F fullname=Ayoub \
-F 'file=@NMB_Statement.pdf' \
-H 'Authorization: Bearer XXXXXXXXXXX' \
Response Sample
- Status OK Response
200 OK
{
"analysis_period": {
"start_date": "November_2023",
"end_date": "May_2024"
},
"cash_flow_analysis": {
"cash_inflow": [
{
"month": "November_2023",
"amount": 100000.0,
"percentage": 0.3
},
{
"month": "December_2023",
"amount": 4200065.5,
"percentage": 12.45
},
{
"month": "January_2024",
"amount": 11079956.34,
"percentage": 32.83
},
{
"month": "February_2024",
"amount": 2806044.16,
"percentage": 8.31
},
{
"month": "March_2024",
"amount": 1270297.15,
"percentage": 3.76
},
{
"month": "April_2024",
"amount": 8540127.5,
"percentage": 25.31
},
{
"month": "May_2024",
"amount": 5750813.15,
"percentage": 17.04
}
],
"cash_outflow": [
{
"month": "November_2023",
"amount": 186573.0,
"percentage": 0.56
},
{
"month": "December_2023",
"amount": 4961104.48,
"percentage": 14.95
},
{
"month": "January_2024",
"amount": 10588002.64,
"percentage": 31.9
},
{
"month": "February_2024",
"amount": 3187000.83,
"percentage": 9.6
},
{
"month": "March_2024",
"amount": 1323774.97,
"percentage": 3.99
},
{
"month": "April_2024",
"amount": 7774042.17,
"percentage": 23.42
},
{
"month": "May_2024",
"amount": 5170811.08,
"percentage": 15.58
}
]
},
"agent_activity": {
"cash_inflow": [
{
"month": "November_2023",
"amount": 100000.0,
"percentage": 1.74
},
{
"month": "December_2023",
"amount": 160000.0,
"percentage": 2.78
},
{
"month": "January_2024",
"amount": 980000.0,
"percentage": 17.04
},
{
"month": "February_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "March_2024",
"amount": 270000.0,
"percentage": 4.7
},
{
"month": "April_2024",
"amount": 3490000.0,
"percentage": 60.7
},
{
"month": "May_2024",
"amount": 750000.0,
"percentage": 13.04
}
],
"cash_outflow": [
{
"month": "November_2023",
"amount": 75473.0,
"percentage": 0.86
},
{
"month": "December_2023",
"amount": 1437044.47,
"percentage": 16.32
},
{
"month": "January_2024",
"amount": 106600.0,
"percentage": 1.21
},
{
"month": "February_2024",
"amount": 417791.08999999997,
"percentage": 4.74
},
{
"month": "March_2024",
"amount": 544906.0,
"percentage": 6.19
},
{
"month": "April_2024",
"amount": 3073144.6999999997,
"percentage": 34.9
},
{
"month": "May_2024",
"amount": 3151362.1599999997,
"percentage": 35.79
}
]
},
"branch_teller": {
"cash_inflow": [
{
"month": "November_2023",
"amount": 0,
"percentage": 0
},
{
"month": "December_2023",
"amount": 0,
"percentage": 0
},
{
"month": "January_2024",
"amount": 0,
"percentage": 0
},
{
"month": "February_2024",
"amount": 0,
"percentage": 0
},
{
"month": "March_2024",
"amount": 0,
"percentage": 0
},
{
"month": "April_2024",
"amount": 0,
"percentage": 0
},
{
"month": "May_2024",
"amount": 0,
"percentage": 0
}
],
"cash_outflow": [
{
"month": "November_2023",
"amount": 0,
"percentage": 0
},
{
"month": "December_2023",
"amount": 0,
"percentage": 0
},
{
"month": "January_2024",
"amount": 0,
"percentage": 0
},
{
"month": "February_2024",
"amount": 0,
"percentage": 0
},
{
"month": "March_2024",
"amount": 0,
"percentage": 0
},
{
"month": "April_2024",
"amount": 0,
"percentage": 0
},
{
"month": "May_2024",
"amount": 0,
"percentage": 0
}
]
},
"mobile_banking": {
"cash_inflow": [
{
"month": "November_2023",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "December_2023",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "January_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "February_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "March_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "April_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "May_2024",
"amount": 0.0,
"percentage": 0.0
}
],
"cash_outflow": [
{
"month": "November_2023",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "December_2023",
"amount": 312080.0,
"percentage": 6.46
},
{
"month": "January_2024",
"amount": 1405038.12,
"percentage": 29.09
},
{
"month": "February_2024",
"amount": 1637611.4300000002,
"percentage": 33.9
},
{
"month": "March_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "April_2024",
"amount": 1343228.34,
"percentage": 27.81
},
{
"month": "May_2024",
"amount": 132360.0,
"percentage": 2.74
}
]
},
"cbs": {
"cash_inflow": [
{
"month": "November_2023",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "December_2023",
"amount": 4040065.5,
"percentage": 14.43
},
{
"month": "January_2024",
"amount": 10099456.34,
"percentage": 36.07
},
{
"month": "February_2024",
"amount": 2806044.16,
"percentage": 10.02
},
{
"month": "March_2024",
"amount": 1000297.15,
"percentage": 3.57
},
{
"month": "April_2024",
"amount": 5050127.5,
"percentage": 18.04
},
{
"month": "May_2024",
"amount": 5000813.15,
"percentage": 17.86
}
],
"cash_outflow": [
{
"month": "November_2023",
"amount": 800.0,
"percentage": 0.0
},
{
"month": "December_2023",
"amount": 3048840.0100000002,
"percentage": 16.11
},
{
"month": "January_2024",
"amount": 8979705.08,
"percentage": 47.45
},
{
"month": "February_2024",
"amount": 1022998.3099999999,
"percentage": 5.41
},
{
"month": "March_2024",
"amount": 698868.97,
"percentage": 3.69
},
{
"month": "April_2024",
"amount": 3303899.14,
"percentage": 17.46
},
{
"month": "May_2024",
"amount": 1869544.92,
"percentage": 9.88
}
]
},
"mshiko_fasta": {
"cash_inflow": [
{
"month": "November_2023",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "December_2023",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "January_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "February_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "March_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "April_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "May_2024",
"amount": 0.0,
"percentage": 0.0
}
],
"cash_outflow": [
{
"month": "November_2023",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "December_2023",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "January_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "February_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "March_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "April_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "May_2024",
"amount": 0.0,
"percentage": 0.0
}
]
},
"pos": [
{
"month": "November_2023",
"amount": 86700.0,
"percentage": 23.04
},
{
"month": "December_2023",
"amount": 129540.0,
"percentage": 34.43
},
{
"month": "January_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "February_2024",
"amount": 80000.0,
"percentage": 21.26
},
{
"month": "March_2024",
"amount": 80000.0,
"percentage": 21.26
},
{
"month": "April_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "May_2024",
"amount": 0.0,
"percentage": 0.0
}
],
"atm": [
{
"month": "November_2023",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "December_2023",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "January_2024",
"amount": 52759.44,
"percentage": 100.0
},
{
"month": "February_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "March_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "April_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "May_2024",
"amount": 0.0,
"percentage": 0.0
}
],
"luku": [
{
"month": "November_2023",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "December_2023",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "January_2024",
"amount": 10200.0,
"percentage": 100.0
},
{
"month": "February_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "March_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "April_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "May_2024",
"amount": 0.0,
"percentage": 0.0
}
],
"utility_payments": [
{
"month": "November_2023",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "December_2023",
"amount": 10000.0,
"percentage": 20.95
},
{
"month": "January_2024",
"amount": 10100.0,
"percentage": 21.15
},
{
"month": "February_2024",
"amount": 5000.0,
"percentage": 10.47
},
{
"month": "March_2024",
"amount": 0.0,
"percentage": 0.0
},
{
"month": "April_2024",
"amount": 5100.0,
"percentage": 10.68
},
{
"month": "May_2024",
"amount": 17544.0,
"percentage": 36.75
}
]
}