Retrieve detailed tax information applicable to a specific country. This is useful for invoicing and ensuring correct VAT calculation. Returns IDs needed for subsequent tax or invoicing-related API calls.
country string required Example country parameter
Accept Example Content-Type Example success boolean timestamp string requestId string data object error string message string retryAfter string requestId string https://cloud.hostup.se/api/tax-details/{country} curl -X GET "https://cloud.hostup.se/api/tax-details/SE" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"taxes": {
"L1": {
"priority": 0,
"type": "string",
"name": "string",
"rate": "string",
"tax_group_id": 0,
"applyto": "string",
"negative": true,
"condition": "string",
"id": "string",
"country": "string",
"state": "string",
"source": "string",
"taxtotal": 0
}
},
"call": "string",
"server_time": 0
}
}