← Rahoitus ja valuutta

Maan ALV-kanta

GET /vat/:country_code

Hae the VAT rate details for a specific EU/EEA country by its ISO country code. Palauttaa the standard rate, reduced rate, and the country's local currency. Sopii checkout flows where you know the customer's country and need to calculate the correct tax, or for displaying country-specific pricing information on product pages.

Parametrit

country_code pakollinen

ISO country code

Esimerkkipyynnöt

Peruskäyttö
curl https://nordapi.ee/api/v1/vat/NO
Norway VAT rate
curl https://nordapi.ee/api/v1/vat/NO
Germany VAT rate
curl https://nordapi.ee/api/v1/vat/DE
Estonia VAT rate
curl https://nordapi.ee/api/v1/vat/EE

Reaaliaikainen vastaus

{
  "data": {
    "country_code": "NO",
    "country_name": "Norway",
    "currency": "NOK",
    "parking_rate": null,
    "reduced_rate": 15.0,
    "reduced_rate_2": 12.0,
    "standard_rate": 25.0,
    "super_reduced_rate": null
  },
  "success": true
}

Esimerkkivastaus

{"success":true,"data":{"country_code":"NO","standard_rate":25.0,"reduced_rate":15.0,"currency":"NOK"}}