<?xml version="1.0" encoding="UTF-8"?>

<rsm:CrossIndustryInvoice xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">  
  <rsm:ExchangedDocumentContext> 
    <ram:GuidelineSpecifiedDocumentContextParameter> 
      <ram:ID>urn:cen.eu:en16931:2017</ram:ID> 
    </ram:GuidelineSpecifiedDocumentContextParameter> 
  </rsm:ExchangedDocumentContext>  
  <rsm:ExchangedDocument> 
    <ram:ID>123</ram:ID>  
    <ram:TypeCode>384</ram:TypeCode>  
    <ram:IssueDateTime>
      <udt:DateTimeString format="102">20201222</udt:DateTimeString>
    </ram:IssueDateTime> 
  </rsm:ExchangedDocument>  
  <rsm:SupplyChainTradeTransaction> 
    <ram:IncludedSupplyChainTradeLineItem> 
      <ram:AssociatedDocumentLineDocument> 
        <ram:LineID>1</ram:LineID> 
      </ram:AssociatedDocumentLineDocument>  
      <ram:SpecifiedTradeProduct> 
        <ram:Name>Testprodukt</ram:Name>  
        <ram:Description/> 
      </ram:SpecifiedTradeProduct>  
      <ram:SpecifiedLineTradeAgreement> 
        <ram:GrossPriceProductTradePrice> 
          <ram:ChargeAmount>1.0000</ram:ChargeAmount>  
          <ram:BasisQuantity unitCode="C62">1.0000</ram:BasisQuantity> 
        </ram:GrossPriceProductTradePrice>  
        <ram:NetPriceProductTradePrice> 
          <ram:ChargeAmount>1.0000</ram:ChargeAmount>  
          <ram:BasisQuantity unitCode="C62">1.0000</ram:BasisQuantity> 
        </ram:NetPriceProductTradePrice> 
      </ram:SpecifiedLineTradeAgreement>  
      <ram:SpecifiedLineTradeDelivery> 
        <ram:BilledQuantity unitCode="C62">-1.0000</ram:BilledQuantity> 
      </ram:SpecifiedLineTradeDelivery>  
      <ram:SpecifiedLineTradeSettlement> 
        <ram:ApplicableTradeTax> 
          <ram:TypeCode>VAT</ram:TypeCode>  
          <ram:CategoryCode>S</ram:CategoryCode>  
          <ram:RateApplicablePercent>19.00</ram:RateApplicablePercent> 
        </ram:ApplicableTradeTax>  
        <ram:SpecifiedTradeSettlementLineMonetarySummation> 
          <ram:LineTotalAmount>-1.00</ram:LineTotalAmount> 
        </ram:SpecifiedTradeSettlementLineMonetarySummation> 
      </ram:SpecifiedLineTradeSettlement> 
    </ram:IncludedSupplyChainTradeLineItem>  
    <ram:IncludedSupplyChainTradeLineItem> 
      <ram:AssociatedDocumentLineDocument> 
        <ram:LineID>2</ram:LineID> 
      </ram:AssociatedDocumentLineDocument>  
      <ram:SpecifiedTradeProduct> 
        <ram:Name>Testprodukt</ram:Name>  
        <ram:Description/> 
      </ram:SpecifiedTradeProduct>  
      <ram:SpecifiedLineTradeAgreement> 
        <ram:GrossPriceProductTradePrice> 
          <ram:ChargeAmount>1.0000</ram:ChargeAmount>  
          <ram:BasisQuantity unitCode="C62">1.0000</ram:BasisQuantity> 
        </ram:GrossPriceProductTradePrice>  
        <ram:NetPriceProductTradePrice> 
          <ram:ChargeAmount>1.0000</ram:ChargeAmount>  
          <ram:BasisQuantity unitCode="C62">1.0000</ram:BasisQuantity> 
        </ram:NetPriceProductTradePrice> 
      </ram:SpecifiedLineTradeAgreement>  
      <ram:SpecifiedLineTradeDelivery> 
        <ram:BilledQuantity unitCode="C62">-1.0000</ram:BilledQuantity> 
      </ram:SpecifiedLineTradeDelivery>  
      <ram:SpecifiedLineTradeSettlement> 
        <ram:ApplicableTradeTax> 
          <ram:TypeCode>VAT</ram:TypeCode>  
          <ram:CategoryCode>S</ram:CategoryCode>  
          <ram:RateApplicablePercent>19.00</ram:RateApplicablePercent> 
        </ram:ApplicableTradeTax>  
        <ram:SpecifiedTradeSettlementLineMonetarySummation> 
          <ram:LineTotalAmount>-1.00</ram:LineTotalAmount> 
        </ram:SpecifiedTradeSettlementLineMonetarySummation> 
      </ram:SpecifiedLineTradeSettlement> 
    </ram:IncludedSupplyChainTradeLineItem>  
    <ram:IncludedSupplyChainTradeLineItem> 
      <ram:AssociatedDocumentLineDocument> 
        <ram:LineID>3</ram:LineID> 
      </ram:AssociatedDocumentLineDocument>  
      <ram:SpecifiedTradeProduct> 
        <ram:Name>Testprodukt</ram:Name>  
        <ram:Description/> 
      </ram:SpecifiedTradeProduct>  
      <ram:SpecifiedLineTradeAgreement> 
        <ram:GrossPriceProductTradePrice> 
          <ram:ChargeAmount>1.0000</ram:ChargeAmount>  
          <ram:BasisQuantity unitCode="C62">1.0000</ram:BasisQuantity> 
        </ram:GrossPriceProductTradePrice>  
        <ram:NetPriceProductTradePrice> 
          <ram:ChargeAmount>1.0000</ram:ChargeAmount>  
          <ram:BasisQuantity unitCode="C62">1.0000</ram:BasisQuantity> 
        </ram:NetPriceProductTradePrice> 
      </ram:SpecifiedLineTradeAgreement>  
      <ram:SpecifiedLineTradeDelivery> 
        <ram:BilledQuantity unitCode="C62">-1.0000</ram:BilledQuantity> 
      </ram:SpecifiedLineTradeDelivery>  
      <ram:SpecifiedLineTradeSettlement> 
        <ram:ApplicableTradeTax> 
          <ram:TypeCode>VAT</ram:TypeCode>  
          <ram:CategoryCode>S</ram:CategoryCode>  
          <ram:RateApplicablePercent>19.00</ram:RateApplicablePercent> 
        </ram:ApplicableTradeTax>  
        <ram:SpecifiedTradeSettlementLineMonetarySummation> 
          <ram:LineTotalAmount>-1.00</ram:LineTotalAmount> 
        </ram:SpecifiedTradeSettlementLineMonetarySummation> 
      </ram:SpecifiedLineTradeSettlement> 
    </ram:IncludedSupplyChainTradeLineItem>  
    <ram:ApplicableHeaderTradeAgreement> 
      <ram:SellerTradeParty> 
        <ram:Name>Test company</ram:Name>  
        <ram:PostalTradeAddress> 
          <ram:PostcodeCode>55232</ram:PostcodeCode>  
          <ram:LineOne>teststr</ram:LineOne>  
          <ram:CityName>teststadt</ram:CityName>  
          <ram:CountryID>DE</ram:CountryID> 
        </ram:PostalTradeAddress>  
        <ram:SpecifiedTaxRegistration> 
          <ram:ID schemeID="VA">DE0815</ram:ID> 
        </ram:SpecifiedTaxRegistration>  
        <ram:SpecifiedTaxRegistration> 
          <ram:ID schemeID="FC">4711</ram:ID> 
        </ram:SpecifiedTaxRegistration> 
      </ram:SellerTradeParty>  
      <ram:BuyerTradeParty> 
        <ram:Name>Franz Müller</ram:Name>  
        <ram:PostalTradeAddress> 
          <ram:PostcodeCode>55232</ram:PostcodeCode>  
          <ram:LineOne>teststr.12</ram:LineOne>  
          <ram:CityName>Entenhausen</ram:CityName>  
          <ram:CountryID>DE</ram:CountryID> 
        </ram:PostalTradeAddress>  
        <ram:SpecifiedTaxRegistration> 
          <ram:ID schemeID="VA">DE0815</ram:ID> 
        </ram:SpecifiedTaxRegistration> 
      </ram:BuyerTradeParty>  
      <ram:BuyerOrderReferencedDocument> 
        <ram:IssuerAssignedID>0815</ram:IssuerAssignedID> 
      </ram:BuyerOrderReferencedDocument> 
    </ram:ApplicableHeaderTradeAgreement>  
    <ram:ApplicableHeaderTradeDelivery> 
      <ram:ActualDeliverySupplyChainEvent> 
        <ram:OccurrenceDateTime>
          <udt:DateTimeString format="102">20201222</udt:DateTimeString>
        </ram:OccurrenceDateTime> 
      </ram:ActualDeliverySupplyChainEvent> 
    </ram:ApplicableHeaderTradeDelivery>  
    <ram:ApplicableHeaderTradeSettlement> 
      <ram:PaymentReference>123</ram:PaymentReference>  
      <ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>  
      <ram:ApplicableTradeTax> 
        <ram:CalculatedAmount>-0.57</ram:CalculatedAmount>  
        <ram:TypeCode>VAT</ram:TypeCode>  
        <ram:BasisAmount>-3.00</ram:BasisAmount>  
        <ram:CategoryCode>S</ram:CategoryCode>  
        <ram:RateApplicablePercent>19.00</ram:RateApplicablePercent> 
      </ram:ApplicableTradeTax>  
      <ram:BillingSpecifiedPeriod>
        <ram:StartDateTime>
          <udt:DateTimeString format="102">20201222</udt:DateTimeString>
        </ram:StartDateTime>
        <ram:EndDateTime>
          <udt:DateTimeString format="102">20201222</udt:DateTimeString>
        </ram:EndDateTime>
      </ram:BillingSpecifiedPeriod>  
      <ram:SpecifiedTradeSettlementHeaderMonetarySummation> 
        <ram:LineTotalAmount>-3.00</ram:LineTotalAmount>  
        <ram:ChargeTotalAmount>0.00</ram:ChargeTotalAmount>
        <ram:AllowanceTotalAmount>0.00</ram:AllowanceTotalAmount>  
        <ram:TaxBasisTotalAmount>-3.00</ram:TaxBasisTotalAmount>  
        <ram:TaxTotalAmount currencyID="EUR">-0.57</ram:TaxTotalAmount>  
        <ram:GrandTotalAmount>-3.57</ram:GrandTotalAmount>  
        <ram:TotalPrepaidAmount>0.00</ram:TotalPrepaidAmount>  
        <ram:DuePayableAmount>-3.57</ram:DuePayableAmount> 
      </ram:SpecifiedTradeSettlementHeaderMonetarySummation> 
    </ram:ApplicableHeaderTradeSettlement> 
  </rsm:SupplyChainTradeTransaction> 
</rsm:CrossIndustryInvoice>
