<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/">
    <Transaction TrainingModeFlag="false" TypeCode="RETAIL_AUTH">
        <WorkstationID>25</WorkstationID>  -- Store ID
        <SequenceNumber>1</SequenceNumber>
        <TransactionID>US00001055</TransactionID> -- Order #
        <OperatorID AssociateID="3333"/> -- Associate ID/Login ID which was used to login to POS and place the order.
        <CurrencyCode>USD</CurrencyCode> -- Currency Code
        <ReceiptDateTime TypeCode="RefundExpiry">2021-08-28T21:32:55.000Z</ReceiptDateTime>
        <CustomerOrderTransaction OrderChannel="IN_STORE" TypeCode="Transaction" TransactionStatus="RETAIL_AUTH" CartID="US00001055">
        -- TransactionStatus will be RETAIL_AUTH for regular checkout scenario. RETAIL_SALE is also checkout. Please consider both as sales.
        <LineItem>
                <Sale ProductClass="Merchandise" FulfillmentType="IN_STORE" OrderItemID="2"> -- Order item ID
                    <Associate>
                        <AssociateID AssociateID="3333" OperatorType="SalesAssociateID"/> -- Item level sales attribution.
                    </Associate>
                    <Tax TaxClass="SKIN" LineItemTotalTax="true"> -- Use LineItemTotalTax="true" to determine if this is total item level tax.
                        <TaxableAmount/>
                        <Amount>52.00</Amount>  -- Total item level tax amount
                    </Tax>
                    <Tax TaxType="STATE" TaxCode="US-STATE-CA-ANY" TaxName="SALES" TaxClass="SKIN" LineItemTotalTax="false"> 
                    -- Use LineItemTotalTax="false" to get details of individual taxes that were applied on the item. TaxName will give you the name of the tax. SALES, HST, GST, PST. This tax_name column from tax feed.
                        <TaxableAmount/>
                        <Amount>52.00</Amount> -- Item level tax amount for this Tax.
                        <Percent>13</Percent> -- Tax Rate
                        <TaxPerUnitAmount>26.00</TaxPerUnitAmount> -- Per quantity Tax Amount for this Tax.
                    </Tax>
                    <Item>
                        <ItemID Name="Body Lotion">BDL1</ItemID>
                        -- Name is Product Title from feed. ItemID value is Product ID from feed.
                        <POSIdentity POSIDType="GTIN"> -- If POSIDType="GTIN" - POSItemID value is the Gtin from feed.
                            <POSItemID>999999999990</POSItemID> 
                        </POSIdentity>
                        <RegularSalesUnitPrice>200.00</RegularSalesUnitPrice> -- Actual List Price.
                        <ActualSalesUnitPrice>200.00</ActualSalesUnitPrice> -- Per Unit Sales Price after discount/price override if they are involved.
                        <ExtendedAmount>400.00</ExtendedAmount> -- Actual sales price ActualSalesUnitPrice * quantity.
                        <DiscountAmount/> -- Total item level discount amount. Note: this discount is not per quantity.
                        <Quantity>2</Quantity> - Quantity.
                    </Item>
                </Sale>
                <SequenceNumber xmlns:ns2="http://www.nrf-arts.org/IXRetail/namespace/" xmlns="">1</SequenceNumber>
            </LineItem>
            <LineItem>
                <Sale ProductClass="Merchandise" FulfillmentType="IN_STORE" OrderItemID="1"> -- Order item ID. Second item starts.
                    <Associate>
                        <AssociateID AssociateID="3333" OperatorType="SalesAssociateID"/>
                    </Associate>
                    <Tax TaxClass="SKIN" LineItemTotalTax="true">
                        <TaxableAmount/>
                        <Amount>6.24</Amount>
                    </Tax>
                    <Tax TaxType="STATE" TaxCode="US-STATE-CA-ANY" TaxName="SALES" TaxClass="SKIN" LineItemTotalTax="false">
                        <TaxableAmount/>
                        <Amount>6.24</Amount>
                        <Percent>13</Percent>
                        <TaxPerUnitAmount>2.08</TaxPerUnitAmount>
                    </Tax>
                    <Item>
                        <ItemID Name="Pore Treatment">PT1</ItemID> -- Product ID/SKU#
                        <POSIdentity POSIDType="GTIN">
                            <POSItemID>123456789</POSItemID>
                        </POSIdentity>
                        <RegularSalesUnitPrice>16.00</RegularSalesUnitPrice>
                        <ActualSalesUnitPrice>16.00</ActualSalesUnitPrice>
                        <ExtendedAmount>48.00</ExtendedAmount>
                        <DiscountAmount/>
                        <Quantity>3</Quantity>
                    </Item>
                </Sale>
                <SequenceNumber xmlns:ns2="http://www.nrf-arts.org/IXRetail/namespace/" xmlns="">2</SequenceNumber>
            </LineItem>
            <LineItem>
                <Tender TenderType="CreditCard"> -- Tender type CreditCard or Cash
                    <Amount>506.24</Amount> -- Amount Paid using this tender.
                    <Authorization>
                        <ReferenceNumber>853598650372859C</ReferenceNumber>
                    </Authorization>
                    <CreditDebit CardType="mc">
                        <PrimaryAccountNumber Cryptogram="PARTIAL_DATA"/>
                    </CreditDebit>
                </Tender>
                <SequenceNumber xmlns:ns2="http://www.nrf-arts.org/IXRetail/namespace/" xmlns="">3</SequenceNumber>
            </LineItem>
            <LineItem>
                <Tax xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ItemTaxType">
                    <TaxableAmount>448.00</TaxableAmount> -- Products Sub total - Discounts
                    <Amount>58.24</Amount> -- Total Tax amount at order level. (Sum of all types of taxes across products.)
                </Tax>
                <SequenceNumber xmlns:ns2="http://www.nrf-arts.org/IXRetail/namespace/" xmlns="">4</SequenceNumber>
            </LineItem>
            <Delivery>
                <Address AddressType="Delivery">
                    <AddressLine></AddressLine>
                    <AddressLine/>
                    <City></City>
                    <Territory TypeCode="STATE"></Territory>
                    <PostalCode></PostalCode>
                    <Country></Country>
                </Address>
            </Delivery>
            <Customer AlternateCustomerID="C-0000000039"> - SalesForce Generated Customer Number. Not available for Merchants who are on SalesForceService Cloud.
                <CustomerID>0016s000003ZC2KAAW</CustomerID> - SalesForce Account ID or Merchant CRM systems's customer identifiers
                <EMail>
                    <EMailAddress>sharan@ps.com</EMailAddress> - Customer e-mail address
                </EMail>
            </Customer>
        </CustomerOrderTransaction>
        <TillID>3333</TillID>
        <BusinessDayDate>2020-08-28Z</BusinessDayDate> -- Order Date
        <BeginDateTime>2020-08-28T21:32:55.000Z</BeginDateTime> -- Order Date, Time in GMT
        <EndDateTime>2020-08-28T21:32:55.000Z</EndDateTime>	-- Order update date. Same as Order Date if there is no update to order.
    </Transaction>
</POSLog>
