<?xml version="1.0" encoding="UTF-8"?>
<CrossIndustryInvoice xmlns="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100"
                      xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100"
                      xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100"
                      xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">
   <ExchangedDocumentContext>
      <ram:BusinessProcessSpecifiedDocumentContextParameter>
         <ram:ID>XRechnung 3.0.0</ram:ID>
      </ram:BusinessProcessSpecifiedDocumentContextParameter>
      <ram:GuidelineSpecifiedDocumentContextParameter>
         <ram:ID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0</ram:ID>
      </ram:GuidelineSpecifiedDocumentContextParameter>
   </ExchangedDocumentContext>
   <ExchangedDocument>
      <ram:ID>12345</ram:ID>
      <ram:TypeCode>380</ram:TypeCode>
      <ram:IssueDateTime>
         <udt:DateTimeString format="102">20201217</udt:DateTimeString>
      </ram:IssueDateTime>
   </ExchangedDocument>
   <SupplyChainTradeTransaction>
      <ram:IncludedSupplyChainTradeLineItem>
         <ram:AssociatedDocumentLineDocument>
            <ram:LineID>1</ram:LineID>
         </ram:AssociatedDocumentLineDocument>
         <ram:SpecifiedTradeProduct>
            <ram:Name>TestTestTest</ram:Name>
         </ram:SpecifiedTradeProduct>
         <ram:SpecifiedLineTradeAgreement>
            <ram:GrossPriceProductTradePrice>
               <ram:ChargeAmount>12345</ram:ChargeAmount>
               <ram:BasisQuantity unitCode="MIK">1</ram:BasisQuantity>
               <ram:AppliedTradeAllowanceCharge>
                  <ram:ChargeIndicator>
                     <udt:Indicator>false</udt:Indicator>
                  </ram:ChargeIndicator>
                  <ram:ActualAmount>0</ram:ActualAmount>
               </ram:AppliedTradeAllowanceCharge>
            </ram:GrossPriceProductTradePrice>
            <ram:NetPriceProductTradePrice>
               <ram:ChargeAmount>12345</ram:ChargeAmount>
               <ram:BasisQuantity unitCode="MIK">1</ram:BasisQuantity>
            </ram:NetPriceProductTradePrice>
         </ram:SpecifiedLineTradeAgreement>
         <ram:SpecifiedLineTradeDelivery>
            <ram:BilledQuantity unitCode="MIK">678</ram:BilledQuantity>
         </ram:SpecifiedLineTradeDelivery>
         <ram:SpecifiedLineTradeSettlement>
            <ram:ApplicableTradeTax>
               <ram:TypeCode>VAT</ram:TypeCode>
               <ram:CategoryCode>S</ram:CategoryCode>
               <ram:RateApplicablePercent>16</ram:RateApplicablePercent>
            </ram:ApplicableTradeTax>
            <ram:SpecifiedTradeSettlementLineMonetarySummation>
               <ram:LineTotalAmount>8369910</ram:LineTotalAmount>
            </ram:SpecifiedTradeSettlementLineMonetarySummation>
         </ram:SpecifiedLineTradeSettlement>
      </ram:IncludedSupplyChainTradeLineItem>
      <ram:ApplicableHeaderTradeAgreement>
         <ram:BuyerReference>TestTestTest</ram:BuyerReference>
         <ram:SellerTradeParty>
            <ram:Name>TestTestTest</ram:Name>
            <ram:DefinedTradeContact>
               <ram:PersonName>TestTestTest</ram:PersonName>
               <ram:TelephoneUniversalCommunication>
                  <ram:CompleteNumber>0123456</ram:CompleteNumber>
               </ram:TelephoneUniversalCommunication>
               <ram:EmailURIUniversalCommunication>
                  <ram:URIID>TestTestTest@TestTestTest-invalid-domain.test</ram:URIID>
               </ram:EmailURIUniversalCommunication>
            </ram:DefinedTradeContact>
            <ram:PostalTradeAddress>
               <ram:PostcodeCode>12345</ram:PostcodeCode>
               <ram:CityName>Berlin</ram:CityName>
               <ram:CountryID>DE</ram:CountryID>
            </ram:PostalTradeAddress>
            <ram:URIUniversalCommunication>
               <ram:URIID schemeID="0088">rechnungsausgang@test.de</ram:URIID>
            </ram:URIUniversalCommunication>
            <ram:SpecifiedTaxRegistration>
               <ram:ID schemeID="VA">DE1234</ram:ID>
            </ram:SpecifiedTaxRegistration>
         </ram:SellerTradeParty>
         <ram:BuyerTradeParty>
            <ram:Name>TestTestTest</ram:Name>
            <ram:PostalTradeAddress>
               <ram:PostcodeCode>12345</ram:PostcodeCode>
               <ram:CityName>Berlin</ram:CityName>
               <ram:CountryID>DE</ram:CountryID>
            </ram:PostalTradeAddress>
            <ram:URIUniversalCommunication>
               <ram:URIID schemeID="0088">rechnungseingang@test.de</ram:URIID>
            </ram:URIUniversalCommunication>
         </ram:BuyerTradeParty>
         <ram:AdditionalReferencedDocument>
            <ram:IssuerAssignedID>XRechnung-UBL-2020-12-17-no-attachments.xml</ram:IssuerAssignedID>
            <ram:TypeCode>916</ram:TypeCode>
            <ram:AttachmentBinaryObject mimeCode="application/xml"
                                        filename="XRechnung-UBL-2020-12-17-no-attachments.xml">[encoded data, 10160 characters]</ram:AttachmentBinaryObject>
         </ram:AdditionalReferencedDocument>
      </ram:ApplicableHeaderTradeAgreement>
      <ram:ApplicableHeaderTradeDelivery/>
      <ram:ApplicableHeaderTradeSettlement>
         <ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
         <ram:SpecifiedTradeSettlementPaymentMeans>
            <ram:TypeCode>58</ram:TypeCode>
            <ram:Information>Informationen über das Bankkonto, auf das die Überweisung zu leisten ist</ram:Information>
            <ram:PayeePartyCreditorFinancialAccount>
               <ram:IBANID>DE91100000000123456789</ram:IBANID>
            </ram:PayeePartyCreditorFinancialAccount>
            </ram:SpecifiedTradeSettlementPaymentMeans>
         <ram:ApplicableTradeTax>
            <ram:CalculatedAmount>1339185.6</ram:CalculatedAmount>
            <ram:TypeCode>VAT</ram:TypeCode>
            <ram:BasisAmount>8369910</ram:BasisAmount>
            <ram:CategoryCode>S</ram:CategoryCode>
            <ram:RateApplicablePercent>16</ram:RateApplicablePercent>
         </ram:ApplicableTradeTax>
         <ram:SpecifiedTradePaymentTerms>
            <ram:DueDateDateTime>
               <udt:DateTimeString format="102">20201231</udt:DateTimeString>
            </ram:DueDateDateTime>
         </ram:SpecifiedTradePaymentTerms>
         <ram:SpecifiedTradeSettlementHeaderMonetarySummation>
            <ram:LineTotalAmount>8369910</ram:LineTotalAmount>
            <ram:ChargeTotalAmount>0</ram:ChargeTotalAmount>
            <ram:AllowanceTotalAmount>0</ram:AllowanceTotalAmount>
            <ram:TaxBasisTotalAmount>8369910</ram:TaxBasisTotalAmount>
            <ram:TaxTotalAmount currencyID="EUR">1339185.6</ram:TaxTotalAmount>
            <ram:RoundingAmount>0</ram:RoundingAmount>
            <ram:GrandTotalAmount>9709095.6</ram:GrandTotalAmount>
            <ram:TotalPrepaidAmount>0</ram:TotalPrepaidAmount>
            <ram:DuePayableAmount>9709095.6</ram:DuePayableAmount>
         </ram:SpecifiedTradeSettlementHeaderMonetarySummation>
      </ram:ApplicableHeaderTradeSettlement>
   </SupplyChainTradeTransaction>
</CrossIndustryInvoice>
