agents.writerslogic.com/api/v1/tax-id-format
Checks the structure and check digit of up to 100 EU VAT numbers per call (Austria, Belgium, Germany, Denmark, Finland), for an agent about to put a supplier or customer VAT number on an invoice or into a record. Every other country answers unsupported rather than guessing a pattern. It never says whether the number is registered or active (that needs VIES or the national register), and a pass is
POST
https://agents.writerslogic.com/api/v1/tax-id-formatUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.writerslogic.com/api/v1/tax-id-format", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"items":[{"value":"ATU13585627"},{"value":"DE 136 695 978"},{"value":"FR40303265045"}]}),
});
console.log(await res.json());Example input
{
"items": [
{
"value": "ATU13585627"
},
{
"value": "DE 136 695 978"
},
{
"value": "FR40303265045"
}
]
}