Full Scenario: Customer purchases a TV and extended warranty. Customer receives loyalty points.

 

Anna purchases a TV and an extended warranty. 
Receipt includes links to warranty details for purchase.
Anna receives loyalty bonus for purchase. 

Data:
Basic Receipt data
Item Info
  MerchandiseHierarchy
    Serial Number
    Type code ‘Warranty’
        Item Link
          Link/URL to description of Warranty
        Contact Information
        Phone
        Address
        Email
        Website

LoyaltyAccount
    LoyaltyCard
    LoyaltyProgram

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl"?>
<DigitalReceipt xmlns="http://www.nrf-arts.org/IXRetail/namespace/" MajorVersion="6">
       <Transaction TypeCode="SaleTransaction">
              <BusinessUnit>
                      <UnitID Name="Ziba AB">223344-7722</UnitID>
                      <Address>
                             <AddressLine>Radiorörsgatan 1</AddressLine>
                             <City>Göteborg</City>
                             <PostalCode>43651</PostalCode>
                      </Address>
                      <Telephone>
                             <AreaCode>031</AreaCode>
                             <LocalNumber>123123</LocalNumber>
                      </Telephone>
                      <Website>www.ziba-butiken.se</Website>
              </BusinessUnit>
              <WorkstationID WorkstationLocation="001">1</WorkstationID>
              <OperatorID WorkerID="1234">Johan</OperatorID>
              <CurrencyCode>SEK</CurrencyCode>
              <TrailerText>
                      <Textppet köp i 14 dagar!</Text>
                      <Text>Tack för besöket</Text>
                      <Text>Välkommen åter</Text>
              </TrailerText>
              <ReceiptDateTime>2012-12-10T11:11:11</ReceiptDateTime>
              <ReceiptNumber>1234</ReceiptNumber>
              <RetailTransaction>
                      <LineItem>
                             <Sale>
                                    <ItemID Name="TV">1234</ItemID>
                                    <!-- The merchandise group for the sold item. -->
                                    <MerchandiseHierarchy Level="Department">TV</MerchandiseHierarchy>
                                    <ExtendedAmount>4995.00</ExtendedAmount>
                                    <Tax>
                                           <TaxableAmount>3996</TaxableAmount>
                                           <Amount>999</Amount>
                                           <Percent>25</Percent>
                                    </Tax>
                                    <SerialNumber>ABC1234TV321-9</SerialNumber>
                             </Sale>
                             <SequenceNumber>1</SequenceNumber>
                      </LineItem>
                      <LineItem>
                             <Sale ItemType="Warranty">
                                    <ItemID>TV321-9</ItemID>
                                    <!-- The merchandise group for the sold item. -->
                                    <MerchandiseHierarchy Level="Department">Garanti</MerchandiseHierarchy>
                                    <ExtendedAmount>299.00</ExtendedAmount>
                                    <Tax>
                                           <TaxableAmount>239.2</TaxableAmount>
                                           <Amount>59.2</Amount>
                                           <Percent>25</Percent>
                                    </Tax>
                             </Sale>
                             <SequenceNumber>2</SequenceNumber>
                             <!-- The link to the line item to which this warranty applies -->
                             <ItemLink>1</ItemLink>
                             <!-- The Product Content Management ID for this asset (warranty) -->
                             <PCMUUID AssetFileFormat="URL" AssetFileName="www.ziba-warranty.se">TV321-9</PCMUUID>
                             <ContactInformation>
                                    <Name>
                                           <Name>The Ziba TV Store</Name>
                                    </Name>
                             </ContactInformation>
                      </LineItem>
                      <LineItem>
                             <Tender SubTenderType="MasterCard" TenderType="CreditDebit" TypeCode="Sale">
                                    <Amount>4995</Amount>
                                    <Authorization>
                                           <AuthorizationCode>623456</AuthorizationCode>
                                           <ReferenceNumber>000123526083</ReferenceNumber>
                                           <MerchantNumber>00000000000000000000000000012356660</MerchantNumber>
                                           <AuthorizationDateTime>2017-12-10T11:11:11</AuthorizationDateTime>
                                           <AuthorizingTermID>0000000001004952</AuthorizingTermID>
                                           <AuthorizationExtension xmlns="http://www.etnetwork.org/digitalreceipt-extension/" AID="21" TSI="21" TVR="21" MaskedCardNumber="***************3234"/>
                                    </Authorization>
                             </Tender>
                             <SequenceNumber>3</SequenceNumber>
                      </LineItem>
                      <LineItem>
                             <Tax TaxType="VAT">
                                    <TaxableAmount>4235.20</TaxableAmount>
                                    <Amount>1058.80</Amount>
                                    <Percent>25</Percent>
                                    <TaxExtension xmlns="http://www.etnetwork.org/digitalreceipt-extension/" GrossAmount="5294.00"/>
                             </Tax>
                             <SequenceNumber>8</SequenceNumber>
                      </LineItem>
                      <Total TotalType="TransactionNetAmount">4235.20</Total>
                      <Total TotalType="TransactionTaxAmount">1058.80</Total>
                      <Total TotalType="TransactionTotalSavings">0</Total>
                      <Total TotalType="TransactionGrandAmount">5294.00</Total>
                      <Total TotalType="LoyaltyTotal">1000</Total>
                      <Total TotalType="TransactionBonusRewardAmount">1000</Total>
                      <Total TotalType="TransactionTaxableAmount">4235.20</Total>
                      <Customer ContactPreference="Phone">
                             <CustomerID>1241234</CustomerID>
                             <TelephoneNumber>
                                    <AreaCode>031</AreaCode>
                                    <LocalNumber>123123</LocalNumber>
                             </TelephoneNumber>
                             <Website>www.mycustomersite.com</Website>
                      </Customer>
                      <LoyaltyAccount>
                             <CustomerID>1241234</CustomerID>
                             <LoyaltyCard>
                                    <PrimaryAccountNumber>1241234</PrimaryAccountNumber>
                             </LoyaltyCard>
                             <LoyaltyProgram>
                                    <LoyaltyProgramID>julrusch</LoyaltyProgramID>
                                    <ExpirationDate>2012-12-31</ExpirationDate>
                                    <CumulativeNetSalesAmount>1500</CumulativeNetSalesAmount>
                                    <Points>1000</Points>
                             </LoyaltyProgram>
                      </LoyaltyAccount>
                      <RetailTransactionExtension xmlns="http://www.etnetwork.org/digitalreceipt-extension/">
                             <RefundPeriod LastDate="2017-12-24"/>
                             <ControlUnit ID="RIHTT000000123429" Code="TVQ965EWPPW499TTWRSDQWES82J983186;01ADJM59KEC3M9QTT92251KMZB"/>
                      </RetailTransactionExtension>
              </RetailTransaction>
       </Transaction>
</DigitalReceipt>