Not tax advice. Computation tools only. Have a professional check your work before filing.
openaccountants/skills/germany-einvoice.md

Use this skill with your AI agent

View on GitHub

Paste this skill into your AI agent's context, or save the file to your project. Works with any AI agent that reads markdown.

germany-einvoice.md315 lines15.4 KB
v10Germany
Not yet verified by an accountantContact accountant
1---
2name: germany-einvoice
3description: >
4 Use this skill whenever asked about German e-invoicing, XRechnung, ZUGFeRD, ERechV, E-Rechnungsverordnung, Peppol BIS Billing Germany, Leitweg-ID, OZG-RE invoice portal, B2B e-invoicing mandate Germany, Wachstumschancengesetz, EN 16931 Germany, GoBD e-invoice archiving, or any question about issuing, receiving, validating, or archiving electronic invoices in Germany. Also trigger when preparing XRechnung XML invoices, configuring Peppol endpoints for German public-sector invoicing, handling B2B e-invoice reception requirements, or advising on ZUGFeRD profile selection. This skill covers XRechnung CIUS, ZUGFeRD hybrid format, Peppol transmission, mandatory fields, validation rules, GoBD archiving, penalties, and interaction with German VAT returns. ALWAYS read this skill before touching any German e-invoicing work.
5version: 1.0
6jurisdiction: DE
7category: invoicing
8depends_on:
9 - einvoice-workflow-base
10---
11 
12# Germany E-Invoicing -- XRechnung / ZUGFeRD Skill v1.0
13 
14---
15 
16## Section 1 -- Quick Reference
17 
18| Field | Value |
19|---|---|
20| Country | Germany (Bundesrepublik Deutschland) |
21| Currency | EUR |
22| National CIUS | XRechnung (EN 16931 compliant) |
23| Hybrid format | ZUGFeRD 2.1+ (PDF/A-3 + embedded CII XML) |
24| Current XRechnung version | 3.0.1 (mandatory from 1 February 2024) |
25| Governing body | Bundesministerium der Finanzen (BMF) |
26| Standards body | Koordinierungsstelle für IT-Standards (KoSIT) |
27| Key legislation | E-Rechnungsverordnung (ERechV); Wachstumschancengesetz (Growth Opportunities Act); §14 UStG; GoBD (updated 14 July 2025) |
28| B2G portal | OZG-RE (Online-Zugangsgesetz-konforme Rechnungseingangsplattform) -- replaced ZRE in September 2025 |
29| B2G mandatory since | 27 November 2020 (federal level) |
30| B2B reception mandatory | 1 January 2025 |
31| B2B issuance Phase 1 | 1 January 2027 (businesses with turnover > EUR 800,000) |
32| B2B issuance Phase 2 | 1 January 2028 (all remaining businesses) |
33| B2C | Not subject to e-invoicing mandate |
34| Current status | B2G fully operational; B2B reception mandatory; B2B issuance transitioning |
35| Skill version | 1.0 |
36 
37---
38 
39## Section 2 -- Mandate Scope
40 
41### Who Must Comply
42 
43| Scope | Requirement |
44|---|---|
45| B2G (federal) | All suppliers to federal public authorities must submit XRechnung or EN 16931-compliant invoices via OZG-RE since November 2020 |
46| B2G (Länder) | Most German states have enacted their own e-invoicing regulations; timelines vary by state (all effective by 2024) |
47| B2B (reception) | All domestic businesses must be able to receive EN 16931-compliant e-invoices from 1 January 2025 |
48| B2B (issuance -- Phase 1) | Businesses with prior-year turnover > EUR 800,000 must issue e-invoices for domestic B2B from 1 January 2027 |
49| B2B (issuance -- Phase 2) | All remaining businesses must issue from 1 January 2028 |
50| B2C | Not mandated -- consumer invoices may continue as paper or PDF |
51| Exemptions (B2B) | Small-amount invoices under EUR 250 (§33 UStDV); passenger transport tickets; tax-free supplies under §4 Nr. 8--29 UStG; businesses under §19 UStG (Kleinunternehmer, annual turnover ≤ EUR 22,000) |
52 
53### Transitional Rules (2025--2027)
54 
55| Period | Rule |
56|---|---|
57| 2025--2026 | Businesses may still issue paper invoices or non-EN 16931 EDI invoices with buyer consent |
58| 2027 | Issuance mandatory for larger businesses; smaller businesses may still use paper with buyer consent if their turnover ≤ EUR 800,000 |
59| 2028 onward | All domestic B2B invoices must be EN 16931-compliant structured electronic invoices |
60 
61### Timeline Summary
62 
63| Date | Milestone |
64|---|---|
65| November 2020 | Federal B2G mandate effective |
66| January 2025 | B2B reception mandatory for all businesses |
67| September 2025 | OZG-RE replaces ZRE as sole federal submission portal |
68| July 2025 | GoBD updated for e-invoice archiving rules |
69| January 2027 | B2B issuance mandatory (turnover > EUR 800,000) |
70| January 2028 | B2B issuance mandatory for all |
71 
72---
73 
74## Section 3 -- Technical Format
75 
76### Accepted Formats
77 
78| Format | Type | Standard | Status |
79|---|---|---|---|
80| XRechnung | Pure XML (UBL 2.1 or CII) | EN 16931 CIUS | Primary national standard |
81| ZUGFeRD 2.1+ | Hybrid (PDF/A-3 + CII XML) | EN 16931 conformant | Accepted for B2B and B2G |
82| Peppol BIS Billing 3.0 | Pure XML (UBL 2.1) | EN 16931 CIUS | Accepted -- nearly equivalent to XRechnung since v3.0.1 harmonisation |
83 
84### XRechnung Technical Details
85 
86| Parameter | Value |
87|---|---|
88| Version | 3.0.1 |
89| UBL namespace | `urn:oasis:names:specification:ubl:schema:xsd:Invoice-2` |
90| CII namespace | `urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100` |
91| CustomizationID (UBL) | `urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0` |
92| ProfileID (BT-23) | `urn:fdc:peppol.eu:2017:poacc:billing:01:1.0` |
93| Encoding | UTF-8 |
94| Validation | KoSIT Validator (open-source, Java-based) |
95| Schema download | https://www.xeinkauf.de |
96 
97### ZUGFeRD Profiles
98 
99| Profile | EN 16931 Compliant | Use Case |
100|---|---|---|
101| Minimum | No | Basic PDF with minimal XML (not sufficient for B2G) |
102| Basic WL | No | Without line detail |
103| Basic | Yes (if fully populated) | Standard use |
104| Comfort (EN 16931) | Yes | Full compliance |
105| Extended | Yes (superset) | Additional business information |
106| XRechnung | Yes | XRechnung rules embedded in ZUGFeRD container |
107 
108For B2G compliance, use the **XRechnung** or **Comfort** profile. For B2B mandate compliance, any EN 16931-conformant profile is accepted.
109 
110---
111 
112## Section 4 -- Mandatory Fields
113 
114### EN 16931 Core Fields (Required by XRechnung)
115 
116| BT Code | Field | Required |
117|---|---|---|
118| BT-1 | Invoice number | Yes |
119| BT-2 | Invoice issue date | Yes |
120| BT-3 | Invoice type code (380 = commercial invoice, 381 = credit note) | Yes |
121| BT-5 | Invoice currency code | Yes |
122| BT-9 | Payment due date | Yes |
123| BT-10 | Buyer reference (Leitweg-ID for B2G) | Yes |
124| BT-23 | Business process type (ProfileID) | Yes (mandatory since XRechnung 3.0.1) |
125| BT-24 | Specification identifier (CustomizationID) | Yes |
126| BT-27 | Seller name | Yes |
127| BT-29 | Seller country code | Yes |
128| BT-31 | Seller VAT identifier | Yes (unless exempt under §19 UStG) |
129| BT-34 | Seller electronic address + scheme ID | Yes (mandatory since XRechnung 3.0.1) |
130| BT-44 | Buyer name | Yes |
131| BT-46 | Buyer country code | Yes |
132| BT-48 | Buyer VAT identifier | Yes (for reverse charge / intra-EU) |
133| BT-49 | Buyer electronic address + scheme ID | Yes (mandatory since XRechnung 3.0.1) |
134 
135### XRechnung-Specific Additional Requirements
136 
137| Field | Description | Required |
138|---|---|---|
139| BT-10 (Leitweg-ID) | Hierarchical routing identifier for B2G (format: coarse-fine-check digit) | Yes (B2G) |
140| BT-23 (ProfileID) | Must be set to the Peppol process identifier | Yes |
141| BT-34 / BT-49 | Electronic addresses with scheme identifier (e.g., 0204 for Leitweg-ID, 9930 for DE VAT number) | Yes |
142| Payment instructions (BG-16) | At least one payment means must be specified | Yes |
143| BT-20 | Payment terms (text description) | Recommended |
144| BT-81 | Payment means type code (e.g., 58 = SEPA credit transfer) | Yes |
145 
146---
147 
148## Section 5 -- Transmission Method
149 
150### B2G Transmission
151 
152| Channel | Description |
153|---|---|
154| OZG-RE Web Portal | Upload via browser at https://xrechnung.bund.de |
155| OZG-RE Email | Submit XRechnung XML as email attachment to designated address |
156| Peppol | Machine-to-machine via Peppol Access Point using participant ID (format: 0204:{Leitweg-ID}) |
157 
158The ZRE (Zentrale Rechnungseingangsplattform) was decommissioned in September 2025. All federal submissions now go through OZG-RE.
159 
160### B2B Transmission
161 
162Germany does not prescribe a specific transmission channel for B2B e-invoices. Accepted methods include:
163 
164| Channel | Description |
165|---|---|
166| Email | XRechnung or ZUGFeRD sent as email attachment |
167| Peppol | Via Peppol network using Peppol participant IDs |
168| EDI | Existing EDI channels, provided the invoice content conforms to EN 16931 |
169| API / portal | Bilateral agreement between trading partners |
170| Download portal | Seller provides structured e-invoice for download |
171 
172### Peppol in Germany
173 
174- KoSIT manages the German Peppol Authority
175- Public authorities connected to OZG-RE are reachable via Peppol
176- Peppol participant IDs for federal authorities use scheme 0204 (Leitweg-ID based)
177- For B2B, scheme 9930 (DE VAT number) is commonly used
178 
179---
180 
181## Section 6 -- Validation Rules
182 
183### KoSIT Validator
184 
185The official open-source validation tool provided by KoSIT performs multi-layer validation:
186 
187| Layer | Description |
188|---|---|
189| Schema validation | XML against UBL 2.1 or CII XSD |
190| Schematron (EN 16931) | European standard business rules |
191| Schematron (XRechnung) | National CIUS rules (German-specific) |
192| Schematron (Extension) | Extension rules for additional national requirements |
193 
194### Common Rejection Reasons
195 
196| Issue | Resolution |
197|---|---|
198| Missing BT-23 (ProfileID) | Mandatory since XRechnung 3.0.1 -- always populate |
199| Missing BT-34 / BT-49 (electronic addresses) | Mandatory since 3.0.1 -- include with correct scheme ID |
200| Invalid Leitweg-ID format | Must follow pattern: numeric segments separated by hyphens with check digit |
201| Missing BT-10 (Buyer reference) | Mandatory for B2G; strongly recommended for B2B |
202| Tax calculation inconsistency | Line net amount × tax rate must equal line tax amount; sum of lines must equal document total |
203| Wrong CustomizationID | Must match XRechnung 3.0.1 URN exactly |
204| Mixed currency without conversion | If invoice currency differs from EUR, provide BT-6 (VAT accounting currency) and conversion rate |
205 
206### OZG-RE Additional Checks
207 
208- Validates Leitweg-ID against the registered directory
209- Verifies that the recipient authority is connected and active
210- Returns structured error messages for rejected invoices
211 
212---
213 
214## Section 7 -- Tax Computation Rules
215 
216### VAT Rates (2025/2026)
217 
218| Rate | Application |
219|---|---|
220| 19% | Standard rate (Regelsteuersatz) |
221| 7% | Reduced rate (ermäßigter Steuersatz) -- food, books, public transport, cultural events |
222| 0% | Intra-EU supplies, exports (with §4 UStG exemption code) |
223 
224### Rounding
225 
226- Line-level: net amount = quantity × unit price, rounded to 2 decimal places
227- Tax amount per line: net amount × rate, rounded to 2 decimal places
228- Document-level totals must equal sum of line-level amounts within each tax category
229- XRechnung validation allows EUR 0.01 tolerance per tax subtotal group
230- Banker's rounding (round half to even) is accepted but not required
231 
232### Multi-Rate Invoice Handling
233 
234- Each VAT rate requires a separate tax subtotal group (BG-23)
235- Tax category codes: S (standard), AA (reduced), Z (zero-rated), E (exempt), AE (reverse charge), K (intra-EU), G (export), O (outside scope)
236- For reverse charge (§13b UStG), use category code AE with rate = 0%
237- Tax exemption reason (BT-120/BT-121) must be populated for zero-rate and exempt categories
238 
239### §14 UStG Invoice Requirements
240 
241German VAT law (§14 UStG) mandates specific content that must appear in the structured data:
242 
243- Full name and address of seller and buyer
244- Tax number (Steuernummer) or VAT ID (USt-IdNr.)
245- Invoice date and sequential invoice number
246- Quantity and description of goods/services
247- Delivery/service date or period
248- Net amount per rate, applicable tax rate, and tax amount
249- Total gross amount
250 
251---
252 
253## Section 8 -- Archiving Requirements
254 
255| Requirement | Detail |
256|---|---|
257| Retention period | 8 years (§14b UStG; reduced from 10 years by Bürokratieentlastungsgesetz IV, effective 2025) |
258| Format | Original structured format (XML) as received or sent |
259| GoBD compliance | Must satisfy Grundsätze zur ordnungsmäßigen Führung und Aufbewahrung (GoBD, updated 14 July 2025) |
260| Hybrid invoices (ZUGFeRD) | Only the structured XML part must be archived; the PDF part is only required if it contains additional tax-relevant information (e.g., booking notes) |
261| Immutability | Archived invoices must be tamper-proof -- no modifications allowed after receipt |
262| Verfahrensdokumentation | Written procedural documentation describing the entire e-invoice lifecycle (receipt, processing, archiving) is mandatory |
263| Storage location | Germany or EU member state; tax authorities must have full online access |
264| Audit access | Three levels: Z1 (direct access to DV system), Z2 (indirect access via data export), Z3 (data carrier handover) |
265| Conversion | Format conversion allowed only if original is also retained and the conversion process is documented |
266 
267---
268 
269## Section 9 -- Penalties for Non-Compliance
270 
271| Violation | Penalty |
272|---|---|
273| Failure to issue proper invoice (§14 UStG breach) | Administrative fine up to EUR 5,000 per occurrence (§26a UStG) |
274| Retention violation | Fine up to EUR 1,000 for specific breaches; up to EUR 30,000 for serious cases (§26a Abs. 1 UStG) |
275| Non-compliant invoice → input VAT deduction denied | Buyer may lose right to deduct input VAT until a corrected compliant invoice is received |
276| Estimated tax assessment | Tax authority may estimate turnover and VAT liability if records are insufficient |
277| GoBD non-compliance | May lead to rejection of bookkeeping in tax audit (Betriebsprüfung) and estimated assessment with safety margins |
278| Repeated/wilful violations | Potential referral for criminal investigation (Steuerhinterziehung under §370 AO for deliberate cases) |
279 
280---
281 
282## Section 10 -- Interaction with Tax Skills
283 
284### VAT Return Integration
285 
286- E-invoices provide the data basis for the monthly/quarterly Umsatzsteuer-Voranmeldung (advance VAT return) via ELSTER
287- Properly archived e-invoices serve as documentary evidence for input VAT deduction claims
288- Non-compliant invoices (missing mandatory fields) may result in denied input VAT deduction until corrected
289- The BMF has indicated plans for future pre-filled VAT returns based on e-invoice data, aligned with the EU ViDA initiative
290 
291### Income Tax Integration
292 
293- For Einzelunternehmer (sole proprietors) and Freiberufler (freelancers), e-invoice revenue data feeds into the Einkommensteuer return (Anlage S or Anlage G)
294- EÜR (Einnahmenüberschussrechnung -- cash-basis accounting) practitioners must ensure e-invoice dates align with payment dates for revenue recognition
295- Bilanzierung (accrual accounting) practitioners recognise revenue at invoice date
296 
297### Intra-EU Reporting
298 
299- Intra-EU supplies reported via Zusammenfassende Meldung (recapitulative statement) must reconcile with e-invoices issued with tax category K (intra-community supply)
300- Buyer VAT IDs on e-invoices (BT-48) must match VIES-validated numbers
301 
302### GoBD and Tax Audit
303 
304- Tax auditors may request Z1 (direct system access), Z2 (data export in GDPdU/IDEA format), or Z3 (data carrier) access to archived e-invoices
305- Verfahrensdokumentation must describe the e-invoice workflow from receipt to archiving
306- Failure to produce compliant archives during Betriebsprüfung can trigger estimated assessments with penalty surcharges (Zuschläge)
307 
308---
309 
310## Disclaimer
311 
312This skill and its outputs are provided for informational and computational purposes only and do not constitute tax, legal, or financial advice. Open Accountants and its contributors accept no liability for any errors, omissions, or outcomes arising from the use of this skill. All outputs must be reviewed and signed off by a qualified professional (such as a Steuerberater, Wirtschaftsprüfer, or equivalent licensed practitioner in your jurisdiction) before filing or acting upon.
313 
314The most up-to-date, verified version of this skill is maintained at [openaccountants.com](https://openaccountants.com). Log in to access the latest version, request a professional review from a licensed accountant, and track updates as tax law changes.
315 

Run this skill, then get an accountant to check it

After running the full skill pack in your AI agent, sign up and upload your worksheet. We'll connect you with a trusted accountant in our network who can review your numbers before you file.

Verification status

Research-verified

Drafted from authoritative sources (tax authority sites, Big-4 summaries). Awaiting credentialed sign-off.

Needs section-by-section practitioner review to reach accountant-verified.

Section review progress

0/28

About

Use this skill whenever asked about German e-invoicing, XRechnung, ZUGFeRD, ERechV, E-Rechnungsverordnung, Peppol BIS Billing Germany, Leitweg-ID, OZG-RE invoice portal, B2B e-invoicing mandate Germany, Wachstumschancengesetz, EN 16931 Germany, GoBD e-invoice archiving, or any question about issuing, receiving, validating, or archiving electronic invoices in Germany. Also trigger when preparing XRechnung XML invoices, configuring Peppol endpoints for German public-sector invoicing, handling B2B e-invoice reception requirements, or advising on ZUGFeRD profile selection. This skill covers XRechnung CIUS, ZUGFeRD hybrid format, Peppol transmission, mandatory fields, validation rules, GoBD archiving, penalties, and interaction with German VAT returns. ALWAYS read this skill before touching any German e-invoicing work.

DEty-2025

Use this skill

This skill is open source and free to use in any AI agent. Copy it, download it, or clone the repo. If you find an error, report an issue — a licensed accountant will review.

11 of 19 in the DE workflow: