ixretail poslog technical specification volume 2...

78
IXRetail POSLog Technical Specification, Volume 2 - Tendering Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 1 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved. IXRetail POSLog Technical Specification Volume 2 – Tendering Version 2.0 May 19, 2003 – Candidate Recommendation Chairman: Richard Halter ARTS-MIC Authors: Richard Halter ARTS-MIC Contributors: Jeannine Ralston The Limited, Inc. Perry Kramer Ames Department Stores, Inc Ann McCool Radio Shack Corporation Tim Reagan Radio Shack Corporation John Rohland Blockbuster, Inc. Nancy Hudak Target Corporation Timothy Hood Triversity

Upload: hoangkhuong

Post on 26-Sep-2018

261 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 1 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

IXRetail POSLog Technical Specification

Volume 2 – Tendering

Version 2.0 May 19, 2003 – Candidate Recommendation Chairman: Richard Halter ARTS-MIC Authors: Richard Halter ARTS-MIC Contributors: Jeannine Ralston The Limited, Inc. Perry Kramer Ames Department Stores, Inc Ann McCool Radio Shack Corporation Tim Reagan Radio Shack Corporation John Rohland Blockbuster, Inc. Nancy Hudak Target Corporation Timothy Hood Triversity

Page 2: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 2 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Jim Galloway AfterBOT John Fluke IBM Ellen McCubbin IBM Michael Maximilian IBM Barry Henderson ISS Retail Paul Olson Blue Martini Yoko Nakagawa Drummond Group Mike Dillon Drummond Group John Hervey NACS Brian Blauvelt CRS Retail Systems Jerry Rightmer 360 Commerce Steve Gannon 360 Commerce Aaron Link SIVA Corp Ed Shirey ELSWare Technologies, Inc. Richard Mader ARTS Stuart McGrigor ARTS

Copyright © National Retail Federation 2003. All rights reserved.

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the NRF, ARTS, or its committees, except as needed for the purpose of developing ARTS standards using procedures approved by the NRF, or as required to translate it into languages other than English.

The limited permissions granted above are perpetual and will not be revoked by the National Retail Federation or its successors or assigns.

Page 3: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 3 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

TABLE OF CONTENTS

1. 概説............................................................................................................................................................................................................................................. 5 1.1 概要 ................................................................................................................................................................................................................................... 5 1.2 メッセージのスキーマ ....................................................................................................................................................................................................... 5 1.3 適用範囲外 ....................................................................................................................................................................................................................... 5 1.4 前提条件 ........................................................................................................................................................................................................................... 5

2. 参考文書..................................................................................................................................................................................................................................... 6

3. 使用例: 販売の支払い .............................................................................................................................................................................................................. 7 3.1 状況: 現金での釣銭を伴わない現金預りでの顧客による支払い購入 ......................................................................................................................... 8 3.2 SCENARIO: CUSTOMER TENDER’S PURCHASE WITH CASH TENDER WITH CASH BACK ..................................................................................................... 10 3.3 状況: 現金での釣銭を伴わないデビットまたはクレジット・カード預りでの顧客による支払い購入 ............................................................................ 12 3.4 SCENARIO: CUSTOMER TENDER’S PURCHASE WITH DEBIT OR CREDIT TENDER WITH CASH BACK .................................................................................. 15 3.5 SCENARIO: CUSTOMER TENDER’S PURCHASE WITH CHECK TENDER WITHOUT CASH BACK ............................................................................................ 18 3.6 SCENARIO: CUSTOMER TENDER’S PURCHASE WITH CHECK TENDER WITH CASH BACK ................................................................................................... 20 3.7 SCENARIO: CUSTOMER TENDER’S PURCHASE WITH TRAVELERS CHECK IN A FOREIGN CURRENCY ................................................................................ 23 3.8 SCENARIO: CUSTOMER TENDER’S PURCHASE WITH PURCHASE ORDER ........................................................................................................................... 25 3.9 SCENARIO: CUSTOMER TENDER’S PURCHASE TO STORE CHARGE ACCOUNT................................................................................................................... 28 3.10 SCENARIO: CUSTOMER TENDER’S PURCHASE WITH IN-STORE COUPON AND CASH .................................................................................................... 30 3.11 SCENARIO: CUSTOMER TENDER’S PURCHASE WITH MANUFACTURER’S COUPON AND CASH ...................................................................................... 33 3.12 SCENARIO: CUSTOMER TENDER’S PURCHASE WITH VOUCHER, GIFT CERTIFICATE OR OTHER STORED VALUE MEDIA WITH CHANGE AS VOUCHER AND CASH ...................................................................................................................................................................................................................................... 35 3.13 SCENARIO: CUSTOMER TENDER’S PURCHASE WITH VOUCHER, GIFT CERTIFICATE OR OTHER STORED VALUE MEDIA WITH CHANGE AS VOUCHER ONLY 39 3.14 SCENARIO: CUSTOMER TENDER’S PURCHASE WITH VOUCHER, GIFT CERTIFICATE OR OTHER STORED VALUE MEDIA WITH CHANGE AS CASH ONLY. 42 3.15 SCENARIO: CUSTOMER TENDER’S PURCHASE WITH VOUCHER, GIFT CERTIFICATE OR OTHER STORED VALUE MEDIA WITH NO CHANGE ................ 44 3.16 SCENARIO: CUSTOMER TENDER’S PURCHASE WITH FOOD STAMPS.............................................................................................................................. 47 3.17 SCENARIO: CUSTOMER TENDER’S CO-PAY PURCHASE, I.E. DRUG PURCHASE ............................................................................................................ 49 3.18 SCENARIO: CUSTOMER TENDER’S PURCHASE WITH “MALL BONUS BUCKS” ................................................................................................................. 51

4. 使用例: 返金の支払い ............................................................................................................................................................................................................ 55 4.1 状況: 顧客が現金で返金を受ける ................................................................................................................................................................................ 58

Page 4: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 4 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

4.2 SCENARIO: CUSTOMER GETS REFUND ON THEIR CREDIT CARD........................................................................................................................................ 60 4.3 SCENARIO: CUSTOMER GETS REFUND ON THEIR STORE ACCOUNT .................................................................................................................................. 62 4.4 SCENARIO: CUSTOMER GETS REFUND IN MERCHANDISE VOUCHER.................................................................................................................................. 64 4.5 SCENARIO: CUSTOMER GETS REFUND IN A CHECK SENT TO AN ADDRESS ....................................................................................................................... 67

5. USE CASE: POST PURCHASE PRICE ADJUSTMENT.................................................................................................................................................. 70 5.1 SCENARIO: CUSTOMER GETS REFUND IN CASH AFTER RETURNING TO THE STORE......................................................................................................... 70

6. USE CASE: MERCHANDISE FOR STORE USE .............................................................................................................................................................. 73 6.1 SCENARIO: EMPLOYEE TAKES AN ITEM OFF THE SHELF FOR USE IN THE STORE ............................................................................................................. 73

7. SCHEMA IMPLEMENTATION .......................................................................................................................................................................................... 76

8. DOCUMENT HISTORY........................................................................................................................................................................................................ 77

9. GLOSSARY............................................................................................................................................................................................................................. 78

Page 5: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 5 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

1. 概説

1.1 概要 第一巻では在庫記録の見解を説明しました。この巻では、POSLog スキーマの支払い部分に専念します。

1.2 メッセージのスキーマ

1.3 適用範囲外 将来のバージョンで含めます。

1.4 前提条件 1. 支払い例は全て、非課税で、しかも単純なアイテム購入の場合とします。

Page 6: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 6 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

2. 参考文書

国際単位系

http://www.bipm.fr にある Bureau International des Poids et Mesures (BIPM) が作り、管理しています。

IXRetail

IXRetail POSLog Technical Specification Volume 1.0.doc (Sale and Return) [IXRetail POSLog 技術仕様書、ボリューム 1.0(販売と

返品)]

IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation) [IXRetail POSLog 技術仕様書、ボリューム 3.0(課税)]

IXRetail Extending Schemas Technical Report [IXRetail 拡張スキーマ技術レポート]

国際標準化機構(ISO)

ISO 7812-7816 を基にしたカード番号とドメイン・ネーム・システム(DNS)

Page 7: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 7 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

3. 使用例: 販売の支払い

以下の記述は、全ての販売支払いの状況で使われます。 概略説明

顧客が、一つまたはそれ以上のアイテムを選び、それを様々な支払いメディアで購入します。 流れの説明

1. 顧客が購入のために、あるアイテムを POS へと持ってきます。 2. レジ係は、そのアイテムを POS へ入力し、その取引を完了します。 3. POS は、その取引を POS-Log へ報告します。 4. POS-Log は、その取引を在庫記録と販売履歴に手渡します。 5. 在庫記録システムは、そのアイテムの在庫数を減らします。

データ

• 以下を含む取引ヘッダーのデータ • 店、ワークステーションおよび、取引を実行するオペレーターのそれぞれの識別子 • 取引実行の日時 • その取引を識別するための、ワークステーションで割り振った一連番号

• 以下を含む販売のデータ • 販売アイテムの識別子 • 販売アイテムの数量 • 販売アイテムの単価 • 乗算結果額(単価 x 販売アイテムの数量)

データ階層図

追加される独自の支払い拡張機能が、各状況に含まれています。

Page 8: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 8 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

3.1 状況: 現金での釣銭を伴わない現金預りでの顧客による支払い購入 概略説明

顧客が、一つまたは複数のアイテムを選び、それをちょうどの額の現金で購入します。 データ

• 支払いメデイア = 現金 • 種別 = 販売 • 支払い額

-@CancelFlag-@TrainingModeFlag-@OfflineFlag-RetailStoreID-WorkstationID-SequenceNumber-BusinessDayDate-BeginDateTime-EndDateTime-OperatorID-CurrencyCode

Transaction

-@OutsideSalesFlag-@SuspendFlag-TillID-SpecialOrderNumber-ReceiptDateTime

RetailTransaction-@VoidFlag-@EntryMethod-SequenceNumber-BeginDateTime-EndDateTime

LineItem

1

1..*-@ItemType-ItemID-MerchandiseHierarchy-Description-UnitCostPrice-UnitListPrice-RegularSalesUnitPrice-InventoryValuePrice-ActualSalesUnitPrice-ExtendedAmount-SerialNumber-ItemLink

Sale

1

0..1

-@POSIDType-POSItemID-Qualifier

POSIdentity

1

1

-@Units-@UnitOfMeasureCode

Quantity

1

1

-@TotalType-Amount

Total

10..1

POSLog

1 1..*

Page 9: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 9 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

データ階層図

-@TenderID[1]-@TypeCode[1]-Amount[1]

RetailTransactionTender (cType)-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

POSLog

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1

1..*

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

1

1..*

1 11

1-...[1]

Sale

-...[1]Total

1

1

XMLの例 <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem>

Page 10: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 10 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Cash” TypeCode=”Sale”> <Amount>4.89</Amount> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

3.2 Scenario: Customer Tender’s Purchase with Cash Tender with Cash Back Brief Description Customer selects one or more items and purchases them with cash getting cash back. Data

• Tender Type = Cash • Type = Sale • Amount Tendered • Amount of Change

Page 11: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 11 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data Hierarchy Diagram

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

-...[1]Total

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

11..*

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

1 1..*

1

1

-...[1]Sale

1

1

-@TenderID[1]-@TypeCode[1]-@ChangeFlag[1]-Amount[1]

RetailTransactionTender (cType)

1 1

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem> <SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock">

Page 12: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 12 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Cash” TypeCode=”Sale”> <Amount>5.00</Amount> </Tender> </LineItem> <LineItem> <SequenceNumber>3</SequenceNumber> <Tender TenderID=”Cash” TypeCode=”Sale” ChangeFlag=”true”> <Amount>.11</Amount> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

3.3 状況: 現金での釣銭を伴わないデビットまたはクレジット・カード預りでの顧客による支払い購入 概略説明

顧客が、一つまたは複数のアイテムを選び、それをデビットまたはクレジット・カードで購入します。 データ

• 支払いメディア = クレジット • 種別 = 販売 • 支払い額 • クレジット・カード情報

Page 13: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 13 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

o カード・タイプ o カード所有者名 o カードの個人番号 o 有効期限日

• 認証情報 o 取引が認証された端末機 o 認証された額 o 認証コード o 取引を認証したプロバイダー o 認証の日時

データ階層図

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

-...[1]Sale

-...[1]Total

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

11..*

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

1

1

11..*

1

1

-@TenderID[1]-@TypeCode[1]-Amount[1]-+Authorization[0..1]-+CreditDebit[0..1]

RetailTransactionTender (cType)

-@CardType[1]-CardIssuerID[0..1]-CardHolderName[0..1]-AccountNumber[0..1]-ExpirationDate[0..1]-ReconciliationCode[0..1]

CreditDebit (cType)

-AuthorizedTermID[1]-RequestedAmount[1]-AuthorizationCode[1]-ReferenceNumber[1]-ProviderID[1]-AuthorizationDateTime[1]

Authorization (cType)

1 1

1

1

1

1

Page 14: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 14 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

XML の例

<?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem> <SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”CreditDebit” TypeCode=”Sale”> <Amount>4.89</Amount> <Authorization> <AuthorizedTermID>asdf</AuthorizedTermID> <RequestedAmount>4.89</RequestedAmount> <AuthorizationCode>234</AuthorizationCode> <ReferenceNumber>1234</ReferenceNumber> <ProviderID>asdf</ProviderID> <AuthorizationDateTime>2001-08-13T09:02:50</AuthorizationDateTime> </Authorization> <CreditDebit CardType=”Credit”> <IssuerIdentificationNumber>12345678</IssuerIdentificationNumber> <CardHolderName>Joe Cool</CardHolderName> <PrimaryAccountNumber>12345678</PrimaryAccountNumber> <ExpirationDate>2005-08</ExpirationDate> <ReconcilliationCode>1234asdf</ReconcilliationCode>

Page 15: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 15 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

</CreditDebit> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

3.4 Scenario: Customer Tender’s Purchase with Debit or Credit Tender with Cash Back Brief Description Customer selects one or more items and purchases them with debit or credit card getting cash back. Data

• Tender Type = Debit • Type = Sale • Tender Amount • Credit Card Information

o Card Type o Card Holder Name o Account Number o Expiration Date

• Authorization Information o Terminal where Transaction was Authorized o Amount Authorized o Authorization Code o Provider who Authorized Transaction o Date Time of Authorization

• Change Back to the Customer

Page 16: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 16 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data Hierarchy Diagram

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

POSLog

-...[1]Sale

-...[1]Total

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

11..*

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

1

1

11..*

1

1

-@TenderID[1]-@TypeCode[1]-Amount[1]-+Authorization[0..1]-+CreditDebit[0..1]

RetailTransactionTender (cType)

11

-AuthorizedTermID[1]-RequestedAmount[1]-AuthorizationCode[1]-ReferenceNumber[1]-ProviderID[1]-AuthorizationDateTime[1]

Authorization (cType)

1

1

-@CardType[1]-CardIssuerID[0..1]-CardHolderName[0..1]-AccountNumber[0..1]-ExpirationDate[0..1]

CreditDebit (cType)

1

1

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem>

Page 17: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 17 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”CreditDebit” TypeCode=”Sale”> <Amount>9.89</Amount> <Authorization> <AuthorizedTermID>asdf</AuthorizedTermID> <RequestedAmount>9.89</RequestedAmount> <AuthorizationCode>234</AuthorizationCode> <ReferenceNumber>1234</ReferenceNumber> <ProviderID>asdf</ProviderID> <AuthorizationDateTime>2001-08-13T09:02:50</AuthorizationDateTime> </Authorization> <CreditDebit CardType=”Debit”> <IssuerIdentificationNumber>123456789</IssuerIdentificationNumber> <CardHolderName>Joe Cool</CardHolderName> <PrimaryAccountNumber>12345678</PrimaryAccountNumber> <ExpirationDate>2005-08</ExpirationDate> </CreditDebit> </Tender> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Cash” TypeCode=”Sale” ChangeFlag=”true”> <Amount>5.00</Amount> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

Page 18: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 18 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

3.5 Scenario: Customer Tender’s Purchase with Check Tender without Cash Back Brief Description Customer selects one or more items and purchases them with a check. Data

• Tender Type = Check • Type = Sale • Tender Amount • Check Information

o Bank o Check Number

• Customer Verification Information o ID Type o Personal ID Number

Page 19: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 19 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data Hierarchy Diagram

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

11..*

-...[1]Sale

1

1

-...[1]Total

1

1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

POSLog

1

1..*

-@TenderID[1]-@TypeCode[1]-Amount[1]-+Check[0..1]-+CustomerVerification[0..1]

RetailTransactionTender (cType)-BankID[0..1]-CheckNumber[1]

Check (cType)

-IDType[1]-PersonalID[1]

CustomerVerification (cType)11

11

11

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem> <SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock">

Page 20: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 20 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Check” TypeCode=”Sale”> <Amount>4.89</Amount> <Check> <BankID>1234</BankID> <CheckNumber>1234</CheckNumber> </Check> <CustomerVerification> <IDType>Driver’s License</IDType> <PersonalID>1234-56-7890</PersonalID> </CustomerVerification> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

3.6 Scenario: Customer Tender’s Purchase with Check Tender with Cash Back Brief Description Customer selects one or more items and purchases them with a check getting cash back. Data

• Tender Type = Check • Type = Sale • Tender Amount • Check Information

Page 21: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 21 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

o Bank o Check Number

• Customer Verification Information o ID Type o Personal ID Number

• Change Back to the Customer Data Hierarchy Diagram

-BankID[0..1]-CheckNumber[1]

Check (cType)

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

11..*

-...[1]Sale

1

1

-...[1]Total

1

1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1 1..*

1 1

11

-IDType[1]-PersonalID[1]

CustomerVerification (cType)

1 1

-@TenderID[1]-@TypeCode[1]-@ChangeFlag[1]-Amount[1]-+Check[0..1]-+CustomerVerification[0..1]

RetailTransactionTender (cType)

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0">

Page 22: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 22 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem> <SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Check” TypeCode=”Sale”> <Amount>9.89</Amount> <Check> <BankID>1234</BankID> <CheckNumber>1234</CheckNumber> </Check> <CustomerVerification> <IDType>Driver’s License</IDType> <PersonalID>1234-56-7890</PersonalID> </CustomerVerification> </Tender> </LineItem> <LineItem> <SequenceNumber>3</SequenceNumber> <Tender TenderID=”Cash” TypeCode=”Sale” ChangeFlag=”true”> <Amount>5.00</Amount> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

Page 23: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 23 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

3.7 Scenario: Customer Tender’s Purchase with Travelers Check in a Foreign Currency Brief Description Customer, on vacation in a foreign country, selects one or more items and purchases them with a traveler’s check in a foreign currency. Data

• Tender Type = Travelers Check • Type = Sale • Tender Amount • Foreign Currency Information

o Date and Time of the Currency Exchange o Currency Code of the original Currency o Original Face Amount in the Original Currency o Exchange Rate

• Travelers Check Number • Customer Verification Information

o Type ID o Personal ID Number

Page 24: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 24 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data Hierarchy Diagram

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

11..*

-...[1]Sale

1

1

-...[1]Total

1

1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

11..*

-@TenderID[1]-@TypeCode[1]-Amount[1]-+ForeignCurrency[0..1]-+Check[0..1]-+CustomerVerification[0..1]

RetailTransactionTender (cType)

-DateTime[1]-CurrencyCode[1]-OriginalFaceAmount[1]-ExchangeRate[0..1]-ServiceCharge[0..1]

RetailTransactionForeignCurrency (cType)

-BankID[0..1]-CheckNumber[1]

Check (cType)

-IDType[1]-Name[0..1]-PersonalID[1]-ExpirationDate[0..1]-Province[0..1]-Birthdate[0..1]-Address[0..1]

CustomerVerification (cType)

11 11

1

1

1

1

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem>

Page 25: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 25 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”TravelersCheck” TypeCode=”Sale”> <Amount>4.89</Amount> <ForeignCurrency> <DateTime>2001-08-13T09:03:00</DateTime> <CurrencyCode>NZD</CurrencyCode> <OriginalFaceAmount>9.78</OriginalFaceAmount> <ExchangeRate>2.00000</ExchangeRate> </ForeignCurrency> <Check> <CheckNumber>1234</CheckNumber> </Check> <CustomerVerification> <IDType>Driver’s License</IDType> <PersonalID>1234-56-7890</PersonalID> </CustomerVerification> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

3.8 Scenario: Customer Tender’s Purchase with Purchase Order Brief Description Customer selects one or more items and purchases them with purchase order.

Page 26: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 26 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data • Tender Type = Purchase Order • Type = Sale • Tender Amount • Purchase Order Information

• PO Id • Organization • Date of the PO • Identification of Person with Purchase Order • Amount of the PO.

Data Hierarchy Diagram

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

-...[1]Sale

-...[1]Total

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

POSLog

1 1..*

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

1

1

11..*

1

1

-@TenderID[1]-@TypeCode[1]-Amount[1]-+PurchaseOrder[0..1]

RetailTransactionTender (cType)-PurchaseOrderID[1]-OrganizationID[1]-EffectiveDate[1]-PartyID[1]-AuthorizedAmount[1]

PurchaseOrder

11 1 1

Page 27: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 27 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem> <SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”PurchaseOrder” TypeCode=”Sale”> <Amount>4.89</Amount> <PurchaseOrder> <PurchaseOrderID>1234</PurchaseOrderID> <OrganizationID>MIC</OrganizationID> <EffectiveDate>2001-08-13</EffectiveDate> <PartyID>Joe Cool</PartyID> <AuthorizedAmount>4.89</AuthorizedAmount> </PurchaseOrder> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction>

Page 28: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 28 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

</POSLog>

3.9 Scenario: Customer Tender’s Purchase to Store Charge Account Brief Description Customer selects one or more items and charges them to their store account. Data

• Tender Type = Store Account • Type = Sale • Tender Amount • Store Account Information

• Account Number • Account Name

Page 29: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 29 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data Hierarchy Diagram

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

11..*

-...[1]Sale

1

1

-...[1]Total

1

1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1 1..*

-@TenderID[1]-@TypeCode[1]-@ChangeFlag[1]-Amount[1]-AccountID[0..1]-+AccountInfo[0..1]

RetailTransactionTender (cType)

11 1 1-AccountName[1]

AccountInfo

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem>

Page 30: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 30 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”StoreAccount” TypeCode=”Sale”> <Amount>4.89</Amount> <AccountID>1234</AccountID> <AccountInfo> <AccountName>Joe Cool</AccountName> </AccountInfo> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

3.10 Scenario: Customer Tender’s Purchase with In-Store Coupon and Cash Brief Description Customer selects one or more items and purchases them with in part with an in-store coupon and the remaining with cash. Data

• In-Store Coupon is a pre-tax discount • Tender Type = Cash • Type = Sale • Tender Amount

Page 31: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 31 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

• Data Hierarchy Diagram

Data Hierarchy Diagram

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

11..*

-...[1]Total

1

1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1 1..* -@MethodCode[1]-SequenceNumber[1]-Amount[1]-Discount[1]-PreviousPrice[1]-PromotionID[1]-ReasonCode[1]

RetailPriceModifier-@ItemType[1]-ItemID[1]-MerchandiseHierarchy[1]-Description[1]-UnitCostPrice[1]-UnitListPrice[1]-RegularSalesUnitPrice[1]-InventoryValuePrice[1]-ActualSalesUnitPrice[1]-ExtendedAmount[1]

Sale

1 0..*

1

0..1

-@TenderID[1]-@TypeCode[1]-Amount[1]

RetailTransactionTender (cType)

1 1

Page 32: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 32 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase with Price Override Flow: Customer Complaint --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransaction.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <LineItem> <SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <MerchandiseHierarchy Level="Department"/> <RegularSalesUnitPrice>12.99</RegularSalesUnitPrice> <ActualSalesUnitPrice>10.99</ActualSalesUnitPrice> <ExtendedAmount>10.99</ExtendedAmount> <Quantity>1</Quantity> <RetailPriceModifier MethodCode="Promotion"> <SequenceNumber>1</SequenceNumber> <Amount Action="Replace">10.99</Amount> <PreviousPrice>12.99</PreviousPrice> <ReasonCode>Coupon</ReasonCode> </RetailPriceModifier> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Cash” TypeCode=”Sale”> <Amount>10.99</Amount> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>10.99</Amount> </Total> </RetailTransaction> </Transaction>

Page 33: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 33 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

</POSLog>

3.11 Scenario: Customer Tender’s Purchase with Manufacturer’s Coupon and Cash Brief Description Customer selects one or more items and purchases them with a manufacturer’s coupon and cash.

Data • Tender Type = Coupon • Type = Sale • Coupon Tender Amount • Coupon Information

• Coupon Type • Label • Expiration Date

• Tender Type = Cash • Tender Amount

Page 34: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 34 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data Hierarchy Diagram

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

11..*

-...[1]Sale

1

1

-...[1]Total

1

1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1 1..*

-@TenderID[1]-@TypeCode[1]-@ChangeFlag[1]-Amount[1]-+Coupon[0..1]

RetailTransactionTender (cType)

-CouponType[1]-PrimaryLabel[1]-ExpirationDate[1]

Coupon (cType)

1 1 1 1

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem> <SequenceNumber>1</SequenceNumber>

Page 35: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 35 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<Sale ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>10.63</ActualSalesUnitPrice> <ExtendedAmount>10.63</ExtendedAmount> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Coupon” TypeCode=”Sale”> <Amount>2.00</Amount> <Coupon> <CouponType>ManufacturerCoupon</CouponType> <PrimaryLabel>12347890</PrimaryLabel> <ExpirationDate>2003-04-31</ExpirationDate> </Coupon> </Tender> </LineItem> <LineItem> <SequenceNumber>3</SequenceNumber> <Tender TenderID=”Cash” TypeCode=”Sale”> <Amount>8.63</Amount> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>10.63</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

3.12 Scenario: Customer Tender’s Purchase with Voucher, Gift Certificate or Other Stored Value media with change as Voucher and Cash Brief Description Customer selects one or more items and purchases them with a gift certificate with the difference refunded as cash.

Page 36: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 36 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data • Tender Type = Gift Certificate • Type = Sale • Tender Amount • Gift Certificate Information

• Face Amount • Serial Number • Expiration Date

• Change • Tender Type = Gift Certificate • Type = Sale • Change Amount • Gift Certificate Information • Face Amount • Serial Number • Expiration Date • Tender Type = Cash • Tender Amount

Page 37: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 37 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data Hierarchy Diagram

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

-...[1]Sale

-...[1]Total

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1

1..*

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

1

1

11..*

1

1

-@TenderID[1]-@TypeCode[1]-@ChangeFlag[1]-Amount[1]-+Voucher[0..1]

RetailTransactionTender (cType)

-@TypeCode[1]-FaceValueAmount[0..1]-SerialNumber[1]-ExpirationDate[1]

RetailTransactionVoucher (cType)

1 11 1

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem> <SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock">

Page 38: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 38 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Voucher” TypeCode=”Sale”> <Amount>4.89</Amount> <Voucher TypeCode=”GiftCertificate”> <FaceValueAmount>10.00</FaceValueAmount> <SerialNumber>12345678</SerialNumber> <ExpirationDate>2003-04-03</ExpirationDate> </Voucher> </Tender> </LineItem> <LineItem> <SequenceNumber>3</SequenceNumber> <Tender TenderID=”Voucher” TypeCode=”Sale” ChangeFlag=”true”> <Amount>5.00</Amount> <Voucher TypeCode=”GiftCertificate”> <FaceValueAmount>5.00</FaceValueAmount> <SerialNumber>12345678</SerialNumber> <ExpirationDate>2003-04-03</ExpirationDate> </Voucher> </Tender> </LineItem> <LineItem> <SequenceNumber>3</SequenceNumber> <Tender TenderID=”Cash” TypeCode=”Sale” ChangeFlag=”true”> <Amount>.11</Amount> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

Page 39: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 39 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

3.13 Scenario: Customer Tender’s Purchase with Voucher, Gift Certificate or Other Stored Value media with change as Voucher Only Brief Description Customer selects one or more items and purchases them with a gift certificate and getting a voucher for the remainder of the value of the gift certificate. Data

• Tender Type = Gift Certificate • Type = Sale • Tender Amount • Gift Certificate Information

• Face Amount • Serial Number • Expiration Date

• Change • Tender Type = Gift Certificate • Type = Sale • Change Amount • Gift Certificate Information • Face Amount • Serial Number • Expiration Date

Page 40: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 40 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data Hierarchy Diagram

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

-...[1]Sale

-...[1]Total

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1

1..*

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

1

1

11..*

1

1

-@TenderID[1]-@TypeCode[1]-@ChangeFlag[1]-Amount[1]-+Voucher[0..1]

RetailTransactionTender (cType)

-@TypeCode[1]-FaceValueAmount[0..1]-SerialNumber[1]-ExpirationDate[1]

RetailTransactionVoucher (cType)

1 11 1

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem> <SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock">

Page 41: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 41 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Voucher” TypeCode=”Sale”> <Amount>4.89</Amount> <Voucher TypeCode=”GiftCertificate”> <FaceValueAmount>10.00</FaceValueAmount> <SerialNumber>12345678</SerialNumber> <ExpirationDate>2003-04-03</ExpirationDate> </Voucher> </Tender> </LineItem> <LineItem> <SequenceNumber>3</SequenceNumber> <Tender TenderID=”Voucher” TypeCode=”Sale” ChangeFlag=”true”> <Amount>5.11</Amount> <Voucher TypeCode=”GiftCertificate”> <FaceValueAmount>5.11</FaceValueAmount> <SerialNumber>12345678</SerialNumber> <ExpirationDate>2003-04-03</ExpirationDate> </Voucher> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

Page 42: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 42 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

3.14 Scenario: Customer Tender’s Purchase with Voucher, Gift Certificate or Other Stored Value media with change as Cash Only. Brief Description Customer selects one or more items and purchases them with a voucher, receiving the change in cash. Data

• Tender Type = Gift Certificate • Type = Sale • Tender Amount • Gift Certificate Information

• Face Amount • Serial Number • Expiration Date

• Change • Tender Type = Cash • Tender Amount

Page 43: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 43 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data Hierarchy Diagram

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

-...[1]Sale

-...[1]Total

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1

1..*

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

1

1

11..*

1

1

-@TenderID[1]-@TypeCode[1]-@ChangeFlag[1]-Amount[1]-+Voucher[0..1]

RetailTransactionTender (cType)

-@TypeCode[1]-FaceValueAmount[0..1]-SerialNumber[1]-ExpirationDate[1]

RetailTransactionVoucher (cType)

1 11 1

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem> <SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock">

Page 44: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 44 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Voucher” TypeCode=”Sale”> <Amount>4.89</Amount> <Voucher TypeCode=”GiftCertificate”> <FaceValueAmount>10.00</FaceValueAmount> <SerialNumber>12345678</SerialNumber> <ExpirationDate>2003-04-03</ExpirationDate> </Voucher> </Tender> </LineItem> <LineItem> <SequenceNumber>3</SequenceNumber> <Tender TenderID=”Cash” TypeCode=”Sale” ChangeFlag=”true”> <Amount>5.11</Amount> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

3.15 Scenario: Customer Tender’s Purchase with Voucher, Gift Certificate or Other Stored Value media with no change Brief Description Customer selects one or more items and purchases them with voucher but tracking the unspent amount.

Page 45: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 45 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data • Tender Type = Voucher • Type = Sale • Tender Amount • Gift Certificate Information • Face Amount • Serial Number • Expiration Date • Unspent Amount

Data Hierarchy Diagram

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

11..*

-...[1]Sale

1

1

-...[1]Total

1

1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1 1..*

-@TenderID[1]-@TypeCode[1]-@ChangeFlag[1]-Amount[1]-+Voucher[0..1]

RetailTransactionTender (cType)

11

-@TypeCode[1]-FaceValueAmount[0..1]-SerialNumber[1]-ExpirationDate[1]-UnspentAmount[0..1]

RetailTransactionVoucher (cType)

1 1

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/"

Page 46: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 46 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem> <SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Voucher” TypeCode=”Sale”> <Amount>4.89</Amount> <Voucher TypeCode=”Voucher”> <FaceValueAmount>10.00</FaceValueAmount> <SerialNumber>12345678</SerialNumber> <ExpirationDate>2003-04-03</ExpirationDate> <UnspentAmount>5.11</UnspentAmount> </Voucher> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

Page 47: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 47 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

3.16 Scenario: Customer Tender’s Purchase with Food Stamps Brief Description Customer selects one or more items and purchases them with food stamps in a location where the taxes are forgiven. Data

• Tender Type = Foodstamps • Type = Sale • Tender Amount • Food Stamp Serial Number

Data Hierarchy Diagram

POSLog

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

1 1..*

-...[1]Sale

1

1

-...[1]Total

1

1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1 1..*

-@TenderID[1]-@TypeCode[1]-Amount[1]-+FoodStamps[0..1]

RetailTransactionTender (cType)

-SerialNumber[1]FoodStamps

1 1 11

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

Page 48: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 48 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem> <SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”FoodStamps” TypeCode=”Sale”> <Amount>4.89</Amount> <FoodStamps> <SerialNumber>1234568</SerialNumber> </FoodStamps> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

Page 49: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 49 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

3.17 Scenario: Customer Tender’s Co-Pay Purchase, i.e. Drug Purchase Brief Description Customer selects one or more items and pays co-pay, instead of the total price, typically insurance picks up the remainder of the cost of the item(s). Data

• Tender Type = Co-Pay • Type = Sale • Co-Pay Tender Amount • Total Amount

Page 50: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 50 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data Hierarchy Diagram

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

1 1..*

-...[1]Sale

1

1

-...[1]Total

1

1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

11..*

-@TenderID[1]-@TypeCode[1]-Amount[1]-CoPay[1]

RetailTransactionTender (cType)

-CoPayAmount[1]-TotalAmount[0..1]

CoPay

1 1 1 1

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem> <SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock">

Page 51: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 51 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>25.00</ActualSalesUnitPrice> <ExtendedAmount>25.00</ExtendedAmount> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”CoPay” TypeCode=”Sale”> <Amount>10.00</Amount> <CoPay> <CoPayAmount>10.00</CoPayAmount> <TotalAmount>25.00</TotalAmount> </CoPay> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>10.00</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

3.18 Scenario: Customer Tender’s Purchase with “Mall Bonus Bucks” Brief Description A customer goes into a store in a mall and purchases an item with “Mall Bonus Bucks” she received at another store in the mall. She receives the change from the “Mall Bonus Bucks” as cash. Data

• Tender Type = Gift Certificate • Type = Sale • Voucher Information • Description = Mall Bonus Bucks • Face Value Amount

Page 52: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 52 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

• Serial Number • Expiration Date • Change • Tender Type = Cash • Type = Sale • Tender Amount

Page 53: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 53 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data Hierarchy Diagram

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

11..*

-...[1]Sale

1

1

-...[1]Total

1

1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1 1..*

-@TenderID[1]-@TypeCode[1]-@ChangeFlag[1]-Amount[1]-+Voucher[0..1]

RetailTransactionTender (cType)-@TypeCode[1]-Description[0..1]-FaceValueAmount[0..1]-SerialNumber[1]-ExpirationDate[1]

RetailTransactionVoucher (cType)

11 1 1

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem> <SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock"> <POSIdentity>

Page 54: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 54 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Voucher” TypeCode=”Sale”> <Amount>4.89</Amount> <Voucher TypeCode=”GiftCertificate”> <Description>Mall Bonus Bucks</Description> <FaceValueAmount>10.00</FaceValueAmount> <SerialNumber>12345678</SerialNumber> <ExpirationDate>2003-04-03</ExpirationDate> </Voucher> </Tender> </LineItem> <LineItem> <SequenceNumber>3</SequenceNumber> <Tender TenderID=”Cash” TypeCode=”Sale” ChangeFlag=”true”> <Amount>5.11</Amount> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

Page 55: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 55 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

4. 使用例: 返金の支払い

概略説明

顧客が店へ、あるアイテムを返品します。在庫としてそのアイテムの数量を増やすかどうかは、そのアイテムが在庫に戻されるかどう

かによります。 流れの説明

1. 顧客がアイテムを、店長に返品します。 2. 店長は、その返品されたアイテムを POS へ入力し、その返品されたアイテムの処理方法について判断を下すこともできます。 3. POS は、その取引情報を POS-Log へ送ります。 4. POS-Log は、在庫記録へその取引を手渡します。 5. 在庫記録は、そのアイテムの在庫数を増やします。

相互関係図

データ

• 以下を含む取引ヘッダーのデータ • 店、ワークステーションおよび、取引を実行するオペレーターのそれぞれの識別子

Refund TransactionSales History

POSPOS-Log

TransactionSale/StockRecording

Refund Transaction

CustomersReturn Goods

Receive Refund

Page 56: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 56 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

• 取引が実行された日付 • その取引を識別するためのワークステーションで割り振った一連番号

• 以下を含むアイテムのデータ • 販売アイテムの部門識別子 • 部門階層内のどのレベルが、そのアイテムを識別するのに使用されているか • 販売アイテムの数量 • そのアイテムの現在の単価

• 以下を含む返品データ • その返品を有効にする、元の購入を識別している取引リンク情報 • その返品を承認した店長を識別している承認情報 • その返品されたアイテムの処理方法を識別している処理情報

データ階層図

追加される独自の支払い拡張機能が、各状況に含まれています。

Page 57: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 57 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

POSLog

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1

1..*

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

-@TotalType[1]-Amount[1]

Total

1 0..1

-@ItemType[1]-ItemID[1]-MerchandiseHierarchy[1]-Description[1]-UnitCostPrice[1]-UnitListPrice[1]-RegularSalesUnitPrice[1]-InventoryValuePrice[1]-ActualSalesUnitPrice[1]-ExtendedAmount[1]-SerialNumber[1]-ItemLink[1]-To[1]

Return

1 0..1

-@POSIDType[1]-POSItemID[1]-Qualifier[1]

POSIdentity

-@Units[1]-@UnitOfMeasureCode[1]

Quantity

-SequenceNumber[1]-ApproverID[1]-LineApprovalCode[1]-Description[1]-EntryMethod[1]

OperatorBypassApproval

-RetailStoreID[1]-WorkStationID[1]-SequenceNumber[1]-BusinessDayDate[1]

TransactionLink

1

1

1

1

1 0..1

-@Method[1]-NewItemID[1]

Disposal

10..1

1

0..1

1

0..1

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

11..*

Page 58: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 58 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

4.1 状況: 顧客が現金で返金を受ける 概略説明

顧客が、あるアイテムを店へ返品し、返金を現金でもらいます。 データ

データ階層図

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

11..*

-....[1]Return

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1 1..*

-@TenderID[1]-@TypeCode[1]-Amount[1]

RetailTransactionTender (cType)

1 1

1

1

-...[1]Total

1

1

XML の例

<?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Return --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransaction.xsd">

Page 59: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 59 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <LineItem> <SequenceNumber>1</SequenceNumber> <BeginDateTime>2001-09-16T09:04:00</BeginDateTime> <Return ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> <TransactionLink ReasonCode="Return"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>42949672912</SequenceNumber> <BusinessDayDate>2001-08-12</BusinessDayDate> </TransactionLink> <Disposal Method="ReturnToStock"/> <OperatorBypassApproval> <SequenceNumber>1</SequenceNumber> <ApproverID>45763</ApproverID> <LineApprovalCode>AA</LineApprovalCode> <EntryMethod>MSR</EntryMethod> </OperatorBypassApproval> </Return> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Cash” TypeCode=”Refund”> <Amount>4.89</Amount> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

Page 60: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 60 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

4.2 Scenario: Customer Gets Refund on Their Credit Card Brief Description Customer returns an item to a store, and gets the refund on their credit card. Data

Data Hierarchy Diagram

-@CardType[1]-CardIssuerID[0..1]-CardHolderName[0..1]-AccountNumber[0..1]-ExpirationDate[0..1]

CreditDebit (cType)-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

11..*

-....[1]Return

1

1

-...[1]Total

1

1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

11..*

-@TenderID[1]-@TypeCode[1]-Amount[1]-+Authorization[0..1]-+CreditDebit[0..1]

RetailTransactionTender (cType)

1 111

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Return --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

Page 61: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 61 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransaction.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <LineItem> <SequenceNumber>1</SequenceNumber> <BeginDateTime>2001-09-16T09:04:00</BeginDateTime> <Return ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> <TransactionLink ReasonCode="Return"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>42949672912</SequenceNumber> <BusinessDayDate>2001-08-12</BusinessDayDate> </TransactionLink> <Disposal Method="ReturnToStock"/> <OperatorBypassApproval> <SequenceNumber>1</SequenceNumber> <ApproverID>45763</ApproverID> <LineApprovalCode>AA</LineApprovalCode> <EntryMethod>MSR</EntryMethod> </OperatorBypassApproval> </Return> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”CreditDebit” TypeCode=”Refund”> <Amount>4.89</Amount> <CreditDebit CardType=”Credit”> <IssuerIdentificationNumber>123456789</IssuerIdentificationNumber> <CardHolderName>Joe Cool</CardHolderName> <PrimaryAccountNumber>12345678</PrimaryAccountNumber> <ExpirationDate>2005-09-16</ExpirationDate> </CreditDebit> </Tender>

Page 62: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 62 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

</LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

4.3 Scenario: Customer Gets Refund on Their Store Account Brief Description Customer returns an item to a store, and gets the refund on their store account Data

Data Hierarchy Diagram

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

1 1..*

-....[1]Return

1

1

-...[1]Total

1

1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1 1..*

-@TenderID[1]-@TypeCode[1]-@ChangeFlag[1]-Amount[1]-AccountID[0..1]-+AccountInfo[0..1]

RetailTransactionTender (cType)

1 1-AccountName[1]

AccountInfo

1 1

Page 63: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 63 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Return --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <LineItem> <SequenceNumber>1</SequenceNumber> <BeginDateTime>2001-09-16T09:04:00</BeginDateTime> <Return ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> <TransactionLink ReasonCode="Return"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>42949672912</SequenceNumber> <BusinessDayDate>2001-08-12</BusinessDayDate> </TransactionLink> <Disposal Method="ReturnToStock"/> <OperatorBypassApproval> <SequenceNumber>1</SequenceNumber> <ApproverID>45763</ApproverID> <LineApprovalCode>AA</LineApprovalCode> <EntryMethod>MSR</EntryMethod> </OperatorBypassApproval> </Return> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”StoreAccount” TypeCode=”Refund”> <Amount>4.89</Amount> <AccountID>1234</AccountID>

Page 64: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 64 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<AccountInfo> <AccountName>Joe Cool</AccountName> </AccountInfo> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

4.4 Scenario: Customer Gets Refund in Merchandise Voucher Brief Description Customer returns an item to a store, and gets a store voucher.

Page 65: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 65 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data

Data Hierarchy Diagram

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

11..*

-....[1]Return

1

1

-...[1]Total

1

1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

POSLog

11..*

-@TypeCode[1]-FaceValueAmount[0..1]-SerialNumber[1]-ExpirationDate[1]

RetailTransactionVoucher (cType)

1 1

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Return --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <LineItem> <SequenceNumber>1</SequenceNumber> <BeginDateTime>2001-09-16T09:04:00</BeginDateTime>

Page 66: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 66 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<Return ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> <TransactionLink ReasonCode="Return"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>42949672912</SequenceNumber> <BusinessDayDate>2001-08-12</BusinessDayDate> </TransactionLink> <Disposal Method="ReturnToStock"/> <OperatorBypassApproval> <SequenceNumber>1</SequenceNumber> <ApproverID>45763</ApproverID> <LineApprovalCode>AA</LineApprovalCode> <EntryMethod>MSR</EntryMethod> </OperatorBypassApproval> </Return> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Voucher” TypeCode=”Refund”> <Amount>4.89</Amount> <Voucher TypeCode=”GiftCertificate”> <FaceValueAmount>4.89</FaceValueAmount> <SerialNumber>12345678</SerialNumber> <ExpirationDate>2003-04-03</ExpirationDate> </Voucher> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

Page 67: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 67 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

4.5 Scenario: Customer Gets Refund in a Check Sent to an Address Brief Description Customer returns an item to a store, and a check is sent to the customer’s home address. Data

Data Hierarchy Diagram

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

11..*

-....[1]Return

1 1

-...[1]Total

1

1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

11..*

-Name[1]-AddressLine[1]-City[1]-State[1]-PostalCode[1]-CountryCode[1]

Address

-ReasonCode[1]SendCheck

11

11

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Return --> <!-- Note: Addition of Disposal and OperatorBypassApproval elements --> <!-- Inclusion of TransactionLink at line item level to validate the return --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/"

Page 68: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 68 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <LineItem> <SequenceNumber>1</SequenceNumber> <BeginDateTime>2001-09-16T09:04:00</BeginDateTime> <Return ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> <TransactionLink ReasonCode="Return"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>42949672912</SequenceNumber> <BusinessDayDate>2001-08-12</BusinessDayDate> </TransactionLink> <Disposal Method="ReturnToStock"/> <OperatorBypassApproval> <SequenceNumber>1</SequenceNumber> <ApproverID>45763</ApproverID> <LineApprovalCode>AA</LineApprovalCode> <EntryMethod>MSR</EntryMethod> </OperatorBypassApproval> </Return> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”Check” TypeCode=”Refund”> <Amount>4.89</Amount> <CustomerIdentification>1234</CustomerIdentification> <Address> <Name>Joe Cool</Name> <AddressLine>123 Main Street</AddressLine> <City>Mustang</City> <State>Oklahoma</State>

Page 69: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 69 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<PostalCode>123456</PostalCode> <CountryCode>USA</CountryCode> </Address> <SendCheck> <ReasonCode>Too much money</ReasonCode> </SendCheck> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

Page 70: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 70 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

5. USE CASE: POST PURCHASE PRICE ADJUSTMENT

5.1 Scenario: Customer Gets Refund in Cash After Returning to the Store

Brief Description Customer purchases an item. On the way to the car, the customer realizes she was overcharged for the item. She returns to the store and gets cash for the difference.

Flow Description 1. Customer purchases an item.

2. Customer leaves the store and heads for his car.

3. On the way to the car, he realizes he paid the wrong amount and returns to the store.

4. The Manager refunds the difference between what was actually paid and what should have been paid.

Data o Transaction header data, including:

o Identifiers for Store, Workstation, & Operator performing the transaction. o The date & time the transaction was performed o A workstation assigned sequence number identifying the transaction

o The Tender Information o Refund Amount of the Difference

Page 71: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 71 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data Hierarchy Diagram

-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

POSLog

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction

11..*-...[1]

Total

1 1

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

1 1..*

IXRetail Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Return --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <LineItem> <SequenceNumber>1</SequenceNumber> <Tender TenderID=”Cash” TypeCode=”Refund”> <Amount>4.89</Amount> <ReasonCode>Overcharged Customer</ReasonCode> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount">

Page 72: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 72 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

<Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

Page 73: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 73 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

6. USE CASE: MERCHANDISE FOR STORE USE

6.1 Scenario: Employee Takes an Item Off the Shelf For Use in the Store Brief Description An employee takes an item off the shelf to use in the store. The store charges the purchase against the store account. Flow Description

1. An Employee brings an item, for use in the store, to the POS to be rung up. 2. Cashier enters the item into the POS, and charges the item to the store account. 3. POS reports the transaction to POS-Log. 4. POS-Log presents the transaction to Stock Recording & Sales History. 5. Stock Recording System decrements the inventory counts for the item(s).

Data o Transaction header data, including:

o Identifiers for Store, Workstation, & Operator performing the transaction. o The date & time the transaction was performed o A workstation assigned sequence number identifying the transaction

o Item sale data, including: o An identifier for the item being sold. o The number of multiples of the item being sold. o Unit price for the item being sold. o The extended amount (i.e. Unit price * the number of items being sold)

o The Tender Information o Store Account Number o Amount of the Sale

Page 74: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 74 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Data Hierarchy Diagram

-@CancelFlag[1]-@TrainingModeFlag[1]-@OfflineFlag[1]-RetailStoreID[1]-WorkstationID[1]-SequenceNumber[1]-BusinessDayDate[1]-BeginDateTime[1]-EndDateTime[1]-OperatorID[1]-CurrencyCode[1]

Transaction

-@OutsideSalesFlag[1]-@SuspendFlag[1]-TillID[1]-SpecialOrderNumber[1]-ReceiptDateTime[1]

RetailTransaction-@VoidFlag[1]-@EntryMethod[1]-SequenceNumber[1]-BeginDateTime[1]-EndDateTime[1]

LineItem

1 1..*

-@ItemType[1]-ItemID[1]-MerchandiseHierarchy[1]-Description[1]-UnitCostPrice[1]-UnitListPrice[1]-RegularSalesUnitPrice[1]-InventoryValuePrice[1]-ActualSalesUnitPrice[1]-ExtendedAmount[1]

Sale

10..1

-@POSIDType[1]-POSItemID[1]-Qualifier[1]

POSIdentity

1

1

-@Units[1]-@UnitOfMeasureCode[1]

Quantity

1

1

-@TotalType[1]-Amount[1]

Total

10..1

POSLog

1 1..*

-@TenderID[1]-@TypeCode[1]-@ChangeFlag[1]-Amount[1]-AccountID[0..1]-+AccountInfo[0..1]

RetailTransactionTender (cType)

-AccountName[1]AccountInfo

1 1

1

0..1

Page 75: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 75 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

Example XML <?xml version="1.0" encoding="UTF-8"?> <!-- UseCase: Item Purchase from shelf --> <POSLog xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nrf-arts.org/IXRetail/namespace/ POSLogRetailTransactionStockView.xsd"> <Transaction> <RetailTransaction Version="1.0"> <RetailStoreID>HighStreet</RetailStoreID> <WorkstationID>POS5</WorkstationID> <SequenceNumber>4294967295</SequenceNumber> <BusinessDayDate>2001-08-13</BusinessDayDate> <BeginDateTime>2001-08-13T09:03:00</BeginDateTime> <LineItem> <SequenceNumber>1</SequenceNumber> <Sale ItemType="Stock"> <POSIdentity> <POSItemID>01234567890123</POSItemID> </POSIdentity> <ActualSalesUnitPrice>1.63</ActualSalesUnitPrice> <ExtendedAmount>4.89</ExtendedAmount> <Quantity>3</Quantity> </Sale> </LineItem> <LineItem> <SequenceNumber>2</SequenceNumber> <Tender TenderID=”StoreAccount” TypeCode=”Sale”> <Amount>4.89</Amount> <AccountID>5678</AccountID> <AccountInfo> <AccountName>HighStreet</AccountName> </AccountInfo> </Tender> </LineItem> <Total TotalType="TransactionGrandAmount"> <Amount>4.89</Amount> </Total> </RetailTransaction> </Transaction> </POSLog>

Page 76: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 76 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

7. SCHEMA IMPLEMENTATION POSLog.XSD – the base schema

POSLogLibrary.XSD –

POSLogLibraryRetailTransaction.XSD

POSLogRetailTransaction.XSD

POSLogRetailTransactionLineItem.XSD

POSLogRetailTransactionLoyalty.XSD

POSLogRetailTransactionTax.XSD

POSLogRetailTransactionTender.XSD

POSLogTransaction.XSD

POSLogControlTransaction.XSD

POSLogFoodServiceTransaction.XSD

POSLogForeCourtTransaction.XSD

POSLogTenderControlTransaction.XSD

Page 77: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 77 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

8. DOCUMENT HISTORY

Version History Ver Date Sections Description of Change 2.0 2003-04-02 All - Created Tendering Volume

Page 78: IXRetail POSLog Technical Specification Volume 2 ...download.microsoft.com/download/9/0/5/90582d53-7198-4da0-bf19... · IXRetail POSLog Technical Specification Volume 3.0.doc (Taxation)

IXRetail POSLog Technical Specification, Volume 2 - Tendering

Copyright 2003 International XML Retail Cooperative. All rights reserved. Page 78 Verbatim reproduction and distribution of this document is permitted in any medium, provided this notice is preserved.

9. GLOSSARY Term Definition