Information processing device and program

By designing and calculating the personal and total consumption tax amounts of each product for information processing equipment and calculating and adjusting the amount according to the difference, the management problem of rounding the consumption tax amount in multiple products is solved, and the accuracy of the return amount is achieved.

JP7666046B2Active Publication Date: 2025-04-22CASIO COMPUTER CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2021047507
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-08-18
Filing Date
2021-03-22
Publication Date
2025-04-22
Estimated Expiration
2041-03-22

AI Technical Summary

Technical Problem

In prior art, rounding errors in the consumption tax amount may lead to adjustment errors when handling multiple products, and excessive or too little rounding errors may be returned when returning some products.

Method used

By designing a multi-level processing process for information processing equipment, including calculating the personal consumption tax amount and total consumption tax amount of each product separately, and calculating the adjusted amount of each product based on the differences, ensuring the reasonable allocation of the differences.

Benefits of technology

Effectively manage and allocate the rounding errors of consumption tax amounts when registering multiple products, ensure that the amount at return is accurate and avoid adjustment errors caused by rounding errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007666046000001
    Figure 0007666046000001
  • Figure 0007666046000002
    Figure 0007666046000002
  • Figure 0007666046000003
    Figure 0007666046000003
Patent Text Reader

Abstract

To properly manage a rounded error of a tax amount, a pt or a discount amount in registering a plurality of commodities.SOLUTION: A CPU 21 of an information processing device 1 derives an individual consumption tax amount (or individual pt, individual discount amount) by multiplying a price of each of a plurality of target commodities whose sales are registered by a consumption tax ratio (or pt ratio, discount ratio), and derives a total of the derived individual consumption tax amounts (or individual pts, individual discount amounts). The CPU 21 derives a collective consumption tax amount (or collective pt, collective discount amount) obtained by multiplying a total price obtained by aggregating the price of each of the plurality of target commodities whose sales are registered by the consumption tax ratio (or pt ratio, discount ratio). Then, the CPU 21 determines a correct amount (or pt correction, discount correction) for correcting a difference amount (difference) between the total of the individual consumption tax amounts (or individual pts, individual discount amounts) and the collective consumption tax amount (or collective pt, collective discount amount) for each target commodity.SELECTED DRAWING: Figure 19
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device and a program. [Background technology]

[0002] Conventionally, in order to enable accurate accounting of consumption tax amounts, a consumption tax adjustment method has been proposed in which, for example, the differences α and β due to rounding errors between the consumption tax amount on invoices during a billing period invoiced to a business partner and the consumption tax amount on invoices during a monthly period are stored, and an adjustment amount γ is calculated by summing up these stored differences α and β at the end of the period (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 6-60095 Summary of the Invention [Problem to be solved by the invention]

[0004] However, in the consumption tax adjustment method described in Patent Document 1, when each invoice is made up of multiple products, rounding errors may occur between the total amount of consumption tax for each product and the consumption tax amount per invoice, i.e., the consumption tax amount obtained by multiplying the taxable amount for all multiple products by the tax rate. In such a case, if a return process is carried out for some of the products on the invoice, there is a risk that the refund will be more (or less) by the amount of the rounding error. In addition, problems related to such rounding errors may also occur, for example, with points awarded when purchasing products or discount amounts when purchasing products.

[0005] The present invention has been made in consideration of such problems, and has an object to appropriately manage rounding errors in the amount of consumption tax, points, or discount amount that occur when multiple products are registered. [Means for solving the problem]

[0006] In order to solve the above problems, an information processing device according to one aspect of the present invention comprises: a first derivation means for deriving an individual consumption tax amount by multiplying the price of each of a plurality of target products registered as sales by a consumption tax rate, and deriving a sum of the derived individual consumption tax amounts; A second derivation means for deriving a lump-sum consumption tax amount obtained by multiplying the total price obtained by adding up the prices of the plurality of target products by the consumption tax rate; a correction amount determination means for determining a correction amount for each of the target products to correct the difference between the total of the individual consumption tax amounts and the lump-sum consumption tax amount; A setting means for setting an allocation priority of each target product based on a tax fraction generated when the individual consumption tax amount is derived; Equipped with 、 The correction amount determination means determines the correction amount for each of the target products by sequentially allocating a predetermined unit of amount according to the allocation order set by the setting means until the difference is fully appropriated. It is characterized by the above.

[0007] Further, an information processing device according to another aspect of the present invention comprises: a first derivation means for deriving individual points by multiplying the price of each of a plurality of target products registered as sales by a point rate, and deriving a sum of the derived individual points; a second derivation means for deriving a lump sum of points obtained by multiplying a total price obtained by adding up the prices of the plurality of target products by the point rate; a correction point determination means for determining a correction point for each of the target products to correct a difference between the total of the individual points and the lump-sum points; A setting means for setting an allocation ranking of each target product based on a point fraction generated when the individual points are derived; Equipped with 、 The correction point determination means determines the correction points for each of the target products by sequentially allocating points in a predetermined unit according to the allocation order set by the setting means until the difference is fully allocated. It is characterized by the above.

[0008] Further, an information processing device according to another aspect of the present invention comprises: a first derivation means for deriving an individual discount amount by multiplying the price of each of a plurality of target products registered as sales by a discount rate, and deriving a sum of the derived individual discount amounts; a second derivation means for deriving a lump-sum discount amount obtained by multiplying a total price obtained by adding up the prices of the plurality of target products by the discount rate; a correction amount determination means for determining a correction amount for each of the target products to correct the difference between the total of the individual discount amounts and the lump-sum discount amount; a setting means for setting an allocation priority of each target product based on a discount fraction generated when the individual discount amount is derived; Equipped with 、 The correction amount determination means determines the correction amount for each of the target products by sequentially allocating a predetermined unit of amount according to the allocation order set by the setting means until the difference is fully appropriated. It is characterized by the above. Effect of the Invention

[0009] According to the present invention, rounding errors in the amount of consumption tax, points, or discount amount that occur when multiple products are registered can be appropriately managed. [Brief description of the drawings]

[0010] [Figure 1] 1 is an external view of an information processing apparatus according to an embodiment of the present invention; [Diagram 2] 2 is a block diagram showing a functional configuration of the information processing device shown in FIG. 1. [Diagram 3] FIG. 13 is a diagram illustrating an example of data storage in a product setting table. [Figure 4] 13 is a flowchart showing a product registration process. [Diagram 5] 13 is a flowchart showing a detail portion data reduction process; [Figure 6] FIG. 13 is a diagram showing detail portion data. [Figure 7] FIG. 13 is a diagram showing accounting department data. [Figure 8] FIG. 13 is a diagram showing detail portion data. [Figure 9] FIG. 13 shows a purchase receipt. [Figure 10] 13 is a flowchart showing a return product registration process. [Figure 11] FIG. 13 is a diagram showing a receipt number input screen. [Figure 12] FIG. 13A is a diagram showing a return operation screen, and FIG. 13B is a diagram showing the state when the return button is operated on the return operation screen of FIG. [Figure 13] FIG. 13 is a diagram showing return accounting data. [Figure 14]FIG. 13 shows a return receipt. [Figure 15] 13 is a flowchart showing a product registration process according to the first modified example. [Figure 16] 13 is a flowchart showing a second detail section data reduction process. [Figure 17] FIG. 13 is a diagram showing detail portion data of the first modified example. [Figure 18] FIG. 13 is a diagram showing accounting department data in the first modified example. [Figure 19] FIG. 13 is a diagram showing detail portion data of the first modified example. [Figure 20] FIG. 13 is a diagram showing a purchase receipt according to the first modified example. [Figure 21] FIG. 13 is a diagram showing return accounting data in the first modified example. [Figure 22] FIG. 13 is a diagram showing a return receipt according to the first modified example. [Figure 23] 13 is a flowchart showing a product registration process according to the second modified example. [Figure 24] 13 is a flowchart showing a detail data reduction process according to the second modification. [Diagram 25] FIG. 13 is a diagram showing detail portion data of the second modified example. [Figure 26] FIG. 13 is a diagram showing accounting department data in the second modified example. [Figure 27] FIG. 13 is a diagram showing detail portion data of the second modified example. [Figure 28] FIG. 13 is a diagram showing a purchase receipt according to the second modified example. [Figure 29] FIG. 13 is a diagram showing return accounting data in the second modified example. [Diagram 30] FIG. 13 is a diagram showing a return receipt according to the second modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. Note that the present invention is not limited to the illustrated examples.

[0012] Configuration of information processing device 1 The configuration of an information processing device 1 according to the present embodiment will be described with reference to FIGS. The information processing device 1 is, for example, an ECR (Electronic Cash Register) installed in a store such as a supermarket or convenience store, and is a device that performs product registration (sales registration) of the amount, quantity, etc. of products sold to customers through operation by a store clerk (operator).

[0013] FIG. 1 is an external view showing an information processing device 1. As shown in FIG. 1, the information processing device 1 includes a main body 201, a printing unit 28, and a drawer 29. The main body 201 includes an operation unit 22 as a touch panel, a display unit 24a for store clerks on whose display screen the touch panel is provided, and a display unit 24b for customers. The display unit 24a is composed of an LCD (Liquid Crystal Display), an EL (Electro Luminescent) display, or the like, and displays various screen information for store clerks, etc. The display unit 24b is composed of an LCD, an EL display, or the like, and the display screen can be rotated to the customer side or the store clerk side, and displays information such as the price of products for customers and the total price.

[0014] Printing unit 28 is a printing unit such as a thermal printer that prints receipts, report data, etc. on paper such as roll paper. Drawer 29 is a drawer for storing cash, gift certificates, etc. Main body unit 201, printing unit 28, and drawer 29 are configured to be communicatively connected by wired communication via a cable, but this is not limited to this, and they may be communicatively connected by wireless communication. In addition, main body unit 201 may be configured to be connected to other devices, such as an electronic payment unit for reading credit cards and making electronic payments, and a scanner unit such as a laser scanner or image scanner.

[0015] Next, the internal functional configuration of the information processing device 1 will be described with reference to Fig. 2. Fig. 2 is a block diagram showing the functional configuration of the information processing device 1.

[0016] As shown in FIG. 2, the information processing device 1 includes a CPU (Central Processing Unit) 21, an operation unit 22, a RAM (Random Access Memory) 23, a display unit 24a as a display, a display unit 24b, a ROM (Read Only Memory) 25, a communication unit 26, a memory unit 27, a printing unit 28, a drawer 29, and a timing unit 30.

[0017] The units of the information processing device 1 are connected to each other via a bus 31. In Fig. 2, the units other than the printing unit 28 and the drawer 29 are provided in a main body 201, and for simplicity, the connections between the main body 201 in Fig. 1 and the printing unit 28 and the drawer 29 are expressed as connections via the bus 31.

[0018] The CPU 21 (first derivation means, second derivation means, correction amount determination means, output control means, acceptance means, correction point determination means) controls each part of the information processing device 1. The CPU 21 reads out a specified program from the various programs from the ROM 25, expands it in the RAM 23, and executes various processes including a product registration process and a return registration process described later in cooperation with the expanded program.

[0019] The operation unit 22 is a touch panel provided on the display screen of the display unit 24a, which detects touch operations by the user and outputs position information of the touched position to the CPU 21. The operation unit 22 accepts touch operations on, for example, numeric keys, PLU (Price Look Up) key, department key, provisional closing key, subtotal key, cash sales / deposit key (closing key) displayed on a sales registration screen (not shown) of the display unit 24a, soft keys such as a print key and a close key displayed on an electronic journal screen (not shown), and lists displayed on the screen. The operation unit 22 may be configured to have hard keys.

[0020] The RAM 23 is, for example, a volatile semiconductor memory, and forms a work area for storing various data and programs.

[0021] Under the control of the CPU 21, the display units 24a and 24b display various types of display information on the display screen.

[0022] The ROM 25 is a read-only memory that stores various data and programs.

[0023] The communication unit 26 is configured with a network card or the like, and transmits and receives information to and from devices on a communication network such as a LAN (Local Area Network) or a WAN (Wide Area Network).

[0024] The storage unit 27 is a storage unit capable of writing and reading information, and is composed of a battery-backed RAM, a flash memory, etc. The storage unit 27 stores sales data (description data, accounting data), various setting information (for example, a product setting table 27a (described later)), etc.

[0025] The printing unit (issuing means) 28 prints data such as receipts, reports, and electronic journals on paper under the control of the CPU 21. The printing unit 28 includes an internal cutter and can print while cutting the paper under the control of the CPU 21. The drawer 29 is opened under the control of the CPU 21, for example, when closing the sales registration.

[0026] The timekeeping unit 30 is a real-time clock that keeps track of the current date and time, and outputs the current date and time information to the CPU 21.

[0027] Next, the product setting table 27a stored in the storage unit 27 will be described. FIG. 3 is a diagram showing an example of data storage in product setting table 27a. As shown in FIG. 3, product setting table 27a has items such as "product code," "product name," "unit price (excluding tax)," "tax category," and "tax rate." Here, "product code" is a code that identifies each product. "Product name" is the name of the product. "Unit price (excluding tax)" is the price excluding tax per product. "Tax category" is information that identifies how consumption tax is handled. "Tax rate" is the consumption tax rate. The product setting table 27a shown in FIG. 3 shows only a selection of products.

[0028] <Operation of information processing device 1> <Product registration process> Next, a description will be given of the operation of the information processing device 1. Fig. 4 is a flowchart showing the product registration process.

[0029] As shown in FIG. 4, first, the CPU 21 determines whether or not a product has been registered via the operation unit 22 while a sales registration screen (not shown) is displayed on the display unit 24a (step S1).

[0030] In step S1, if it is determined that a product has been registered via the operation unit 22 (step S1; YES), the CPU 21 reads out product setting information for the target product (information for each of the following items: "product code," "product name," "unit price (excluding tax)," "tax category," and "tax rate") from the product setting table 27a stored in the memory unit 27 (step S2).

[0031] Next, the CPU 21 creates detailed statement data in the RAM 23 based on the product setting information read out in step S2 (step S3).The CPU 21 then calculates the detailed statement total (step S4) and returns the process to step S1.

[0032] Here, the description detail data will be described. Fig. 6 is a diagram showing the description detail data D1 when one each of three products, juice, bread, and gum, are registered. As shown in FIG. 6, the detailed data D1 is composed of information on each of the following items: "Product name", "Quantity", "Amount", "Tax category", "Tax rate", "Taxable amount", "Individual tax amount", "Tax fraction", "Tax included", "Tax adjustment order", and "Tax adjustment". The detailed data D1 is structured such that the number of detailed lines increases each time a product is registered, such as "juice", "bread", and "gum", and the detailed total is calculated and updated each time. The information on each of the items of "Product name", "Quantity", "Amount", "Tax category", and "Tax rate" in the detailed data D1 is generated based on the product setting information read in step S2. The information on the item of "Taxable amount" is generated based on the information on the above-mentioned "Amount", and the information on the "Amount" item is usually used as is. The information on the item of "Individual tax amount" (e.g., individual tax amount of juice 86 yen) is derived by multiplying the information on the item of "Taxable amount" (e.g., tax amount of juice 855 yen) by the information on the item of "Tax rate" (e.g., tax rate of juice 10%). Any fractions that arise when deriving the individual tax amount are rounded off. The information in the "tax fraction" field is the fractions that arise when deriving the individual tax amount. The information in the "tax included" field (for example, 941 yen including tax for juice) is derived by adding the information in the "taxable amount" field (for example, 855 yen for juice subject to tax) to the information in the "individual tax amount" field (for example, 86 yen for juice individual tax). The information in the "quantity," "amount," "taxable amount," "individual tax amount," "tax fraction," and "tax included" fields in the detail total row of the detailed item data D1 is the sum of the information in the corresponding fields for each registered product. For example, as shown in Figure 6, the information "140 (yen)" in the "individual tax amount" field in the detailed total row is the sum of the information "86 (yen)," "44 (yen)," and "10 (yen)" in the "individual tax amount" fields for the registered products "juice," "bread," and "gum." Note that for the items "tax adjustment order" and "tax adjustment" (described below), no corresponding information is generated at the stage of creating detailed data in step S3.

[0033] Returning to the explanation of the product registration process, if it is determined in step S1 that product registration has not been performed via the operation unit 22 (step S1; NO), the CPU 21 determines whether or not a subtotal key (not shown) has been operated via the operation unit 22 (step S5).

[0034] In step S5, if it is determined that the subtotal key has been operated via the operation unit 22 (step S5; YES), the CPU 21 creates accounting data on the RAM 23 based on the detail data created in step S3 (step S6).

[0035] Here, the accounting data will be described. Fig. 7 is a diagram showing accounting data D2 created based on the detail data D1 shown in Fig. 6. As shown in FIG. 7, the accounting department data D2 is composed of information on each of the items "Taxable total", "Tax amount", "Voucher total", and "Tax adjustment total". The "Taxable total" item information "1394 yen" is derived from the "Taxable amount" item information "1394 yen" of the detailed total of the detailed data D1. The "Tax amount" item information "139 yen" is derived by multiplying the "Taxable total" item information "1394 yen" by a tax rate of 10%. In other words, the "Tax amount" means the lump-sum consumption tax amount applied to all the target products of the sales registration, which is the total of each consumption tax amount obtained by multiplying the total price obtained by adding the price (taxable amount) of each target product group with the same applicable consumption tax rate by the applicable consumption tax rate. The "Voucher total" item information "1533 yen" is derived by adding the "Taxable total" item information "1394 yen" to the "Tax amount" item information "139 yen". The information "1533 yen" in the "ticket total" field is the amount (payment price) paid by the customer in the transaction in the above example. This is to make the payment price easier for the customer to understand by setting the payment price to the amount (ticket total) derived from a simple calculation of multiplying the total of the tax-excluded prices (taxable amount) of products (juice, bread, and gum) to which the same consumption tax rate (10%) is applied by the consumption tax rate. However, the consumption tax amount "139 yen" included in this payment price "1533 yen" has an error (rounding error) with the information "140 yen" in the "individual tax amount" field of the detailed total of the detailed data D1. Therefore, in this embodiment, in order to prevent the consumption tax amount to be refunded from being too much (or too little) in the return registration process described later, which must use the individual consumption tax amount, the information in the "tax correction" field of each product registered in the detailed data D1 is determined in advance in the detailed data return process described later (see FIG. 5), and the amount of consumption tax to be refunded is adjusted. The information "-1 yen" in the "Tax adjustment total" item is derived by subtracting the information "140 yen" in the "Individual tax amount" item of the detailed total of the detailed information data D1 from the information "139 yen" in the "Tax amount" item.

[0036] Returning to the explanation of the product registration process, CPU 21 determines whether or not the information in the item "tax correction amount" of the accounting department data created in step S6 is 0 yen (step S7).

[0037] In step S7, if it is determined that the information in the "tax correction total" field of the accounting department data is 0 yen (step S7; YES), the CPU 21 returns the process to step S1 and repeats the subsequent processes. On the other hand, in step S7, if it is determined that the information in the "Tax Adjustment Total" field of the accounting department data is not 0 yen (step S7; NO), the CPU 21 executes a detailed data reduction process (step S8), and then returns the process to step S1, and repeats the subsequent processes.

[0038] FIG. 5 is a flowchart showing the detail data reduction process. As shown in FIG. 5, when the detail data reduction process is started, first, the CPU 21 sets the tax correction order (step S21). Specifically, when the information in the "tax correction total" field of the accounting data is a positive amount, the CPU 21 sets the descending order of the information in the "tax fraction" field of the detail data as the tax correction order. On the other hand, when the information in the "tax correction total" field of the accounting data is a negative amount, the CPU 21 sets the ascending order of the information in the "tax fraction" field of the detail data as the tax correction order. For example, in the accounting data D2 created based on the detail data D1 shown in FIG. 6, the information in the "tax correction total" field is a negative amount, so the CPU 21 sets the ascending order of the information in the "tax fraction" field of the detail data as the tax correction order, that is, the tax fraction of juice "-0.50" (1st place) ⇒ the tax fraction of gum "-0.20" (2nd place) ⇒ the tax fraction of bread "0.10" (3rd place).

[0039] Next, the CPU 21 returns the tax correction order set in step S21 to the "tax correction order" item of the detail data (step S22). For example, in the case of the above-mentioned detail data D1, as shown in Fig. 8, "1" is returned (reflected) to the "tax correction order" item of the juice detail line, "2" is returned to the "tax correction order" item of the gum detail line, and "3" is returned to the "tax correction order" item of the bread detail line.

[0040] Next, the CPU 21 determines whether the tax adjustment amount that is the distribution source is a positive amount (step S23).

[0041] In step S23, if it is determined that the tax adjustment total that is the distribution resource is a positive amount (step S23; YES), the CPU 21 distributes 1 yen according to the tax adjustment order (step S24). Specifically, the CPU 21 first distributes 1 yen to the product that is ranked first in the tax adjustment order. Next, the CPU 21 subtracts 1 yen from the distribution resource (tax adjustment total) (step S25).

[0042] On the other hand, if it is determined in step S23 that the tax adjustment total to be the distribution resource is not a positive amount, i.e., is a negative amount (step S23; NO), the CPU 21 distributes -1 yen according to the tax adjustment order (step S26). Specifically, the CPU 21 first distributes -1 yen to the product ranked first in the tax adjustment order (for example, juice in the detail data D1). Next, the CPU 21 subtracts -1 yen from the distribution resource (tax adjustment total) (step S27).

[0043] Next, the CPU 21 determines whether the distribution resource (tax correction amount) has been used up, that is, whether it has become 0 yen (step S28).

[0044] If it is determined in step S28 that the distribution resources have not been used up (step S28; NO), the CPU 21 returns the process to step S23 and repeats the subsequent processes. That is, until it is determined that the distribution resources have been used up, the processes of steps S24 and S25, or steps S26 and S27, are repeated for the products with the second or subsequent tax adjustment orders. Here, even if the processes of steps S24 and S25, or steps S26 and S27 have been performed for the product with the lowest tax adjustment order, if it is determined that the distribution resources have not been used up, the processes are repeated for the product with the first highest tax adjustment order.

[0045] Also, if it is determined in step S28 that the distribution resources have been used up (step S28; YES), the CPU 21 returns the distribution data of the distribution resources to the "tax correction" item of the detailed data (step S29). For example, in the case of the accounting department data D2 shown in FIG. 7, the distribution resources (total tax correction) is -1 yen, and by distributing -1 yen to the juice, which has the first tax correction order, the distribution resources are used up. In this case, as shown in FIG. 8, "-1" is returned (reflected) to the "tax correction" item of the juice detail line in the detailed data D1, "0" is returned to the "tax correction" item of the bread and gum detail lines, and "-1" is returned to (reflected) to the "tax correction" item of the detailed total. As a result, when a return registration is made for juice in the return registration process described later, the information "-1 (yen)" in the "tax correction" item of the juice detail line is added at the time of refund, and an adjustment is made so that the amount of consumption tax to be refunded is not too large. Then, the CPU 21 ends the specification data reduction process and returns to the product registration process.

[0046] Returning to the explanation of the product registration process, if it is determined in step S5 that the subtotal key has not been operated (step S5; NO), the CPU 21 determines whether or not the cash sale / deposit key (current / deposit key) has been operated (step S9).

[0047] In step S9, if it is determined that the cash selling / deposit key has not been operated (step S9; NO), the CPU 21 returns the process to step S1 and repeats the subsequent processes. On the other hand, in step S9, if it is determined that the cash sale / deposit key has been operated (step S9; YES), the CPU 21 determines whether or not the subtotal has been completed (step S10).

[0048] In step S10, if it is determined that the subtotal has not been completed (step S10; NO), the CPU 21 returns the process to step S1 and repeats the subsequent processes. On the other hand, if it is determined in step S10 that the subtotal has been completed (step S10; YES), the CPU 21 causes the printing unit 28 to print a purchase receipt (step S11).

[0049] Here, the purchase receipt will be described. Fig. 9 shows a purchase receipt R1 when one each of three products, juice, bread, and gum, are registered as described above.

[0050] As shown in FIG. 9, the purchase receipt R1 is made up of a header section R1a, a details section R1b, and a tax and accounting section R1c. In the header section R1a, the text information "purchase receipt" and the receipt number (for example, "No. 1234") are printed as header information. In the details section R1b, detailed data (e.g., product name, quantity, price, tax, tax adjustment) for each product (e.g., juice, bread, gum) for which sales have been registered, and a detailed total are printed based on the above-mentioned detailed data D1 (see FIG. 8). In the tax accounting section R1c, the taxable total, tax amount, voucher total, and tax adjustment total are printed based on the above-mentioned accounting section data D2 (see FIG. 7), and the method of deriving this information is also printed. Specifically, the text information "The total price" is printed as the method of deriving the taxable total, the text information "Multiply the tax rate by the total price" is printed as the method of deriving the tax amount, the text information "The total price and tax amount" is printed as the method of deriving the voucher total, and the text information "The difference in tax amount from when purchased individually" is printed as the method of deriving the tax adjustment total.

[0051] Next, CPU 21 stores the statement detail data created in step S3 or the statement detail data for which the refund process has been performed in step S8, and the accounting data created in step S6 in memory unit 27 as sales data (step S12), and ends the product registration process. Here, when the statement detail data and accounting data are stored in memory unit 27, they are stored in association with the receipt number printed in the header of the receipt issued in step S11.

[0052] <Return registration process> Next, the return registration process will be described. Fig. 10 is a flow chart showing the return registration process. The return registration process is executed when, for example, a customer who wishes to return a product presents a purchase receipt to an operator, the operator accepts the return request, and the operator inputs an instruction to execute the return registration process via the operation unit 22.

[0053] As shown in FIG. 10, first, the CPU 21 causes the display unit 24a to display the receipt number input screen 40 (step S31).

[0054] Fig. 11 is a diagram showing an example of the receipt number input screen 40. As shown in Fig. 11, the receipt number input screen 40 is provided with a text box TB, an OK button B1, and a close button B2.

[0055] The text box TB is a text box for inputting the receipt number. The OK button B1 is a button for confirming the receipt number entered in the text box TB. The close button B2 is a button for instructing to close the display of the receipt number input screen 40 and return to the original screen.

[0056] Next, the CPU 21 determines whether or not the close button B2 has been operated on the receipt number input screen 40 (step S32).

[0057] In step S32, when it is determined that the close button B2 has been operated (step S32; YES), the CPU 21 ends the return product registration process. On the other hand, if it is determined in step S32 that the close button B2 has not been operated (step S32; NO), the CPU 21 determines whether or not the input of the receipt number has been completed, i.e., whether or not the OK button B1 has been operated with the receipt number having been entered in the text box TB (step S33).

[0058] If it is determined in step S33 that the input of the receipt number has not been completed (step S33; NO), the CPU 21 returns the process to step S32 and repeats the subsequent processes. On the other hand, if it is determined in step S33 that the input of the receipt number has been completed (step S33; YES), the CPU 21 reads out the sales data (detailed item data, accounting data, etc.) corresponding to the receipt number from the memory unit 27, and displays the return operation screen 50 on the display unit 24a based on the sales data (step S34).

[0059] Fig. 12(a) is a diagram showing an example of a return operation screen 50 that is displayed on the display unit 24a when the entry of the receipt number "1234" printed on the purchase receipt R1 shown in Fig. 9 is completed. As shown in Fig. 12(a), the return operation screen 50 has a registration content display section 51 and a close button B4.

[0060] The registration content display section 51 displays a list of products that have been traded based on the itemization detail data D1 (see FIG. 8) and the accounting data D2 (see FIG. 7), and also provides return buttons B3 for the number of products displayed. The return button B3 is a button (toggle button) for instructing to return the product displayed in association with the button itself. As shown in FIG. 12(a), in the initial return operation screen 50, each return button B3 is in the OFF state (a state in which no pressing operation has been performed).

[0061] The close button B4 is a button for instructing to close the display of the return operation screen 50 and return to the original screen.

[0062] Next, the CPU 21 determines whether or not an operation to specify a product to be returned, that is, an operation of the return button B3, has been performed on the return operation screen 50 (step S35).

[0063] In step S35, when it is determined that the return button B3 has not been operated (step S35; NO), the CPU 21 advances the process to step S37. On the other hand, if it is determined in step S35 that the return button B3 has been operated (step S35; YES), the CPU 21 displays a receipt issue button B5 on the return operation screen 50 (step S36). This receipt issue button B5 is a button for issuing a receipt for return.

[0064] FIG. 12(b) is a diagram showing the return operation screen 50 when juice is selected as the product to be returned and the return button B3 corresponding to that juice is operated. As shown in FIG. 12(b), a receipt issue button B5 is newly displayed above the close button B4 on the return operation screen 50 at this time. When the return button B3 corresponding to juice is operated, data for the detail line related to juice in the detail detail data D1 (see FIG. 8) is loaded onto the RAM 23, and return accounting data D3 is created based on that data, as shown in FIG. 13. Return accounting data D3 is made up of information for each of the items "Taxable total," "Tax amount," "Voucher total," and "Tax correction total."

[0065] Next, the CPU 21 determines whether the receipt print button B5 has been operated (step S37).

[0066] If it is determined in step S37 that the receipt issuance button B5 has been operated (step S37; YES), the CPU 21 causes the printing unit 28 to issue a return receipt based on the detail line data relating to the above-mentioned returned product (e.g., juice) and the return accounting data (step S38).

[0067] Here, the return receipt will be described. As described above, Fig. 14 shows a return receipt R2 when juice is returned.

[0068] As shown in FIG. 14, the return receipt R2, like the purchase receipt R1, is made up of a header section R2a, a details section R2b, and a tax and accounting section R2c. In the header section R2a, the text information "Return receipt" and the receipt number (for example, "No. 9876") are printed as header information. In the detail section R2b, the detail data of the juice (e.g., name, quantity, price, tax, tax adjustment) and the detail total are printed based on the data of the detail line related to the juice in the above-mentioned detail section data D1 (see FIG. 8). In the tax accounting section R2c, the taxable total, tax amount, voucher total, and tax adjustment total are printed based on the above-mentioned return accounting data D3 (see FIG. 13), and explanations of these pieces of information are also printed. Here, as shown in FIG. 14, "-940", i.e., 940 yen, printed as information indicating the voucher total indicates the amount that will actually be refunded. Specifically, the text information "This is the total of the returned price" is printed as an explanation of the taxable total, the text information "Tax error at the time of purchase is taken into account" is printed as an explanation of the tax amount, the text information "This is the sum of the price and tax" is printed as an explanation of the voucher total, and the text information "This is the tax error adjusted at the time of purchase" is printed as an explanation of the tax adjustment total. For example, when returning juice, if the price of the juice (taxable amount) of 855 yen is multiplied by the consumption tax rate of 10%, the tax-inclusive price of the juice becomes 941 yen, and 941 yen becomes the refund amount. However, if the return registration process for each product is performed based on this calculation method, the refund amount will be more (or less) than the amount paid at the time of sales registration. Therefore, the amount returned is calculated by applying the information in the "Tax Adjustment" field for each product registered in the detailed item data D1 described above.

[0069] Next, the CPU 21 updates the sales data in accordance with the return product registration, and stores the updated sales data in the storage unit 27 (step S39). Then, the CPU 21 ends the return product registration process.

[0070] Furthermore, if it is determined in step S37 that the receipt issue button B5 has not been operated (step S37; NO), the CPU 21 determines whether the close button B4 has been operated (step S40).

[0071] In step S40, if it is determined that the close button B4 has not been operated (step S40; NO), the CPU 21 returns the process to step S35 and repeats the subsequent processes. On the other hand, if it is determined in step S40 that the close button B4 has been operated (step S40; YES), the CPU 21 ends the return product registration process.

[0072] As described above, the CPU 21 of the information processing device 1 derives individual consumption tax amounts by multiplying the price of each of the multiple target products registered as sales by the consumption tax rate, and derives the sum of the derived individual consumption tax amounts. The CPU 21 also derives a lump-sum consumption tax amount by multiplying the total price obtained by adding up the prices of each of the multiple target products registered as sales by the consumption tax rate. The CPU 21 then determines a correction amount for each target product to correct the difference between the sum of the individual consumption tax amounts and the lump-sum consumption tax amount. Therefore, according to the information processing device 1, when a rounding error, which is the difference, occurs, the correction amount for correcting the rounding error is determined for each target product, so that the rounding error can be appropriately managed. As a result, even when one target product is returned, since the adjustment amount (tax adjustment) for that target product has already been determined, a proper refund can be made based on that adjustment amount, without excess or deficiency.

[0073] In addition, the CPU 21 of the information processing device 1 sets an allocation order (tax correction order) for each target product based on the tax fraction generated when the individual consumption tax amount is derived, and determines the above-mentioned correction amount for each target product by sequentially allocating a specified unit amount according to the set allocation order until the difference is fully allocated. Therefore, according to the information processing device 1, the price difference can be distributed fairly, so that the correction amount distributed for each target product can be treated as being legitimate.

[0074] In addition, when the CPU 21 of the information processing device 1 causes the printing unit 28 to issue a purchase receipt (accounting receipt) for multiple target products, it causes the correction amount to be printed in the itemization section of the purchase receipt, thereby providing a transparent purchase receipt.

[0075] Furthermore, the CPU 21 of the information processing device 1 further causes the difference (tax adjustment total) to be printed in the accounting section of the purchase receipt, making it possible to provide a more transparent purchase receipt.

[0076] Furthermore, the CPU 21 of the information processing device 1 further causes the calculation method of the difference (tax adjustment total) to be printed on the accounting section of the purchase receipt, making it possible to make the contents of the purchase receipt easier to understand.

[0077] In addition, when the CPU 21 of the information processing device 1 accepts the return of a target product specified based on user operation and causes the printing unit 28 to issue a return receipt (return receipt) for the target product, the CPU 21 causes the printing unit 28 to print the corrected amount for the target product in the details section of the return receipt, thereby providing a transparent return receipt.

[0078] Furthermore, the CPU 21 of the information processing device 1 further causes the corrected amount of the returned product and the individual consumption tax amount reflecting the corrected amount to be printed on the accounting section of the return receipt, so that a proper refund can be made without any excess or deficiency.

[0079] Furthermore, the CPU 21 of the information processing device 1 further causes an explanatory text regarding the corrected amount of the returned product to be printed in the accounting section of the returned receipt, making it possible to make the contents of the returned receipt easier to understand.

[0080] [Variation 1] A first modified example of the above-mentioned embodiment will be described below. This first modified example is characterized in that, when a similar rounding error occurs in points given by a point service operated by a store, a pt correction for correcting the rounding error is determined for each target product in the sales registration detail data (detailed data), and an output result based on the determined pt correction is output. Note that this basically has the same configuration as the above-mentioned embodiment, and in the following, the same reference numerals are used to denote parts having the same configuration, and explanations are omitted, and mainly differences are described.

[0081] <Product registration process> FIG. 15 is a flowchart showing the product registration process according to the first modification.

[0082] As shown in FIG. 15, when the CPU 21 determines in step S1 that product registration has been performed via the operation unit 22 (step S1; YES), the CPU 21 reads out product setting information of the target product (information for each of the following items: "product code", "product name", "unit price (excluding tax)", "tax category", "tax rate", and "pt rate") from the product setting table 27a stored in the memory unit 27 (step S2).

[0083] Next, the CPU 21 creates detailed statement data in the RAM 23 based on the product setting information read out in step S2 (step S3).The CPU 21 then calculates the detailed statement total (step S4) and returns the process to step S1.

[0084] Here, we will explain the detail data of Modification 1. Fig. 17 is a diagram showing detail data D11 when one each of three products, juice, bread, and gum, are registered, similar to the detail data D1 (see Fig. 6) of the above embodiment. As shown in FIG. 17, the detailed data D11 is composed of information on each of the following items: "Product name", "Quantity", "Amount", "Tax category", "Tax rate", "pt rate", "Taxable amount", "Individual tax amount", "Tax fraction", "Tax included", "Tax correction order", "Tax correction", "PT target", "Individual pt", "PT fraction", "PT correction order", and "PT correction". Information on each of the items of "Product name", "Quantity", "Amount", "Tax category", "Tax rate", and "PT rate" in the detailed data D11 is generated based on the product setting information read in step S2. Information on the "PT target" item is generated based on information on the above-mentioned "Amount", and usually the information on the "Amount" item is used as is. Information on the "Individual pt" item (e.g., individual pt "68" for juice) is derived by multiplying information on the "Taxable amount" item (e.g., taxable amount of juice 855 yen) by information on the "pt rate" item (e.g., pt rate of juice 8%). In addition, the information of each of the items "quantity", "amount", "taxable amount", "individual tax amount", "tax fraction", "tax included", "pt subject", "individual pt", and "pt fraction" in the detailed total row of the detailed data D1 is the sum of the information of the corresponding items of each registered product. For example, as shown in FIG. 17, the information "111" of the "individual pt" item in the detailed total row is the sum of the information "68", "35", and "8" of the "individual pt" items of the registered products "juice", "bread", and "gum". The fractions generated when deriving the individual pt are rounded off. The information of the "pt fraction" item is the fraction generated when deriving the individual pt. The information of the "pt correction order" and "pt correction" items (described later) is not generated at the detailed data creation stage in step S3.

[0085] Returning to the explanation of the product registration process, if it is determined in step S5 that the subtotal key has been operated via the operation unit 22 (step S5; YES), the CPU 21 creates accounting data on the RAM 23 based on the detail data created in step S3 (step S6).

[0086] Here, a description will be given of accounting data in the modified example 1. Fig. 18 is a diagram showing accounting data D12 created based on the detail data D11 shown in Fig. 17. As shown in FIG. 18, the accounting department data D12 is made up of information on each of the items "tax subject total," "tax amount," "voucher total," "tax correction total," "pt subject total," "pt," and "pt correction total." The information "1394 yen" in the "pt target total" item is derived from the information "1394 yen" in the "pt target" item of the detailed total of the detailed data D11. The information "112" in the "pt" item is derived by multiplying the information "1394 yen" in the "pt target total" item by the pt rate of 8%. In other words, "pt" means a lump sum point for all the target products in the sales registration, which is the sum of each point obtained by multiplying the total price obtained by adding the price (taxable amount) of each target product group with the same applied pt rate by the applicable pt rate. In addition, the information "112" in the "pt" item is the point (granted point) awarded to the customer in the transaction in the above example. This is to make the awarded point easier for customers to understand by using the pt derived from a simple calculation of multiplying the total of the tax-excluded price (taxable amount) of products (juice, bread, and gum) to which the same pt rate (8%) is applied by the pt rate. However, there is an error (rounding error) between the awarded points "112" and the information "111" in the "individual pt" item of the detailed item total in the detailed item data D11. Therefore, in this embodiment, in order to prevent too many (or too few) points from being cancelled in the return registration process described below, which requires the use of individual pt, the information in the "pt correction" item of each product registered in the detailed item data D11 is determined in advance in the second detailed item data return process described below (see FIG. 16), thereby adjusting the points to be cancelled. The information "1" in the "pt correction total" item is derived by subtracting the information "111" in the "individual pt" item of the detailed item total in the detailed item data D11 from the information "112" in the "pt" item.

[0087] Returning to the explanation of the product registration process, CPU 21 determines whether or not the information in the item "tax correction amount" of the accounting department data created in step S6 is 0 yen (step S7).

[0088] In step S7, if it is determined that the information in the "tax correction total" field of the accounting department data is 0 yen (step S7; YES), the CPU 21 returns the process to step S1 and repeats the subsequent processes. On the other hand, in step S7, if it is determined that the information in the "tax correction total" field of the accounting data is not 0 yen (step S7; NO), the CPU 21 executes a first detailed data return process (step S8). Note that this first detailed data return process corresponds to the detailed data return process shown in FIG. 5, and therefore a description thereof will be omitted.

[0089] Next, the CPU 21 determines whether or not the information in the item "pt correction meter" of the accounting department data created in step S6 is 0 (step S101).

[0090] In step S101, when it is determined that the information in the "pt correction meter" item of the accounting department data is 0 (step S101; YES), the CPU 21 returns the process to step S1 and repeats the subsequent processes. On the other hand, in step S101, if it is determined that the information in the "pt correction meter" item of the accounting department data is not 0 (step S101; NO), the CPU 21 executes the second detail data reduction process (step S102), and then returns the process to step S1, and repeats the subsequent processes.

[0091] FIG. 16 is a flowchart showing the second detail portion data reduction process. As shown in Fig. 16, when the second detail data reduction process is started, first, CPU21 sets the pt correction order (step S111). Specifically, when the information in the "pt correction meter" field of the accounting department data is a positive value (pt), CPU21 sets the descending order of the information in the "pt fraction" field of the detail data as the pt correction order. On the other hand, when the information in the "pt correction meter" field of the accounting department data is a negative value (pt), CPU21 sets the ascending order of the information in the "pt fraction" field of the detail data as the pt correction order. For example, in accounting department data D12 created based on detail information data D11 shown in FIG. 17, since the information in the "pt correction meter" item is a positive value (pt), the pt correction order is set to the descending order of the information in the "pt fraction" item of the detail information data, that is, pt fraction of juice "0.40" (1st place) ⇒ pt fraction of bread "0.28" (2nd place) ⇒ pt fraction of gum "-0.16" (3rd place).

[0092] Next, the CPU 21 returns the pt correction order set in step S111 to the "pt correction order" item of the detail data (step S112). For example, in the case of the above-mentioned detail data D11, as shown in Fig. 19, "1" is returned (reflected) to the "pt correction order" item of the juice detail line, "2" to the "pt correction order" item of the bread detail line, and "3" to the "pt correction order" item of the gum detail line.

[0093] Next, the CPU 21 determines whether the pt corrector serving as the distribution resource is a positive value (pt) or not (step S113).

[0094] In step S113, if it is determined that the pt correction meter serving as the distribution resource is a positive value (step S113; YES), the CPU 21 distributes 1 pt according to the pt correction order (step S114). Specifically, the CPU 21 first distributes 1 pt to the product ranked first in the pt correction order (for example, juice in the detail data D11). Next, the CPU 21 subtracts 1 pt from the distribution resource (pt correction meter) (step S115).

[0095] On the other hand, in step S113, if it is determined that the pt correction meter serving as the distribution resource is not a positive value, i.e., is a negative value (step S113; NO), the CPU 21 distributes -1 pt according to the pt correction order (step S116). Specifically, the CPU 21 first distributes -1 pt to the product ranked first in the pt correction order. Next, the CPU 21 subtracts -1 pt from the distribution resource (pt correction meter) (step S117).

[0096] Next, the CPU 21 determines whether the distribution resource (pt correction meter) has been used up, that is, whether it has reached 0 pt (step S118).

[0097] If it is determined in step S118 that the distribution resources have not been used up (step S118; NO), the CPU 21 returns the process to step S113 and repeats the subsequent processes. That is, until it is determined that the distribution resources have been used up, the processes of steps S114 and S115, or steps S116 and S117, are repeated for the products with the second or subsequent pt correction orders. Here, even if the processes of steps S114 and S115, or steps S116 and S117 have been performed for the product with the lowest pt correction order, if it is determined that the distribution resources have not been used up, the processes are repeated for the product with the first highest pt correction order.

[0098] Also, in step S118, if it is determined that the distribution resources have been used up (step S118; YES), the CPU 21 returns the distribution data of the distribution resources to the "pt correction" item of the detailed data (step S119). For example, in the case of the accounting department data D12 shown in FIG. 18, the distribution resources (pt correction total) is 1 pt, and by distributing 1 pt to the juice which has the first pt correction order, the distribution resources are used up. In such a case, as shown in FIG. 19, the "pt correction" item of the juice detail line in the detailed data D11 is returned (reflected) with "1", the "pt correction" item of the bread and gum detail lines is returned with "0", and the "pt correction" item of the detail total is returned with "1". As a result, when a return registration is made for juice in the return registration process described later, when canceling the points granted for the juice, the information "1" of the "pt correction" item of the juice detail line is taken into account, and an adjustment is made so that the points to be canceled are not reduced. Then, the CPU 21 ends the second detail data return process, and returns to the product registration process.

[0099] Returning to the explanation of the product registration process, if the CPU 21 determines in step S10 that the subtotal has been calculated (step S10; YES), the CPU 21 causes the printing unit 28 to print a purchase receipt (step S11).

[0100] Here, we will explain the purchase receipt of Modification 1. Fig. 20 is a diagram showing a purchase receipt R3 when one each of three products, juice, bread, and gum, are registered, similar to the purchase receipt R1 of the above embodiment.

[0101] As shown in FIG. 20, the purchase receipt R3 is made up of a header section R3a, a details section R3b, a tax accounting section R3c, and a pt accounting section R3d. In the header section R3a, the text information "purchase receipt" and the receipt number (for example, "No. 2345") are printed as header information. In the details section R3b, detailed data (e.g., product name, quantity, price, tax, tax adjustment, pt target, pt, pt adjustment) for each product (e.g., juice, bread, gum) for which sales have been registered, and a detailed total are printed based on the above-mentioned detailed data D11 (see Figure 19). The tax accounting section R3c has the same printing as the tax accounting section R1c (see FIG. 9) of the purchase receipt R1 in the above embodiment, so a description thereof will be omitted. In the pt accounting section R3d, the pt target, pt, and pt correction meter are printed based on the above-mentioned accounting section data D12 (see FIG. 18), and the method of deriving this information is also printed. Specifically, the text information "The total pt target amount" is printed as the method of deriving the pt, the text information "The pt target is multiplied by the pt rate" is printed as the method of deriving the pt correction meter, and the text information "The difference in pt from when purchased individually" is printed as the method of deriving the pt correction meter.

[0102] Next, the CPU 21 stores the invoice detail data created in step S3 or the invoice detail data for which the refund process has been performed in step S8 or step S102, and the accounting data created in step S6 in the memory unit 27 as sales data (step S12), and terminates the product registration process.

[0103] Next, we will explain the return product registration process of Modification 1. Note that the control procedure of this return product registration process is the same as that of the above embodiment, so below we will explain the return accounting data D13 and return receipt R4 when a return selection operation is performed for juice out of juice, bread, and gum that have been registered as products in the same manner as in the above embodiment.

[0104] When the return button B3 corresponding to juice is operated on the return operation screen 50 (see Fig. 12(a)), data for the detail line related to juice from the detail data D11 (see Fig. 19) is loaded onto the RAM 23, and based on that data, return accounting data D13 is created as shown in Fig. 21. Return accounting data D13 is made up of information for each of the following items: "Tax subject total", "Tax amount", "Voucher total", "Tax correction total", "pt subject total", "pt", and "pt correction total".

[0105] Next, a description will be given of a return receipt according to Modification 1. Fig. 22 is a diagram showing a return receipt R4 when juice is returned as described above. As shown in FIG. 22, the return receipt R4, like the purchase receipt R3, is composed of a header section R4a, a details section R4b, a tax accounting section R4c, and a pt accounting section R4d. In the header section R4a, the text information "Return receipt" and the receipt number (for example, "No. 8765") are printed as header information. In the detail section R4b, the detail data for juice (e.g., product name, quantity, price, tax, tax adjustment, pt target, pt, pt adjustment) and the detail total are printed based on the data for the detail line related to juice in the above-mentioned detail section data D11 (see Figure 19). The tax accounting section R4c has the same printing as the tax accounting section R1c (see FIG. 9) of the purchase receipt R1 in the above embodiment, so a description thereof will be omitted. In the pt accounting section R4d, the pt target, pt, and pt correction meter are printed based on the above-mentioned return accounting data D13 (see FIG. 21), along with an explanation of this information. Here, as shown in FIG. 22, "-69", i.e., 69 points, printed as information indicating pt indicates the points that will actually be cancelled. Specifically, the text information "This is the total pt target amount" is printed as the explanation of the pt target, the text information "The pt error at the time of purchase will be taken into account" is printed as the explanation of the pt, and the text information "This is the difference in pt from what would have been if purchased individually" is printed as the explanation of the pt correction meter. For example, when returning juice, if the price of the juice (subject to tax) of 855 yen is multiplied by the point rate of 8%, the cancellation points for that juice will be 68 points, and 68 points will be cancelled. However, if the return registration process for each product is based on this calculation method, the cancellation points will be more (or less) than the points awarded at the time of sales registration, so the points applied to the information in the "pt correction" item for each product registered in the detailed information data D11 described above are cancelled.

[0106] As described above, in the first modification, the CPU 21 derives individual points by multiplying the price of each of the multiple target products registered as sales by a point rate (pt rate), and derives the sum of the derived individual points. The CPU 21 also derives lump-sum points by multiplying the total price obtained by adding up the prices of each of the multiple target products registered as sales by the point rate. Then, the CPU 21 determines correction points for each target product to correct the difference between the sum of the individual points and the lump-sum points. Therefore, according to the first modification, when a rounding error, which is the difference, occurs, a correction point for correcting the rounding error is determined for each target product, so that the rounding error can be appropriately managed. As a result, even when one target product is returned, the correction points for that target product have already been determined, so that the points can be appropriately corrected based on the correction points, without excess or deficiency.

[0107] [Variation 2] The following describes Modification 2 of the above-mentioned embodiment. Unlike the above-mentioned embodiment in which the rounding error is managed as the amount of consumption tax, Modification 2 is characterized in that the rounding error is managed as the amount of discount at the time of purchasing a product. Note that this basically has the same configuration as the above-mentioned embodiment, and therefore, in the following, the same reference numerals will be used to designate parts having the same configuration, and explanations will be omitted, and differences will be mainly described.

[0108] <Product registration process> 23 is a flowchart showing the product registration process of Modification 2. In the product registration process of Modification 2, for example, it is assumed that a discount is applied when registering a product by using a coupon (discount ticket) or the like distributed in a store.

[0109] As shown in FIG. 23, when the CPU 21 determines in step S1 that product registration has been performed via the operation unit 22 (step S1; YES), the CPU 21 reads out product setting information of the target product from the product setting table 27a stored in the memory unit 27 (step S2).

[0110] Next, the CPU 21 creates detailed statement data in the RAM 23 based on the product setting information read out in step S2 (step S3).The CPU 21 then calculates the detailed statement total (step S4) and returns the process to step S1.

[0111] Here, a description will be given of the detail data of the modified example 2. Fig. 25 is a diagram showing detail data D21 when one each of three products, juice, bread, and gum, are registered, similarly to the detail data D1 (see Fig. 6) of the above embodiment.

[0112] As shown in FIG. 25, the detailed data D21 is composed of information on each of the items of "product name", "quantity", "amount", "tax category", "tax rate", "amount subject to tax", "discount rate", "individual discount amount", "discount amount fraction", "correction order", and "discount correction". Information on each of the items of "product name", "quantity", "amount", "tax category", and "tax rate" in the detailed data D21 is generated based on the product setting information read out in step S2. Information on the item of "amount subject to tax" is generated based on information on the item of "amount" as in the above embodiment, and usually the information on the item of "amount" is used as is. Information on the item of "discount rate" is generated based on information on the discount rate of the coupon used when purchasing the product (e.g., 10% off the purchase amount, etc.). Information on the item of "individual discount amount" (e.g., individual discount amount of juice - 86 yen) is derived by multiplying information on the item of "amount subject to tax" (e.g., amount subject to tax of juice 855 yen) by information on the item of "discount rate" (e.g., discount rate of juice 10%). The individual discount amount is expressed as a negative value. Any fractional part generated when deriving the individual discount amount is rounded off. The information in the "discount amount fractional part" field is the fractional part generated when deriving the individual discount amount. The information in each of the fields "quantity", "amount", "amount subject to tax", "individual discount amount", and "discount amount fractional part" in the detailed total row of the detailed data D21 is the sum of the information in the corresponding field of each registered product. For example, as shown in FIG. 25, the information in the "individual discount amount" field in the detailed total row is the sum of the information in the "individual discount amount" field of the registered products "juice", "bread", and "gum", "-86 (yen)", "-44 (yen)", and "-10 (yen)". The information in the "correction order" and "discount correction" fields (described later) is not generated at the detailed data creation stage in step S3.

[0113] Returning to the explanation of the product registration process, if it is determined in step S5 that the subtotal key has been operated via the operation unit 22 (step S5; YES), the CPU 21 creates accounting data on the RAM 23 based on the detail data created in step S3 (step S6).

[0114] Here, a description will be given of accounting data in the modified example 2. Fig. 26 is a diagram showing accounting data D22 created based on the detail data D21 shown in Fig. 25.

[0115] As shown in FIG. 26, the accounting department data D22 is composed of information on each of the items "Taxable total", "Discount amount", "Discounted taxable total", "Tax amount", "Voucher total", and "Discount correction total". The information on the "Taxable total" item, "1394 yen", is derived from the information on the "Taxable amount" item of the detailed total of the detailed data D21, "1394 yen". The information on the "Discount amount" item, "-139 yen", is derived by multiplying the information on the "Taxable total" item, "1394 yen", by a discount rate of 10%. In other words, the "discount amount" means the lump-sum discount amount applied to all the target products registered in the sales, which is the sum of each discount amount obtained by multiplying the total price obtained by adding the price of the target product (taxable amount) for each target product group with the same applied discount rate by the applied discount rate. This is to make the discount amount easy for customers to understand by using a simple calculation of multiplying the total of the tax-excluded prices (taxable amounts) of products (juice, bread, and gum) to which the same discount rate (10%) is applied by the discount rate. However, this discount amount "-139 yen" has an error (rounding error) with the information "-140 yen" in the "individual discount amount" item of the detailed total in the detailed data D21. Therefore, in the second modification, in order to prevent the discount amount to be canceled in the return registration process described later, which requires the use of individual discount amounts, from becoming too large (or too small), the information in the "discount correction" item of each product registered in the detailed data D21 is previously determined in the detailed data return process described later (see FIG. 24) to adjust the discount amount to be canceled at the time of return. The "Discounted Taxable Total" item information of "1,255 yen" is derived by adding the "Discounted Amount" item information of "-139 yen" to the "Taxable Total" item information of "1,394 yen." The "Tax Amount" item information of "126 yen" is derived by multiplying the "Discounted Taxable Total" item information of "1,255 yen" by a discount rate of 10%. The "Document Total" item information of "1,381 yen" is derived by adding the "Discounted Taxable Total" item information of "1,255 yen" to the "Tax Amount" item information of "126 yen."The information "1,381 yen" in the "voucher total" field is the amount (payment price) paid by the customer in the transaction in the above example. The information "1 yen" in the "discount adjustment total" field is derived by subtracting the information "-140 yen" in the "individual discount amount" field of the detailed total in the detailed data D21 from the information "-139 yen" in the "discount amount" field.

[0116] Returning to the explanation of the product registration process, CPU 21 determines whether or not the information in the "discount correction meter" field of the accounting department data created in step S6 is 0 yen (step S201).

[0117] In step S201, if it is determined that the information in the "discount correction meter" field of the accounting department data is 0 yen (step S201; YES), the CPU 21 returns the process to step S1 and repeats the subsequent processes. On the other hand, in step S201, if it is determined that the information in the "Discount Adjustment Amount" field of the accounting department data is not 0 yen (step S201; NO), the CPU 21 executes a detailed data reduction process (step S202), and then returns the process to step S1, and repeats the subsequent processes.

[0118] FIG. 24 is a flowchart showing the detail data reduction process in the second modification. As shown in Fig. 24, when the detail data return process is started, first, CPU 21 sets the correction order (step S211). Specifically, when the information in the "discount correction total" field of the accounting data is a positive value, CPU 21 sets the correction order to the descending order of the information in the "discount fraction" field of the detail data. On the other hand, when the information in the "discount correction total" field of the accounting data is a negative value, CPU 21 sets the correction order to the ascending order of the information in the "discount fraction" field of the detail data. For example, in the accounting department data D22 created based on the detail data D21 shown in FIG. 25, the information in the "discount correction meter" item is a positive value, so the correction order is set to the descending order of the information in the "discount fraction" item in the detail data D21, that is, juice discount fraction "0.50" (1st place) ⇒ gum discount fraction "0.20" (2nd place) ⇒ bread discount fraction "-0.10" (3rd place).

[0119] Next, the CPU 21 returns the correction order set in step S211 to the "correction order" item of the detail data (step S212). For example, in the case of the above-mentioned detail data D21, as shown in Fig. 27, "1" is returned (reflected) to the "correction order" item of the juice detail line, "2" is returned to (reflected) to the "correction order" item of the gum detail line, and "3" is returned to (reflected) to the "correction order" item of the bread detail line.

[0120] Next, the CPU 21 determines whether the discount correction meter serving as the distribution resource is a positive value or not (step S213).

[0121] In step S213, if it is determined that the discount correction meter serving as the distribution resource is a positive value (step S213; YES), the CPU 21 distributes 1 yen according to the correction order (step S214). Specifically, the CPU 21 first distributes 1 yen to the product whose correction order is first (for example, juice in the detail data D21). Next, the CPU 21 subtracts 1 yen from the distribution resource (discount correction meter) (step S215).

[0122] On the other hand, in step S213, if it is determined that the discount correction meter serving as the distribution resource is not a positive value, i.e., is a negative value (step S213; NO), the CPU 21 distributes -1 yen according to the correction order (step S216). Specifically, the CPU 21 first distributes -1 yen to the product ranked first in the correction order. Next, the CPU 21 subtracts -1 yen from the distribution resource (discount correction meter) (step S217).

[0123] Next, the CPU 21 determines whether the distribution resource (discount correction meter) has been used up, that is, whether it has become 0 yen (step S218).

[0124] If it is determined in step S218 that the distribution resources have not been used up (step S218; NO), the CPU21 returns the process to step S213 and repeats the subsequent processes. That is, until it is determined that the distribution resources have been used up, the processes of steps S214 and S215, or steps S216 and S217, are repeated for the products ranked second or lower in the correction order. Here, even if the processes of steps S214 and S215, or steps S216 and S217 have been performed for the product ranked lowest in the correction order, if it is determined that the distribution resources have not been used up, the processes are repeated for the product ranked first in the correction order again.

[0125] Also, in step S218, if it is determined that the distribution resources have been used up (step S218; YES), the CPU 21 returns the distribution data of the distribution resources to the "discount correction" item of the detailed data (step S219). For example, in the case of the accounting department data D22 shown in FIG. 26, the distribution resources (total discount correction) is 1 yen, and the distribution resources are used up by distributing 1 yen to the juice, which is the first item in the correction order. In such a case, as shown in FIG. 27, the "discount correction" item of the juice detail line in the detailed data D21 is returned (reflected) with "1", the "discount correction" item of the bread and gum detail lines is returned with "0", and the "discount correction" item of the detail total is returned with "1". As a result, when a return registration for juice is made in the return registration process described later, the information "1 (yen)" in the "discount correction" item of the juice detail line is added at the time of refund, and an adjustment is made so that the discount amount for the juice is not too high. Then, the CPU 21 ends the specification data reduction process and returns to the product registration process.

[0126] Returning to the explanation of the product registration process, if the CPU 21 determines in step S10 that the subtotal has been calculated (step S10; YES), the CPU 21 causes the printing unit 28 to print a purchase receipt (step S11).

[0127] Here, we will explain the purchase receipt of the modified example 2. Fig. 28 is a diagram showing a purchase receipt R5 when one each of three products, juice, bread, and gum, are registered, similar to the purchase receipt R1 of the above embodiment.

[0128] As shown in FIG. 28, the purchase receipt R5 is made up of a header section R5a, a details section R5b, and an accounting section R5c. In the header section R5a, the text information "purchase receipt" and the receipt number (for example, "No. 2468") are printed as header information. In the details section R5b, detailed data (e.g., product name, quantity, price, discount amount, tax adjustment, discount adjustment) for each product (e.g., juice, bread, gum) for which sales have been registered, and a detailed total are printed based on the above-mentioned detailed data D21 (see FIG. 27). In the accounting section R5c, the total subject to tax, the discount amount, the total subject to tax after discount, the tax amount, the voucher total, and the discount correction total are printed based on the above-mentioned accounting section data D22 (see FIG. 26), and the method of deriving these pieces of information is also printed. Specifically, as the method of deriving the total subject to tax, the text information "This is the total price." is printed. As the method of deriving the discount amount, the text information "The total price is multiplied by the discount rate." is printed. As the method of deriving the discounted total subject to tax, the text information "This is the total price after discount." is printed. As the method of deriving the tax amount, the text information "The total price after discount is multiplied by the tax rate." is printed. As the method of deriving the voucher total, the text information "This is the sum of the discounted price and the tax amount." is printed. As the method of deriving the discount correction amount, the text information "This is the difference in the discount amount compared to when purchased separately." is printed.

[0129] Next, the CPU 21 stores the invoice detail data created in step S3 or the invoice detail data for which the rebate process has been performed in step S202, and the accounting data created in step S6 in the memory unit 27 as sales data (step S12), and terminates the product registration process.

[0130] Next, we will explain the return product registration process of Modification 2. Note that the control procedure of this return product registration process is the same as that of the above embodiment, so below we will explain the return accounting data D23 and return receipt R6 when a return selection operation is performed for juice out of juice, bread, and gum that have been registered as products in the same manner as in the above embodiment.

[0131] When the return button B3 corresponding to juice is operated on the return operation screen 50 (see Fig. 12(a)), data for the detail line related to juice from the detail detail data D21 (see Fig. 27) is loaded onto the RAM 23, and based on that data, return accounting data D23 is created as shown in Fig. 29. Return accounting data D23 consists of information for each of the following items: "Taxable total," "Discount amount," "Discounted taxable total," "Tax amount," "Voucher total," and "Discount correction total."

[0132] Next, a description will be given of a return receipt according to Modification 2. Fig. 30 shows a return receipt R6 when juice is returned as described above. As shown in FIG. 30, the return receipt R6, like the purchase receipt R5, is made up of a header section R6a, a details section R6b, and an accounting section R6c. In the header section R6a, the text information "Return receipt" and the receipt number (for example, "No. 8642") are printed as header information.

[0133] In the detail section R6b, the detail data of the juice (e.g., product name, quantity, price, discount amount, discount adjustment) and the detail total are printed based on the data of the detail line related to the juice in the above-mentioned detail section data D21 (see FIG. 27). In the accounting section R6c, the taxable total, discount amount, discounted taxable total, tax amount, voucher total, and discount correction total are printed based on the above-mentioned return accounting section data D23 (see FIG. 29), and explanations of these information are printed. Here, as shown in FIG. 30, "-847", i.e., 847 yen, printed as information indicating the voucher total indicates the amount to be actually refunded. Specifically, the text information "This is the total of the return price" is printed as an explanation of the taxable total, the text information "The discount error at the time of purchase is taken into account" is printed as an explanation of the discount amount, the text information "This is the total of the return price after discount" is printed as an explanation of the discounted taxable total, the text information "The total of the return price after discount is multiplied by the tax rate" is printed as an explanation of the tax amount, the text information "This is the sum of the return price after discount and the tax amount" is printed as an explanation of the voucher total, and the text information "This is the discount error adjusted at the time of purchase" is printed as an explanation of the discount correction amount. For example, when returning juice, if the price of the juice (subject to tax) of 855 yen is multiplied by a discount rate of 10%, the discount amount for that juice will be -86 yen, and this discount amount will be taken into account when calculating the refund amount. However, if the return registration process for each product is performed based on this calculation method, the refund amount will be more (or less) than the amount paid at the time of sales registration, so the amount returned will be the amount obtained by applying the information in the "Discount Adjustment" item for each product registered in the detailed item data D21 described above.

[0134] As described above, in the second modification, the CPU 21 derives an individual discount amount by multiplying the price of each of the multiple target products registered as sales by a discount rate, and derives the sum of the derived individual discount amounts. The CPU 21 also derives a lump-sum discount amount by multiplying the total price obtained by adding up the prices of each of the multiple target products registered as sales by a discount rate. Then, the CPU 21 determines a discount correction for each target product that corrects the difference between the sum of the individual discount amounts and the lump-sum discount amount. Therefore, according to the second modification, when a rounding error occurs as the difference, a discount correction for correcting the rounding error is determined for each target product, so that the rounding error can be appropriately managed. As a result, even when one target product is returned, the discount adjustment for that target product has already been determined, so that the discount amount can be adjusted appropriately based on the discount adjustment, without being excessive or insufficient.

[0135] Although the present invention has been specifically described based on the embodiment, the present invention is not limited to the above embodiment and can be modified without departing from the gist of the present invention. For example, in the above embodiment, the tax correction order is set based on the size of the tax fraction of each product, but the tax correction order may be set based on the weight of the tax fraction (the value obtained by dividing the tax fraction by the taxable amount). The same applies when setting the pt correction order and correction order (discount correction order) in the above modified examples 1 and 2.

[0136] In addition, in the above embodiment, when setting the tax correction order, if there are multiple products with the same tax fraction, the tax correction order for the multiple products may be set, for example, in descending order of the taxable amount or the product code. The same applies when setting the pt correction order and correction order (discount correction order) in the above modified examples 1 and 2.

[0137] Furthermore, in the above embodiment, if multiple products (e.g., three products) of the same type (e.g., juice) are registered and the tax adjustment values ​​differ between the products, when one of the products is returned, the product with the highest refund amount including the tax adjustment may be selected in favor of the customer. The same applies when one of the products is returned in the above variant 2. When adjusting points in the above variant 1, the product with the lowest points including the pt adjustment may be selected in favor of the customer.

[0138] The description of the above embodiment is merely a preferred example of the information processing device according to the present invention, and the present invention is not limited to this. For example, in the above description, a hard disk or a non-volatile semiconductor memory is used as a computer-readable medium for the program according to the present invention, but the present invention is not limited to this example. As other computer-readable media, a portable recording medium such as a CD-ROM can be used. In addition, a carrier wave can be used as a medium for providing data of the program according to the present invention via a communication line.

[0139] In addition, the detailed configurations and operations of each device constituting the information processing device may be modified as appropriate without departing from the spirit and scope of the invention.

[0140] Although several embodiments of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments, but includes the scope of the invention described in the claims and its equivalents. The inventions described in the claims originally attached to this application are set forth below. The claim numbers in the appended claims are the same as those in the claims originally attached to this application. [Note] <Claim 1> a first derivation means for deriving an individual consumption tax amount by multiplying the price of each of a plurality of target products registered as sales by a consumption tax rate, and deriving a sum of the derived individual consumption tax amounts; A second derivation means for deriving a lump-sum consumption tax amount obtained by multiplying the total price obtained by adding up the prices of the plurality of target products by the consumption tax rate; a correction amount determination means for determining a correction amount for each of the target products to correct the difference between the total of the individual consumption tax amounts and the lump-sum consumption tax amount; An information processing device comprising: <Claim 2> A setting means for setting an allocation priority of each target product based on a tax fraction generated when the individual consumption tax amount is derived, the correction amount determination means determines the correction amount for each of the target products by sequentially allocating a predetermined unit of amount according to the allocation order set by the setting means until the difference is fully appropriated; 2. The information processing device according to claim 1, <Claim 3> An issuing means for issuing a receipt; an output control means for outputting an output result based on the correction amount determined by the correction amount determination means; Equipped with the output control means, when causing the issuing means to issue a receipt for the plurality of target products, causes the output control means to print the correction amount in the detail section of the receipt. 3. The information processing device according to claim 1, wherein the information processing device is a computer. <Claim 4> The output control means further causes the difference to be printed on the accounting portion of the accounting receipt. 4. The information processing device according to claim 3 . <Claim 5> The output control means further causes the method of deriving the difference to be printed on the accounting portion of the accounting receipt. 5. The information processing device according to claim 4. <Claim 6> a receiving means for receiving a return of the target product designated based on a user operation, When the return of the target product is accepted, the output control means causes the issuing means to issue a return receipt for the target product, and causes the output control means to print the corrected amount of the target product in the itemized portion of the return receipt. 6. The information processing device according to claim 3, wherein the information processing device is a computer. <Claim 7> The output control means further causes the correction amount or the individual consumption tax amount reflecting the correction amount to be printed on the accounting portion of the return receipt. 7. The information processing device according to claim 6, <Claim 8> The output control means further causes an explanation for the correction amount to be printed on the accounting section of the return receipt. 8. The information processing device according to claim 7, <Claim 9> a first derivation means for deriving individual points by multiplying the price of each of a plurality of target products registered as sales by a point rate, and deriving a sum of the derived individual points; a second derivation means for deriving a lump sum of points obtained by multiplying a total price obtained by adding up the prices of the plurality of target products by the point rate; a correction point determination means for determining a correction point for each of the target products to correct a difference between the total of the individual points and the lump-sum points; An information processing device comprising: <Claim 10> a first derivation means for deriving an individual discount amount by multiplying the price of each of a plurality of target products registered as sales by a discount rate, and deriving a sum of the derived individual discount amounts; a second derivation means for deriving a lump-sum discount amount obtained by multiplying a total price obtained by adding up the prices of the plurality of target products by the discount rate; a correction amount determination means for determining a correction amount for each of the target products to correct the difference between the total of the individual discount amounts and the lump-sum discount amount; An information processing device comprising: <Claim 11> The computer of the information processing device, a first derivation means for deriving an individual consumption tax amount by multiplying the price of each of a plurality of target products registered as sales by a consumption tax rate, and deriving a sum of the derived individual consumption tax amounts; a second derivation means for deriving a lump-sum consumption tax amount obtained by multiplying the total price obtained by adding up the prices of the plurality of target products by the consumption tax rate; a correction amount determination means for determining a correction amount for correcting the difference between the total of the individual consumption tax amounts and the lump-sum consumption tax amount for each of the target products; A program characterized by causing the program to function as a <Claim 12> The computer of the information processing device, a first derivation means for deriving individual points by multiplying the price of each of a plurality of target products registered as sales by a point rate, and deriving a sum of the derived individual points; a second derivation means for deriving a lump sum of points obtained by multiplying a total price obtained by adding up the prices of the plurality of target products by the point rate; a correction point determination means for determining a correction point for each of the target products to correct a difference between the total of the individual points and the lump-sum points; A program characterized by causing the program to function as a <Claim 13> The computer of the information processing device, a first derivation means for deriving an individual discount amount by multiplying the price of each of the plurality of target products registered as sales by a discount rate, and deriving a sum of the derived individual discount amounts; a second derivation means for deriving a lump-sum discount amount obtained by multiplying a total price obtained by adding up the prices of the plurality of target products by the discount rate; a correction amount determination means for determining a correction amount for each of the target products to correct the difference between the sum of the individual discount amounts and the lump-sum discount amount; A program characterized by causing the program to function as a [Explanation of symbols]

[0141] 1. Information processing device 21 CPU (first derivation means, second derivation means, correction amount determination means, output control means, reception means, correction point determination means) 22 Control section 23 RAM 24a Display section 24b Display section 25 ROM 26 Communications Department 27 Memory section 27a Product setting table 28 Printing Department (Means of Publication) 29 Drawer 30 Timing section 31 Bus

Claims

1. a first derivation means for deriving an individual consumption tax amount by multiplying the price of each of a plurality of target products registered as sales by a consumption tax rate, and deriving a sum of the derived individual consumption tax amounts; A second derivation means for deriving a lump-sum consumption tax amount obtained by multiplying a total price obtained by adding up the prices of the plurality of target products by the consumption tax rate; a correction amount determination means for determining a correction amount for each of the target products to correct the difference between the total of the individual consumption tax amounts and the lump-sum consumption tax amount; A setting means for setting an allocation priority of each target product based on a tax fraction generated when the individual consumption tax amount is derived; Equipped with The information processing device is characterized in that the correction amount determination means determines the correction amount for each target product by sequentially distributing a predetermined unit of amount until the difference is fully allocated in accordance with the allocation order set by the setting means.

2. An issuing means for issuing a receipt; an output control means for outputting an output result based on the correction amount determined by the correction amount determination means; Equipped with the output control means, when causing the issuing means to issue a receipt for the plurality of target products, causes the output control means to print the correction amount in the detail section of the receipt.

2. The information processing apparatus according to claim 1,

3. The output control means further causes the difference to be printed on the accounting portion of the accounting receipt.

3. The information processing apparatus according to claim 2.

4. The output control means further causes the method of deriving the difference to be printed on the accounting portion of the accounting receipt.

4. The information processing apparatus according to claim 3.

5. a receiving means for receiving a return of the target product designated based on a user operation, When the return of the target product is accepted, the output control means causes the issuing means to issue a return receipt for the target product, and causes the output control means to print the corrected amount of the target product in the itemized portion of the return receipt.

5. The information processing device according to claim 2, wherein the information processing device is a computer.

6. The output control means further causes the correction amount or the individual consumption tax amount reflecting the correction amount to be printed on the accounting portion of the return receipt.

6. The information processing apparatus according to claim 5,

7. The output control means further causes an explanation for the correction amount to be printed on the accounting section of the return receipt.

7. The information processing apparatus according to claim 6,

8. a first derivation means for deriving individual points by multiplying the price of each of a plurality of target products registered as sales by a point rate, and deriving a sum of the derived individual points; a second derivation means for deriving a lump sum of points obtained by multiplying a total price obtained by adding up the prices of the plurality of target products by the point rate; a correction point determination means for determining a correction point for each of the target products to correct a difference between the total of the individual points and the lump-sum points; A setting means for setting an allocation ranking of each target product based on a point fraction generated when the individual points are derived; Equipped with The information processing device is characterized in that the correction point determination means determines the correction points for each target product by sequentially distributing a predetermined unit of points until the difference is fully allocated in accordance with the allocation order set by the setting means.

9. a first derivation means for deriving an individual discount amount by multiplying the price of each of a plurality of target products registered as sales by a discount rate, and deriving a sum of the derived individual discount amounts; a second derivation means for deriving a lump-sum discount amount obtained by multiplying a total price obtained by adding up the prices of the plurality of target products by the discount rate; a correction amount determination means for determining a correction amount for each of the target products to correct the difference between the total of the individual discount amounts and the lump-sum discount amount; a setting means for setting an allocation priority of each target product based on a discount fraction generated when the individual discount amount is derived; Equipped with The information processing device is characterized in that the correction amount determination means determines the correction amount for each target product by sequentially distributing a predetermined unit of amount until the difference is fully allocated in accordance with the allocation order set by the setting means.

10. The computer of the information processing device, a first derivation means for deriving an individual consumption tax amount by multiplying the price of each of a plurality of target products registered as sales by a consumption tax rate, and deriving a sum of the derived individual consumption tax amounts; a second derivation means for deriving a lump-sum consumption tax amount obtained by multiplying a total price obtained by adding up the prices of the plurality of target products by the consumption tax rate; a correction amount determination means for determining a correction amount for correcting the difference between the total of the individual consumption tax amounts and the lump-sum consumption tax amount for each of the target products; A setting means for setting an allocation priority of each target product based on a tax fraction generated when the individual consumption tax amount is derived; Function as a The correction amount determination means is a program characterized by determining the correction amount for each target product by sequentially distributing a predetermined unit of amount until the difference is fully allocated in accordance with the allocation order set by the setting means.

11. The computer of the information processing device, a first derivation means for deriving individual points by multiplying the price of each of a plurality of target products registered as sales by a point rate, and deriving a sum of the derived individual points; a second derivation means for deriving a lump sum of points obtained by multiplying a total price obtained by adding up the prices of the plurality of target products by the point rate; a correction point determination means for determining a correction point for each of the target products to correct a difference between the total of the individual points and the lump-sum points; A setting means for setting an allocation ranking of each target product based on a point fraction generated when the individual points are derived; Function as a The correction point determination means determines the correction points for each target product by sequentially distributing a predetermined unit of points according to the allocation order set by the setting means until the difference is fully allocated.

12. The computer of the information processing device, a first derivation means for deriving an individual discount amount by multiplying the price of each of a plurality of target products registered as sales by a discount rate, and deriving a sum of the derived individual discount amounts; a second derivation means for deriving a lump-sum discount amount obtained by multiplying a total price obtained by adding up the prices of the plurality of target products by the discount rate; a correction amount determination means for determining a correction amount for each of the target products to correct the difference between the sum of the individual discount amounts and the lump-sum discount amount; A setting means for setting an allocation priority of each target product based on a discount fraction generated when the individual discount amount is derived; Function as a The correction amount determination means is a program characterized by determining the correction amount for each target product by sequentially distributing a predetermined unit of amount until the difference is fully allocated in accordance with the allocation order set by the setting means.

Citation Information

Patent Citations

  • Electronic cash register

    JP1989230200A

  • Sales data processor

    JP1992096896A

  • Consumption tax adjusting method

    JP1994060095A

  • Clearing device and receipt for purchased commodities

    JP2002032864A