{"uid":"cap_pbrCTrG16GLK5pLU1IiXP","slug":"anaf-ubl-2-1-e-factura-xml-generator-e3e28022","name":"ANAF UBL 2.1 e-Factura XML Generator","description":"Enterprise microservice and autonomous AI agent hub: ISO 13616 IBAN (#6), Romanian CUI Modulo-11 & EU VIES (#7), UBL 2.1 e-Factura XML (#4), and RFC 9562 UUIDv7 Idempotency (#18).","url":"https://api.ibancheck.co.uk/api/generate-efactura-ubl?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["lines","currency","customer","supplier","invoiceNumber"],"properties":{"lines":{"type":"array"},"currency":{"enum":["RON","EUR","USD"],"type":"string"},"customer":{"type":"object"},"supplier":{"type":"object"},"invoiceNumber":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TnjX-3BZygODGDP73eOhH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a JSON invoice payload into a valid European Standard EN 16931 / CIUS-RO ANAF UBL 2.1 XML e-Factura document for Romanian electronic invoicing compliance.","exampleAgentPrompt":"Generate an ANAF-compliant e-Factura UBL 2.1 XML for invoice number INV-2024-0042, issued in RON, from supplier Acme SRL to customer Beta SA, with two line items: consulting services 1000 RON and software license 500 RON.","exampleUseCases":[{"title":"Automated Romanian B2B Invoice Submission","prompt":"I need to send an e-Factura to my Romanian client for invoice INV-2024-0099 — supplier is Acme SRL, customer is Beta SA, currency is RON, with three line items: web design 2000 RON, hosting 200 RON, and domain renewal 50 RON. Can you generate the ANAF UBL 2.1 XML for me?"},{"title":"Cross-border EUR Invoice for Romanian ANAF","prompt":"Generate an EN 16931 compliant e-Factura XML in EUR for invoice number EXP-2024-0015, from our company TechCorp SRL to French client Dupont SARL, for a single line item: software development services worth 5000 EUR — I need to submit it to ANAF."},{"title":"Accountant Batch Invoice XML Conversion","prompt":"I have invoice data for INV-2024-0203 in RON between supplier Construct SRL and customer Primaria Cluj — it has two lines: materials 8000 RON and labor 4000 RON. Turn it into a valid CIUS-RO ANAF UBL 2.1 XML e-Factura so I can upload it to the Romanian e-invoice portal."}],"resultDescription":"Returns a valid UBL 2.1 XML document conforming to the European Standard EN 16931 and the Romanian CIUS-RO profile, ready for submission to the ANAF e-Factura system. The XML includes all mandatory invoice fields: supplier and customer details, line items, currency, and invoice number, structured per the Romanian tax authority's electronic invoicing requirements.","failureModes":["Missing required fields (lines, currency, customer, supplier, invoiceNumber) returns a validation error","Invalid currency value outside RON/EUR/USD enum returns a schema error","Malformed customer or supplier objects cause a 400 bad request","Empty invoice lines array may result in a rejected or invalid XML","Network timeout or service unavailability returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need to generate Romanian ANAF-compliant e-Factura XML documents from structured JSON invoice data, specifically conforming to EN 16931 and CIUS-RO UBL 2.1 standards. It is ideal for automating Romanian electronic invoicing workflows where you already have invoice data in JSON format and need a ready-to-submit XML. Prefer this over generic XML converters because it applies Romania-specific CIUS-RO business rules and ANAF schema requirements automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:44:15.156Z","isFirstParty":false,"canonicalSlug":"anaf-ubl-2-1-e-factura-xml-generator-e3e28022"}