← Finanzen & Währung

Mehrwertsteuerrechner

GET /vat/calculate

Berechnen Sie den VAT amount und total price (net + VAT) for a given amount und country. Automatically applies the correct VAT rate for the specified EU/EEA country. Optional converts the total into another currency using live Wechselkurse. Ideal für building pricing calculators, checkout summaries, und invoice generators that need to show net amount, VAT, und total in the customer's preferred currency.

Parameter

amount erforderlich

Net amount

country erforderlich

Country code

currency optional

Convert total to currency

Beispielanfragen

Grundlegende Verwendung
curl "https://nordapi.ee/api/v1/vat/calculate?amount=100&country=DE&currency=USD"
Calculate German VAT with USD conversion
curl "https://nordapi.ee/api/v1/vat/calculate?amount=100&country=DE&currency=USD"
Calculate Norwegian VAT on a product
curl "https://nordapi.ee/api/v1/vat/calculate?amount=499&country=NO"
Calculate French VAT converted to GBP
curl "https://nordapi.ee/api/v1/vat/calculate?amount=250&country=FR&currency=GBP"

Live-Antwort

{
  "converted_total": 137.1475,
  "country": "Germany",
  "country_code": "DE",
  "fx_rate": 1.1525,
  "local_currency": "EUR",
  "net_amount": 100.0,
  "success": true,
  "target_currency": "USD",
  "total_amount": 119.0,
  "vat_amount": 19.0,
  "vat_rate": 19.0
}

Beispielantwort

{"success":true,"net_amount":100.0,"vat_rate":19.0,"vat_amount":19.0,"total_amount":119.0,"converted_total":137.50}