{"uid":"cap__SQUmGmuti3JJb7WQPGhT","slug":"eu-e-invoice-generator-ubl-2-1-153736fe","name":"EU E-Invoice Generator (UBL 2.1)","description":"Create a validated EU e-invoice (UBL 2.1: EN 16931, XRechnung or Peppol BIS 3 structure) from simple JSON; totals and VAT breakdown computed","url":"https://api.wsystem.dev/einvoice/create?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"buyer":{"type":"object"},"lines":{"type":"array"},"format":{"enum":["en16931","xrechnung","peppol-bis3"],"type":"string"},"seller":{"type":"object"},"issue_date":{"type":"string"},"invoice_number":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","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.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4XWBnQwD5vSwLxJ4I6kxP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts simple JSON invoice data into a validated EU e-invoice in UBL 2.1 format (EN 16931, XRechnung, or Peppol BIS 3), with auto-computed totals and VAT breakdown","exampleAgentPrompt":"Create a Peppol BIS 3 e-invoice for invoice number INV-2024-0042, issued today, from seller Acme GmbH (VAT DE123456789) to buyer Schmidt AG (VAT DE987654321), with two line items: 10 units of 'Consulting Services' at €150 each and 5 units of 'Software License' at €200 each, both at 19% VAT.","exampleUseCases":[{"title":"German B2B XRechnung compliance","prompt":"Generate an XRechnung invoice numbered XR-2024-001, dated today, from my company TechSoft GmbH (VAT DE811234567, Musterstraße 1, Berlin) to client Bundesamt für Steuern (VAT DE123789456), for 20 hours of IT consulting at €95 per hour with 19% VAT."},{"title":"Cross-border Peppol invoice for EU supplier","prompt":"Create a Peppol BIS 3 e-invoice, invoice number PEP-881, issued on 2024-07-15, from seller Rossi Forniture SRL (VAT IT12345678901, Milan) to buyer Müller Handel GmbH (VAT DE876543210, Hamburg), for 50 units of industrial components at €42 each at 22% VAT and 10 units of packaging at €8 each at 10% VAT."},{"title":"EN 16931 invoice for EU accounting system","prompt":"I need a validated EN 16931 e-invoice, number INV-EU-0099, issued 2024-06-01, from seller Dubois Conseil SARL (VAT FR40303265045, Paris) to buyer Grupo Ibérico SA (VAT ES-A28015865, Madrid), with one line: 3 days of management consulting at €1,200 per day at 20% VAT."}],"resultDescription":"A validated UBL 2.1 XML e-invoice document in the requested format (EN 16931, XRechnung, or Peppol BIS 3), with all line items, automatically computed subtotals, per-rate VAT breakdown, and grand total included and conformant to EU e-invoicing standards.","failureModes":["Invalid or missing VAT numbers for seller/buyer causing validation failure","Unsupported format value outside the allowed enum (en16931, xrechnung, peppol-bis3)","Missing required fields such as seller, buyer, lines, invoice_number, or issue_date","Malformed issue_date format causing parsing error","Empty or zero-value line items causing computation errors","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate standards-compliant EU e-invoices (EN 16931, XRechnung for German public sector, or Peppol BIS 3 for pan-European B2B) with automatic VAT computation from simple JSON — especially in agentic workflows where invoice generation must be fully automated without manual XML authoring. Ideal when the invoicing party is EU-based or must comply with EU e-invoicing mandates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:43:51.525Z","isFirstParty":false,"canonicalSlug":"eu-e-invoice-generator-ubl-2-1-153736fe"}