Full scenario: Customer purchases a movie ticket.

 

Adam purchases a movie ticket using his credit card for the “Batman 4” to be picked up at the theatre. The ticket is included as a link that can be accessed from a smart phone or computer.

Data:
 Basic receipt data.
   ItemId
     MerchandiseHierarchy
       Ticket
 

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="./ticketmachine.1.xsl" xsi:schemaLocation="./xsd/DigitalReceiptV2.0.0.xsd"?><DigitalReceipt xmlns="http://www.nrf-arts.org/IXRetail/namespace/" FixVersion="0" MajorVersion="6" MinorVersion="0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ file:///C:/Users/etnetwork/Dropbox/_ETNetwork%20Tests/XSD/DigitalreceiptV2.0.0.xsd">
       <Transaction FixVersion="0" MajorVersion="6" MinorVersion="0" TypeCode="SaleTransaction">
              <BusinessUnit>
                      <UnitID Name="EssEff Bio AB">223344-7722</UnitID>
                      <Address>
                             <AddressLine>Biografstolsraden 1</AddressLine>
                             <City>Stockholm</City>
                             <PostalCode>12233</PostalCode>
                      </Address>
                      <Telephone>
                             <AreaCode>08</AreaCode>
                             <LocalNumber>123123</LocalNumber>
                      </Telephone>
                      <Website>www.hemsidan.se</Website>
              </BusinessUnit>
              <WorkstationID WorkstationLocation="410">9</WorkstationID>
              <OperatorID WorkerID="9668">Alfred</OperatorID>
              <CurrencyCode>SEK</CurrencyCode>
              <TrailerText>
                      <Text>Välkommen åter</Text>
              </TrailerText>
              <ReceiptDateTime>2017-12-10T11:11:11</ReceiptDateTime>
              <ReceiptNumber>1234</ReceiptNumber>
              <RetailTransaction>
                      <LineItem>
                             <Sale ItemType="Stock">
                                    <ItemID Name="Biobiljett"/>
                                    <!-- The merchandise group for the sold item. -->
                                    <MerchandiseHierarchy Level="Department">Biobiljett</MerchandiseHierarchy>
                                    <Description>Batman 4</Description>
                                    <UnitCostPrice>100</UnitCostPrice>
                                    <RegularSalesUnitPrice>100</RegularSalesUnitPrice>
                                    <ActualSalesUnitPrice>100</ActualSalesUnitPrice>
                                    <ExtendedAmount>100</ExtendedAmount>
                                    <Quantity>1</Quantity>
                                    <Tax TaxType="VAT">
                                           <SequenceNumber>2</SequenceNumber>
                                           <TaxableAmount>80</TaxableAmount>
                                           <Amount>20</Amount>
                                           <Percent>25</Percent>
                                    </Tax>
                                    <Ticket EventName="Batman 4" EventDateTime="2017-12-10T18:13:51" EventLocation="SF Bio Victoria">
                                           <!-- Unique number for this specific ticket -->
                                           <ItemID Type="OTHER">https://dl.dropbox.com/u/6915122/Images/ticket23452345.png</ItemID>
                                    </Ticket>
                             </Sale>
                             <SequenceNumber>1</SequenceNumber>
                      </LineItem>
                      <LineItem>
                             <Tender SubTenderType="MasterCard" TenderType="CreditDebit" TypeCode="Sale">
                                    <Amount>100</Amount>
                                    <Authorization>
                                           <AuthorizationCode>123456</AuthorizationCode>
                                           <ReferenceNumber>000516698285</ReferenceNumber>
                                           <MerchantNumber>00000000000000000000000000813384084</MerchantNumber>
                                           <AuthorizationDateTime>2010-12-10T11:11:11</AuthorizationDateTime>
                                           <AuthorizingTermID>0000000221493434</AuthorizingTermID>
                                           <AuthorizationExtension xmlns="http://www.etnetwork.org/digitalreceipt-extension/" AID="12" TSI="34" TVR="56" MaskedCardNumber="***************1234"/>
                                    </Authorization>
                             </Tender>
                             <SequenceNumber>4</SequenceNumber>
                      </LineItem>
                      <LineItem>
                             <Tax TaxType="VAT">
                                    <TaxableAmount>80.0</TaxableAmount>
                                    <Amount>20</Amount>
                                    <Percent>25</Percent>
                                    <TaxExtension xmlns="http://www.etnetwork.org/digitalreceipt-extension/" GrossAmount="80"/>
                             </Tax>
                             <SequenceNumber>5</SequenceNumber>
                      </LineItem>
                      <Total TotalType="TransactionNetAmount">80</Total>
                      <Total TotalType="TransactionTaxAmount">20</Total>
                      <Total TotalType="TransactionGrandAmount">100</Total>
              </RetailTransaction>
       </Transaction>
</DigitalReceipt>