Skip to main content

Get Statement Analysis

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

Response Sample

  1. Status OK Response
200 OK
{
"initial_info": {
"account_number": "0152XXXXXXXXXX",
"first_date": "2023-03-30 00:00:00",
"last_date": "2024-03-28 00:00:00",
"total_days": 365,
"total_active_days": 265
},
"profile": {
"wallet_balance": 7885871.16,
"total_turnover": 374417118.14,
"total_transactions": 2256
},
"cashin_flow": {
"total_cashin": 203744450.62,
"cashin_to_turnover_percentage": 54.42,
"cashin_transactions": 652.0,
"cashin_to_total_trans_percentage": 28.9
},
"cashout_flow": {
"total_cashout": 170672667.52,
"cashout_to_turnover_percentage": 45.58,
"cashout_transactions": 1604.0,
"cashout_to_total_trans_percentage": 71.1
},
"SIMAPP": {
"total_cashin_amount": 14228000.0,
"max_cashin_amount": 5400000.0,
"num_cashin_transactions": 17,
"average_cashin_amount": 836941.18,
"last_day_cashin": "2024-03-07 00:00:00",
"last_amount_cashin": 5400000.0,
"total_cashout_amount": 95091310.58,
"max_cashout_amount": 6695373.0,
"num_cashout_transactions": 549,
"average_cashout_amount": 173208.22,
"last_day_cashout": "2024-03-28 00:00:00",
"last_amount_cashout": 2118.64
},
"POS": {
"total_cashin_amount": 25568387.08,
"max_cashin_amount": 1907739.66,
"num_cashin_transactions": 534,
"average_cashin_amount": 47880.87,
"last_day_cashin": "2024-03-28 00:00:00",
"last_amount_cashin": 15000.0,
"total_cashout_amount": 15331988.3,
"max_cashout_amount": 1907739.66,
"num_cashout_transactions": 318,
"average_cashout_amount": 48213.8,
"last_day_cashout": "2024-03-28 00:00:00",
"last_amount_cashout": 15000.0
},
"TMS": {
"total_cashin_amount": 43886177.97,
"max_cashin_amount": 4000000.0,
"num_cashin_transactions": 37,
"average_cashin_amount": 1186112.92,
"last_day_cashin": "2024-03-09 00:00:00",
"last_amount_cashin": 600000.0,
"total_cashout_amount": 42804598.33,
"max_cashout_amount": 7700000.0,
"num_cashout_transactions": 295,
"average_cashout_amount": 145100.33,
"last_day_cashout": "2024-03-28 00:00:00",
"last_amount_cashout": 306.0
},
"SCH": {
"total_cashin_amount": 0.0,
"max_cashin_amount": 0.0,
"num_cashin_transactions": 0,
"average_cashin_amount": 0.0,
"last_day_cashin": "N/A",
"last_amount_cashin": 0.0,
"total_cashout_amount": 228609.1,
"max_cashout_amount": 4500.0,
"num_cashout_transactions": 338,
"average_cashout_amount": 676.36,
"last_day_cashout": "2024-03-27 00:00:00",
"last_amount_cashout": 610.17
},
"CMM": {
"total_cashin_amount": 22479748.69,
"max_cashin_amount": 8168605.0,
"num_cashin_transactions": 6,
"average_cashin_amount": 3746624.78,
"last_day_cashin": "2024-03-25 00:00:00",
"last_amount_cashin": 8168605.0,
"total_cashout_amount": 0.0,
"max_cashout_amount": 0.0,
"num_cashout_transactions": 0,
"average_cashout_amount": 0.0,
"last_day_cashout": "N/A",
"last_amount_cashout": 0.0
},
"ATM": {
"total_cashin_amount": 0.0,
"max_cashin_amount": 0.0,
"num_cashin_transactions": 0,
"average_cashin_amount": 0.0,
"last_day_cashin": "N/A",
"last_amount_cashin": 0.0,
"total_cashout_amount": 1898136.7,
"max_cashout_amount": 400000.0,
"num_cashout_transactions": 71,
"average_cashout_amount": 26734.32,
"last_day_cashout": "2024-03-23 00:00:00",
"last_amount_cashout": 20000.0
},
"BPWR": {
"total_cashin_amount": 30596142.21,
"max_cashin_amount": 10270000.0,
"num_cashin_transactions": 12,
"average_cashin_amount": 2549678.52,
"last_day_cashin": "2024-03-18 00:00:00",
"last_amount_cashin": 350000.0,
"total_cashout_amount": 0.0,
"max_cashout_amount": 0.0,
"num_cashout_transactions": 0,
"average_cashout_amount": 0.0,
"last_day_cashout": "N/A",
"last_amount_cashout": 0.0
},
"AGENCY": {
"total_cashin_amount": 7615000.0,
"max_cashin_amount": 1950000.0,
"num_cashin_transactions": 10,
"average_cashin_amount": 761500.0,
"last_day_cashin": "2024-03-14 00:00:00",
"last_amount_cashin": 1000000.0,
"total_cashout_amount": 158997.0,
"max_cashout_amount": 70000.0,
"num_cashout_transactions": 9,
"average_cashout_amount": 17666.33,
"last_day_cashout": "2024-03-16 00:00:00",
"last_amount_cashout": 30000.0
},
"BranchTeller": {
"total_cashin_amount": 35646824.75,
"max_cashin_amount": 12100000.0,
"num_cashin_transactions": 16,
"average_cashin_amount": 2227926.55,
"last_day_cashin": "2024-03-11 00:00:00",
"last_amount_cashin": 1525.42,
"total_cashout_amount": 14964950.0,
"max_cashout_amount": 14950000.0,
"num_cashout_transactions": 2,
"average_cashout_amount": 7482475.0,
"last_day_cashout": "2023-08-30 00:00:00",
"last_amount_cashout": 14950000.0
},
"UXP": {
"total_cashin_amount": 125169.92,
"max_cashin_amount": 36343.48,
"num_cashin_transactions": 12,
"average_cashin_amount": 10430.83,
"last_day_cashin": "2024-02-02 00:00:00",
"last_amount_cashin": 7000.0,
"total_cashout_amount": 193738.53,
"max_cashout_amount": 36343.48,
"num_cashout_transactions": 21,
"average_cashout_amount": 9225.64,
"last_day_cashout": "2024-03-02 00:00:00",
"last_amount_cashout": 151.5
},
"CSM": {
"total_cashin_amount": 14510000.0,
"max_cashin_amount": 7500000.0,
"num_cashin_transactions": 3,
"average_cashin_amount": 4836666.67,
"last_day_cashin": "2024-01-31 00:00:00",
"last_amount_cashin": 10000.0,
"total_cashout_amount": 0.0,
"max_cashout_amount": 0.0,
"num_cashout_transactions": 0,
"average_cashout_amount": 0.0,
"last_day_cashout": "N/A",
"last_amount_cashout": 0.0
},
"ESB": {
"total_cashin_amount": 9089000.0,
"max_cashin_amount": 3000000.0,
"num_cashin_transactions": 5,
"average_cashin_amount": 1817800.0,
"last_day_cashin": "2024-01-16 00:00:00",
"last_amount_cashin": 3000000.0,
"total_cashout_amount": 0.0,
"max_cashout_amount": 0.0,
"num_cashout_transactions": 0,
"average_cashout_amount": 0.0,
"last_day_cashout": "N/A",
"last_amount_cashout": 0.0
},
"SIMUSSD": {
"total_cashin_amount": 0.0,
"max_cashin_amount": 0.0,
"num_cashin_transactions": 0,
"average_cashin_amount": 0.0,
"last_day_cashin": "N/A",
"last_amount_cashin": 0.0,
"total_cashout_amount": 338.98,
"max_cashout_amount": 338.98,
"num_cashout_transactions": 1,
"average_cashout_amount": 338.98,
"last_day_cashout": "2023-10-11 00:00:00",
"last_amount_cashout": 338.98
},
"luku_info": {
"total_luku_amount": 960000.0,
"maximum_luku_amount": 55000.0,
"number_of_times_bought_luku": 54,
"average_luku_amount": 17777.78,
"last_day_bought_luku": "2024-03-26 00:00:00",
"last_luku_amount": 10000.0
},
"gepg_bills": {
"total_gepg_amount": 12346121.0,
"maximum_gepg_amount": 6695373.0,
"number_of_times_paid_gepg": 10,
"average_gepg_amount": 1234612.1,
"last_day_paid_gepg": "2023-11-27 00:00:00",
"last_gepg_amount": 10080.0
},
"bank_2_mnos": {
"total_amount_to_mnos": 28453255.42,
"maximum_amount_to_mnos": 1260000.0,
"number_of_times_to_mnos": 470,
"average_amount_to_mnos": 60538.84,
"last_day_to_mnos": "2024-03-27 00:00:00",
"last_amount_to_mnos": 20000.0
}
}