Authorizations
JWT token obtained from /api/auth/login endpoint
curl --request GET \
--url https://api.ai2fin.com/api/tax/country-rates \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"rates": [
{
"countryCode": "<string>",
"taxType": "<string>",
"taxName": "<string>",
"standardRate": 123,
"reducedRate": 123,
"zeroRate": 123,
"combinedRate": 123,
"stateProvince": "<string>",
"description": "<string>"
}
],
"ratesByCountry": {}
}
}Fetch all active tax rates grouped by country
curl --request GET \
--url https://api.ai2fin.com/api/tax/country-rates \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"rates": [
{
"countryCode": "<string>",
"taxType": "<string>",
"taxName": "<string>",
"standardRate": 123,
"reducedRate": 123,
"zeroRate": 123,
"combinedRate": 123,
"stateProvince": "<string>",
"description": "<string>"
}
],
"ratesByCountry": {}
}
}JWT token obtained from /api/auth/login endpoint