{"service":"e-Factura Validator (Romania) – also Peppol BIS 3.0 and EN 16931","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.","profiles":["auto","en16931","peppol","ro"],"endpoints":{"paid":{"method":"POST","url":"https://einvoice.alexhub.uk/v1/validate","price":"$0.01","network":"eip155:8453","protocol":"x402"},"generate":{"method":"POST","url":"https://einvoice.alexhub.uk/v1/generate","price":"$0.05","network":"eip155:8453","protocol":"x402","input":{"type":"object","required":["number","issue_date","seller","buyer","lines"],"properties":{"number":{"type":"string","description":"Invoice number (must contain a digit)"},"issue_date":{"type":"string","description":"YYYY-MM-DD"},"due_date":{"type":"string","description":"YYYY-MM-DD"},"type_code":{"type":"string","enum":["380","384","389","751"],"default":"380"},"note":{"type":"string"},"payment":{"type":"object","properties":{"iban":{"type":"string"},"means":{"type":"string","default":"30"}}},"seller":{"type":"object","description":"{cui} is enough (filled from ANAF); any field given overrides ANAF: name, vat_id, reg_com, street, city, county, postal_code"},"buyer":{"type":"object","description":"same as seller"},"lines":{"type":"array","items":{"type":"object","required":["name","price"],"properties":{"name":{"type":"string"},"quantity":{"type":"number","default":1},"unit":{"type":"string","description":"UN/ECE code or common word: buc, kg, ore, zi…","default":"H87"},"price":{"type":"number","description":"unit price without VAT"},"vat_rate":{"type":"number","description":"e.g. 21 or 11; 0 for non-VAT sellers"},"vat_category":{"type":"string","description":"S, Z, E, AE, K, G, O (default from rate / seller status)"},"description":{"type":"string"}}}}}}},"company":{"method":"GET","url":"https://einvoice.alexhub.uk/v1/company/{cui}","price":"free","limit":"100 per day per IP"},"fix":{"method":"POST","url":"https://einvoice.alexhub.uk/v1/fix","price":"$0.05","network":"eip155:8453","protocol":"x402","description":"returns the corrected XML and the list of changes; charged only if something was fixed"},"free":{"method":"POST","url":"https://einvoice.alexhub.uk/v1/validate/free","limit":"3 per day per IP (UTC day)"}},"mcp":{"url":"https://einvoice.alexhub.uk/mcp","transport":"streamable-http","tools":["validate_invoice (paid, x402)","validate_invoice_free","explain_rule"]},"input":{"type":"object","properties":{"xml":{"type":"string","description":"The UBL 2.1 Invoice or CreditNote XML document"},"profile":{"type":"string","enum":["auto","en16931","peppol","ro"],"default":"auto","description":"Rule set; 'auto' reads it from the invoice's CustomizationID"}},"required":["xml"]},"example_output":{"valid":false,"profile":"ro","document_type":"Invoice","errors":1,"warnings":0,"findings":[{"rule":"BR-CO-15","severity":"error","title":"Total with VAT is wrong","fix":"Set it to: total without VAT + total VAT.","ubl":"cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount","fields":["BT-112"],"expected":{"field":"BT-112","value":"1210.00","found":"1190.00","currency":"RON"}}]},"docs":"https://einvoice.alexhub.uk/llms.txt"}