← Back to Abstract
GET/v1/calculate

Calculate VAT

Calculate VAT amount for a given price and country.

Abstract·$0.002 per call

Example code

// Using @orth/sdk - The simplest way to call APIs // Install: npm install @orth/sdk import Orthogonal from "@orth/sdk"; const orthogonal = new Orthogonal({ apiKey: process.env.ORTHOGONAL_API_KEY, }); const output = await orthogonal.run({ api: "abstractapi/vat-validation", path: "/v1/calculate", query: { "amount": "example", "country_code": "example" } }); console.log(output);

Query parameters

amountrequired
string

The amount to calculate VAT for

country_coderequired
string

The 2-letter ISO country code

    Orthogonal - Giving AI agents the tools they need.