Electronic accounting voucher processing method, device, electronic equipment and medium
Through optical character recognition and database matching, the problem of complexity of financial vouchers is solved, automatic matching and storage of electronic accounting vouchers and bill images is realized, simplifying the accounting process and reducing financial workload.
Patent Information
- Application Number
- CN202110381935.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-09
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The production and preservation of financial vouchers is complex, and information such as debit and credit accounting accounts requires corresponding invoices and other receipts, resulting in a large amount of accounting vouchers that are difficult to save and query.
By obtaining the bill image to be processed for optical character recognition, the bill information is obtained and stored in the database, the target accounting voucher and bill information are matched, and the electronic accounting voucher and bill image are bound and stored to achieve automatic matching and storage.
It realizes the automatic matching and storage of electronic accounting vouchers and bill images, standardizes the management of accounting vouchers and bill images, facilitates query, reduces financial workload, and simplifies the accounting process.
Smart Images

Figure CN113158857B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer information technology, and in particular to an electronic accounting voucher processing method, device, electronic equipment and medium. Background Art
[0002] Accounting vouchers are filled out by the accounting department based on original vouchers, recording brief contents of economic transactions, determining accounting entries, and serving as the basis for accounting. The finance department of each company needs to keep accounts according to requirements, prepare account books and keep them for verification.
[0003] Financial regulations are relatively complex and tedious. Core information such as the debit and credit accounting accounts, auxiliary accounting accounts, etc. in accounting documents require corresponding invoices and other documents to prove them. They are complicated to produce, the volume of documents is large, and they are not easy to preserve and query. Summary of the invention
[0004] Based on this, it is necessary to propose an electronic accounting voucher processing method, device, electronic device and medium to address the above problems.
[0005] In a first aspect, a method for processing an electronic accounting voucher is provided, comprising:
[0006] Acquire a bill image to be processed and a bill summary of the bill image to be processed;
[0007] Performing optical character recognition on the bill image to be processed to obtain bill information, and storing the bill image to be processed, the bill summary and the bill information in a database;
[0008] Acquire the generated target accounting voucher, match the target accounting voucher with each bill information in the database, and determine the target bill information matching the target accounting voucher;
[0009] A target bill image corresponding to the target bill information is obtained, and the target accounting voucher is bound to the target bill image and stored.
[0010] In a second aspect, an electronic accounting voucher processing device is provided, comprising:
[0011] An acquisition module, used for acquiring a bill image to be processed and a bill summary of the bill image to be processed;
[0012] An identification and processing module performs optical character recognition on the image of the bill to be processed to obtain bill information;
[0013] A storage module, used for storing the to-be-processed bill image, the bill summary and the bill information in a database;
[0014] The acquisition module is also used to acquire the generated target accounting voucher;
[0015] The identification processing module is also used to match the target accounting voucher with each bill information in the database to determine the target bill information matching the target accounting voucher;
[0016] The storage module is also used to obtain a target bill image corresponding to the target bill information, and bind the target accounting voucher and the target bill image for storage.
[0017] According to a third aspect, an electronic device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the first aspect and any possible implementation thereof.
[0018] In a fourth aspect, a computer storage medium is provided, wherein the computer storage medium stores one or more instructions, wherein the one or more instructions are suitable for being loaded by a processor and executing the steps of the above-mentioned first aspect and any possible implementation thereof.
[0019] The present application obtains the bill image to be processed and the bill summary of the bill image to be processed; performs optical character recognition on the bill image to be processed to obtain bill information, and stores the bill image to be processed, the bill summary and the bill information in a database; obtains the generated target accounting voucher, matches the target accounting voucher with each bill information in the database, and determines the target bill information that matches the target accounting voucher; obtains the target bill image corresponding to the target bill information, and binds and stores the target accounting voucher with the target bill image, so as to achieve long-term preservation of complete bill and accounting voucher data, automatically match and store electronic accounting vouchers with bill images, standardize the management of each company's accounting vouchers and corresponding bill images, facilitate query, and facilitate further quick generation of electronic account books, thereby reducing financial workload. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] in:
[0022] Figure 1 A flowchart of an electronic accounting voucher processing method provided in an embodiment of the present application;
[0023] Figure 2A schematic diagram of an electronic accounting voucher provided in an embodiment of the present application;
[0024] Figure 3 A schematic diagram of a query page provided in an embodiment of the present application;
[0025] Figure 4 A schematic diagram of the structure of an electronic accounting voucher processing device provided in an embodiment of the present application;
[0026] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] like Figure 1 As shown, in one embodiment, a method for processing an electronic accounting voucher is provided, and the method for processing an electronic accounting voucher can be applied to an electronic accounting voucher processing device. The method includes:
[0029] 101. Obtain a bill image to be processed and a bill summary of the bill image to be processed.
[0030] The electronic accounting voucher processing device in the embodiment of the present application can be an electronic device. In a specific implementation, the electronic device can be a terminal, which can also be called a terminal device, including but not limited to other portable devices such as a laptop computer or a tablet computer. In some embodiments, the device is not a portable communication device, but a desktop computer.
[0031] The bills involved in the embodiments of the present application may be various business vouchers, such as invoices, issued and collected in the purchase and sale of goods, provision or acceptance of services, and other business activities. An invoice refers to a text issued by the seller to the buyer in an economic activity, which includes the name, quality, and agreed price of the product or service provided to the buyer. In addition to the advance payment, the elements that an invoice must have are payment by the buyer to the seller according to the agreed terms, and must include the date and quantity, which is an important voucher for accounting. The Chinese accounting system stipulates that a valid invoice for the purchase of products or services is called a tax invoice. For internal audits and verifications, each invoice must have a unique serial number to prevent invoice duplication or skipping.
[0032] The above-mentioned image of the bill to be processed can be a photo, screenshot or PDF of any format containing the bill, and the embodiment of the present application does not limit this. The source of the image of the bill to be processed is generated by the user, or it can be processed by Robotic Process Automation (RPA). For example, the user can take a photo of the bill generated at ordinary times and upload it directly to the front end, such as taking a photo with a mobile phone and uploading it to the system. The back end will save it as a picture or PDF. The specific format can be set as needed, and there is no restriction here.
[0033] The above-mentioned bill summary may be provided together with uploading the bill image to be processed, and may be input by the user or determined by the system automatically recognizing the text such as the title in the bill image to be processed.
[0034] 102. Perform optical character recognition on the bill image to be processed to obtain bill information, and store the bill image to be processed, the bill summary and the bill information in a database.
[0035] The optical character recognition (OCR) mentioned in the embodiments of the present application refers to the process in which an electronic device examines characters in a document or image, determines their shapes by detecting dark and light patterns, and then translates the shapes into computer text using a character recognition method.
[0036] Specifically, the bill image to be processed can be automatically identified by OCR to obtain bill information, which may include bill amount, unit, invoice number, tax amount, etc., without limitation. The bill image to be processed and the corresponding bill summary and bill information can be stored in a database for easy storage and can be queried and printed when needed.
[0037] 103. Obtain the generated target accounting voucher, match the target accounting voucher with each bill information in the database, and determine the target bill information that matches the target accounting voucher.
[0038] An accounting voucher is an accounting voucher filled out by the accounting department based on the original voucher, which records the brief content of economic business and determines the accounting entries as the basis for accounting. An accounting voucher is also called an entry voucher or an accounting voucher. It is a record that determines the account name, accounting direction and amount according to the requirements of the registration book. It is the basis for registering detailed ledgers and general ledgers. The accounting voucher in the embodiment of this application is an electronic accounting voucher, which can be found at Figure 2 A schematic diagram of an electronic accounting voucher is shown in Figure 2As shown, the electronic accounting voucher may include information such as number, summary, accounting subject, amount, time, and person who prepared the voucher, and the information therein may be modified and saved as needed, or different electronic accounting voucher formats and colors may be reset. In the embodiment of the present application, the bill corresponding to the electronic accounting voucher may be automatically matched.
[0039] Optionally, the target accounting voucher generated by the acquisition includes:
[0040] Obtain the above target accounting voucher generated by the robotic process automation module; or,
[0041] Obtain the above-mentioned target accounting voucher saved by manual entry; or,
[0042] Get electronic target accounting vouchers generated by scanning paper vouchers.
[0043] Finance can enter some of the generated transactions and invoices into accounting vouchers, which are then used to generate financial statements. The accounting vouchers in this application can be entered and saved by the finance department in the preset voucher template, or they can be generated by the RPA robot and uploaded to the system, or they can be generated by scanning paper vouchers to generate electronic files. There is no restriction here.
[0044] The target accounting voucher may be any electronic accounting voucher to be matched with a bill. When there is a target accounting voucher, the target accounting voucher may be identified, matched with each bill information in the database, and the bill corresponding to the target accounting voucher may be found.
[0045] In an optional implementation, the bill information includes the bill amount; the step 103 may include:
[0046] 31. Obtain the voucher amount of the above target accounting voucher;
[0047] 32. Compare the bill amount of each of the above bill information with the above voucher amount to determine the above target bill information. The bill amount of the above target bill information is the same as the voucher amount of the target accounting voucher.
[0048] Specifically, the voucher amount in the target accounting voucher can be identified, the voucher amount can be compared with the bill amount in the bill information stored in the database, and the bill image with the same amount can be found as the target bill image corresponding to the target bill information. Further, the above bill information may also include information such as company name and date, and the target accounting voucher can be matched with the company name, date and other information of each bill one by one to obtain the result with the highest comprehensive matching degree. That is, the most accurate matching of the target accounting voucher and the bill image can be achieved through the comparison and identification of multiple aspects of information.
[0049] Usually, the bill information that is desired for electronic accounting voucher matching belongs to recently uploaded unmatched bill images. Therefore, by selecting the upload date of the bill image, some bill images can be filtered out for matching with the target accounting voucher to reduce the amount of data processing.
[0050] Further optionally, the above step 32 includes:
[0051] Compare the bill amount of each bill information with the voucher amount to obtain first bill information in which the bill amount is the same as the voucher amount;
[0052] In the case where the first bill information includes at least two bill information, the bill summary of the first bill information is compared with the voucher summary of the target accounting voucher to determine that the bill information matching the voucher summary is the target bill information.
[0053] In some cases, more than one bill amount that is the same as the voucher amount may be matched, that is, the first bill information obtained when performing amount matching includes at least two bill information. In this case, the bill summary of the first bill information can be compared with the voucher summary of the target accounting voucher to determine which one is the actual matching bill information. Specifically, the similarity between each bill summary in the first bill information and the voucher summary content can be compared to determine that the bill information corresponding to the bill summary with the highest similarity to the voucher summary is the target bill information.
[0054] In an optional implementation, the system can manually adjust and match a small number of electronic accounting vouchers or bill images that cannot be automatically identified and matched. For example, the bill image under a certain electronic accounting voucher can be manually added, deleted or modified, and the editing operation may also require the authority of the corresponding login account.
[0055] 104. Obtain a target bill image corresponding to the target bill information, and bind and store the target accounting voucher and the target bill image.
[0056] By matching the bill information with the content of the electronic accounting voucher, the target bill information corresponding to the target accounting voucher can be determined, so that the corresponding bill image can be determined, that is, the target bill image corresponding to the target bill information can be obtained, and the matching of the target accounting voucher and the corresponding bill can be completed.
[0057] The electronic accounting voucher can be associated with the corresponding bill image and stored in a database, and each electronic accounting voucher and the corresponding bill image can be saved in an orderly manner for easy query and evidence storage.
[0058] In an optional implementation, the target accounting voucher includes multiple types of accounting subjects, wherein each type of the accounting subject corresponds to one voucher amount;
[0059] The above step 32 may include:
[0060] Compare the bill amount of each bill information with the voucher amount corresponding to each type of accounting subject, and determine the target bill information corresponding to each type of accounting subject;
[0061] The above-mentioned binding and storing the above-mentioned target accounting voucher with the above-mentioned target bill image may include:
[0062] Determine the order of bills according to the arrangement order of the multiple types of accounting subjects in the target accounting voucher, the order of bills being the arrangement order of the target bill images corresponding to the target accounting voucher;
[0063] The target accounting voucher is bound to the target bill image and stored, and the arrangement order of the target bill image corresponding to the target accounting voucher is stored.
[0064] The target accounting voucher may include multiple types of accounting subjects, such as management expenses or product expenses, etc. Each type of accounting subject corresponds to a voucher amount, which can be the same or different. At this time, it is necessary to match the corresponding bill image for each type of accounting subject. The matching process can refer to the above description and will not be repeated here.
[0065] It should be noted that multiple types of accounting subjects in the target accounting voucher have a certain arrangement order, so the corresponding bill order can be determined, that is, the matched bill images can be integrated, and the order of the bill images corresponding to the target accounting voucher corresponds to the order of its accounting subjects.
[0066] Optionally, the above step 102 includes:
[0067] storing the above-mentioned bill image to be processed, the above-mentioned bill summary, the above-mentioned bill information in association with the company name, customer number and time information corresponding to the above-mentioned bill image to be processed in the above-mentioned database;
[0068] The above method further includes:
[0069] Obtaining a bill image query request from the front end, the bill image query request including querying company name, querying customer number and / or querying time information;
[0070] According to the above-mentioned queried company name, the above-mentioned queried customer number and / or the above-mentioned queried time information, the corresponding bill image is queried in the above-mentioned database, and the bill image query result is generated and returned to the above-mentioned front end.
[0071] The method in the embodiment of the present application can be applied to a resource management interactive system (web side), and the user group can be accountants. It is convenient for accountants to manage customers, and it is convenient for users and customers to view invoice information, industrial and commercial information, and help customers to do accounting and tax filing, etc. It also includes the function of collecting vouchers from multiple data sources, and is also an important way for RPA robots to interact with bill information.
[0072] Specifically, when uploading the bill image to be processed, the company name, customer number and time information can also be set or saved at the same time. In the embodiment of the present application, the accounting data of multiple companies can be classified and stored, and the processing and processing results can be fed back. The above time information can be the upload time of the bill image to be processed.
[0073] In the embodiment of the present application, a bill image query request can be initiated at the front end, and the corresponding bill image can be queried in the back end database through the company name, query customer number and / or query time information, and the bill image query result can be generated and returned to the front end.
[0074] The software architecture in the embodiment of the present application is mainly divided into two parts, the front end (UI) and the back end (system).
[0075] The front end is mainly used as the UI interface display and user interaction of the data collection module. In one embodiment, the front end is written and constructed using hypertext markup language, and the HTML file that can be parsed by the browser is used as the main body. For example, Figure 3 As shown, the overall page layout is divided into three major blocks:
[0076] The menu bar (top-bar) at the top of the page is divided into eight menus;
[0077] The function bar on the left (sidebar) will present different function modules according to different menu selections;
[0078] The content in the middle will change depending on the selected functional module.
[0079] In the content part, it is divided into two parts:
[0080] The company query view (row-project-list-view) and the part that displays the query results (table-wrap).
[0081] Cascading Style Sheets can be used to express the skin style of the page in HTML and other files. The background color, size, font color, weight and other parameters can be set as needed, and there is no limitation here. For example, Figure 3 As shown, in the top-bar part, the style is: the background is selected as light blue (#2DC3E8), the row height is 50px, the width is 100%, the height is 50px, the font color is white (#FFF), the minimum page width is 1024px, the page weight coefficient is 999, and the page layout mode is fixed positioning; in the sidebar part, the background color is gray-black (#273240), the floating mode is left floating, the width is 205px, and the font color is light gray (#D3D6D9); in the row-project-list-view part, the page layout is to move relative to the current window, the height is 50px, the minimum width is 1075px, the top and bottom margins are 10px, and the left and right margins are 20px; in the table-wrap part, the background color is white (#FFF), all borders are 1px solid line light gray (#D5D5D5), and the rounded border is 3px. This is just for reference.
[0082] In the embodiment of the present application, JavaScript language programming can be used to implement the above-mentioned front-end and back-end query functions. JavaScript is a lightweight, interpreted programming language with function priority, which supports object-oriented, imperative and other styles. It is used to implement the functions of connecting to the back-end system and transmitting data to the back-end when implementing form requests. The row-project-list-view part contains three search boxes, namely company name query, customer number query, year and month query, and may also include a submit button and a reset button. For example, when the company name search box has a value and the query button is clicked, a post request is initiated through JavaScript to submit, and the front-end parameters are sent to the back-end system to trigger the query function, and then the back-end query result set is arranged according to the rules and returned to the front-end for reception. Finally, the front-end receives the query results and displays them on the page. The same is true for customer number query. The final effect is as follows Figure 3 As shown, Figure 3 A schematic diagram of a query page provided for this application, which can be used to query bill images. The screenshots returned show various types of bill images of different companies, which can be edited, exported, etc.
[0083] In an optional implementation, an electronic accounting book can be quickly generated based on the bound and stored multiple electronic accounting vouchers and multiple bill images. The electronic accounting book may include one or more accounting voucher pages sorted in the order of accounting time, and each accounting voucher page is followed by a bill image page sorted in the above bill order.
[0084] Specifically, an electronic accounting book can be automatically generated with one click based on each electronic accounting voucher, the bill image matching the electronic accounting voucher and the determined bill sequence, wherein each accounting voucher page is generated based on the original accounting voucher and sorted in chronological order of accounting, and each accounting voucher page is followed by a corresponding bill image, sorted in the aforementioned determined bill sequence.
[0085] Correspondingly, the backend mainly includes the storage of data and the function of automatically generating electronic accounting vouchers and accounting books with one key. In the embodiment of the present application, the backend can be designed and implemented with the PHP programming language.
[0086] The present application also discloses a method for building a background system development environment, which is applicable to the system building of the electronic accounting voucher processing method in the present application. Specifically, it may include:
[0087] The first step is to develop the local deployment of the framework (Thinkphp); the second step is to configure the database (Mysql) locally.
[0088] In the development phase, the development model can adopt the MVC structure. The directory structure is layered: business implementation layer (Application), project framework layer (Framework), public support layer (Public). Then carry out the database table structure design, customer table design, electronic account book table design, and create the corresponding table (template) in the database after the design is completed.
[0089] ① In the core framework (Core) project file of the framework layer, the configuration files of the development framework Thinkphp are stored. Then in the tool class (Lib) project file, some methods are developed and encapsulated, such as date format conversion function, GET call interface to obtain return value function, POST call interface to obtain return value, json data return value formatting function, etc.
[0090] ② At the business implementation layer, under the controller project folder, the main place to develop specific function implementation methods is the following: electronic account book list query, electronic account book setting, electronic accounting voucher and bill association operation, modification of voucher or bill sorting, scanning of paper vouchers to generate electronic vouchers, encryption when downloading voucher PDF, viewing PDF of electronic account book, etc., which can be set according to the required functions, and the embodiments of the present application do not limit this.
[0091] ③ In the public support layer, a highly reusable database connection method is developed. Due to the large demand for front-end query and upload requests, the code for database connection objects can be encapsulated in the embodiment of the present application to simplify the operation of the database and prevent excessive front-end user requests from occupying the database resource pool, resulting in high concurrency and causing the system to crash.
[0092] After the method in the above-mentioned development stage is developed, any step of the electronic accounting voucher processing method in the embodiment of the present application can be executed to process the electronic invoice and accounting voucher data stored in the database where the front-end and back-end data are interconnected. The data can be parsed into JSON according to the request, and then returned to the front-end to process the JSON data and finally displayed on the page.
[0093] The above development method is for illustration only. In an optional implementation, the system framework structure, development language, database connection method, etc. can be selected as needed, and the embodiments of the present application do not limit this.
[0094] The electronic accounting voucher processing method in the embodiment of the present application can obtain the bill image to be processed and the bill summary of the bill image to be processed; perform optical character recognition on the bill image to be processed to obtain bill information, and store the bill image to be processed, the bill summary and the bill information in a database; obtain the generated target accounting voucher, match the target accounting voucher with each bill information in the database, and determine the target bill information matching the target accounting voucher; obtain the target bill image corresponding to the target bill information, and bind the target accounting voucher with the target bill image for storage, which can achieve the long-term preservation of complete bills and accounting voucher data, automatically match and store electronic accounting vouchers with bill images, and standardize the management of each company's accounting vouchers and corresponding bill images; can conveniently and accurately generate electronic accounting books that meet the standards, which is convenient for evidence storage and management, saving paper and actual storage space. When needed, it can be conveniently printed into physical vouchers or account books for various required occasions.
[0095] Based on the description of the above-mentioned electronic accounting voucher processing method embodiment, the present application embodiment also discloses an electronic accounting voucher processing device, such as Figure 4 As shown, the electronic accounting voucher processing device 400 includes:
[0096] An acquisition module 410 is used to acquire a bill image to be processed and a bill summary of the bill image to be processed;
[0097] The recognition processing module 420 performs optical character recognition on the above-mentioned bill image to be processed to obtain bill information;
[0098] Storage module 430, used to store the to-be-processed bill image, the bill summary and the bill information in a database;
[0099] The acquisition module 410 is also used to acquire the generated target accounting voucher;
[0100] The identification processing module 420 is also used to match the target accounting voucher with each bill information in the database to determine the target bill information that matches the target accounting voucher;
[0101] The storage module 430 is also used to obtain the target bill image corresponding to the target bill information, and bind the target accounting voucher with the target bill image for storage.
[0102] The electronic accounting voucher processing device 400 can execute the following steps: Figure 1 Some or all of the steps of the method in the illustrated embodiment will not be repeated here.
[0103] Based on the description of the above method embodiment and device embodiment, the present application embodiment also provides an electronic device. Figure 5 The electronic device 500 at least includes a processor 501, an input device 502, an output device 503, and a computer storage medium 504. The processor 501, the input device 502, the output device 503, and the computer storage medium 504 in the electronic device may be connected via a bus or other means.
[0104] The computer storage medium 504 can be stored in the memory of the electronic device. The computer storage medium 504 is used to store a computer program. The computer program includes program instructions. The processor 501 is used to execute the program instructions stored in the computer storage medium 504. The processor 501 (or CPU (Central Processing Unit)) is the computing core and control core of the electronic device, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding function; in one embodiment, the processor 501 of the embodiment of the present application can be used to perform a series of processing, including such as Figure 1 Any steps of the method in the illustrated embodiment and the like.
[0105] The embodiment of the present application also provides a computer storage medium (Memory), which is a memory device in an electronic device for storing programs and data. It is understandable that the computer storage medium here can include both built-in storage media in electronic devices and, of course, extended storage media supported by electronic devices. The computer storage medium provides a storage space that stores the operating system of the electronic device. In addition, one or more instructions suitable for being loaded and executed by the processor 501 are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer storage medium here can be a high-speed RAM memory, or a non-volatile memory, such as at least one disk storage; optionally, it can also be at least one computer storage medium located away from the aforementioned processor.
[0106] In one embodiment, the processor 501 may load and execute one or more instructions stored in a computer storage medium to implement the corresponding steps in the above embodiment; in a specific implementation, the processor 501 may load and execute one or more instructions stored in a computer storage medium to implement the corresponding steps in the above embodiment; Figure 1 Any steps in the method will not be repeated here.
[0107] It should be noted that the above-mentioned electronic accounting voucher processing method, device, electronic device and medium belong to a general inventive concept, and the contents in the electronic accounting voucher processing method, device, electronic device and medium embodiments are applicable to each other.
[0108] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0109] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the division of the module is only a logical function division, and there may be other division methods in actual implementation, for example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. The mutual coupling, direct coupling, or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0110] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0111] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integrations. The available medium may be a read-only memory (ROM), or a random access memory (RAM), or a magnetic medium, such as a floppy disk, a hard disk, a tape, a magnetic disk, or an optical medium, such as a digital versatile disc (DVD), or a semiconductor medium, such as a solid state disk (SSD), etc.
Claims
1. A method for processing electronic accounting vouchers, characterized in that: include: Acquire a bill image to be processed and a bill summary of the bill image to be processed; Performing optical character recognition on the bill image to be processed to obtain bill information, and storing the bill image to be processed, the bill summary and the bill information in a database; Acquire a target accounting voucher generated by a robotic process automation module, wherein the target accounting voucher is an electronic accounting voucher to be matched with a bill; match the target accounting voucher with each bill information in the database to determine the target bill information that matches the target accounting voucher; A target bill image corresponding to the target bill information is obtained, and the target accounting voucher is bound to the target bill image and stored.
2. The electronic accounting voucher processing method according to claim 1, characterized in that: The bill information includes the bill amount; the matching of the target accounting voucher with each bill information in the database to determine the target bill information matching the target accounting voucher includes: Obtain the voucher amount of the target accounting voucher; The bill amount of each bill information is compared with the voucher amount to determine the target bill information, and the bill amount of the target bill information is the same as the voucher amount of the target accounting voucher.
3. The electronic accounting voucher processing method according to claim 2, characterized in that: The step of comparing the bill amount of each bill information with the voucher amount to determine the target bill information includes: Compare the bill amount of each bill information with the voucher amount to obtain first bill information in which the bill amount is the same as the voucher amount; In the case where the first bill information includes at least two bill information, the bill summary of the first bill information is compared with the voucher summary of the target accounting voucher, and the bill information whose bill summary matches the voucher summary is determined to be the target bill information.
4. The electronic accounting voucher processing method according to claim 2, characterized in that: The target accounting voucher includes multiple types of accounting subjects, wherein each type of the accounting subject corresponds to one voucher amount; The step of comparing the bill amount of each bill information with the voucher amount to determine the target bill information includes: Compare the bill amount of each bill information with the voucher amount corresponding to each type of accounting subject to determine the target bill information corresponding to each type of accounting subject; The step of binding and storing the target accounting voucher and the target bill image comprises: Determine a bill sequence according to the arrangement sequence of the multiple types of accounting subjects in the target accounting voucher, wherein the bill sequence is the arrangement sequence of the target bill images corresponding to the target accounting voucher; The target accounting voucher is bound to the target bill image and stored, and the arrangement order of the target bill image corresponding to the target accounting voucher is stored.
5. The electronic accounting voucher processing method according to claim 4 is characterized in that: After the target accounting voucher is bound to the target bill image and stored, and the arrangement order of the target bill image corresponding to the target accounting voucher is stored, the method further includes: An accounting book is generated based on multiple accounting vouchers and multiple bill images that are bound and stored, and the accounting book includes one or more accounting voucher pages sorted in order of accounting time, and each of the accounting voucher pages is followed by a bill image page sorted in order of the bills.
6. The electronic accounting voucher processing method according to any one of claims 1 to 5, characterized in that: The method further comprises: storing the to-be-processed bill image, the bill summary and the bill information in a database, comprising: storing the to-be-processed bill image, the bill summary, the bill information, and the company name, customer number, and time information corresponding to the to-be-processed bill image in the database in association with each other; The method further comprises: Obtaining a bill image query request from a front end, wherein the bill image query request includes querying company name, querying customer number and / or querying time information; According to the query company name, the query customer number and / or the query time information, the corresponding bill image is queried in the database, and the bill image query result is generated and returned to the front end.
7. An electronic accounting voucher processing device, comprising: An acquisition module, used for acquiring a bill image to be processed and a bill summary of the bill image to be processed; An identification and processing module performs optical character recognition on the image of the bill to be processed to obtain bill information; A storage module, used for storing the to-be-processed bill image, the bill summary and the bill information in a database; The acquisition module is also used to acquire a target accounting voucher generated by the robotic process automation module, wherein the target accounting voucher is an electronic accounting voucher to be matched with a bill; The identification processing module is also used to match the target accounting voucher with each bill information in the database to determine the target bill information matching the target accounting voucher; The storage module is also used to obtain a target bill image corresponding to the target bill information, and bind the target accounting voucher and the target bill image for storage.
8. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the electronic accounting voucher processing method as claimed in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor executes the steps of the electronic accounting voucher processing method as described in any one of claims 1 to 6.
