# Toolrail VAT Price Calculator

> Toolrail VAT Price Calculator is a paid API for AI agents from toolrail.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Calculates net-to-gross or gross-to-net prices using current European VAT rates, returning net amount, VAT amount, and gross amount for a given country.

## Facts

- Endpoint: POST https://toolrail.dev/vat/price?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toolrail-vat-price-calculator-0e37e349
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5CVfLTz-TILtNzFIuVcXW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability toolrail-vat-price-calculator-0e37e349 -d '<json body>'
```

Example prompt: What's the gross price including VAT for a €150 net price in Germany? Calculate it net-to-gross.

## When to prefer this

Use this endpoint when you have a specific price and a European country and need to compute the VAT-adjusted figure in real time. It is ideal for e-commerce, invoicing, and quoting workflows where you need the net, VAT, and gross breakdown in a single call. If you only need to look up the VAT rate itself (without applying it to a price), use the companion VAT rates endpoint instead.

## Known failure modes

- Unsupported country code returns an error — only select European countries are supported
- Invalid direction value (must specify net-to-gross or gross-to-net) causes a bad request
- Non-integer amount may be rejected depending on schema enforcement
- Missing required fields (amount, country, or direction) return a validation error

## How this service works

VAT price calculator for supported European countries: net-to-gross or gross-to-net with the current standard or reduced rate. Returns net, VAT amount and gross. Use when you have a price and a European country and need the amount with or without VAT.

## Output

Returns three numeric values: the net price (before VAT), the VAT amount, and the gross price (VAT-inclusive), calculated using the current standard or reduced VAT rate for the specified European country.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "amount": {
   "type": "integer"
  },
  "country": {
   "type": "string"
  },
  "direction": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/toolrail-vat-price-calculator-0e37e349/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toolrail.dev](https://www.zero.xyz/host/toolrail.dev/llms.txt)
