Skip to content
onelayer.
All tools

Tool detail

vat

Calculates EU-27 plus UK VAT, converting an amount net-to-gross or gross-to-net at the standard or reduced rate.

Categories: Utilities

Use when

  • convert a net price to a gross VAT-inclusive price for an EU/UK country
  • convert a gross price back to net by removing VAT
  • get the standard or reduced VAT rate for a given country

Not for

  • EU-27 and UK only — no non-European VAT/GST regimes
  • rate lookup and conversion only, not invoicing or filing

Inputs

GET query params: amount (number, required), country (ISO alpha-2, required); direction (net_to_gross|gross_to_net, default net_to_gross), rate (standard|reduced, default standard)

Admitted input schema

{
  "type": "object",
  "properties": {
    "amount": {
      "type": "number",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "country": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "ISO 3166-1 alpha-2, e.g. DE, FR, GB"
    },
    "direction": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "net_to_gross",
        "gross_to_net"
      ],
      "description": "default net_to_gross"
    },
    "rate": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "standard",
        "reduced"
      ],
      "description": "default standard"
    }
  },
  "required": [
    "amount",
    "country"
  ],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://toolvend.dev/vat

Payment

Protocol
x402
Listed price
0.002 USDC per request on Solana
Payment method
exact
Network
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Asset
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://toolvend.dev/vat
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z