einvoice.alexhub.uk/v1/saft/validate
Check a Romanian SAF-T D406 file (monthly, annual assets, stock) before filing with ANAF: the official ANAF validator (DUKIntegrator) plus the consistency checks it skips - balanced entries, opening + movements = closing per account, partner balances, invoice totals, VAT = base x rate, VAT codes for the period, exchange rates, CUI/IBAN check digits, asset and stock roll-forwards. Each finding has
POST
https://einvoice.alexhub.uk/v1/saft/validateUptime100% 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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://einvoice.alexhub.uk/v1/saft/validate", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"body":"<AuditFile xmlns=\"mfp:anaf:dgti:d406:declaratie:v1\">…</AuditFile>"}),
});
console.log(await res.json());Example input
{
"body": "<AuditFile xmlns=\"mfp:anaf:dgti:d406:declaratie:v1\">…</AuditFile>"
}