<?xml version="1.0" encoding="UTF-8"?>
<!--
  ABSICHTLICH FEHLERHAFTE Beispiel-XRechnung fuer Testzwecke.

  Identisch zu xrechnung-3.0-ubl-beispiel.xml, aber mit drei eingebauten
  Verstoessen, die je einen der drei Markierungstypen im Beleg ausloesen:

    BR-DE-15  Leitweg-ID (BT-10) fehlt        -> Feld im Kopf wird markiert
    BR-CO-10  Summe der Positionen falsch     -> "Summe != BT-106" bei der Summe
    BR-CO-13  Nettosumme passt nicht dazu
    BR-25     Position 3 hat keine Bezeichnung -> Tabellenzeile wird eingefaerbt

  Die Exportknoepfe bleiben nutzbar; Fehler blockieren nichts.
-->
<ubl:Invoice
    xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
    xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
    xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">

  <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0</cbc:CustomizationID>
  <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>

  <cbc:ID>2026-0481</cbc:ID>
  <cbc:IssueDate>2026-08-16</cbc:IssueDate>
  <cbc:DueDate>2026-09-15</cbc:DueDate>
  <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
  <cbc:Note>Leistung nach HOAI, Leistungsphasen 1 bis 4. Es gelten unsere Allgemeinen Geschaeftsbedingungen.</cbc:Note>
  <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>

  <cac:InvoicePeriod>
    <cbc:StartDate>2026-07-01</cbc:StartDate>
    <cbc:EndDate>2026-07-31</cbc:EndDate>
  </cac:InvoicePeriod>

  <cac:OrderReference>
    <cbc:ID>4500123456</cbc:ID>
  </cac:OrderReference>

  <cac:AccountingSupplierParty>
    <cac:Party>
      <cbc:EndpointID schemeID="EM">rechnung@nordlicht-ing.example</cbc:EndpointID>
      <cac:PartyName>
        <cbc:Name>Nordlicht Ingenieurbuero</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Hafenstrasse 12</cbc:StreetName>
        <cbc:AdditionalStreetName>Haus B, 3. Obergeschoss</cbc:AdditionalStreetName>
        <cbc:CityName>Kiel</cbc:CityName>
        <cbc:PostalZone>24103</cbc:PostalZone>
        <cac:Country>
          <cbc:IdentificationCode>DE</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>DE256789123</cbc:CompanyID>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Nordlicht Ingenieurbuero GmbH</cbc:RegistrationName>
        <cbc:CompanyLegalForm>Sitz Kiel, Amtsgericht Kiel HRB 12345, Geschaeftsfuehrerin Marlene Voss</cbc:CompanyLegalForm>
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Marlene Voss</cbc:Name>
        <cbc:Telephone>+49 431 55012-0</cbc:Telephone>
        <cbc:ElectronicMail>rechnung@nordlicht-ing.example</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingSupplierParty>

  <cac:AccountingCustomerParty>
    <cac:Party>
      <cbc:EndpointID schemeID="EM">rechnungseingang@kiel.example</cbc:EndpointID>
      <cac:PartyName>
        <cbc:Name>Landeshauptstadt Kiel</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Fleethoern 9</cbc:StreetName>
        <cbc:AdditionalStreetName>Amt fuer Hochbau und Gebaeudewirtschaft</cbc:AdditionalStreetName>
        <cbc:CityName>Kiel</cbc:CityName>
        <cbc:PostalZone>24103</cbc:PostalZone>
        <cac:Country>
          <cbc:IdentificationCode>DE</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Landeshauptstadt Kiel, Amt fuer Hochbau und Gebaeudewirtschaft</cbc:RegistrationName>
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Herr Petersen</cbc:Name>
        <cbc:Telephone>+49 431 901-0</cbc:Telephone>
        <cbc:ElectronicMail>hochbau@kiel.example</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingCustomerParty>

  <cac:Delivery>
    <cbc:ActualDeliveryDate>2026-07-31</cbc:ActualDeliveryDate>
  </cac:Delivery>

  <cac:PaymentMeans>
    <cbc:PaymentMeansCode>58</cbc:PaymentMeansCode>
    <cbc:PaymentID>2026-0481</cbc:PaymentID>
    <cac:PayeeFinancialAccount>
      <cbc:ID>DE02120300000000202051</cbc:ID>
      <cbc:Name>Nordlicht Ingenieurbuero GmbH</cbc:Name>
      <cac:FinancialInstitutionBranch>
        <cbc:ID>BYLADEM1001</cbc:ID>
      </cac:FinancialInstitutionBranch>
    </cac:PayeeFinancialAccount>
  </cac:PaymentMeans>

  <cac:PaymentTerms>
    <cbc:Note>Zahlbar ohne Abzug bis zum 15.09.2026.</cbc:Note>
  </cac:PaymentTerms>

  <cac:TaxTotal>
    <cbc:TaxAmount currencyID="EUR">1176.51</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="EUR">6121.40</cbc:TaxableAmount>
      <cbc:TaxAmount currencyID="EUR">1163.07</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>19.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="EUR">192.00</cbc:TaxableAmount>
      <cbc:TaxAmount currencyID="EUR">13.44</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>7.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>

  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount currencyID="EUR">6000.00</cbc:LineExtensionAmount>
    <cbc:TaxExclusiveAmount currencyID="EUR">6313.40</cbc:TaxExclusiveAmount>
    <cbc:TaxInclusiveAmount currencyID="EUR">7489.91</cbc:TaxInclusiveAmount>
    <cbc:PayableAmount currencyID="EUR">7489.91</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>

  <cac:InvoiceLine>
    <cbc:ID>1</cbc:ID>
    <cbc:Note>Leistungsphasen 1 bis 4 gemaess Angebot vom 12.05.2026.</cbc:Note>
    <cbc:InvoicedQuantity unitCode="HUR">42</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="EUR">4137.00</cbc:LineExtensionAmount>
    <cac:Item>
      <cbc:Description>Statische Berechnung und Nachweisfuehrung fuer den Neubau der Sporthalle Ostufer.</cbc:Description>
      <cbc:Name>Tragwerksplanung Sporthalle Ostufer</cbc:Name>
      <cac:SellersItemIdentification>
        <cbc:ID>ING-TWP-01</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>19.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="EUR">98.50</cbc:PriceAmount>
    </cac:Price>
  </cac:InvoiceLine>

  <cac:InvoiceLine>
    <cbc:ID>2</cbc:ID>
    <cbc:InvoicedQuantity unitCode="C62">1</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="EUR">1850.00</cbc:LineExtensionAmount>
    <cac:Item>
      <cbc:Description>Baugrunduntersuchung mit zwei Rammkernsondierungen und Laborauswertung, Pauschale.</cbc:Description>
      <cbc:Name>Baugrundgutachten</cbc:Name>
      <cac:SellersItemIdentification>
        <cbc:ID>ING-BGG-02</cbc:ID>
      </cac:SellersItemIdentification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>19.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="EUR">1850.00</cbc:PriceAmount>
    </cac:Price>
  </cac:InvoiceLine>

  <cac:InvoiceLine>
    <cbc:ID>3</cbc:ID>
    <cbc:InvoicedQuantity unitCode="KMT">320</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="EUR">134.40</cbc:LineExtensionAmount>
    <cac:Item>
      <cbc:Description>Fahrten zur Baustelle, acht Ortstermine.</cbc:Description>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>19.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="EUR">0.42</cbc:PriceAmount>
    </cac:Price>
  </cac:InvoiceLine>

  <cac:InvoiceLine>
    <cbc:ID>4</cbc:ID>
    <cbc:InvoicedQuantity unitCode="C62">3</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="EUR">192.00</cbc:LineExtensionAmount>
    <cac:Item>
      <cbc:Description>Weitergabe beschaffter Normblaetter, ermaessigter Steuersatz.</cbc:Description>
      <cbc:Name>DIN-Normen Eurocode 2</cbc:Name>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>7.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="EUR">64.00</cbc:PriceAmount>
    </cac:Price>
  </cac:InvoiceLine>

</ubl:Invoice>
