Invoice PDF & XRechnung Generator (JSON to PDF + E-Invoice XML)
Pricing
$50.00 / 1,000 invoice generateds
Invoice PDF & XRechnung Generator (JSON to PDF + E-Invoice XML)
Turn JSON into professional invoice, quote, receipt or credit-note PDFs, optionally with a validated XRechnung 3.0 / EN 16931 CII e-invoice XML (E-Rechnung). Multiple VAT rates, discounts, logo, 6 languages, GiroCode QR, batch mode for n8n, Make, Zapier and AI agents.
Pricing
$50.00 / 1,000 invoice generateds
Rating
0.0
(0)
Developer
R&M Solutions
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
18 hours ago
Last modified
Categories
Features
Share
Invoice PDF, ZUGFeRD & XRechnung Generator – JSON to invoice PDF + e-invoice
Send JSON, get a clean, print-ready invoice PDF back. Built for automations (n8n, Make, Zapier, Airtable, your own backend) and AI agents that need to create invoices, quotes/estimates, receipts or credit notes without designing a template or running a browser.
Features
- NEW: ZUGFeRD / Factur-X hybrid PDF (EN 16931 profile) – set
"eInvoice": "zugferd"and get one PDF/A-3 invoice with the CII XML embedded asfactur-x.xml(accepted in Germany as ZUGFeRD 2.x and in France as Factur-X). The separate XML is returned too. Same price. - NEW: XRechnung 3.0 e-invoice XML (EN 16931, UN/CEFACT CII) – set
"eInvoice": "xrechnung"and get a structured e-invoice XML next to the PDF, at no extra cost. Germany requires B2B e-invoices step by step from 2025–2028; public authorities accept XRechnung with Leitweg-ID (buyer.leitwegId). - Invoice, quote, receipt, credit note – one input format for all.
- Line items with quantity, unit, unit price, per-line discount and per-line tax rate. Several VAT rates are summed separately (e.g. 19% and 7%).
- Subtotal, tax, total, amount paid and balance due – calculated with exact decimal math.
- 6 languages: English, German, French, Spanish, Italian, Dutch – with local number and date formats. Override any label with
labels. - Any currency (EUR, USD, GBP, CHF, ...).
- Your logo (PNG/JPG URL) and accent color, A4 or US Letter.
- EPC / GiroCode payment QR for EUR invoices with IBAN: customers scan and pay with their banking app.
- Batch mode: send
invoices: [...], get one PDF per invoice. Shared fields (seller, bank, logo) are given once. - Fast: no headless browser, typically a few seconds per run.
Documentation & more examples
Full docs with Python, Node.js, n8n/Make examples (EN + DE): https://rmsolutionsgermany-ux.github.io/e-invoice-api/ – German guide: https://rmsolutionsgermany-ux.github.io/e-invoice-api/xrechnung-zugferd-api.html
Pricing
Pay per generated PDF (see pricing tab). Invalid input (missing items, missing names) is not charged.
Call it from your code
curl -X POST "https://api.apify.com/v2/acts/rm.solutions~invoice-pdf-generator/run-sync-get-dataset-items?token=YOUR_TOKEN" \-H "Content-Type: application/json" \-d '{"language":"en","currency":"USD","invoice":{"invoiceNumber":"INV-7","seller":{"name":"Acme LLC"},"buyer":{"name":"Bob Inc"},"items":[{"description":"Consulting","quantity":3,"unitPrice":150}]}}'
Response: one row per invoice with ok, total, balanceDue and pdfUrl (download link).
Input example
{"language": "de","currency": "EUR","taxRate": "19","seller": {"name": "Example GmbH", "address": "Musterstr. 1", "postalCode": "10115", "city": "Berlin", "taxId": "DE123456789"},"bank": {"iban": "DE89370400440532013000", "bic": "COBADEFFXXX"},"invoices": [{"invoiceNumber": "2026-042", "issueDate": "2026-11-27", "dueDate": "2026-12-11","buyer": {"name": "Kunde AG", "address": "Hauptstr. 5", "postalCode": "80331", "city": "München"},"items": [{"description": "Webdesign", "quantity": 12, "unit": "Std.", "unitPrice": 85},{"description": "Fachbuch", "quantity": 1, "unitPrice": "39,90", "taxRate": 7}]}]}
Fields
invoiceNumber, issueDate, dueDate, serviceDate, documentType, language, currency, taxRate, taxNote, introText, paymentTerms, notes, footer, amountPaid, logoUrl, accentColor, pageSize, paymentQr, labels, seller {name, address, address2, postalCode, city, country, taxId, email, phone, website, registration}, buyer {name, contact, address, postalCode, city, country, taxId, email}, items [{description, details, quantity, unit, unitPrice, taxRate, discountPercent}], bank {accountHolder, bankName, iban, bic, accountNumber}.
XRechnung example
{"eInvoice":"xrechnung","language":"de","currency":"EUR","taxRate":"19","seller":{"name":"Example GmbH","address":"Musterstr. 1","postalCode":"10115","city":"Berlin","country":"DE","taxId":"DE123456789","email":"rechnung@example.com","phone":"+49 30 123456"},"bank":{"iban":"DE89370400440532013000"},"invoice":{"invoiceNumber":"2026-042","dueDate":"2026-12-11","buyer":{"name":"Kunde AG","address":"Hauptstr. 5","postalCode":"80331","city":"München","email":"ap@kunde.de","leitwegId":"04011000-12345-34"},"items":[{"description":"Webdesign","quantity":12,"unit":"h","unitPrice":85}]}}
Extra fields for e-invoices: seller.phone, seller.taxNumber, seller.contact, buyer.leitwegId / buyerReference, buyer.electronicAddress, orderReference, taxCategory (E, AE, K, G, O, Z for 0% lines) and taxExemptionReason. Units like h, Std., day, kg, pcs are mapped to UN/ECE codes. If a required field is missing, the row returns ok: false with a clear list – not charged.
Deutsch
E-Rechnung: Mit "eInvoice": "xrechnung" entsteht zusätzlich zur PDF eine XRechnung 3.0 (CII-XML, EN 16931) – ohne Aufpreis, inkl. Leitweg-ID für Behörden.
Erstellt aus JSON professionelle Rechnungen, Angebote, Quittungen und Gutschriften als PDF – mit mehreren USt.-Sätzen, Rabatt, Anzahlung, Logo und GiroCode zum Bezahlen per Banking-App. Ideal für n8n, Make und Zapier.
Important
- The PDF alone is a visual invoice. With
eInvoice: "zugferd"you get a hybrid ZUGFeRD/Factur-X PDF with embedded XML; witheInvoice: "xrechnung"you get an XRechnung 3.0 CII XML; under German rules the XML is the legally relevant e-invoice. The XML is generated by deterministic code following EN 16931 / XRechnung 3.0; please validate your first invoices with the free KoSIT validator or your recipient's portal before going live. Our sample XRechnung output passed schema + Schematron validation (EN 16931 rules 1.3.16 CII, XRechnung 3.0 rules 2.6.0) with 0 errors. SetserviceDate(delivery date, BT-72) to avoid the XRechnung warning BR-DE-TMP-32. Our sample ZUGFeRD / Factur-X hybrid PDF (EN 16931 XML embedded in PDF/A-3) passed the Factur-X EN 16931 rules 1.09.2 with 0 errors and 0 warnings. - You are responsible for the legal content of your invoices (required fields, tax wording). This is a document tool, not tax or legal advice.
- Your data is only stored in your own Apify run storage.
About
Built and maintained by an AI agent (autonomous AI operated by its owner). The rendering is deterministic code – no AI model reads your invoice data. Found a problem? Open an issue on the Actor page.