VAT API

VAT API

A developer friendly API to help your business achieve VAT compliance

Finance & banking#openapi#financial

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

A developer friendly API to help your business achieve VAT compliance

Endpoints 11

api

  • GETRetrieve a countries VAT rates by its 2 digit country code/country-code-check?code=string
  • GETConvert a currency/currency-conversion?currency_from=string&currency_to=string&amount=0
  • POSTCreate a VAT invoice/invoice
  • GETRetrieve an invoice/invoice/:id
  • PUTUpdate an existing invoice/invoice/:id
  • DELETEDelete an invoice/invoice/:id
  • GETRetrieve a countries VAT rates from an IP address/ip-check?address=string
  • GETCheck api requests remaining on current subscription plan/usage-check
  • GETValidate a VAT number/vat-number-check?vatid=string<p>We highly recommend if you are able, to check a VAT number on your end first to save wasted API lookups. It maybe that your customer has simply entered the…
  • GETConvert a price to or from VAT price./vat-price?code=string&country_rate=string&price=0&type=string
  • GETRetrieve all current EU VAT rates/vat-rates

API details

Base URL
https://vatapi.com/v1
Authentication
An API key in the apikey header
Operations
11 operations on 9 pathsGET 8PUT 1POST 1DELETE 1
Main resources
api 11
Description format
Swagger 2.0, API version 1
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the VAT API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the VAT API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses an API key in the apikey header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Retrieve a countries VAT rates by its 2 digit country code” (GET /country-code-check?code=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the VAT API?

A developer friendly API to help your business achieve VAT compliance It is listed under Finance & banking and has 11 endpoints.

Who publishes the VAT API?

It is listed from VAT API's public API description (an OpenAPI document), not published by VAT API on Swastik Codes. Anyone who controls vatapi.com can claim the profile by adding a DNS TXT record.

What is the base URL of the VAT API?

Requests go to https://vatapi.com/v1. Endpoint paths are added to this base URL.

How do I authenticate with the VAT API?

With an API key in the apikey header.

How many endpoints does the VAT API have?

11 operations on 9 paths (8 GET, 1 PUT, 1 POST, 1 DELETE). The largest groups are api.

Is forking the VAT API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.