Electronic receipt system and electronic receipt processing method

The receipt image generation device and method address the challenge of identifying tax rates by using color-coded character strings to differentiate between standard and reduced tax rates in electronic receipts, enhancing user understanding.

JP2024144778AActive Publication Date: 2024-10-11TOSHIBA TEC KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024132050
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-10-11
Estimated Expiration
2039-09-24

AI Technical Summary

Technical Problem

Existing receipt image generation systems struggle to clearly indicate which tax rate has been applied to each product, making it difficult for users to easily confirm the tax information.

Method used

A receipt image generation device and method that includes an acquisition means to gather character string data and exchange data with associated marks, and a generation means to display these strings in different colors based on the applied tax rate, facilitating easy identification of tax rates through color differentiation.

Benefits of technology

Enables users to easily determine the applied tax rate for each product by distinguishing between standard and reduced tax rates through color-coded character strings in electronic receipts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024144778000001_ABST
    Figure 2024144778000001_ABST
Patent Text Reader

Abstract

To enable easy confirmation of which tax rate was applied to each of articles involved in a transaction.SOLUTION: A receipt image generator of an embodiment has acquisition means and generation means. The acquisition means acquires exchange data including a plurality of character string data including at least character string data on a character string representing an article name and character string data on a character string representing a transaction amount with respect to each of the articles that were the subject of one transaction, and including a predetermined mark associated with the articles to which a predetermined consumption tax rate is applied. The generation means displays each of the character strings represented by the character string data included in the exchange data acquired by the acquisition means, and generates image data relating to the receipt image in which at least one character string of the plurality of character strings relating to the article associated with the mark included in the exchange data is displayed in a different display color from the display colors of the other character strings.SELECTED DRAWING: Figure 8
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] An embodiment of the present invention relates to a receipt image generating device, an information processing program, and a receipt image generating method. [Background technology]

[0002] In response to the introduction of the reduced tax rate system, various measures have been devised, such as adding marks such as "Ke" or "Kei" near the product name on receipts to make it possible to identify products to which the reduced tax rate applies. However, the markings are not easy to understand, and more effective measures are expected to be developed. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2016-15109 A Summary of the Invention [Problem to be solved by the invention]

[0004] The problem that the present invention aims to solve is to provide a receipt image generating device, information processing program, and receipt image generating method that make it possible to easily check which tax rate has been applied to each item involved in a transaction. [Means for solving the problem]

[0005] The receipt image generating device of the embodiment includes an acquiring means and a generating means. The acquiring means acquires exchange data including, for each of the products that are the subject of a transaction, a plurality of pieces of character string data, including at least character string data of a character string representing a product name and a character string representing a transaction amount, and including a predetermined mark associated with a product to which a predetermined consumption tax rate is applied. The generating means displays each of the character strings represented by the character string data included in the exchange data acquired by the acquiring means, and further generates image data for a receipt image in which the display color of at least one of the plurality of character strings relating to the product associated with the mark included in the exchange data is made different from the display color of the other character strings. [Brief description of the drawings]

[0006] [Figure 1] FIG. 2 is a block diagram showing a main circuit configuration of a POS terminal according to an embodiment. [Diagram 2] FIG. 2 is a diagram showing a typical configuration of a data record included in a condition database in FIG. 1; [Diagram 3] 2 is a flowchart of a sales process performed by a processor in FIG. 1 . [Figure 4] 2 shows an example of a paper receipt issued by the POS terminal shown in FIG. 1. [Diagram 5] 5 is a diagram showing information that is included in the exchange data and represents the character string that appears on the paper receipt shown in FIG. 4. [Figure 6] 2 shows an example of a paper receipt issued by the POS terminal shown in FIG. 1. [Figure 7] 7 is a diagram showing information that is included in the exchange data and represents the character string that appears on the paper receipt shown in FIG. 6. [Figure 8] 4 is a flowchart showing a processing procedure of the processor in FIG. 1 in electronic receipt agent processing. [Figure 9] FIG. 2 is a diagram showing an example of a data record read by the processor in FIG. 1; [Figure 10] FIG. 2 is a diagram showing an example of a data record read by the processor in FIG. 1; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] An example of an embodiment will be described below with reference to the drawings. Note that in this embodiment, a POS terminal equipped with a function as a receipt image generating device will be described as an example.

[0008] FIG. 1 is a block diagram showing the main circuit configuration of a POS terminal according to this embodiment. 1 shows an electronic receipt system including POS terminals 101, 102 and a receipt server 103. The POS terminals 101, 102 and the receipt server 103 are capable of data communication via a communication network 200. The communication network 200 may be the Internet, a virtual private network (VPN), a local area network (LAN), a public communication network, a mobile communication network, or the like, either alone or in appropriate combination.

[0009] The POS terminals 101 and 102 have different specifications for information processing related to product sales, and in this embodiment, they are used by different retailers (Company A and Company B). However, FIG. 1 shows only the basic components of the POS terminals 101 and 102. Many of these basic components are often common regardless of the difference in the specifications for transaction data processing. Therefore, in FIG. 1, components having similar functions among the components of the POS terminals 101 and 102 are shown with the same reference numerals. However, the elements indicated by the same reference numerals included in the POS terminals 101 and 102 do not necessarily represent the same device, and different devices may be used. The POS terminals 101 and 102 may have the same hardware configuration.

[0010] The POS terminals 101, 102 include a processor 1, a main memory 2, an auxiliary storage unit 3, a clock unit 4, an input device 5, a display device 6, a barcode reader 7, a printer 8, a communication interface 9, and a transmission path 10. The processor 1, the main memory 2, the auxiliary storage unit 3, the clock unit 4, the input device 5, the display device 6, the barcode reader 7, the printer 8, and the communication interface 9 are connected by the transmission path 10.

[0011] In the POS terminals 101 and 102, a processor 1, a main memory 2, and an auxiliary storage unit 3 are connected via a transmission line 10 to constitute a computer that controls the POS terminals 101 and 102. The processor 1 corresponds to the central part of the computer. The processor 1 controls each part to realize various functions of the POS terminals 101 and 102 in accordance with an operating system and information processing programs such as application programs.

[0012] The main memory 2 corresponds to the main storage portion of the computer. The main memory 2 includes a nonvolatile memory area and a volatile memory area. The main memory 2 stores the above-mentioned information processing program in the nonvolatile memory area. The main memory 2 may also store data required for the processor 1 to execute processes for controlling each part in the nonvolatile or volatile memory area. The main memory 2 uses the volatile memory area as a work area where data is appropriately rewritten by the processor 1. The volatile memory area includes an area for storing a purchase item list, a so-called registration processing area.

[0013] The auxiliary memory unit 3 corresponds to the auxiliary memory portion of the computer. As the auxiliary memory unit 3, for example, a memory unit using a well-known memory device such as an EEPROM (electric erasable programmable read-only memory), a HDD (hard disk drive), or an SSD (solid state drive) can be used. The auxiliary memory unit 3 stores data used by the processor 1 when performing various processes and data generated by the processes in the processor 1. The auxiliary memory unit 3 stores a part of the information processing program.

[0014] The information processing programs stored in the auxiliary storage unit 3 of the POS terminal 101 include a sales processing program P1 and an agent program P2. The sales processing program P1 is an application program that describes information processing related to the sale of products (hereinafter referred to as sales processing). The agent program P2 is an application program that describes the process of generating electronic receipt data based on exchange data generated by sales processing based on the sales processing program P1 and transmitting the electronic receipt data to the receipt server 103.

[0015] The programs stored in the auxiliary storage unit 3 of the POS terminal 102 include a sales processing program P3 and an agent program P2. That is, in the auxiliary storage unit 3 of the POS terminal 102, the same agent program P2 as that of the POS terminal 101 is stored, but the sales processing program P1 is not stored, and instead, a sales processing program P3 is stored. The sales processing program P3 is an application program that describes sales processing.

[0016] The sales processing program P1 is created by any creator so as to suit the store operation and sales management of company A. The sales processing program P3 is created by any creator so as to suit the store operation and sales management of company B. However, the sales processing program P1 and the sales processing program P3 may have the same main body of the information processing program, but may have different settings for various processes based on the information processing program. The agent program P2 is created by any creator under the management of a service provider that provides an electronic receipt service using, for example, the receipt server 103.

[0017] The POS terminals 101, 102 are generally transferred in a state in which the sales processing programs P1, P3 are stored in the auxiliary storage unit 3. In this case, the sales processing programs P1, P3 may be stored in the main memory 2. However, the POS terminals 101, 102 may be transferred in a state in which the sales processing programs P1, P3 are not stored in the main memory 2 or the auxiliary storage unit 3. In this case, the sales processing programs P1, P3 are transferred in a state in which they are recorded on a removable recording medium such as a magnetic disk, a magneto-optical disk, an optical disk, or a semiconductor memory. Alternatively, the sales processing programs P1, P3 are transferred via a network. Then, the sales processing programs P1, P3 may be written in the main memory 2 or the auxiliary storage unit 3 of the POS terminals 101, 102 that have been transferred separately.

[0018] The agent program P2 is typically not stored in the auxiliary storage unit 3 when the POS terminals 101, 102 are transferred. The agent program P2 is downloaded to the POS terminals 101, 102 from the receipt server 103 or another server, for example, via the communications network 200, and written to the auxiliary storage unit 3. However, the agent program P2 may be recorded on a removable recording medium such as a magnetic disk, a magneto-optical disk, an optical disk, or a semiconductor memory and then transferred. Alternatively, the POS terminals 101, 102 may be transferred with the agent program P2 stored in the auxiliary storage unit 3. In this case, the agent program P2 may be stored in the main memory 2.

[0019] The clock unit 4 constantly performs a timekeeping operation, and outputs date and time information indicating the current date and time. The input device 5 receives an operation by an operator and outputs input information corresponding to the operation. As the input device 5, for example, a keyboard, a mouse, or a touch panel can be used. The display device 6 displays images showing various pieces of information to be presented to the operator. As the display device 6, for example, an LCD (liquid crystal display) or a touch panel can be used.

[0020] The barcode reader 7 reads a barcode that represents a membership code for identifying a member of the smart receipt service. The barcode is typically displayed on a display device mounted on an information terminal carried by the member. The barcode reader 7 may be shared with a device for reading a barcode that represents a product code that is displayed on a product and identifies the product, or a device for this purpose may be provided separately from the barcode reader 7.

[0021] The printer 8 prints various characters and images on receipt paper. The printer 8 then issues a paper receipt by ejecting the printed receipt paper outside the POS terminal 101, 102. The printer 8 can be, for example, a thermal printer or a dot matrix printer.

[0022] The communication interface 9 performs data communication via the communication network 200. In other words, the communication interface 9 is an example of a communication device. The transmission path 10 includes an address bus, a data bus, a control signal line, etc., and transmits data and control signals between each of the connected components.

[0023] Although FIG. 1 shows only the POS terminals 101 and 102, an electronic receipt system typically includes multiple POS terminals other than the POS terminals 101 and 102. The users of these POS terminals may be company A or company B, or may be a retailer other than companies A and B. All POS terminals used by company A store a sales processing program P1 in the auxiliary storage unit 3. All POS terminals used by company B store a sales processing program P3 in the auxiliary storage unit 3. All POS terminals used by retailers other than companies A and B store a sales processing program created by an arbitrary creator in order to suit the store operation and sales management of the retailer that is the user in the auxiliary storage unit 3. The agent program P2 is stored in the auxiliary storage unit 3 of each POS terminal, regardless of the user.

[0024] Next, a description will be given of the operation of the POS terminal 101 configured as above. Note that the contents of the processes described below are merely examples, and it is possible to change the order of some of the processes, omit some of the processes, or add other processes as appropriate.

[0025] Prior to starting to use the POS terminal 101, the condition database D1 and the user code D2 are stored in the auxiliary storage unit 3. For example, the condition database D1 is distributed together with the agent program P2, and is stored in the auxiliary storage unit 3 during installation processing for storing the agent program P2 in the auxiliary storage unit 3. Alternatively, the condition database D1 is stored in the auxiliary storage unit 3 under the instructions of a worker during installation or maintenance work of the POS terminal 101. As the user code D2, a user code for distinguishing a retailer who uses the electronic receipt service with the POS terminal 101 from other users of the electronic receipt service is written during installation work or the like of the POS terminal 101. The user code is, for example, assigned to the retailer under the management of the service provider when a contract for use of the electronic receipt service is concluded.

[0026] The condition database D1 is a collection of data records that represent conditions for the agent program P2 to generate electronic receipt data. The data records are associated with retailers that use the POS terminals 101, 102, or other POS terminals. The data records represent conditions related to the associated retailers. In other words, the condition database D1 is associated with each retailer that uses a POS terminal that may be included in the electronic receipt system, and is created under the management of a service provider that provides an electronic receipt service, for example, as a database that includes data records adapted to each retailer.

[0027] FIG. 2 is a diagram showing a schematic configuration of a data record DR1 contained in the condition database D1. Data record DR1 includes fields F11, F12, F13, F14, and F15. Field F11 is set with the customer code of the associated retailer. Field F12 is set with the code of the mark (hereinafter referred to as the tax mark) used by the associated retailer to indicate on paper receipts that the product is subject to the reduced tax rate. Field F13 is set with position data indicating the position where the tax mark will be placed on a paper receipt issued by the associated retailer. Field F14 is set with the color code of the display color (hereinafter referred to as the reference color) basically used in electronic receipt images as the reference color code. Field F15 is set with the color code of the display color (hereinafter referred to as the special color) used to indicate on electronic receipt images that the product is subject to the reduced tax rate as the special color code.

[0028] The condition database D1 and user code are written in the same manner to the auxiliary storage unit 3 of the POS terminal 102 and other POS terminals. However, the user code D3 given to company B is written to the auxiliary storage unit 3 of the POS terminal 102. The user code written to the auxiliary storage unit 3 of the other POS terminals may be the user code D2 or user code D3, or may be a different user code. Thus, by storing the condition database D1, the auxiliary storage unit 3 functions as a storage means.

[0029] When the POS terminal 101 is started in an operation mode for performing transaction data processing, the processor 1 starts sales processing in accordance with the sales processing program P1. FIG. 3 is a flowchart of a sales process by the processor 1 of the POS terminal 101.

[0030] In ACT1, the processor 1 checks whether or not a registration operation has been started by the operator. If the processor 1 cannot check the corresponding operation, it judges the result as NO and proceeds to ACT2. In ACT2, the processor 1 checks whether the membership code has been scanned. If the processor 1 cannot confirm that the membership code has been scanned, it determines that the result is NO and returns to ACT1. Thus, processor 1, as ACT1 and ACT2, waits for registration to begin or for a membership code to be scanned.

[0031] Before performing the registration operation for the transaction for which the operator wishes to apply the electronic receipt service, the operator holds the barcode representing the membership code over the barcode reader 7. The barcode reader 7 then scans the barcode and extracts the membership code from the barcode. In response, the processor 1 judges YES in ACT2 and proceeds to ACT3.

[0032] In ACT3, the processor 1 stores the membership code extracted by the barcode reader 7 in the main memory 2 or the auxiliary storage unit 3. After this, the processor 1 returns to the standby state of ACT1 and ACT2. Note that when the processor 1 proceeds to ACT3 again in response to the membership code being scanned again, it overwrites the membership code stored in the main memory 2 or the auxiliary storage unit 3 with the newly extracted membership code. In this embodiment, the membership code is obtained before the start of product registration, and is not obtained after the start of product registration. However, the processor 1 may obtain the membership code while the product registration is in progress.

[0033] If the operator wishes to start registration, he or she performs a registration operation for the purchased product that is the subject of the transaction. If the registration operation is performed while the processor 1 is in a standby state for ACT1 and ACT2, the processor 1 judges YES in ACT1 and proceeds to ACT4. As ACT4, the processor 1 performs registration processing and accounting processing. The registration processing is a process of registering the items purchased by the shopper in a purchase item list. The registration processing can be similar to the processing performed in a ready-made POS terminal. The accounting processing includes accounting processing and settlement processing. The accounting processing is a process of calculating the price of the items registered in the purchase item list. The settlement processing is a process of settling the price calculated by the accounting processing. The accounting processing can be similar to the processing performed in a ready-made POS terminal.

[0034] As ACT5, the processor 1 generates transaction data. The transaction data includes data collected by a POS server (not shown). The specific data to be included in the transaction data is arbitrary and may be determined, for example, by the designer of the sales processing program P1 or the administrator of the POS terminal 101. The processor 1 may immediately transmit the transaction data generated here to the POS server, or may transmit the transaction data stored in the auxiliary storage unit 3 to the POS server at any timing thereafter.

[0035] As ACT6, the processor 1 generates journal data. The journal data is data for checking the history of transactions processed by the POS terminal 101. The specific data to be included in the journal data is arbitrary and may be determined, for example, by the designer of the sales processing program P1 or the administrator of the POS terminal 101. The journal data may be printed and recorded on journal paper, or may be stored as electronic data. Journal data that remains as electronic data is typically stored in the auxiliary storage unit 3. However, the journal data may be stored in the POS server or in a portable storage medium.

[0036] In ACT7, the processor 1 checks whether the shopper is a member of the electronic receipt service. If the membership code is not stored in the main memory 2 or the auxiliary storage unit 3 in ACT3, the processor 1 determines NO and proceeds to ACT8. The processor 1 as ACT8 generates print data for printing a character string representing the transaction details on receipt paper, based on the list of purchased items and the results of the transaction process. The processor 1 as ACT 9 sends the above print data to the printer 8 and causes the printer 8 to print according to the print data, thereby issuing a paper receipt. The processor 1 then ends the sales process shown in FIG.

[0037] FIG. 4 shows an example of a paper receipt RE1 issued by the POS terminal 101. As shown in FIG. The paper receipt RE1 indicates various pieces of information about the contents of the transaction using various character strings. Area AR1 in paper receipt RE1 indicates the date and time the transaction was made, the register number for identifying the POS terminal 101, and the employee number and name of the operator of the POS terminal 101. Note that "YYYY", "MM", "DD", "DW", "TI", "MI", "RRRR", "NNNNNNNN", and "OOOO" in area A1 in Fig. 4 are actually set to represent the year, month, date, day of the week, hour, minute, register number, employee number, and name.

[0038] Area AR2 in paper receipt RE1 shows information about the purchased product that was the subject of the transaction (hereinafter referred to as product information). Within area AR2, two lines from the top form a set. The character strings in each set of two lines show product information about a product identified by one product code. For example, the first two lines show that two products with the product name "AAAAAAA" and a unit price of 100 yen were traded for a total of 200 yen. The "Ke" at the beginning of the first line is a tax mark indicating that a reduced tax rate was applied. The tax mark is an example of identification information for identifying the applied tax rate. Thus, area AR2 represents a list of merchandise to be traded.

[0039] Area AR3 in the paper receipt RE1 shows the total amount including tax, the total amount of consumption tax, the amount of consumption tax applied with the standard tax rate, the amount of consumption tax applied with the reduced tax rate, the receipt No., and the store No. Note that "NNNN" and "SSSS" in area AR3 in Figure 4 are actually set to four-digit decimal numbers.

[0040] On the other hand, if the membership code is stored in the main memory 2 or the auxiliary storage unit 3 in ACT3, the processor 1 judges YES in ACT7 and proceeds to ACT10. As ACT10, the processor 1 generates exchange data. The exchange data is data that includes information regarding the current transaction that should be displayed on the electronic receipt in a predetermined format. The processor 1 generates the exchange data by extracting predetermined information from data related to the transaction, such as print data on the paper receipt, journal data, and transaction data, and arranging the information in a predetermined format. The information included in the exchange data is mainly character string data that represents the character string to be displayed on the paper receipt. The processor 1 also includes the membership code stored in the main memory 2 or the auxiliary storage unit 3 in ACT3 in the exchange data.

[0041] FIG. 5 shows information that is included in the exchange data and indicates the character string that is displayed in area AR2 of the paper receipt RE1. The first line in Figure 5 corresponds to the first two lines of area AR2. In other words, the information shown in {} is product information about a product identified by one product code. This product information about one product is expressed by enclosing multiple character strings in "", and separating each character string with a :. The processor 1 stores the generated exchange data in the auxiliary storage unit 3 under a predetermined file name.

[0042] In ACT11, the processor 1 starts an electronic receipt agent process. Then, the processor 1 ends the sales process shown in Fig. 3. However, the processor 1 may end the sales process after waiting for the electronic receipt agent process started here to end.

[0043] In the POS terminal 102, the processor 1 executes a sales process in a similar manner to the general flow of the sales process described above. However, the paper receipt issued by the POS terminal 102 is different from the paper receipt RE1 shown in FIG.

[0044] Fig. 6 is an example of a paper receipt RE2 issued by the POS terminal 102. Note that Fig. 6 shows only the area showing the product list of the paper receipt RE2 issued for a transaction having the same content as the transaction shown on the paper receipt RE1. In paper receipt RE2, for example, the first two lines indicate that two items with the product name "AAAAAAA" and a unit price of 100 yen were purchased for a total of 200 yen, but the format in which each piece of information is presented is slightly different.

[0045] FIG. 7 shows information that is included in the exchange data and represents the character string that is displayed in the area of ​​the paper receipt RE2 shown in FIG. The exchange data generated by the POS terminal 101 and the POS terminal 102 display different information contents, but the form is the same.

[0046] When the electronic receipt agent is started, the processor 1 executes electronic receipt agent processing based on the agent program P2 in a thread separate from the sales processing shown in FIG. 8 is a flowchart showing the procedure of the electronic receipt agent process performed by the processor 1. The electronic receipt agent is realized by the processor 1 executing the electronic receipt agent process.

[0047] As ACT21, the processor 1 reads the exchange data generated by the sales process and stored in the auxiliary storage unit 3 as described above into a work area for electronic receipt agent processing in the main memory 2. In the following processes, the processor 1 processes the exchange data read here. Therefore, hereinafter, when the term "exchange data" is used, it refers to the exchange data read into the main memory 2. In this way, the processor 1 acquires the exchange data. In this way, the processor 1 executes information processing based on the agent program P2, and the computer with the processor 1 as its central part functions as an acquisition means.

[0048] As ACT22, the processor 1 reads the data record DR1 associated with the user from among the data records DR1 included in the condition database D1 into the work area for electronic receipt agent processing in the main memory 2. For example, the processor 1 finds the data record DR1 in which the user code set in the field F11 matches the user code stored in the auxiliary storage unit 3 from among the data records DR1 included in the condition database D1. That is, in the POS terminal 101, the processor 1 finds the data record DR1 in which the user code D2 of company A is set in the field F11. In the POS terminal 102, the processor 1 finds the data record DR1 in which the user code D3 of company B is set in the field F11. If the processor 1 finds the corresponding data record DR1, it reads it into the work area for electronic receipt agent processing in the main memory 2. In the following processing, the processor 1 refers to the data record DR2 read here. Therefore, in the following, when simply referring to the "data record DR1", it refers to the data record DR1 read into the main memory 2 here.

[0049] FIG. 9 is a diagram showing an example of a data record DR1 that the processor 1 of the POS terminal 101 reads in ACT22. FIG. 9 shows an example in which the user code of company A, the user of the POS terminal 101, is "0001." In the paper receipt RE1 issued by the POS terminal 101, "Ke" is the tax mark and is placed at the first position of the character strings included in the product information for one product. For this reason, the character code for "Ke", "8350", is set in field F12, and "1" is set in field F13. In addition, in the electronic receipt for a transaction processed by the POS terminal 101, "black" is set as the base color and "blue" is set as the special color, and the color codes for these colors, "#000000" and "#0000ff", are set in fields F14 and F15, respectively.

[0050] 10 is a diagram showing an example of a data record DR1 read by the processor 1 of the POS terminal 102 in ACT22. In the paper receipt RE2 issued by the POS terminal 102, "light" is the tax mark, and is arranged as the fourth character string included in the product information for one product. Therefore, the character code for "light" is set to "8C79" in field F12, and "4" is set in field F13. In addition, in the electronic receipt for a transaction processed by the POS terminal 102, "black" is set as the base color and "green" is set as the special color, and the color codes for each color, "#000000" and "#008000", are set in fields F14 and F15, respectively.

[0051] As ACT23, the processor 1 generates image data representing the portion of the electronic receipt image preceding the product list, based on the exchange data and the data record DR1. The processor 1 applies a display color corresponding to the color code set in field F14 of the data record DR1 to the character string displayed in the receipt image represented by the image data generated here. That is, in the above specific example, the display color of the corresponding character string is set to "black" in both the POS terminal 101 and the POS terminal 102.

[0052] As ACT24, the processor 1 extracts one item of product data included in the exchange data. In ACT25, the processor 1 checks whether the extracted product data has a tax mark. For example, if the character of the mark code set in the field F12 of the data record DR1 is not placed at the position indicated by the position data set in the field F13 of the data record DR1 in the extracted product data, the processor 1 determines that there is no tax mark. If there is no tax mark, the processor 1 determines NO and proceeds to ACT26. In ACT26, the processor 1 updates the image data so that the character string included in the product data extracted in ACT24 is displayed in a reference color.

[0053] On the other hand, if the character of the mark code is located at the position, the processor 1 determines that a tax mark is present and judges YES in ACT25, and proceeds to ACT27. In ACT27, the processor 1 updates the image data so that the character string included in the product data extracted in ACT24 is displayed in a special color.

[0054] After updating the image data in ACT26 or ACT27, the processor 1 proceeds to ACT28. In ACT28, the processor 1 checks whether the exchange data contains product data that has not yet been extracted in ACT24. If there is unextracted product data, the processor 1 judges that the result is YES, and repeats ACT24 and subsequent steps in the same manner as described above. However, in ACT24, the processor 1 extracts product data that has not yet been extracted while looping the processes from ACT24 to ACT28.

[0055] Thus, the processor 1 sequentially updates the image data so that the character strings included in each of the product data included in the exchange data are displayed in a standard color or a special color depending on the presence or absence of a tax mark. In this way, the processor 1 generates image data representing an image in which the display color of the character string related to each product is changed depending on the presence or absence of the associated tax mark. In this way, the processor 1 executes information processing based on the agent program P2, and the computer with the processor 1 as the central part functions as a generating means. Then, if the processor 1 has finished extracting all the product data and proceeds to ACT28, it judges NO and proceeds to ACT29.

[0056] In ACT29, the processor 1 updates the image data so as to add an image of the part of the electronic receipt image that is after the product list, based on the replacement data and the data record DR1. The processor 1 applies the reference color to the character string included in the image to be added.

[0057] In ACT 30, the processor 1 generates electronic receipt data including the image data updated in ACT 29 and the membership code included in the exchange data. The processor 1 may include any data other than the image data and the membership code in the electronic receipt data.

[0058] As ACT31, the processor 1 transmits the electronic receipt data to the receipt server 103. For example, the processor 1 transmits the electronic receipt data from the communication interface 9 to the communication network 200, addressed to the receipt server 103. The processor 1 then ends the electronic receipt agent process.

[0059] When the electronic receipt data is transmitted to the receipt server 103 via the communication network 200, the receipt server 103 updates the electronic receipt database to include the electronic receipt data. Then, when a display of an electronic receipt image is requested from a user terminal (not shown) via the communication network 200, the receipt server 103 instructs the user terminal to display the electronic receipt image included in the electronic receipt data. As a result, if the user terminal has a color display device, the display color of the text in the product list in the electronic receipt image is changed depending on whether the standard tax rate or the reduced tax rate has been applied. This allows a viewer of the electronic receipt image to easily determine the tax rate applied to each product from the difference in display color.

[0060] Moreover, the POS terminals 101 and 102 judge whether or not the tax mark is included in the product data based on the conditions described in the data record DR1 associated with the user in the condition database D1. As a result, even if the character used as the tax mark and the position of the tax mark in the exchange data differ for each user, as shown in Figs. 5 and 7, the presence or absence of the tax mark can be reliably judged.

[0061] Furthermore, the POS terminals 101 and 102 determine the colors to be used as the standard color and the special color based on the conditions described in the data record DR1 associated with the user in the condition database D1. This allows the color coding according to whether the standard tax rate or the reduced tax rate is applied to be customized for each user.

[0062] This embodiment can be modified in various ways as follows.

[0063] The special color may be applied to only a part of the character string included in the product data related to the product to which the reduced tax rate is applied. For example, the special color may be applied to only the character string representing the product name.

[0064] In the exchange data, a tax mark may be included in product data relating to products to which the standard tax rate is applied.

[0065] The tax mark may be a mark such as a star.

[0066] A special color may be applied to character strings included in product data relating to products to which a standard tax rate is applied, and a standard color may be applied to character strings included in product data relating to products to which a reduced tax rate is applied.

[0067] The reference color may be common to all users.

[0068] The electronic receipt agent process may be executed by the receipt server 103. In this case, the receipt server 103 has the function of a receipt image generating device. The electronic receipt agent process may also be executed by a device separate from the POS terminals 101, 102 and the receipt server 103. In this case, it can be realized as an independent receipt image generating device whose main function is to execute the electronic receipt agent process, or a device such as a POS server that has a main function other than executing the electronic receipt agent process can also have the function of a receipt image generating device. When the electronic receipt agent process is executed by a device separate from the POS terminal, the exchange data can be obtained from the POS terminal by communication via the communication network 200, for example.

[0069] Each function realized by the processor 1 through information processing can be realized in part or in whole by hardware that executes information processing not based on a program, such as a logic circuit, etc. Also, each of the above functions can be realized by combining the above hardware, such as the logic circuit, with software control.

[0070] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]

[0071] 1...processor, 2...main memory, 3...auxiliary memory unit, 4...clock section, 5...input device, 6...display device, 7...barcode reader, 8...printer, 9...communication interface, 10...transmission path, 101...POS terminal, 102...POS terminal, 103...receipt server, 200...communication network.

Claims

1. an acquisition means for acquiring exchange data including a plurality of character string data, each of which includes, for each of the products that are the subject of a transaction, character string data that includes at least character string data of a character string representing a product name and character string data of a character string representing a transaction amount, and including a predetermined mark associated with the product to which a predetermined consumption tax rate is applied; a generating means for generating image data for a receipt image in which each of the character strings represented by the character string data included in the exchange data acquired by the acquiring means is displayed, and in which the display color of at least one of the character strings related to the product with which the mark included in the exchange data is associated is made different from the display color of the other character strings; A receipt image generating device comprising:

2. A predetermined one of characters or symbols that may be included in the character string is used as the mark; the generating means generates the receipt image as an image in which the mark included in the exchange data and at least one of a plurality of character strings related to the product with which the mark is associated are displayed on the same line. The receipt image generating device according to claim 1 .

3. a storage means for storing a data record representing at least one of a position including a mark and the mark included in each of a plurality of types of the exchange data, the data record being associated with each of the plurality of types of the exchange data, the position including a mark and the mark included in the associated exchange data; Further equipped with The acquiring means acquires a predetermined type of the exchange data among a plurality of types of the exchange data, The generating means detects a mark included in the exchange data acquired by the acquiring means based on the data record associated with the exchange data acquired by the acquiring means.

3. The receipt image generating device according to claim 1 or 2.

4. A computer provided in the receipt image generating device, an acquisition means for acquiring exchange data including a plurality of character string data, each of which includes, for each of the products that are the subject of a transaction, character string data that includes at least character string data of a character string representing a product name and character string data of a character string representing a transaction amount, and including a predetermined mark associated with the product to which a predetermined consumption tax rate is applied; a generating means for generating image data for a receipt image in which each of the character strings represented by the character string data included in the exchange data acquired by the acquiring means is displayed, and in which the display color of at least one of the character strings related to the product with which the mark included in the exchange data is associated is made different from the display color of the other character strings; An information processing program that enables the system to function as such.

5. Acquire replacement data including, for each of the products that are the subject of a transaction, a plurality of character string data including at least character string data of a character string representing a product name and character string data of a character string representing a transaction amount, and including a predetermined mark associated with the product to which a predetermined consumption tax rate is applied; displaying each of the character strings represented by the character string data included in the acquired exchange data, and generating image data for a receipt image in which the display color of at least one of the plurality of character strings related to the product with which the mark included in the exchange data is associated is made different from the display color of the other character strings; Receipt image generation method.

Citation Information

Patent Citations

  • Merchandise sales data processor, electronic receipt management server, printing control device, and program

    JP2016015109A

  • Shopping support device and shopping support method

    JP2016206833A

  • Commodity selling data processing device, program and commodity selling data processing system

    JP2017111701A

  • Sales data processing device and program

    JP2017157089A

  • Electronic receipt management server, transmission method of electronic receipt, and program

    JP2018166003A