16trust / 100

Calcular Iva Pago

by Vextorium in Markets & finance

x402 APIFailing, checked 1 h ago

Standard and reduced VAT rates of any EU member state, and an invoice breakdown (net, VAT, gross) from a net or VAT-inclusive amount, flagging rates that are not in force there.

POST https://api.vextorium.com/calcular-iva-pago

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
1 h ago: Amount "0.003" is not in atomic token units
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/calcular-iva-pago" \
  -H "content-type: application/json" \
  -d '{"importe":121,"incluye_iva":true,"pais":"ES"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fcalcular-iva-pago
const res = await pay("https://api.vextorium.com/calcular-iva-pago", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"importe":121,"incluye_iva":true,"pais":"ES"}),
});
console.log(await res.json());

Example input

{
  "importe": 121,
  "incluye_iva": true,
  "pais": "ES"
}

Example output

{
  "desglose": {
    "base": 100,
    "iva": 21,
    "tipo_pct": 21,
    "total": 121
  },
  "nombre": "Spain",
  "nota": "Tipos estándar de la UE; hay regímenes especiales (Canarias, Ceuta, Melilla, islas…). Revísalo antes de facturar.",
  "pais": "ES",
  "tabla_revisada": "2026-10",
  "tipo_general_pct": 21,
  "tipos_reducidos_pct": [
    4,
    10
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoAmount "0.003" is not in atomic token units40282 ms$0.003
6 h agoAmount "0.003" is not in atomic token units40288 ms$0.003
10 h agoAmount "0.003" is not in atomic token units402299 ms$0.003
15 h agoAmount "0.003" is not in atomic token units40278 ms$0.003
19 h agoAmount "0.003" is not in atomic token units40295 ms$0.003
23 h agoAmount "0.003" is not in atomic token units40284 ms$0.003
27 h agoAmount "0.003" is not in atomic token units402203 ms$0.003
31 h agoAmount "0.003" is not in atomic token units40276 ms$0.003
35 h agoAmount "0.003" is not in atomic token units40289 ms$0.003
39 h agoAmount "0.003" is not in atomic token units40279 ms$0.003
43 h agoAmount "0.003" is not in atomic token units40281 ms$0.003
47 h agoAmount "0.003" is not in atomic token units40294 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40276 ms$0.003
2 days agoAmount "0.003" is not in atomic token units40283 ms$0.003
2 days agoAmount "0.003" is not in atomic token units402250 ms$0.003