{"version":1,"resources":["https://einvoice.alexhub.uk/v1/validate","https://einvoice.alexhub.uk/v1/fix","https://einvoice.alexhub.uk/v1/generate","https://einvoice.alexhub.uk/v1/saft/validate"],"instructions":"Romanian e-Factura / Peppol invoice and SAF-T (D406) validation for agents. Pay per call in USDC on eip155:8453 with x402 (exact scheme): POST without payment, read the PAYMENT-REQUIRED header of the 402, sign, retry with PAYMENT-SIGNATURE. No account or API key. No wallet? Use the free endpoints: POST https://einvoice.alexhub.uk/v1/validate/free (3/day per IP) and POST https://einvoice.alexhub.uk/v1/saft/validate/free (1/day, first 10 findings). The same tools are on MCP at https://einvoice.alexhub.uk/mcp (validate_invoice_free is free). Docs: https://einvoice.alexhub.uk/llms.txt, https://einvoice.alexhub.uk/openapi.json.","network":"eip155:8453","asset":"USDC","payTo":"0x53d9230a66dEb679Be95716B4Ee539F68ACe84ce","items":[{"resource":"https://einvoice.alexhub.uk/v1/validate","method":"POST","price":"$0.01","description":"Check a Romanian e-Factura (UBL 2.1, CIUS-RO 1.0.9) before uploading it to ANAF SPV, and get the exact fix for every error: plain-English explanation, the official Romanian rule text, the UBL path of the field and, for amount errors, the correct value computed from the invoice (chained, so following the report gives a consistent invoice). Also validates Peppol BIS Billing 3.0 and EN 16931. No account: $0.01 per invoice via x402, plus a small free tier.","mcp_tool":"validate_invoice","free_alternative":"https://einvoice.alexhub.uk/v1/validate/free"},{"resource":"https://einvoice.alexhub.uk/v1/fix","method":"POST","price":"$0.05","description":"Automatically repair a Romanian e-Factura / UBL 2.1 invoice and return the corrected XML: county and Bucharest sector codes, country, currency and unit codes, date formats, VAT-id prefixes, decimals, and all totals and VAT amounts recomputed from the lines in dependency order. Every change is listed (field, old, new) and the result is re-validated against the official rules. Charged only when something was fixed.","mcp_tool":"fix_invoice"},{"resource":"https://einvoice.alexhub.uk/v1/generate","method":"POST","price":"$0.05","description":"Create a complete Romanian e-Factura (UBL 2.1, CIUS-RO) from simple JSON: give the seller's and buyer's CUI and the lines (name, quantity, unit, price, VAT rate); company name, address, county code, Bucharest sector and VAT status are filled from ANAF, totals and VAT are computed, and the XML is validated before it is returned. Charged only when a valid invoice is returned.","mcp_tool":"generate_invoice"},{"resource":"https://einvoice.alexhub.uk/v1/saft/validate","method":"POST","price":"$0.50","description":"Check a Romanian SAF-T file (D406: monthly/quarterly, annual assets, on-request stock) before filing it with ANAF: the official ANAF validator (DUKIntegrator, run for the reporting period) plus the consistency checks it does not do – balanced journal entries, GL totals, opening + movements = closing for every account, trial balance, partner balances, invoice totals, VAT = base × rate, VAT codes valid for the period (21%/11% from August 2025), RON amount = currency × exchange rate, months 1-12, return type matching the period, CUI and IBAN check digits, accounts in the ANAF chart; for annual files the fixed-asset roll-forward (cost, accumulated depreciation, book value, rates, dates); for stock files opening + receipts - issues = closing per product, stock values vs quantity x price and vs the stock accounts. Every finding has a plain-language fix (RO/EN) and the correct value where it can be computed. Send the XML as the request body (up to 100 MB). Charged only if a D406 was checked.","mcp_tool":"validate_saft","free_alternative":"https://einvoice.alexhub.uk/v1/saft/validate/free"}],"mcp":"https://einvoice.alexhub.uk/mcp","openapi":"https://einvoice.alexhub.uk/openapi.json"}