XRechnung-Prüfer

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. DE123456789
Rechnung 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.LeistungMengeEinzelpreisNetto
1Beratung E-Rechnungsprozess8 Std.95,00 €760,00 €
2Einrichtung Prüfumgebung1 Stk.240,00 €240,00 €
3Mitarbeiterschulung (Pauschale)1 Stk.500,00 €500,00 €
Summe netto1.500,00 €
Umsatzsteuer 19 %285,00 €
Zahlbetrag1.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.

AngabeBTPfad in CIIPfad in UBLWert hier
RechnungsnummerBT-1rsm:ExchangedDocument/ram:IDcbc:IDRE-2026-0147
RechnungsdatumBT-2…/ram:IssueDateTime/udt:DateTimeStringcbc:IssueDate05.11.2026
RechnungstypBT-3rsm:ExchangedDocument/ram:TypeCodecbc:InvoiceTypeCode380 (Rechnung)
WährungBT-5…/ram:InvoiceCurrencyCodecbc:DocumentCurrencyCodeEUR
Käuferreferenz (Leitweg-ID)BT-10…/ram:BuyerReferencecbc:BuyerReference991-12345-67
Name des VerkäufersBT-27ram:SellerTradeParty/ram:Name…/cac:PartyLegalEntity/cbc:RegistrationNameBeispiel IT-Service GmbH
Umsatzsteuer-IDBT-31ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID…/cac:PartyTaxScheme/cbc:CompanyIDDE123456789
AnsprechpartnerBT-41ram:SellerTradeParty/ram:DefinedTradeContact/ram:PersonName…/cac:Contact/cbc:NameErika Mustermann
Summe PositionenBT-106…/ram:LineTotalAmountcac:LegalMonetaryTotal/cbc:LineExtensionAmount1.500,00 €
Gesamtbetrag bruttoBT-112…/ram:GrandTotalAmountcac:LegalMonetaryTotal/cbc:TaxInclusiveAmount1.785,00 €
ZahlbetragBT-115…/ram:DuePayableAmountcac:LegalMonetaryTotal/cbc:PayableAmount1.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

Beispieldateien dürfen frei verwendet werden, etwa als Testdatei für Ihre Software. Die IBAN ist eine reine Testnummer.