Authorization: Bearer ********************curl --location --request POST '/api/v2/calculator/tax' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"tax_type": "cgt",
"country_code": "NGA",
"income_type": "contract",
"total_amount": 25000000,
"total_expenses": 2000000,
"annual_income": 120000000,
"annual_expenses": 0,
"deductions": [
{
"type": "health",
"amount": 200000
},
{
"type": "pension",
"amount": 100000
}
]
}'{
"success": true,
"message": "string",
"data": {
"response": {
"response": "string",
"rules": [
{
"max_amount": 0,
"tax_rate": 0,
"is_final": true,
"min_amount": 0
}
],
"amount": 0
}
}
}