- Home
- Skills
- Finance & Accounting
- German E-Invoice (XRechnung / ZUGFeRD) Toolkit
More screenshots
Works with the AI Agents you already use
German E-Invoice (XRechnung / ZUGFeRD) Toolkit
Read and pre-check XRechnung and ZUGFeRD invoices and create XRechnung XML, with offline Python scripts. Not a validator, not tax advice.
Free
German E-Invoice (XRechnung / ZUGFeRD) Toolkit
Example session with this skill installed
Made-up data: the bundled example invoice RE-2026-0042 was built into XRechnung XML, then the amount due in the XML was deliberately changed from 1784.99 to 1874.99 and saved as demo.xml. Request: "I got this invoice file. What is it, what do I pay, and check it."
- Read your context and instructions
- Compiled the german e-invoice xrechnung
CII | profile: XRechnung 3.0
VERDICT: Declares an e-invoice profile (a claim by the file, not proof it is correct).
NEXT: before paying, confirm supplier, any payee and bank account through a contact you already trust; compare with order and delivery. To pre-check: invoice_data.py, then both check scripts.
INVOICE RE-2026-0042 dated 2026-03-01
From: Beispiel Software GmbH, Berlin, DE, DE123456789
To: Stadtverwaltung Musterstadt, Musterstadt, DE
AMOUNT DUE: 1874.99 EUR (total with VAT 1784.99, net 1499.99, VAT 285.00, already paid 0, rounding 0)
Due date: 2026-03-31
How to pay: transfer to DE89370400440532013000, BIC COBADEFFXXX [payment code 58]
Terms: Zahlbar innerhalb von 30 Tagen netto #SKONTO#TAGE=10#PROZENT=2.00#
Payment reference: RE-2026-0042
Buyer reference: 04011000-1234512345-06
Order: BESTELLUNG-777
Delivery date: 2026-02-28
Lines: 2 (quantity | item | net amount)
10 | Software-Beratung | 1500.00
1 | Hosting (1 Monat) | 49.99
PRE-CHECK of CII invoice RE-2026-0042 from demo.xml. Rules used: XRechnung + EN 16931 core.
RESULT (both parts): 1 must fix, 0 to check, 0 note(s).
NEXT: fix the MUST FIX items (incoming invoice: ask the sender), then rerun.
VAT invoice content (a wrong VAT-mandatory item is a content error)
MUST FIX [BR-CO-16] Amount due (total - prepaid + rounding) should be 1784.99 but the file says 1874.99.
Partial pre-check, no XML schema. Selected rules of XRechnung 3.0.2 (schematron 2.6.0) and CEN 1.3.17, as of November 2026.
Connects securely to your tools. The creator never sees your data.
About this skill
A free skill for German e-invoices. It uses Python 3.9+ with the standard library only.
What it does:
- Opens CII or UBL invoice XML, or a PDF with embedded invoice XML (ZUGFeRD / Factur-X). It shows sender, recipient, amounts, due date, payment details, invoice lines (the first 12 in the text view), attachment names and the profile the file declares. Credit notes, self-billed, negative and unknown document types are not presented as a plain request to pay. It can save the embedded XML.
- Pre-checks CII and UBL against a selection of XRechnung 3.0.2 and EN 16931 rules, with two check scripts that give one combined result, after a script step that reads the XML.
- Creates XRechnung 3.0 CII XML from JSON, and can embed one supporting file or add one link per run.
- Asks for your facts and applies a VAT-law decision table to whether an e-invoice is required. It reports unclear and disputed cases as such.
- Checks the shape and check digits of a Leitweg-ID offline. This does not show that the ID exists.
- Includes short notes on rejections, corrections, receiving and keeping invoices, public buyers, and how to run the official KoSIT validator yourself.
Data: the scripts make no network connections. Your AI assistant runs them and reads their output, and any file content it opens, so invoice data can reach your AI provider under that provider's terms. The pre-check writes temporary data files that contain invoice data; the instructions tell the assistant to delete them.
Coverage: this is a partial pre-check, not a validator, and it does not check the XML schema. A result with no must-fix finding does not show that an invoice is correct or will be accepted. Measured on 28.11.2026: no must-fix finding on 86 official XRechnung test files and 34 CEN examples. Injected errors in covered areas were flagged in 67 of 67 CII and 24 of 24 UBL cases; the checker was improved using these tests, so they overstate real coverage. Outside those areas only 7 of 17 injected errors were flagged (6 at first).
Legal content is as of November 2026. It is not tax or legal advice. Re-check it, especially around the end of 2026.
Not a validator and no XML schema check. Only selected rules: most code lists (country, payment, type, address scheme), the VAT ID prefix, element order, unknown elements and other syntax rules are largely missed. Extension and CVD rules are not covered. EXTENDED line rules and totals are not checked, even though the run can end without a must-fix finding. MINIMUM and BASIC WL get a profile verdict only. A missing VAT total in the invoice currency is shown only as a warning. PDF/A-3 conformance and whether the PDF picture matches the data are not checked. Some PDFs cannot be read, which does not show that there is no XML. ZUGFeRD 1.0 details are not read. The builder writes XRechnung CII only (no UBL, PDF/A-3 or sub-lines; VAT categories S, Z, E, AE, K, G, O). In quantity and unit price a dot is always a decimal point, so German '1.190' must be entered as 1190. Attachments can be added to CII only. Whether an e-invoice is required depends on the facts you enter, covers German VAT law only, and leaves public-sector rules to a note and a reference page. Tax rates, the supply itself, bank accounts and parties are not verified. The official Java KoSIT validator was not run during testing, and behaviour with a live agent was not tested. Legal content is as of November 2026 and is not tax or legal advice.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 6 days ago
- Free with an Agensi account
- Software
Python 3.9+
Permissions
File Scopes
The scripts make no network calls. No API keys.
What's inside
Frequently Asked Questions
New in Finance & Accounting
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Finance & Accounting.