Create an XRechnung Invoice API
Test the XRechnung 3.0 REST API — submit your invoice details and download a KoSIT-validated CII XML. Ready for ZRE, OZG-RE, or Peppol.
Invoice Automation Wherever You Work
Built for developers and AI-driven workflows. Make your invoices compliant on your ERP or AI Agent via our secure MCP server and REST API.
REST API
Full-featured API for developers. Integrate invoice conversion into any stack.
No-Code Platforms
Connect via NoCode platforms like Zapier, Make and n8n — no engineering required.
MCP for AI Agents
Let your AI agents validate and convert invoices autonomously via our MCP server.
Built for Developers
Submit invoice data as form fields, receive a validated XRechnung 3.0 CII XML. KoSIT-checked and ready for ZRE, OZG-RE, or Peppol submission.
- Supports all formats: DOCX, XLSX, PDF, images — no preprocessing needed
- Works on scanned and photographed invoices
- Every response validated against official Schematron rules
Supports ZUGFeRD · Factur-X · XRechnung · UBL · CII · EN 16931
API Documentation$ curl -X POST https://api.invoicexml.com/v1/create/xrechnung \ -H "Authorization: Bearer sk_live_..." \ -H "Content-Type: multipart/form-data" \ -F "InvoiceNumber=INV-2025-001" \ -F "IssueDate=2025-07-01" \ -F "SellerName=Acme GmbH" \ -F "BuyerReference=991-12345-67" // => 200 OK // => { "id": "inv_8f3k...", "status": "completed" }
Beyond the Form: Automate Your XRechnung Workflow
This form is perfect for creating one-off invoices. But if you send dozens or hundreds of invoices to German authorities, InvoiceXML gives you the tools to automate the entire process — from data input to validated XML delivery.
1. Developer-First REST API
Integrate XRechnung generation directly into your ERP, accounting software, or custom application:
- • Single Endpoint: POST your invoice data as form fields and receive a validated XRechnung 3.0 CII XML back instantly.
- • Stateless Security: We don't store your financial data. We process, validate, and return the XML.
- • Full Compliance: Every generated XML passes EN 16931 Schematron rules and KoSIT XRechnung CIUS constraints before delivery.
Pro Tip: Check out our API Documentation to see how you can start generating invoices with just a few lines of code.
2. No-Code Automation (Zapier & Make.com)
Connect InvoiceXML to the tools you already use — no developer needed:
- • ERP Integration: Automatically generate XRechnung XML whenever a new invoice is created in your system.
- • Google Sheets: Turn a row of invoice data into a validated XRechnung XML and deliver it to the right portal automatically.
- • Peppol Delivery: Combine XRechnung generation with Peppol access points to fully automate B2G invoice delivery in Germany.
3. The Future of AI Billing: MCP Server
InvoiceXML is one of the first platforms to offer an MCP (Model Context Protocol) Server.
- • AI-Native: Allow your AI agents (like Claude or custom GPTs) to "understand" and generate compliant invoices.
- • Agentic Workflows: Let your AI assistant handle the validation and creation of invoices directly from your conversation history or project files.
Why XRechnung Is Essential for German B2G Invoicing
Since November 2020, German federal authorities require all incoming invoices in XRechnung format. State and municipal governments are following suit. With the Wachstumschancengesetz expanding the e-invoicing mandate to B2B from 2025, XRechnung is becoming the backbone of structured invoicing in Germany.
Complete XRechnung Toolkit
Everything you need to create, convert, validate, and preview XRechnung invoices — via REST API or online.
Build a validated XRechnung 3.0 CII XML from structured data — ready for ZRE, OZG-RE, or Peppol.
Validate XRechnung XML against EN 16931 and KoSIT CIUS Schematron rules.
Convert any PDF invoice into a validated XRechnung XML using AI extraction.
Render an XRechnung XML as a human-readable PDF for review and approval.