/v1/calculate
Calculate tax & gross total on a net amount
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/vat-api/v1/calculate" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/vat-api/v1/calculate", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/vat-api/v1/calculate");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/vat-api/v1/calculate",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"net": 100,
"tax": 19,
"rate": 0.19,
"type": "vat",
"gross": 119,
"scope": "DE",
"state": null,
"country": "DE",
"currency": "EUR",
"rate_percent": 19
},
"meta": {
"timestamp": "2026-05-31T03:08:48.139Z",
"request_id": "b953bcdb-070f-4c72-9ddf-436498ba2882"
},
"status": "ok",
"message": "Tax calculated",
"success": true
}