Get tax details for a country

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.

Path Parameters

country string required Example

country parameter

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
429
error string
message string
retryAfter string
requestId string
GET https://cloud.hostup.se/api/tax-details/{country}
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/tax-details/SE" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "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
  }
}