Skip to content
Fourohtwo

Is this e-invoice valid

api.apivend.dev/v1/invoice-check

Is this e-invoice valid? POST JSON {xml} or {pdf: base64 Factur-X/ZUGFeRD}: checked against official EN 16931, XRechnung and Peppol BIS rules, every failed rule with id and location. A completed check is charged, also if invalid; refusals (400) are not.

BaseAnswering
POSThttps://api.apivend.dev/v1/invoice-check

Uptime100% of 1 check 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://api.apivend.dev/v1/invoice-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"xml":"<Invoice xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\">...</Invoice>"}),
});
console.log(await res.json());

Example input

{
  "xml": "<Invoice xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\">...</Invoice>"
}

More from Invoice checkProvider status