CN110930206A - Invoice matching method and device and storage medium - Google Patents
Invoice matching method and device and storage medium Download PDFInfo
- Publication number
- CN110930206A CN110930206A CN201911137125.8A CN201911137125A CN110930206A CN 110930206 A CN110930206 A CN 110930206A CN 201911137125 A CN201911137125 A CN 201911137125A CN 110930206 A CN110930206 A CN 110930206A
- Authority
- CN
- China
- Prior art keywords
- invoice
- target
- amount
- withdrawal
- cash
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/04—Billing or invoicing
Landscapes
- Business, Economics & Management (AREA)
- Development Economics (AREA)
- Accounting & Taxation (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The disclosure provides a method and a device for matching invoices and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: the device that matches the invoice can obtain the standing book record that accords with the target condition, and wherein, every standing book record includes withdrawal party's sign and withdrawal amount. And for each machine account record meeting the target condition, determining a target invoice in which the name of a seller is matched with the identifier of a cash register of the machine account record and the amount of the invoice is matched with the cash register amount of the machine account record according to stored invoice information of the invoice, wherein the invoice information comprises the name of the seller and the amount of the invoice. By adopting the method and the device, the efficiency of matching invoices can be improved.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for matching invoices, and a storage medium.
Background
In the live broadcast platform, a plurality of guilds are usually provided, and one or more live broadcast rooms are applied for different guilds on the live broadcast platform, so that each guild manages one or more live broadcast rooms, and different guilds manage different live broadcast rooms. When the anchor broadcasts directly in the live broadcast room, the audience of the live broadcast room can watch the live broadcast of the anchor, and when seeing the favorite live broadcast, the audience can be given a gift by purchasing the virtual gift. Payment is usually needed when the virtual gift is purchased, the money of the payment usually directly enters the enterprise to which the live broadcast platform belongs, and the live broadcast room belongs to a guild, so that the virtual gift is sold by the guild, and income is returned to the enterprise to which the live broadcast platform belongs. The subsequent guild provides the invoice for selling the virtual gift to the enterprise belonging to the live platform regularly, and extracts the income of the selling virtual gift to the account (the process can be called cash-out process).
When the invoice is used for cash withdrawal operation, financial staff of an enterprise to which the live broadcast platform belongs are generally required to check the invoice submitted by the guild, and when the submitted invoice is matched with a cash withdrawal request submitted by the guild, cash is withdrawn for the guild. Therefore, the invoice matching is performed in a manual matching mode, so that the matching efficiency is low, and an efficient invoice matching method is needed.
Disclosure of Invention
In order to solve the technical problem of low invoice matching efficiency in the related art, the embodiments of the present disclosure provide a method, an apparatus, and a storage medium for matching an invoice. The technical scheme is as follows:
in a first aspect, a method of matching invoices is provided, the method comprising:
acquiring machine account records meeting target conditions, wherein each machine account record comprises an identifier of a withdrawal party and a withdrawal amount;
and for each standing book record meeting the target condition, determining a target invoice with the seller name matched with the withdrawal party identifier of the standing book record and the invoice amount matched with the withdrawal amount of the standing book record according to stored invoice information of the invoice, wherein the invoice information comprises the seller name and the invoice amount.
In one possible embodiment, the method further comprises:
for each standing book record, acquiring a target withdrawal amount corresponding to the standing book record, wherein the target withdrawal amount is used for representing the maximum withdrawal amount of the standing book record;
and if the withdrawal amount corresponding to the account book record is less than or equal to the target withdrawal amount, determining that the account book record meets the target condition.
In one possible embodiment, the method further comprises:
receiving images of a plurality of invoices sent by a terminal;
and determining and storing the invoice information of the multiple invoices according to the images of the multiple invoices.
In one possible embodiment, the invoice information further includes a tax rate and an invoicing date;
the target invoice which determines that the name of the seller is matched with the identifier of the cash withdrawal party and the amount of the invoice is matched with the cash withdrawal amount according to the stored invoice information of the invoice comprises the following steps:
and determining a target invoice that a seller name is matched with the identifier of the cash register, the invoice amount is matched with the cash register amount, and the tax rate and the invoicing date meet a first condition according to the stored invoice information of the invoice, wherein the first condition is that the tax rate is equal to a target value, and the invoicing date is not earlier than the target date.
In one possible embodiment, the target invoice is a multiple invoice, and the method further includes:
and determining the amount of money matched with the standing book record of each invoice in the target invoices.
In one possible embodiment, the method further comprises:
receiving a cash withdrawal request sent by a terminal, wherein the cash withdrawal request comprises cash withdrawal amount;
and generating a machine account record according to the cash withdrawal request.
In a second aspect, there is provided an apparatus for matching invoices, the apparatus comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the standing book records meeting target conditions, and each standing book record comprises an identifier of a withdrawal party and a withdrawal amount;
and the determining module is used for determining a target invoice, which is matched with the seller name and the cash withdrawal amount of the ledger record and has the invoice amount matched with the cash withdrawal amount of the ledger record, for each ledger record meeting the target condition according to the stored invoice information of the invoice, wherein the invoice information comprises the seller name and the invoice amount.
In a possible implementation manner, the obtaining module is further configured to:
for each standing book record, acquiring a target withdrawal amount corresponding to the standing book record, wherein the target withdrawal amount is used for representing the maximum withdrawal amount of the standing book record;
the determining module is configured to determine that the standing book record meets the target condition if the cash withdrawal amount corresponding to the standing book record is less than or equal to the target cash withdrawal amount.
In a possible embodiment, the apparatus further comprises:
the first receiving module is used for receiving images of a plurality of invoices sent by the terminal;
and the storage module is used for determining and storing the invoice information of the multiple invoices according to the images of the multiple invoices.
In one possible embodiment, the invoice information further includes a tax rate and an invoicing date;
the determining module is configured to:
and determining a target invoice that a seller name is matched with the identifier of the cash register, the invoice amount is matched with the cash register amount, and the tax rate and the invoicing date meet a first condition according to the stored invoice information of the invoice, wherein the first condition is that the tax rate is equal to a target value, and the invoicing date is not earlier than the target date.
In one possible embodiment, the target invoice is a multiple invoice, and the determining module is further configured to:
and determining the amount of money matched with the standing book record of each invoice in the target invoices.
In a possible embodiment, the apparatus further comprises:
the second receiving module is used for receiving a cash withdrawal request sent by the terminal, wherein the cash withdrawal request comprises cash withdrawal amount;
and the generation module is used for generating the standing book record according to the cash withdrawal request.
In a third aspect, there is provided an apparatus for matching invoices, the apparatus comprising a processor and a memory, the memory having stored therein at least one instruction, the instruction being loaded and executed by the processor to implement the method for matching invoices of the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, the instruction being loaded and executed by a processor to implement the method for matching invoices according to the first aspect.
In the embodiment of the disclosure, the server may obtain the ledger records meeting the target conditions, where each ledger record includes an identifier of a withdrawal party and a withdrawal amount. For each account record meeting the target condition, the server can determine a target invoice with the seller name matched with the withdrawal party identifier and the invoice amount matched with the withdrawal amount according to the stored invoice information of the invoice, wherein the invoice information comprises the seller name and the invoice amount. In this way, the invoice matched with the standing book record can be determined through the invoice information of the invoice without manual determination, so that an efficient matching mode is provided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
FIG. 1 is a schematic diagram of a scenario for matching invoices provided by an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram of a method for matching invoices according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart of matching invoices provided by the disclosed embodiment;
FIG. 4 is a schematic structural diagram of an apparatus for matching invoices according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of an apparatus for matching invoices according to an embodiment of the present disclosure;
FIG. 6 is a schematic structural diagram of an apparatus for matching invoices according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
The embodiment of the disclosure provides a method for matching invoices, wherein an execution main body of the method is a server or a terminal, the terminal can be a computer and the like, and the server can present a background server of a system. The server may include a processor, a transceiver, and a memory, the processor may be configured to perform the process of matching invoices; the memory may be used to store data required in the process of matching invoices as well as data generated; the transceiver may be used to receive as well as transmit data.
Before implementation, an application scenario related to the embodiment of the present disclosure is first introduced:
in the live broadcast platform, a plurality of guilds are usually provided, and one or more live broadcast rooms are applied for different guilds on the live broadcast platform, so that each guild manages one or more live broadcast rooms, and different guilds manage different live broadcast rooms. For example, as shown in fig. 1, the live platform has a plurality of guilds (only two guilds are shown in fig. 1), guilds 1 and guilds 2, guilds 1 manages 3 live rooms, and guilds 2 manages 3 live rooms. The guild submits an invoice request to an enterprise to which the live broadcast platform belongs at regular intervals to carry out cash-withdrawal processing, and staff of the enterprise determines whether to carry out cash-withdrawal processing or not by checking the invoice. The guild can be a withdrawal party for applying for cash (hereinafter, the guild can be simply called a withdrawal party), and the enterprise to which the live broadcast platform belongs is a management withdrawal party.
It should be noted that this scenario is only an optional scenario, and all processes for matching invoices can use the scheme of the present disclosure.
As shown in fig. 2, the flow of the method for matching invoices may be as follows:
The standing book record is a cash withdrawal record generated by a cash withdrawal party after applying for cash withdrawal.
In this embodiment, a manager (e.g., a financial staff) managing the cash drawer may install the financial management program on the terminal, open and log in the financial management program, and the terminal may display a main interface of the financial management program. Management cash withdrawal options and the like are displayed in the main interface, and a manager can select the management cash withdrawal options on the main interface and trigger the terminal to send a management cash withdrawal request to the server. After receiving the management cash withdrawal request, the server can acquire the account book conforming to the target condition.
It should be noted here that, although both the cash drawer and the management cash drawer install the financial management program, the interfaces provided by the cash drawer and the management cash drawer are different because the processes performed by the cash drawer and the management cash drawer are different, so that it can be easily understood that the main interfaces displayed by the cash drawer and the management cash drawer are different after the cash drawer and the management cash drawer are logged in by using the account of the cash drawer and after the cash drawer and the management cash drawer are logged in by using the account of the management cash drawer.
In step 201, it should be noted that the server may automatically execute the flow shown in fig. 2 (for example, number 2 every month) according to a fixed period, or the server may execute the flow shown in fig. 2 after the management cash register submits the management cash request.
In one possible embodiment, the manner of determining the ledger records meeting the target conditions may be as follows:
and for each account record, acquiring a target withdrawal amount corresponding to the account record, wherein the target withdrawal amount is used for representing the maximum withdrawal amount of the account record, and if the withdrawal amount corresponding to the account record is less than or equal to the target withdrawal amount, determining that the account record meets the target condition.
In this embodiment, a manager managing the cash-withdrawal parties may input a corresponding relationship between the identifier of the cash-withdrawal party and the cash-withdrawal amount through a financial management program, and then trigger a terminal managing the cash-withdrawal parties to send the corresponding relationship to a server, where a maximum cash-withdrawal amount that each cash-withdrawal party can withdraw at this time is recorded in the corresponding relationship, for example, for the cash-withdrawal party a, 5000 yuan is corresponded in the corresponding relationship, and then the maximum cash-withdrawal amount corresponding to the cash-withdrawal party a is 5000 yuan. After the server receives the corresponding relationship, the server may store the corresponding relationship.
When the server processes the matched invoice, for each account record which is not matched with the invoice currently, the server can acquire the identifier of the cash register and the cash register amount in each account record, and then the identifier of the cash register is used to determine the target cash register amount corresponding to the identifier of the cash register in the corresponding relation between the identifier of the cash register and the cash register amount. The server can judge the size relationship between the withdrawal amount corresponding to the withdrawal party identifier and the target withdrawal amount, and if the withdrawal amount is less than or equal to the target withdrawal amount, the withdrawal record is determined as the account book record meeting the target conditions.
And step 202, determining a target invoice in which the seller name is matched with the withdrawal party identifier and the invoice amount is matched with the withdrawal amount according to the stored invoice information of the invoice for each account book meeting the target condition.
Wherein, for an invoice, the invoice information of the invoice comprises a seller name and an invoice amount.
In this embodiment, after the server obtains the ledger records meeting the target conditions, for each ledger record, the server may obtain a seller name in the invoice information of the stored invoice. The server judges whether the identifier of the cash drawer of the account record is the same as the name of the seller, and if the identifier of the cash drawer of the account record is the same as the name of the seller, the server can determine that the name of the seller is matched with the identifier of the cash drawer. And the server can judge the target invoice of which the invoice amount is matched with the withdrawal amount in the invoice of which the seller name is matched with the withdrawal party identifier.
It should be noted that the target invoice with the invoice amount matching the withdrawal amount refers to: when the withdrawal amount is larger than or equal to the invoice amount of the invoice with the seller name matched with the withdrawal party identifier, the target invoice is the invoice with the seller name matched with the withdrawal party identifier; when the withdrawal amount is less than the invoice amount of the invoice with the seller name matched with the withdrawal party identifier, the target invoice is the invoice with the seller name matched with the withdrawal party identifier and the invoice with the withdrawal amount, and it needs to be explained here that if the invoice with the seller name matched with the withdrawal party identifier does not have the invoice exactly the same as the withdrawal amount, the invoice with the difference value smaller than the withdrawal amount is selected. For example, there are 4 invoices matching the seller name and the withdrawal party identifier, the invoices have the money amounts of 2000 yuan, 4000 yuan, 2500 yuan and 3000 yuan respectively, the withdrawal amount is 8000 yuan, and the invoices matching the ledger record are selected as 2000 yuan, 4000 yuan and 2500 yuan. Of course, an invoice which is larger than the withdrawal amount and has a front invoicing date can be selected.
In one possible implementation, the server may generate a ledger record based on the cash-out request, and the processing may be as follows:
the financial management program is installed on the terminal of the cash register, the staff of the cash register can install the financial management program on the terminal and then open and log in the financial management program, the terminal can display a main interface of the financial management program, and a cash register application option is displayed in the main interface. The staff can select the option of applying for withdrawal, the terminal can display an input box of withdrawal amount, a submitting option and a canceling option, and the staff can input the withdrawal amount in the input box. Here, the terminal may further display an input box for applying for a withdrawal time period, and the staff member may input the time period for applying for withdrawal (the withdrawal time period is used to indicate a time interval for applying for withdrawal) in the input box. Then, the staff can click the submission option, and the terminal sends the cash withdrawal request to a background server (hereinafter referred to as a server for short) of the financial management program, wherein the cash withdrawal request carries cash withdrawal amount. The server, upon receiving the cash withdrawal request, may resolve the cash withdrawal amount therefrom and determine the identity of the account submitting the cash withdrawal request (i.e., the identity of the cash withdrawal party). The server then determines the withdrawal amount and the identifier as a standing book record, and the server may also generate an identifier of the standing book record for uniquely identifying the standing book record.
In a possible implementation manner, after step 202, after determining the invoice matching each ledger record, the server may store the invoice matching each ledger record, and subsequently, when receiving an acquisition request of a matching result sent by the terminal of the management presenter, send invoice information of the matched invoice to the terminal of the management presenter.
In one possible implementation, the server may also determine the amount of money in the target invoice that each invoice matches the ledger record.
In this embodiment, after the server determines the target amount, the server may determine the amount of each invoice that matches the ledger record. Any account record may specifically be: if the amount of the target invoice is less than or equal to the withdrawal amount of the standing book record, the amount of the invoice matched with the standing book record is the invoice amount of the invoice for any one invoice in the target invoice; if the amount of the target invoice is larger than the withdrawal amount of the account record, for any invoice in the target invoice, if the invoice is latest in the invoicing date of the invoice in the target invoice, the amount of the invoice except the invoice matched with the account record in the target invoice is the invoice amount of the invoice, the amount of the invoice matched with the account record is the difference between the withdrawal amount and the invoice amount of the invoice except the invoice in the target invoice, and if the invoice is not latest in the invoicing date of the invoice in the target invoice, the amount of the invoice matched with the account record is the invoice amount of the invoice.
For example, the target invoice has 3 invoices, the invoice amount is 2000 yuan, 4000 yuan and 2500 yuan, the invoicing date is 2019.8, 2019.8.8 and 2019.8.10, and the withdrawal amount is 8000 yuan. The 3 invoices are matched with the ledger record, and the invoices have the money amounts of 2000 yuan, 4000 yuan and 2000 yuan respectively.
In a possible implementation manner, before step 202, the server may also obtain invoice information of an invoice provided by the terminal, and the corresponding processing may be as follows:
receiving images of a plurality of invoices sent by a terminal; and determining and storing invoice information of each invoice according to the images of the plurality of invoices.
In the embodiment of the disclosure, the financial management program is provided with an invoice input interface, and the interface can be opened for a withdrawal party and can also be opened for a management withdrawal party. The staff of the cash drawer operates the terminal of the staff to call the camera through the interface, and the image of each invoice is obtained. The terminal sends an image of the invoice to the server. After the server receives the image of the invoice sent by the terminal, the server can input the image of the invoice into the trained recognition model, and then the invoice information of each invoice can be output. The server may store invoice information for each invoice.
Similarly, the staff of the cash presenter can submit the paper invoices to the staff of the management cash presenter in a mailing mode or other modes, and the staff of the management cash presenter can operate the terminal of the staff to call the camera through the interface to acquire the image of each invoice. The terminal sends an image of the invoice to the server. After the server receives the image of the invoice sent by the terminal, the server can input the image of the invoice into the trained recognition model, and then the invoice information of each invoice can be output. The server may store invoice information for each invoice.
In addition, in the embodiment of the disclosure, the staff of the cash presenter may submit the paper invoice to the staff of the management cash presenter in a mailing manner or in other manners, the staff of the management cash presenter may create a table, the invoice information of each invoice is input into one table, then the staff of the management cash presenter operates the terminal to send the table to the server, and the server may store the table, that is, the server obtains the invoice information of the invoice.
It should be noted that the recognition model may be any kind of recognition model, such as a convolutional neural network algorithm, and during training, an initial model in a training set is obtained, where the training set includes invoices with tags. And the server trains the initial model by using the training set until the requirement is met, and a final usable identification model for identifying the invoice is obtained.
In a possible implementation manner, the invoice information acquired by the server further includes a tax rate and an invoicing date, wherein the tax rate refers to a scale for calculating tax amount, and the invoicing date refers to the invoicing time of the invoice. In step 202, the server may also use the following method when determining the target invoice:
and determining that the name of the seller is matched with the identifier of the cash drawer according to the stored invoice information of the invoice, the amount of the invoice is matched with the cash drawer, and the tax rate and the invoicing date meet the target invoice of a first condition, wherein the first condition is that the tax rate is equal to a target numerical value, and the invoicing date is not earlier than the target date.
In this embodiment, since the invoice has a valid period, when matching the standing book record, it is also considered whether the invoice is in the valid period, and similarly, since the invoice at a certain tax rate meets the regulation, it is also considered whether the tax rate is the same as the regulated tax rate (i.e., the target value). As described above, the server may determine invoices whose seller name matches the cash carrier's identification and whose invoice amount matches the cash carrier's amount, and the server may continue to determine among the invoices whether the invoicing date of the invoices is not earlier than the target date and whether the tax rate is equal to the target value. The server may select, among the invoices, an invoice having an invoicing date not earlier than the target date and a tax rate equal to the target value.
The target date is used to indicate that the invoice is within the valid period if the invoice date is not earlier than the target date. For example, if the invoice has an expiration date of 1 year, a current date of 2019.8.3, and the invoice is valid only if the invoice date is not earlier than 2018.8.3, the target date is 2018.8.3.
In a possible implementation manner, after matching an invoice with a standing book record, the server marks the invoice as a used invoice, and if the invoice does not have the sum of all invoices corresponding to the standing book record, the server records the invoice as the used invoice and also records the sum of invoices which do not match the standing book record. In this way, different ledger records can be prevented from matching the same invoice.
The flow shown in fig. 2 is described by taking a server as an example, and the execution flow of the terminal is basically the same as that of the server, except that the terminal can directly display the invoice information corresponding to each standing book record after determining the invoice corresponding to the standing book record.
In addition, as shown in fig. 3, the embodiment of the present disclosure further provides a flowchart of invoice uploading and invoice matching, a cash drawer provides an invoice, and invoice information of the invoice is stored in a server. And the cash-submitting party applies for cash-submitting, submits a cash-submitting request to the server, and the server generates a ledger record. The server acquires the standing book records at regular time, acquires invoice information of the invoices for matching, and outputs a target invoice corresponding to the standing book records.
And staff of the subsequent management cash drawer can carry out cash-drawing processing on the cash drawer based on the condition that each account book is matched with the invoice. For example, when the withdrawal party applies for withdrawal, the withdrawal request also carries bank account information, and when determining that the invoice amount of the invoice matched with the standing book record is greater than or equal to the withdrawal amount in the standing book record, the staff managing the withdrawal party can execute withdrawal processing according to the withdrawal amount. And if the staff managing the cash-withdrawal party determines that the invoice amount of the invoice matched with the standing book record is smaller than the cash-withdrawal amount in the standing book record, the cash-withdrawal processing can be executed based on the bank account information according to the invoice amount of the invoice matched with the standing book record.
In the embodiment of the disclosure, the server may obtain the ledger records meeting the target conditions, where each ledger record includes an identifier of a withdrawal party and a withdrawal amount. For each account record meeting the target condition, the server can determine a target invoice with the seller name matched with the withdrawal party identifier and the invoice amount matched with the withdrawal amount according to the stored invoice information of the invoice, wherein the invoice information comprises the seller name and the invoice amount. In this way, the invoice matched with the standing book record can be determined through the invoice information of the invoice without manual determination, so that an efficient matching mode is provided.
Based on the same technical concept, the embodiment of the present disclosure further provides an apparatus for matching invoices, as shown in fig. 4, the apparatus includes:
an obtaining module 410, configured to obtain ledger records meeting the target conditions, where each ledger record includes an identifier of a withdrawal party and a withdrawal amount;
and the determining module 420 is configured to determine, for each standing book record meeting the target condition, a target invoice in which a seller name matches an identifier of a cash register of the standing book record and an invoice amount matches a cash register amount of the standing book record according to stored invoice information of the invoice, where the invoice information includes the seller name and the invoice amount.
In a possible implementation, the obtaining module 410 is further configured to:
for each standing book record, acquiring a target withdrawal amount corresponding to the standing book record, wherein the target withdrawal amount is used for representing the maximum withdrawal amount of the standing book record;
the determining module 420 is configured to determine that the standing book record meets the target condition if the cash withdrawal amount corresponding to the standing book record is less than or equal to the target cash withdrawal amount.
In a possible embodiment, as shown in fig. 5, the apparatus further comprises:
the first receiving module 430 is used for receiving images of multiple invoices sent by the terminal;
the storage module 440 is configured to determine and store the invoice information of the multiple invoices according to the image of the multiple invoices.
In one possible embodiment, the invoice information further includes a tax rate and an invoicing date;
the determining module 420 is configured to:
and determining a target invoice that a seller name is matched with the identifier of the cash register, the invoice amount is matched with the cash register amount, and the tax rate and the invoicing date meet a first condition according to the stored invoice information of the invoice, wherein the first condition is that the tax rate is equal to a target value, and the invoicing date is not earlier than the target date.
In a possible implementation, the target invoice is a multiple invoice, and the determining module 420 is further configured to:
and determining the amount of money matched with the standing book record of each invoice in the target invoices.
In a possible embodiment, as shown in fig. 6, the apparatus further comprises:
a second receiving module 450, configured to receive a cash withdrawal request sent by a terminal, where the cash withdrawal request includes a cash withdrawal amount;
and a generating module 460, configured to generate a ledger record according to the cash-out request.
In the embodiment of the disclosure, the server may obtain the ledger records meeting the target conditions, where each ledger record includes an identifier of a withdrawal party and a withdrawal amount. For each account record meeting the target condition, the server can determine a target invoice in which the seller name is matched with the withdrawal party identifier and the invoice amount is matched with the withdrawal amount according to stored invoice information of the invoice, wherein the invoice information comprises the seller name and the invoice amount. In this way, the invoice matched with the standing book record can be determined through the invoice information of the invoice without manual determination, so that an efficient matching mode is provided.
It should be noted that: the device for matching an invoice provided in the above embodiment is only illustrated by the division of the above functional modules when matching an invoice, and in practical applications, the function distribution may be completed by different functional modules as needed, that is, the internal structure of the device for matching an invoice is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the device for matching invoices and the method for matching invoices provided by the embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment and is not described herein again.
Fig. 7 is a schematic structural diagram of a server 700 according to an embodiment of the present invention, where the server 700 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 701 and one or more memories 702, where the memory 702 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 701 to implement the method steps for determining a matching invoice.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.
Claims (14)
1. A method of matching invoices, the method comprising:
acquiring machine account records meeting target conditions, wherein each machine account record comprises an identifier of a withdrawal party and a withdrawal amount;
and for each standing book record meeting the target condition, determining a target invoice with the seller name matched with the withdrawal party identifier of the standing book record and the invoice amount matched with the withdrawal amount of the standing book record according to stored invoice information of the invoice, wherein the invoice information comprises the seller name and the invoice amount.
2. The method of claim 1, further comprising:
for each standing book record, acquiring a target withdrawal amount corresponding to the standing book record, wherein the target withdrawal amount is used for representing the maximum withdrawal amount of the standing book record;
and if the withdrawal amount corresponding to the account book record is less than or equal to the target withdrawal amount, determining that the account book record meets the target condition.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
receiving images of a plurality of invoices sent by a terminal;
and determining and storing the invoice information of the multiple invoices according to the images of the multiple invoices.
4. The method of claim 1 or 2, wherein the invoice information further comprises a tax rate and an invoicing date;
the target invoice which determines that the name of the seller is matched with the identifier of the cash withdrawal party and the amount of the invoice is matched with the cash withdrawal amount according to the stored invoice information of the invoice comprises the following steps:
and determining a target invoice that a seller name is matched with the identifier of the cash register, the invoice amount is matched with the cash register amount, and the tax rate and the invoicing date meet a first condition according to the stored invoice information of the invoice, wherein the first condition is that the tax rate is equal to a target value, and the invoicing date is not earlier than the target date.
5. The method according to claim 1 or 2, wherein the target invoice is a multiple invoice, the method further comprising:
and determining the amount of money matched with the standing book record of each invoice in the target invoices.
6. The method according to claim 1 or 2, characterized in that the method further comprises:
receiving a cash withdrawal request sent by a terminal, wherein the cash withdrawal request comprises cash withdrawal amount;
and generating a machine account record according to the cash withdrawal request.
7. An apparatus for matching invoices, the apparatus comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the standing book records meeting target conditions, and each standing book record comprises an identifier of a withdrawal party and a withdrawal amount;
and the determining module is used for determining a target invoice, which is matched with the seller name and the cash withdrawal amount of the ledger record and has the invoice amount matched with the cash withdrawal amount of the ledger record, for each ledger record meeting the target condition according to the stored invoice information of the invoice, wherein the invoice information comprises the seller name and the invoice amount.
8. The apparatus of claim 7, wherein the obtaining module is further configured to:
for each standing book record, acquiring a target withdrawal amount corresponding to the standing book record, wherein the target withdrawal amount is used for representing the maximum withdrawal amount of the standing book record;
the determining module is configured to determine that the standing book record meets the target condition if the cash withdrawal amount corresponding to the standing book record is less than or equal to the target cash withdrawal amount.
9. The apparatus of claim 7 or 8, further comprising:
the first receiving module is used for receiving images of a plurality of invoices sent by the terminal;
and the storage module is used for determining and storing the invoice information of the multiple invoices according to the images of the multiple invoices.
10. The apparatus of claim 7 or 8, wherein the invoice information further includes a tax rate and an invoicing date;
the determining module is configured to:
and determining a target invoice that a seller name is matched with the identifier of the cash register, the invoice amount is matched with the cash register amount, and the tax rate and the invoicing date meet a first condition according to the stored invoice information of the invoice, wherein the first condition is that the tax rate is equal to a target value, and the invoicing date is not earlier than the target date.
11. The apparatus according to claim 7 or 8, wherein the target invoice is a multiple invoice, and the determination module is further configured to:
and determining the amount of money matched with the standing book record of each invoice in the target invoices.
12. The apparatus of claim 7 or 8, further comprising:
the second receiving module is used for receiving a cash withdrawal request sent by the terminal, wherein the cash withdrawal request comprises cash withdrawal amount;
and the generation module is used for generating the standing book record according to the cash withdrawal request.
13. An apparatus for matching invoices, comprising a processor and a memory having stored therein at least one instruction for being loaded and executed by the processor to implement the method of matching invoices according to any one of claims 1 to 6.
14. A computer readable storage medium having stored therein at least one instruction which is loaded and executed by a processor to implement a method of matching invoices according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911137125.8A CN110930206A (en) | 2019-11-19 | 2019-11-19 | Invoice matching method and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911137125.8A CN110930206A (en) | 2019-11-19 | 2019-11-19 | Invoice matching method and device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110930206A true CN110930206A (en) | 2020-03-27 |
Family
ID=69851203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911137125.8A Pending CN110930206A (en) | 2019-11-19 | 2019-11-19 | Invoice matching method and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110930206A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111461798A (en) * | 2020-03-31 | 2020-07-28 | 好活(昆山)网络科技有限公司 | Big data-based ticket business processing method, device, medium and equipment for individual user |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108364230A (en) * | 2018-02-05 | 2018-08-03 | 深圳市资本在线金融信息服务有限公司 | A kind of account is withdrawn deposit method, apparatus, terminal device and storage medium |
CN108734528A (en) * | 2018-05-18 | 2018-11-02 | 北京大账房网络科技股份有限公司 | A kind of electronic invoice keeps accounts method automatically |
FR3066299A1 (en) * | 2017-05-11 | 2018-11-16 | Amadeus S.A.S | A SYSTEM AND METHOD FOR PROCESSING AND ACCOUNTING RECONCILIATION OF AN INVOICE DATA FILE |
CN109785024A (en) * | 2019-01-04 | 2019-05-21 | 深圳壹账通智能科技有限公司 | Invoice data processing method, device, computer equipment and storage medium |
CN109978542A (en) * | 2019-04-01 | 2019-07-05 | 比亚迪股份有限公司 | Management method, system, storage medium and the electronic equipment of accounts payable data |
-
2019
- 2019-11-19 CN CN201911137125.8A patent/CN110930206A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR3066299A1 (en) * | 2017-05-11 | 2018-11-16 | Amadeus S.A.S | A SYSTEM AND METHOD FOR PROCESSING AND ACCOUNTING RECONCILIATION OF AN INVOICE DATA FILE |
CN108364230A (en) * | 2018-02-05 | 2018-08-03 | 深圳市资本在线金融信息服务有限公司 | A kind of account is withdrawn deposit method, apparatus, terminal device and storage medium |
CN108734528A (en) * | 2018-05-18 | 2018-11-02 | 北京大账房网络科技股份有限公司 | A kind of electronic invoice keeps accounts method automatically |
CN109785024A (en) * | 2019-01-04 | 2019-05-21 | 深圳壹账通智能科技有限公司 | Invoice data processing method, device, computer equipment and storage medium |
CN109978542A (en) * | 2019-04-01 | 2019-07-05 | 比亚迪股份有限公司 | Management method, system, storage medium and the electronic equipment of accounts payable data |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111461798A (en) * | 2020-03-31 | 2020-07-28 | 好活(昆山)网络科技有限公司 | Big data-based ticket business processing method, device, medium and equipment for individual user |
CN111461798B (en) * | 2020-03-31 | 2022-07-26 | 好活(昆山)网络科技有限公司 | Big data-based ticket business processing method, device, medium and equipment for individual user |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108446975B (en) | Quota management method and device | |
CN109978504A (en) | Processing method, device, equipment and the storage medium of financial data | |
US20060200398A1 (en) | Accounting integrity verification method and apparatus | |
CN110458562A (en) | Bill method of charging out, device and equipment and computer storage medium | |
CN112258306B (en) | Account information checking method, device, electronic equipment and storage medium | |
CN113362025B (en) | Data accounting system, method, computer-readable storage medium, and electronic device | |
CN112734543A (en) | Accounting processing method and device, computer equipment and storage medium | |
CN110930206A (en) | Invoice matching method and device and storage medium | |
CN113379523A (en) | Bill generation method, device, medium and electronic equipment | |
CN111461798B (en) | Big data-based ticket business processing method, device, medium and equipment for individual user | |
CN116091258A (en) | Data processing method and device for account checking management | |
CN114691768A (en) | Data processing method, accounting system and related equipment | |
CN111061573A (en) | Resource transfer method, device, electronic equipment and storage medium | |
CN114186267A (en) | Virtual asset data processing method and device and computer readable storage medium | |
CN114912880A (en) | False duty processing method and device, computer equipment and storage medium | |
CN111241143A (en) | Distributed calculation method and system for water supply amount and water fee | |
CN110782330A (en) | Configuration method of accounting voucher of financial cloud platform | |
CN110852679A (en) | Document adjusting method, device and equipment | |
CN117114786B (en) | Core enterprise management method, system, computer equipment and storage medium | |
CN115063913B (en) | Identity information input method and device based on optical character recognition and related equipment | |
CN114971613A (en) | Method and system for paying business travel orders, electronic equipment and storage medium | |
CN116993506B (en) | Consumption financial business transaction processing system | |
CN112734434B (en) | Medium distribution method, medium distribution device and electronic equipment | |
CN115879896A (en) | Customer unified image management scheme based on bank card business | |
CN113111631A (en) | Data processing method, device, equipment, storage medium and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |