<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#conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0</cbc:CustomizationID>
  <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>
  <cbc:ID>12345</cbc:ID>
  <cbc:IssueDate>2019-05-15</cbc:IssueDate>
  <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
  <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
  <cbc:BuyerReference>12345678-12345-83</cbc:BuyerReference>
  <cac:InvoicePeriod>
    <cbc:StartDate>2019-02-01</cbc:StartDate>
    <cbc:EndDate>2019-05-07</cbc:EndDate>
  </cac:InvoicePeriod>
  <cac:OrderReference>
    <cbc:ID>123</cbc:ID>
  </cac:OrderReference>
  <cac:AccountingSupplierParty>
    <cac:Party>
      <cbc:EndpointID schemeID="EM">seller@email.de</cbc:EndpointID>
      <cac:PartyIdentification>
        <cbc:ID schemeID="SEPA">ID123456</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
        <cbc:Name>[Seller trading name]</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>[Seller address line 1]</cbc:StreetName>
        <cbc:CityName>[Seller city]</cbc:CityName>
        <cbc:PostalZone>12345</cbc:PostalZone>
        <cac:Country>
          <cbc:IdentificationCode>DE</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>ATU123456789</cbc:CompanyID>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>[Seller name]</cbc:RegistrationName>
        <cbc:CompanyID>1122334455</cbc:CompanyID>
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Kundencenter</cbc:Name>
        <cbc:Telephone>0800-12345678</cbc:Telephone>
        <cbc:ElectronicMail>kundencenter@sellder.de</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingSupplierParty>
  <cac:AccountingCustomerParty>
    <cac:Party>
      <cbc:EndpointID schemeID="EM">buyer@info.de</cbc:EndpointID>
      <cac:PartyIdentification>
        <cbc:ID>345LA5324</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
        <cbc:Name>[Buyer name]</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>[Buyer address line 1]</cbc:StreetName>
        <cbc:CityName>[Buyer city]</cbc:CityName>
        <cbc:PostalZone>12345</cbc:PostalZone>
        <cac:Country>
          <cbc:IdentificationCode>DE</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>[Buyer name]</cbc:RegistrationName>
      </cac:PartyLegalEntity>
    </cac:Party>
  </cac:AccountingCustomerParty>
  <cac:PaymentMeans>
    <cbc:PaymentMeansCode>59</cbc:PaymentMeansCode>

    <cac:PaymentMandate>
      <cbc:ID>[Mandate reference identifier]</cbc:ID>
      <cac:PayerFinancialAccount>
        <cbc:ID>DE79000000001234567890</cbc:ID>
      </cac:PayerFinancialAccount>
    </cac:PaymentMandate>
  </cac:PaymentMeans>
  <cac:PaymentTerms>
    <cbc:Note>Zahlbar innerhalb 14 Tagen nach Erhalt der Rechnung.</cbc:Note>
  </cac:PaymentTerms>
  <cac:TaxTotal>
    <cbc:TaxAmount currencyID="EUR">5.27</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="EUR">27.72</cbc:TaxableAmount>
      <cbc:TaxAmount currencyID="EUR">5.27</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>19</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount currencyID="EUR">27.72</cbc:LineExtensionAmount>
    <cbc:TaxExclusiveAmount currencyID="EUR">27.72</cbc:TaxExclusiveAmount>
    <cbc:TaxInclusiveAmount currencyID="EUR">32.99</cbc:TaxInclusiveAmount>
    <cbc:PayableAmount currencyID="EUR">32.99</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>
  <cac:InvoiceLine>
    <cbc:ID>1</cbc:ID>
    <cbc:InvoicedQuantity unitCode="XPP">1</cbc:InvoicedQuantity>
    <cbc:LineExtensionAmount currencyID="EUR">27.72</cbc:LineExtensionAmount>
    <cac:Item>
      <cbc:Name>PDD</cbc:Name>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>19</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price>
      <cbc:PriceAmount currencyID="EUR">27.72</cbc:PriceAmount>
    </cac:Price>
    <cac:SubInvoiceLine>
      <cbc:ID>1 1</cbc:ID>
      <cbc:InvoicedQuantity unitCode="XPP">28</cbc:InvoicedQuantity>
      <cbc:LineExtensionAmount currencyID="EUR">12.32</cbc:LineExtensionAmount>
      <cac:Item>
        <cbc:Name>Hose Bernhard ws UKD</cbc:Name>
        <cac:ClassifiedTaxCategory>
          <cbc:ID>S</cbc:ID>
          <cbc:Percent>19</cbc:Percent>
          <cac:TaxScheme>
            <cbc:ID>VAT</cbc:ID>
          </cac:TaxScheme>
        </cac:ClassifiedTaxCategory>
      </cac:Item>
      <cac:Price>
        <cbc:PriceAmount currencyID="EUR">0.44</cbc:PriceAmount>
      </cac:Price>
    </cac:SubInvoiceLine>
    <cac:SubInvoiceLine>
      <cbc:ID>1 2</cbc:ID>
      <cbc:InvoicedQuantity unitCode="XPP">35</cbc:InvoicedQuantity>
      <cbc:LineExtensionAmount currencyID="EUR">15.40</cbc:LineExtensionAmount>
      <cac:Item>
        <cbc:Name>Kasack Bodo blau UKD</cbc:Name>
        <cac:ClassifiedTaxCategory>
          <cbc:ID>S</cbc:ID>
          <cbc:Percent>19</cbc:Percent>
          <cac:TaxScheme>
            <cbc:ID>VAT</cbc:ID>
          </cac:TaxScheme>
        </cac:ClassifiedTaxCategory>
      </cac:Item>
      <cac:Price>
        <cbc:PriceAmount currencyID="EUR">0.44</cbc:PriceAmount>
      </cac:Price>
    </cac:SubInvoiceLine>
  </cac:InvoiceLine>
</ubl:Invoice>
