Start / Beispielrechnung
Beispiel einer korrekten XRechnung
Eine Dienstleistungsrechnung an eine Stadtverwaltung, so wie sie die Prüfung besteht. Alle Namen und Nummern sind erfunden.
CII-Datei laden UBL-Datei laden Im Prüfer öffnen
So sieht sie für Menschen aus
Eine XRechnung hat keine Optik. Diese Ansicht ist eine Darstellung der Daten, wie ein Viewer sie erzeugen würde.
Beispiel IT-Service GmbH
Musterstraße 12
40213 Düsseldorf
USt-IdNr. DE123456789Rechnung RE-2026-0147
Datum: 05.11.2026
Leistungsdatum: 31.10.2026
Leitweg-ID: 991-12345-67
Stadtverwaltung Musterstadt, Amt 61
Rathausplatz 1
12345 Musterstadt
| Pos. | Leistung | Menge | Einzelpreis | Netto |
| 1 | Beratung E-Rechnungsprozess | 8 Std. | 95,00 € | 760,00 € |
| 2 | Einrichtung Prüfumgebung | 1 Stk. | 240,00 € | 240,00 € |
| 3 | Mitarbeiterschulung (Pauschale) | 1 Stk. | 500,00 € | 500,00 € |
| Summe netto | 1.500,00 € |
| Umsatzsteuer 19 % | 285,00 € |
| Zahlbetrag | 1.785,00 € |
Zahlbar innerhalb von 14 Tagen ohne Abzug, bis 19.11.2026.
IBAN DE89 3704 0044 0532 0130 00, Verwendungszweck RE-2026-0147
Ansprechpartnerin: Erika Mustermann, +49 211 555 0100, rechnung@beispiel-it.example
Wo die Angaben in der Datei stehen
Die Tabelle zeigt, in welchem Feld welche Angabe landet. BT steht für Business Term, so heißen die Felder der EN 16931.
| Angabe | BT | Pfad in CII | Pfad in UBL | Wert hier |
| Rechnungsnummer | BT-1 | rsm:ExchangedDocument/ram:ID | cbc:ID | RE-2026-0147 |
| Rechnungsdatum | BT-2 | …/ram:IssueDateTime/udt:DateTimeString | cbc:IssueDate | 05.11.2026 |
| Rechnungstyp | BT-3 | rsm:ExchangedDocument/ram:TypeCode | cbc:InvoiceTypeCode | 380 (Rechnung) |
| Währung | BT-5 | …/ram:InvoiceCurrencyCode | cbc:DocumentCurrencyCode | EUR |
| Käuferreferenz (Leitweg-ID) | BT-10 | …/ram:BuyerReference | cbc:BuyerReference | 991-12345-67 |
| Name des Verkäufers | BT-27 | ram:SellerTradeParty/ram:Name | …/cac:PartyLegalEntity/cbc:RegistrationName | Beispiel IT-Service GmbH |
| Umsatzsteuer-ID | BT-31 | ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID | …/cac:PartyTaxScheme/cbc:CompanyID | DE123456789 |
| Ansprechpartner | BT-41 | ram:SellerTradeParty/ram:DefinedTradeContact/ram:PersonName | …/cac:Contact/cbc:Name | Erika Mustermann |
| Summe Positionen | BT-106 | …/ram:LineTotalAmount | cac:LegalMonetaryTotal/cbc:LineExtensionAmount | 1.500,00 € |
| Gesamtbetrag brutto | BT-112 | …/ram:GrandTotalAmount | cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount | 1.785,00 € |
| Zahlbetrag | BT-115 | …/ram:DuePayableAmount | cac:LegalMonetaryTotal/cbc:PayableAmount | 1.785,00 € |
Die CII-Datei im Wortlaut
<?xml version="1.0" encoding="UTF-8"?>
<rsm:CrossIndustryInvoice xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100" xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<rsm:ExchangedDocumentContext>
<ram:BusinessProcessSpecifiedDocumentContextParameter>
<ram:ID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</ram:ID>
</ram:BusinessProcessSpecifiedDocumentContextParameter>
<ram:GuidelineSpecifiedDocumentContextParameter>
<ram:ID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0</ram:ID>
</ram:GuidelineSpecifiedDocumentContextParameter>
</rsm:ExchangedDocumentContext>
<rsm:ExchangedDocument>
<ram:ID>RE-2026-0147</ram:ID>
<ram:TypeCode>380</ram:TypeCode>
<ram:IssueDateTime>
<udt:DateTimeString format="102">20261105</udt:DateTimeString>
</ram:IssueDateTime>
</rsm:ExchangedDocument>
<rsm:SupplyChainTradeTransaction>
<ram:IncludedSupplyChainTradeLineItem>
<ram:AssociatedDocumentLineDocument><ram:LineID>1</ram:LineID></ram:AssociatedDocumentLineDocument>
<ram:SpecifiedTradeProduct><ram:Name>Beratung E-Rechnungsprozess</ram:Name></ram:SpecifiedTradeProduct>
<ram:SpecifiedLineTradeAgreement><ram:NetPriceProductTradePrice><ram:ChargeAmount>95.00</ram:ChargeAmount></ram:NetPriceProductTradePrice></ram:SpecifiedLineTradeAgreement>
<ram:SpecifiedLineTradeDelivery><ram:BilledQuantity unitCode="HUR">8</ram:BilledQuantity></ram:SpecifiedLineTradeDelivery>
<ram:SpecifiedLineTradeSettlement>
<ram:ApplicableTradeTax><ram:TypeCode>VAT</ram:TypeCode><ram:CategoryCode>S</ram:CategoryCode><ram:RateApplicablePercent>19</ram:RateApplicablePercent></ram:ApplicableTradeTax>
<ram:SpecifiedTradeSettlementLineMonetarySummation><ram:LineTotalAmount>760.00</ram:LineTotalAmount></ram:SpecifiedTradeSettlementLineMonetarySummation>
</ram:SpecifiedLineTradeSettlement>
</ram:IncludedSupplyChainTradeLineItem>
<ram:IncludedSupplyChainTradeLineItem>
<ram:AssociatedDocumentLineDocument><ram:LineID>2</ram:LineID></ram:AssociatedDocumentLineDocument>
<ram:SpecifiedTradeProduct><ram:Name>Einrichtung Prüfumgebung</ram:Name></ram:SpecifiedTradeProduct>
<ram:SpecifiedLineTradeAgreement><ram:NetPriceProductTradePrice><ram:ChargeAmount>240.00</ram:ChargeAmount></ram:NetPriceProductTradePrice></ram:SpecifiedLineTradeAgreement>
<ram:SpecifiedLineTradeDelivery><ram:BilledQuantity unitCode="C62">1</ram:BilledQuantity></ram:SpecifiedLineTradeDelivery>
<ram:SpecifiedLineTradeSettlement>
<ram:ApplicableTradeTax><ram:TypeCode>VAT</ram:TypeCode><ram:CategoryCode>S</ram:CategoryCode><ram:RateApplicablePercent>19</ram:RateApplicablePercent></ram:ApplicableTradeTax>
<ram:SpecifiedTradeSettlementLineMonetarySummation><ram:LineTotalAmount>240.00</ram:LineTotalAmount></ram:SpecifiedTradeSettlementLineMonetarySummation>
</ram:SpecifiedLineTradeSettlement>
</ram:IncludedSupplyChainTradeLineItem>
<ram:IncludedSupplyChainTradeLineItem>
<ram:AssociatedDocumentLineDocument><ram:LineID>3</ram:LineID></ram:AssociatedDocumentLineDocument>
<ram:SpecifiedTradeProduct><ram:Name>Mitarbeiterschulung (Pauschale)</ram:Name></ram:SpecifiedTradeProduct>
<ram:SpecifiedLineTradeAgreement><ram:NetPriceProductTradePrice><ram:ChargeAmount>500.00</ram:ChargeAmount></ram:NetPriceProductTradePrice></ram:SpecifiedLineTradeAgreement>
<ram:SpecifiedLineTradeDelivery><ram:BilledQuantity unitCode="C62">1</ram:BilledQuantity></ram:SpecifiedLineTradeDelivery>
<ram:SpecifiedLineTradeSettlement>
<ram:ApplicableTradeTax><ram:TypeCode>VAT</ram:TypeCode><ram:CategoryCode>S</ram:CategoryCode><ram:RateApplicablePercent>19</ram:RateApplicablePercent></ram:ApplicableTradeTax>
<ram:SpecifiedTradeSettlementLineMonetarySummation><ram:LineTotalAmount>500.00</ram:LineTotalAmount></ram:SpecifiedTradeSettlementLineMonetarySummation>
</ram:SpecifiedLineTradeSettlement>
</ram:IncludedSupplyChainTradeLineItem>
<ram:ApplicableHeaderTradeAgreement>
<ram:BuyerReference>991-12345-67</ram:BuyerReference>
<ram:SellerTradeParty>
<ram:Name>Beispiel IT-Service GmbH</ram:Name>
<ram:DefinedTradeContact>
<ram:PersonName>Erika Mustermann</ram:PersonName>
<ram:TelephoneUniversalCommunication><ram:CompleteNumber>+49 211 555 0100</ram:CompleteNumber></ram:TelephoneUniversalCommunication>
<ram:EmailURIUniversalCommunication><ram:URIID>rechnung@beispiel-it.example</ram:URIID></ram:EmailURIUniversalCommunication>
</ram:DefinedTradeContact>
<ram:PostalTradeAddress>
<ram:PostcodeCode>40213</ram:PostcodeCode>
<ram:LineOne>Musterstraße 12</ram:LineOne>
<ram:CityName>Düsseldorf</ram:CityName>
<ram:CountryID>DE</ram:CountryID>
</ram:PostalTradeAddress>
<ram:URIUniversalCommunication><ram:URIID schemeID="EM">rechnung@beispiel-it.example</ram:URIID></ram:URIUniversalCommunication>
<ram:SpecifiedTaxRegistration><ram:ID schemeID="VA">DE123456789</ram:ID></ram:SpecifiedTaxRegistration>
</ram:SellerTradeParty>
<ram:BuyerTradeParty>
<ram:Name>Stadtverwaltung Musterstadt, Amt 61</ram:Name>
<ram:PostalTradeAddress>
<ram:PostcodeCode>12345</ram:PostcodeCode>
<ram:LineOne>Rathausplatz 1</ram:LineOne>
<ram:CityName>Musterstadt</ram:CityName>
<ram:CountryID>DE</ram:CountryID>
</ram:PostalTradeAddress>
<ram:URIUniversalCommunication><ram:URIID schemeID="EM">rechnungseingang@musterstadt.example</ram:URIID></ram:URIUniversalCommunication>
</ram:BuyerTradeParty>
</ram:ApplicableHeaderTradeAgreement>
<ram:ApplicableHeaderTradeDelivery>
<ram:ActualDeliverySupplyChainEvent>
<ram:OccurrenceDateTime><udt:DateTimeString format="102">20261031</udt:DateTimeString></ram:OccurrenceDateTime>
</ram:ActualDeliverySupplyChainEvent>
</ram:ApplicableHeaderTradeDelivery>
<ram:ApplicableHeaderTradeSettlement>
<ram:PaymentReference>RE-2026-0147</ram:PaymentReference>
<ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
<ram:SpecifiedTradeSettlementPaymentMeans>
<ram:TypeCode>58</ram:TypeCode>
<ram:PayeePartyCreditorFinancialAccount><ram:IBANID>DE89370400440532013000</ram:IBANID></ram:PayeePartyCreditorFinancialAccount>
</ram:SpecifiedTradeSettlementPaymentMeans>
<ram:ApplicableTradeTax>
<ram:CalculatedAmount>285.00</ram:CalculatedAmount>
<ram:TypeCode>VAT</ram:TypeCode>
<ram:BasisAmount>1500.00</ram:BasisAmount>
<ram:CategoryCode>S</ram:CategoryCode>
<ram:RateApplicablePercent>19</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>
<ram:SpecifiedTradePaymentTerms>
<ram:Description>Zahlbar innerhalb von 14 Tagen ohne Abzug.</ram:Description>
<ram:DueDateDateTime><udt:DateTimeString format="102">20261119</udt:DateTimeString></ram:DueDateDateTime>
</ram:SpecifiedTradePaymentTerms>
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
<ram:LineTotalAmount>1500.00</ram:LineTotalAmount>
<ram:TaxBasisTotalAmount>1500.00</ram:TaxBasisTotalAmount>
<ram:TaxTotalAmount currencyID="EUR">285.00</ram:TaxTotalAmount>
<ram:GrandTotalAmount>1785.00</ram:GrandTotalAmount>
<ram:DuePayableAmount>1785.00</ram:DuePayableAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
</ram:ApplicableHeaderTradeSettlement>
</rsm:SupplyChainTradeTransaction>
</rsm:CrossIndustryInvoice>
Worauf es hier ankommt
- Die Leitweg-ID steht in
BuyerReference. Fehlt sie, meldet der Prüfer BR-DE-15.
- Netto 1.500,00 plus 285,00 Steuer ergibt exakt 1.785,00. Schon ein Cent Abweichung löst BR-CO-15 aus.
- Der Ansprechpartner hat Name, Telefon und E-Mail. Jedes dieser Felder ist in der XRechnung Pflicht.
Beispieldateien dürfen frei verwendet werden, etwa als Testdatei für Ihre Software. Die IBAN ist eine reine Testnummer.