CN115358751B - Automatic auditing method and device for transaction receipt and electronic equipment - Google Patents

Automatic auditing method and device for transaction receipt and electronic equipment Download PDF

Info

Publication number
CN115358751B
CN115358751B CN202211016995.1A CN202211016995A CN115358751B CN 115358751 B CN115358751 B CN 115358751B CN 202211016995 A CN202211016995 A CN 202211016995A CN 115358751 B CN115358751 B CN 115358751B
Authority
CN
China
Prior art keywords
audit
transaction
auditing
matched
preset
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.)
Active
Application number
CN202211016995.1A
Other languages
Chinese (zh)
Other versions
CN115358751A (en
Inventor
彭先国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongdian Jinxin Software Co Ltd
Original Assignee
Zhongdian Jinxin Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhongdian Jinxin Software Co Ltd filed Critical Zhongdian Jinxin Software Co Ltd
Priority to CN202211016995.1A priority Critical patent/CN115358751B/en
Publication of CN115358751A publication Critical patent/CN115358751A/en
Application granted granted Critical
Publication of CN115358751B publication Critical patent/CN115358751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/412Layout analysis of documents structured with printed lines or input boxes, e.g. business forms or tables

Abstract

The application provides an automatic auditing method and device of a transaction receipt and electronic equipment, comprising the following steps: identifying the transaction receipt through an identification template, and acquiring identification information corresponding to the transaction receipt; adding a plurality of target audit labels for each transaction receipt according to the identification information corresponding to the transaction receipt and a plurality of preset business audit logics; determining a plurality of preset auditing rules corresponding to each transaction document, and sequentially matching a plurality of target auditing labels with each preset auditing rule to obtain a matching result; according to the matching result, determining a target auditing rule matched with each transaction document from a plurality of groups of preset auditing rules; and determining a first checking result corresponding to the target checking rule for each transaction document, and processing the transaction document according to the first checking result. According to the method and the device, the auditing labels added by the transaction document are matched with the corresponding auditing rules, so that auditing efficiency and accuracy of the transaction document can be improved.

Description

Automatic auditing method and device for transaction receipt and electronic equipment
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method and an apparatus for automatically auditing a transaction document, and an electronic device.
Background
In the prior art, in the project construction development work of intelligent remittance, the auditing of the transaction receipt related to the bank remittance service is manually completed by an auditing personnel according to self experience, so that the auditing efficiency is low.
Disclosure of Invention
Accordingly, an object of the present application is to provide at least an automatic auditing method, apparatus and electronic device for transaction documents, which can improve the auditing efficiency and accuracy of transaction documents by matching auditing labels added to the transaction documents with auditing rules.
The application mainly comprises the following aspects:
in a first aspect, an embodiment of the present application provides a method for automatically auditing a transaction document, where the method includes:
acquiring at least one transaction receipt uploaded by a user and a transaction receipt type corresponding to each transaction receipt; determining an optimal recognition template corresponding to each transaction document from at least one recognition template corresponding to the transaction document type according to the transaction document type; for each transaction receipt, identifying the transaction receipt through an optimal identification template, and acquiring identification information corresponding to the transaction receipt; for each transaction receipt, adding a plurality of target audit labels for the transaction receipt according to identification information corresponding to the transaction receipt and a plurality of preset business audit logics; determining a plurality of preset auditing rules corresponding to each transaction receipt, sequentially matching a plurality of target auditing labels corresponding to the transaction receipt with each preset auditing rule, and determining a target auditing rule matched with the transaction receipt; and determining a processing mode corresponding to the target auditing rule for each transaction document, and processing the transaction document according to the processing mode corresponding to the target auditing rule.
In one possible implementation, a plurality of transaction document elements are included in each recognition template, wherein the recognition templates are determined by: generating a receipt annotation item corresponding to each transaction receipt element in response to a frame selection operation performed on each transaction receipt element; for each bill marking item, displaying a bill identification tag configuration interface for the bill marking item in response to a selection operation executed for the bill marking item, wherein the bill identification tag configuration interface comprises at least one identification attribute configuration item; for each bill marking item, responding to the configuration operation executed on each identification attribute configuration item, and generating a bill identification tag corresponding to the bill marking item; and forming an identification template by the receipt marking items corresponding to each transaction receipt element and the receipt identification labels.
In one possible implementation manner, for each transaction document, identifying the transaction document through an optimal identification template, and acquiring identification information corresponding to the transaction document includes: determining a plurality of bill marking items in an optimal recognition template and bill recognition tags corresponding to each bill marking item aiming at each transaction bill; identifying the transaction receipt by utilizing each receipt marking item and a corresponding receipt identification label and adopting an OCR (optical character recognition) technology to obtain field identification information corresponding to each transaction receipt element in the optimal identification template; the identification information of the transaction document is formed from at least one field identification information.
In one possible implementation manner, for each transaction document, according to the identification information corresponding to the transaction document and a plurality of preset business audit logics, the step of adding a plurality of target audit labels to the transaction document includes: aiming at each preset business auditing logic, auditing the identification information corresponding to the transaction document by using the preset business auditing logic to obtain a second auditing result, wherein the second auditing result is used for indicating an auditing label corresponding to the transaction document under the preset business auditing logic; aiming at each preset business audit logic, taking the audit label indicated by the second audit result corresponding to the preset business audit logic as a target audit label corresponding to the preset business audit logic and adding the target audit label to the transaction receipt.
In one possible implementation, the target audit rule that matches each transaction document is determined by: determining the priority of each preset auditing rule corresponding to the transaction document; according to the priority corresponding to each preset auditing rule, starting from the preset auditing rule corresponding to the highest priority, and matching a plurality of preset auditing rules with the transaction document; for each matching, sequentially matching a plurality of target audit labels corresponding to the transaction document with each preset audit rule to obtain a matching result corresponding to the matching; if the matching result indicates that the preset auditing rule corresponding to the matching is matched with the transaction document, determining the preset auditing rule corresponding to the matching as a target auditing rule; if the matching result indicates that the preset auditing rule corresponding to the matching is not matched with the transaction document, determining to execute the preset auditing rule of the next matching according to the priority corresponding to the preset auditing rule, and executing the next matching until the target auditing rule is determined.
In a possible implementation manner, each preset audit rule includes a first to-be-matched audit tag set and a second to-be-matched audit tag set, the first to-be-matched audit tag set includes a plurality of first to-be-matched audit tags, the second to-be-matched audit tag set includes a plurality of second to-be-matched audit tags, and for each matching, a plurality of target audit tags corresponding to the transaction document are matched with each preset audit rule in sequence, so that a matching result corresponding to the matching includes: judging whether a plurality of target audit labels exist target audit labels matched with the first to-be-matched audit labels or not according to each first to-be-matched audit label in the first to-be-matched audit label set; if each to-be-matched audit tag in the first to-be-matched audit tag set has a corresponding target audit tag in the plurality of target audit tags, judging whether the plurality of target audit tags have target audit tags matched with the second to-be-matched audit tag aiming at each second to-be-matched audit tag in the second to-be-matched audit tag set; if any one to-be-matched tag in the first to-be-matched audit tag set does not have a corresponding target audit tag in the target audit tags, the matching result indicates that the preset audit rule corresponding to the matching is not matched with the transaction receipt.
In a possible implementation manner, for each matching, the step of sequentially matching the plurality of target audit labels corresponding to the transaction document with each preset audit rule to obtain a matching result corresponding to the matching further includes: if each second to-be-matched audit tag in the second to-be-matched audit tag set does not have a matched target audit tag in the target audit tags, a matching result corresponding to the secondary matching indicates that a preset audit rule corresponding to the secondary matching is matched with the transaction receipt; if any one of the second to-be-matched audit labels in the second to-be-matched audit label set has a matched target audit label in the target audit labels, a matching result corresponding to the secondary matching indicates that a preset audit rule corresponding to the secondary matching is not matched with the transaction document.
In a second aspect, an embodiment of the present application further provides an automatic auditing apparatus for transaction documents, where the apparatus includes:
the acquisition module is used for acquiring at least one transaction receipt uploaded by a user and the transaction receipt type corresponding to each transaction receipt; the determining module is used for determining an optimal recognition template corresponding to each transaction document from at least one recognition template corresponding to the transaction document type according to the transaction document type; the identification module is used for identifying each transaction receipt through the optimal identification template and acquiring identification information corresponding to the transaction receipt; the adding module is used for adding a plurality of target audit labels for each transaction receipt according to the identification information corresponding to the transaction receipt and a plurality of preset business audit logics; the matching module is used for determining a plurality of preset auditing rules corresponding to each transaction receipt, sequentially matching a plurality of target auditing labels corresponding to the transaction receipt with each preset auditing rule, and determining a target auditing rule matched with the transaction receipt; and the processing module is used for determining a processing mode corresponding to the target auditing rule for each transaction document, and processing the transaction document according to the processing mode corresponding to the target auditing rule.
In a third aspect, embodiments of the present application further provide an electronic device, including: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory in communication via the bus when the electronic device is running, the machine readable instructions when executed by the processor performing the steps of the automatic auditing method as described in any one of the possible implementations of the first aspect or the first aspect.
In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium, on which a computer program is stored, which when executed by a processor performs the steps of the automatic auditing method in the first aspect or any of the possible implementation manners of the first aspect.
The embodiment of the application provides an automatic auditing method, device and electronic equipment for transaction receipts, which are used for acquiring at least one transaction receipt uploaded by a user and a transaction receipt type corresponding to each transaction receipt; determining an identification template corresponding to each transaction receipt according to the type of the transaction receipt; for each transaction receipt, identifying the transaction receipt through an identification template, and acquiring identification information corresponding to the transaction receipt; for each transaction receipt, adding a plurality of target audit labels for the transaction receipt according to identification information corresponding to the transaction receipt and a plurality of preset business audit logics; determining a plurality of preset auditing rules corresponding to each transaction receipt, and sequentially matching a plurality of target auditing labels corresponding to the transaction receipt with each preset auditing rule to obtain a matching result; according to the matching result, determining a target auditing rule matched with each transaction document from a plurality of groups of preset auditing rules; and determining a first checking result corresponding to the target checking rule for each transaction document, and processing the transaction document according to the first checking result. The auditing labels added by the transaction receipt are matched with auditing rules, so that the auditing efficiency and accuracy of the transaction receipt can be improved.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for automatically auditing a transaction document according to an embodiment of the present application;
FIG. 2 illustrates a schematic diagram of an identification template provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of a preset auditing rule according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an automatic auditing device for transaction documents according to an embodiment of the present application;
fig. 5 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it should be understood that the accompanying drawings in the present application are only for the purpose of illustration and description, and are not intended to limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. A flowchart, as used in this application, illustrates operations implemented according to some embodiments of the present application. It should be appreciated that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to the flow diagrams and one or more operations may be removed from the flow diagrams as directed by those skilled in the art.
In addition, the described embodiments are only some, but not all, of the embodiments of the present application. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
In the prior art, in the construction and development work of an intelligent remittance project, after a user uploads a transaction document, a designated auditor manually audits the transaction document according to experience, so that the auditing efficiency is low, and meanwhile, once the auditor audits data in the auditing process, the auditing accuracy of the transaction document is reduced.
Based on this, the embodiment of the application provides an automatic auditing method of a transaction document, and the auditing efficiency and accuracy of the transaction document can be improved by matching the auditing label added by the transaction document with the auditing rule, which is as follows:
referring to fig. 1, fig. 1 is a flowchart of a method for automatically auditing a transaction document according to an embodiment of the present application. As shown in fig. 1, the automatic auditing method of a transaction document provided in the embodiment of the present application includes the following steps:
s100, at least one transaction receipt uploaded by a user and a transaction receipt type corresponding to each transaction receipt are acquired.
Specifically, for electronic version transaction receipts, a user can obtain and then upload the electronic version transaction receipts directly, or for paper transaction receipts, a user can obtain and upload the transaction receipts in the form of pictures by using a scanning device, and the user uploads the transaction receipts and marks basic information of the uploaded transaction receipts, specifically, the basic information of the transaction receipts comprises but is not limited to transaction types, transaction receipts types, transaction both-side names, transaction both-side addresses, transaction amounts, payment types and transaction product types related to the transaction receipts, wherein the transaction receipts types comprise but are not limited to at least one of the following: orders, invoices, contracts, bill of lading, and money transfer orders.
S200, determining an optimal recognition template corresponding to each transaction document from a plurality of recognition templates according to the type of the transaction document.
Specifically, the recognition templates are recognition templates required for performing OCR recognition, in this application, after a transaction document is obtained, specific content inside the transaction document needs to be recognized in an OCR recognition mode, specifically, OCR recognition needs to rely on preset recognition templates, in this application, at least one recognition template is preset for each transaction document type, for at least one recognition template corresponding to each transaction document type, priority corresponding to each recognition template can be preset, and the recognition template with the highest priority can be determined as the optimal recognition template for recognizing the transaction document through the priority corresponding to the recognition template.
Specifically, each recognition template includes a plurality of transaction receipt elements, which are references for OCR recognition.
In a preferred embodiment, the recognition templates are determined by:
and generating a receipt annotation item corresponding to each transaction receipt element in response to the box selection operation performed on each transaction receipt element.
Referring to fig. 2, fig. 2 shows a schematic diagram of an identification template provided in an embodiment of the present application, where, as shown in fig. 2, transaction document elements in the identification template a include "test company and company together", "contract number", "buyer" and "seller", where the contract number is 20191018C1234, the contract date is 2019-10-18, the buyer is FOTRADE, and the seller is XXDD, and as shown in fig. 2, performing a frame selection operation on "20191018C1234", "2019-10-18", "FOTRADE", "XXDD" respectively, forms a document labeling item a, b, C, d corresponding to the contract number, contract date, buyer, and seller respectively.
For each document annotation item, displaying a document identification tag configuration interface for the document annotation item in response to a selection operation performed for the document annotation item.
Specifically, the document identification tag configuration interface includes at least one identification attribute configuration item, each identification attribute configuration item is used for determining an identification mode of OCR for a document labeling item, wherein the identification attribute configuration item includes, but is not limited to, at least one of the following items: the method comprises the steps of setting a name configuration item of a bill marking item, setting a position configuration item of the bill marking item, setting a title type configuration item of the bill marking item, judging whether the bill marking item is a handwriting area or not, and judging whether English word cutting exists in the bill marking item or not, wherein the position configuration item of the bill marking item is used for indicating whether the bill marking item is in line feed, the number of lines of the characters, the character direction of the bill marking item and the title type configuration item comprise no title, the title is on the left and the title is on the top.
For each bill marking item, generating a bill identification tag corresponding to the bill marking item in response to configuration operation executed on each identification attribute configuration item, and forming an identification template by the bill marking item corresponding to each transaction bill element and the bill identification tag.
In a specific embodiment, after all the identification attribute configuration items for the bill marking items are configured, the configured all the identification attribute configuration items are combined to form a bill identification tag for the bill marking items, and then a plurality of bill marking items selected by an internal frame of the identification template and the bill identification tag corresponding to each bill marking item form the identification template together.
Returning to fig. 1, S300, for each transaction document, identifying the transaction document through an optimal identification template, and obtaining identification information corresponding to the transaction document.
In a preferred embodiment, step S300 includes:
and determining a plurality of bill marking items in the optimal recognition template and bill recognition tags corresponding to the bill marking items aiming at each transaction bill, recognizing the transaction bill by utilizing the bill marking items and the corresponding bill recognition tags and adopting an OCR recognition technology to obtain field recognition information corresponding to each transaction bill element in the optimal recognition template, and forming the recognition information of the transaction bill by at least one field recognition information.
S400, adding a plurality of target audit labels for each transaction receipt according to the identification information corresponding to the transaction receipt and a plurality of preset business audit logics.
In a preferred embodiment, the present application includes a plurality of preset business audit logics and a plurality of preset audit labels, and each time a preset business audit logic is operated, a corresponding target audit label can be added to a transaction document, where each audit label has a corresponding audit label type, and the audit label types include, but are not limited to, a main body validity audit label, a transaction document type audit label, a transaction document integrity audit label, a transaction document accuracy audit label, and a transaction and transaction document consistency audit label.
Wherein the subject legitimacy audit tag includes, but is not limited to, at least one of the following audit tags: the main body legitimacy is abnormal, the internal control white list, the internal control black list, the A-type enterprise, the B-type enterprise, the C-type enterprise, the X-type enterprise, the public enterprise and the private resident, and the transaction receipt type audit tag comprises at least one of the following audit tags but is not limited to the following: abnormal transaction receipt category matching, non-matching transaction receipt category matching, transaction receipt integrity audit tags including, but not limited to, at least one of the following audit tags: transaction receipt identification anomalies, contract imperfections, and invoice imperfections, transaction receipt integrity audit tags including, but not limited to, at least one of the following audit tags: transaction receipt identification anomalies, transaction receipt accuracy audit tags include, but are not limited to, at least one of the following audit tags: abnormal transaction receipt auditing, incorrect relationship between transaction receipt amounts, abnormal transaction receipt coin types and correct transaction receipt coin types.
In a preferred embodiment, step S400 includes:
and for each preset business audit logic, auditing the identification information corresponding to the transaction document by using the preset business audit logic to obtain a second audit result, and for each preset business audit logic, taking an audit tag indicated by the second audit result corresponding to the preset business audit logic as a target audit tag corresponding to the preset business audit logic and adding the audit tag to the transaction document.
The second auditing result is used for indicating auditing labels corresponding to the transaction receipts under the preset business auditing logic, specifically, after identification information corresponding to each transaction receipt is obtained, a plurality of preset business auditing logic are used for sequentially auditing the transaction receipt, specifically, related business data corresponding to the transaction receipt can be obtained according to the identified information, the identification information and the business data related to the transaction receipt provide auditing basis for each preset business auditing logic, that is, the preset business auditing logic audits the identification information and the business data, and specifically audits which business data depends on the preset business auditing logic.
For example, if a certain preset business audit logic is used for checking whether the bill identification content is complete, after the preset business audit logic is operated, the integrity of the identification information is checked, a corresponding second audit result is obtained, if the second audit result is that the identification information is empty or the identification information lacks the identified transaction bill element, the audit label indicated by the second audit result is that the transaction bill is incomplete, and if the second audit result is that the identification information does not lack each transaction bill element specified in the optimal identification template, the audit label indicated by the second audit result is that the transaction bill is complete.
In another embodiment, a certain preset business audit logic is a type of enterprise of the buyer involved in the transaction document, after the preset business audit logic is operated, the type of enterprise corresponding to the buyer is obtained from the related business data related to the transaction document recorded in the database according to the name of the buyer indicated by the identification information, so as to obtain a second audit result corresponding to the preset business audit logic, and if the second audit result is a type a enterprise of the buyer, the audit label indicated by the second audit result is a type a enterprise.
S500, determining a plurality of preset auditing rules corresponding to each transaction receipt, sequentially matching a plurality of target auditing labels corresponding to the transaction receipt with each preset auditing rule, and determining a target auditing rule matched with the transaction receipt.
In a preferred embodiment, the target audit rules that match each transaction document are determined by:
determining the priority of each preset auditing rule corresponding to the transaction document, according to the priority corresponding to each preset auditing rule, starting from the preset auditing rule corresponding to the highest priority, matching a plurality of preset auditing rules with the transaction document, sequentially matching a plurality of target auditing labels corresponding to the transaction document with each preset auditing rule for each match, so as to obtain a matching result corresponding to the match, if the matching result indicates that the preset auditing rule corresponding to the match is matched with the transaction document, determining the preset auditing rule corresponding to the match as a target auditing rule, if the matching result indicates that the preset auditing rule corresponding to the match is not matched with the transaction document, determining the preset auditing rule for executing the next match according to the priority corresponding to the preset auditing rule, and executing the next match until the target auditing rule is determined.
In a preferred embodiment, firstly, a user can determine a plurality of preset auditing rules bound with a transaction receipt type according to the transaction receipt type corresponding to the transaction receipt type, secondly, each preset auditing rule is preset with corresponding priority, the preset auditing rules and the transaction receipt can be matched in sequence according to the priority order, in the application, the preset auditing rules are matched according to the priority order, once the preset auditing rules matched with the transaction receipt appear, the preset auditing rules are determined to be target preset auditing rules, the matching process is immediately exited, otherwise, the transaction receipt is matched with the preset auditing rules corresponding to the next priority until the matched preset auditing rules are found, the matching process is exited, and if no target auditing rule matched with the transaction receipt exists in the preset auditing rules, the transaction receipt is pushed to the user, and the user is prompted to conduct manual processing.
Preferably, the preset auditing rules are used for determining the processing mode of the transaction document, and each preset auditing rule corresponds to different processing modes.
In a preferred embodiment, each preset audit rule includes a first set of audit labels to be matched and a second set of audit labels to be matched, the first set of audit labels to be matched includes a plurality of first audit labels to be matched, and the second set of audit labels to be matched includes a plurality of second audit labels to be matched.
Specifically, the first to-be-matched audit tag and the second to-be-matched audit tag are selected from a plurality of preset audit tags according to audit strategies corresponding to preset audit rules, specifically, the first to-be-matched audit tag and the second to-be-matched audit tag are selected from the plurality of audit tags according to a mode indicated by the audit strategies, and are combined to form the preset audit rules, and specifically, the combination mode includes but is not limited to tag combination, tag nesting and object annotation.
Referring to fig. 3, fig. 3 shows a schematic diagram of a preset audit rule provided in an embodiment of the present application, and as shown in fig. 3, a transaction document type corresponding to the preset audit rule is a transaction document of a remittance type, a transaction type related to the transaction document is goods trade, a first to-be-matched audit tag set includes a class a enterprise corresponding to a tag serial number a004, a peer enterprise corresponding to a tag serial number a008, a payment corresponding to a tag serial number F016, a transaction document type matching corresponding to a tag serial number B003, a transaction document audit anomaly corresponding to a tag serial number D001, and transaction data corresponding to a tag serial number E002 are consistent with the transaction document, and as known from the first to-be-matched audit tag set, a first to-be-matched audit tag set is formed by merging a plurality of first to-be-matched audit tags, and a second to-be-matched audit tag set includes a coaching period enterprise corresponding to a tag serial number a011, wherein the first to-be-matched audit tag set indicates that the first to-be-matched audit tag needs to appear in a plurality of target audit tags, and the second to be-matched audit tag set indicates that the second to be-matched audit tag cannot appear in a plurality of target audit tags.
In a preferred embodiment, for each matching, the step of sequentially matching a plurality of target audit labels corresponding to the transaction document with each preset audit rule to obtain a matching result corresponding to the matching includes:
judging whether a plurality of target audit labels exist target audit labels matched with the first to-be-matched audit labels or not according to each first to-be-matched audit label in the first to-be-matched audit label set;
if each to-be-matched audit tag in the first to-be-matched audit tag set has a corresponding target audit tag in the plurality of target audit tags, judging whether the plurality of target audit tags have target audit tags matched with the second to-be-matched audit tag aiming at each second to-be-matched audit tag in the second to-be-matched audit tag set;
if any one to-be-matched tag in the first to-be-matched audit tag set does not have a corresponding target audit tag in the target audit tags, the matching result indicates that the preset audit rule corresponding to the matching is not matched with the transaction receipt;
if each second to-be-matched audit tag in the second to-be-matched audit tag set does not have a matched target audit tag in the target audit tags, a matching result corresponding to the secondary matching indicates that a preset audit rule corresponding to the secondary matching is matched with the transaction receipt;
if any one of the second to-be-matched audit labels in the second to-be-matched audit label set has a matched target audit label in the target audit labels, a matching result corresponding to the secondary matching indicates that a preset audit rule corresponding to the secondary matching is not matched with the transaction document.
Returning to fig. 1, S600 determines, for each transaction document, a processing manner corresponding to the target audit rule, and processes the transaction document according to the processing manner corresponding to the target audit rule.
In particular implementations, the processing means includes automated processing, uploading to a national knot system for manual processing, and returning directly to the user.
Preferably, when the processing mode of the target auditing rule is that the target auditing rule is directly returned to the user, the transaction receipt auditing result conforming to the target auditing rule is not passed, and the user is required to be returned again and prompted to upload the transaction receipt again.
Based on the same application conception, the embodiment of the application also provides an automatic auditing device of the transaction document, which corresponds to the automatic auditing method of the transaction document provided by the embodiment, and because the principle of solving the problem by the device in the embodiment of the application is similar to that of the automatic auditing method of the transaction document in the embodiment of the application, the implementation of the device can refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an automatic auditing apparatus for transaction documents according to an embodiment of the present application, where, as shown in fig. 4, the apparatus includes:
the acquiring module 710 is configured to acquire at least one transaction document uploaded by a user, and a transaction document type and service data corresponding to each transaction document;
a determining module 720, configured to determine, according to a transaction document type, an optimal recognition template corresponding to each transaction document from at least one recognition template corresponding to the transaction document type;
the identifying module 730 is configured to identify each transaction document through an optimal identifying template, and obtain identifying information corresponding to the transaction document;
the adding module 740 is configured to add, for each transaction document, a plurality of target audit labels to the transaction document according to identification information corresponding to the transaction document and a plurality of preset business audit logics;
the matching module 750 is configured to determine, for each transaction document, a plurality of preset auditing rules corresponding to the transaction document, match, in sequence, a plurality of target auditing labels corresponding to the transaction document with each preset auditing rule, and determine a target auditing rule matched with the transaction document;
and the processing module 760 is configured to determine, for each transaction document, a processing manner corresponding to the target audit rule, and process the transaction document according to the processing manner corresponding to the target audit rule.
Referring to fig. 5, fig. 5 shows a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device 800 includes: a processor 810, a memory 820 and a bus 830, the memory 820 storing machine-readable instructions executable by the processor 810, the processor 810 and the memory 820 communicating via the bus 830 when the electronic device 800 is running, the machine-readable instructions being executed by the processor 810 to perform the steps of the method of automated auditing of transaction documents according to any of the embodiments described above.
Based on the same application concept, the embodiment of the application further provides a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to execute the steps of the automatic auditing method of the transaction receipt provided by the embodiment.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solutions of the present application may be embodied in essence or a part contributing to the prior art or a part of the technical solutions, or in the form of a software product, which is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes or substitutions are covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An automatic auditing method for transaction documents, the method comprising:
acquiring at least one transaction receipt uploaded by a user and a transaction receipt type corresponding to each transaction receipt;
determining an optimal recognition template corresponding to each transaction document from at least one recognition template corresponding to the transaction document type according to the transaction document type;
for each transaction receipt, identifying the transaction receipt through the optimal identification template, and acquiring identification information corresponding to the transaction receipt;
for each transaction receipt, adding a plurality of target audit labels for the transaction receipt according to identification information corresponding to the transaction receipt and a plurality of preset business audit logics;
determining a plurality of preset auditing rules corresponding to each transaction receipt, sequentially matching a plurality of target auditing labels corresponding to the transaction receipt with each preset auditing rule, and determining a target auditing rule matched with the transaction receipt;
and determining a processing mode corresponding to the target auditing rule for each transaction document, and processing the transaction document according to the processing mode corresponding to the target auditing rule.
2. The method of claim 1, wherein each identification template includes a plurality of transaction receipt elements therein,
wherein the recognition template is determined by:
generating a receipt annotation item corresponding to each transaction receipt element in response to a frame selection operation performed on each transaction receipt element;
for each bill marking item, responding to a selection operation executed for the bill marking item, and displaying a bill identification tag configuration interface for the bill marking item, wherein the bill identification tag configuration interface comprises at least one identification attribute configuration item;
for each bill marking item, responding to the configuration operation executed on each identification attribute configuration item, and generating a bill identification tag corresponding to the bill marking item;
and forming the identification template by the bill marking items corresponding to each transaction bill element and the bill identification tags.
3. The method of claim 2, wherein for each transaction document, identifying the transaction document by the optimal identification template, and obtaining identification information corresponding to the transaction document comprises:
determining a plurality of bill marking items in the optimal identification template and bill identification tags corresponding to each bill marking item aiming at each transaction bill;
identifying the transaction receipt by utilizing each receipt marking item and a corresponding receipt identification label and adopting an OCR (optical character recognition) technology to obtain field identification information corresponding to each transaction receipt element in the optimal identification template;
and forming the identification information of the transaction receipt by the at least one field identification information.
4. The method of claim 1, wherein for each transaction document, adding a plurality of target audit labels to the transaction document based on the identification information corresponding to the transaction document and a plurality of preset business audit logics comprises:
aiming at each preset business auditing logic, auditing the identification information corresponding to the transaction document by using the preset business auditing logic to obtain a second auditing result, wherein the second auditing result is used for indicating an auditing label corresponding to the transaction document under the preset business auditing logic;
aiming at each preset business audit logic, taking the audit label indicated by the second audit result corresponding to the preset business audit logic as a target audit label corresponding to the preset business audit logic and adding the target audit label to the transaction receipt.
5. The method of claim 1, wherein the target audit rule matching each transaction document is determined by:
determining the priority of each preset auditing rule corresponding to the transaction document;
according to the priority corresponding to each preset auditing rule, starting from the preset auditing rule corresponding to the highest priority, and matching a plurality of preset auditing rules with the transaction document;
for each matching, sequentially matching a plurality of target audit labels corresponding to the transaction document with each preset audit rule to obtain a matching result corresponding to the matching;
if the matching result indicates that the preset auditing rule corresponding to the matching is matched with the transaction document, determining the preset auditing rule corresponding to the matching as a target auditing rule;
if the matching result indicates that the preset auditing rule corresponding to the matching is not matched with the transaction document, determining to execute the preset auditing rule of the next matching according to the priority corresponding to the preset auditing rule, and executing the next matching until the target auditing rule is determined.
6. The method of claim 5, wherein each of the preset audit rules includes a first set of audit labels to be matched including a plurality of first audit labels to be matched and a second set of audit labels to be matched including a plurality of second audit labels to be matched,
for each matching, sequentially matching a plurality of target audit labels corresponding to the transaction document with each preset audit rule to obtain a matching result corresponding to the matching, wherein the step of obtaining the matching result comprises the following steps:
judging whether a plurality of target audit labels exist target audit labels matched with the first to-be-matched audit labels or not according to each first to-be-matched audit label in the first to-be-matched audit label set;
if each to-be-matched audit tag in the first to-be-matched audit tag set has a corresponding target audit tag in the plurality of target audit tags, judging whether the plurality of target audit tags have target audit tags matched with the second to-be-matched audit tag aiming at each second to-be-matched audit tag in the second to-be-matched audit tag set;
if any one to-be-matched tag in the first to-be-matched audit tag set does not have a corresponding target audit tag in the target audit tags, the matching result indicates that the preset audit rule corresponding to the matching is not matched with the transaction receipt.
7. The method of claim 6, wherein for each matching, the step of sequentially matching a plurality of target audit labels corresponding to the transaction document with each preset audit rule to obtain a matching result corresponding to the matching further comprises:
if each second to-be-matched audit tag in the second to-be-matched audit tag set does not have a matched target audit tag in the target audit tags, a matching result corresponding to the secondary matching indicates that a preset audit rule corresponding to the secondary matching is matched with the transaction receipt;
if any one of the second to-be-matched audit labels in the second to-be-matched audit label set has a matched target audit label in the target audit labels, a matching result corresponding to the secondary matching indicates that a preset audit rule corresponding to the secondary matching is not matched with the transaction document.
8. An automatic auditing apparatus for transaction documents, the apparatus comprising:
the acquisition module is used for acquiring at least one transaction receipt uploaded by a user and the transaction receipt type corresponding to each transaction receipt;
the determining module is used for determining an optimal recognition template corresponding to each transaction document from at least one recognition template corresponding to the transaction document type according to the transaction document type;
the identification module is used for identifying each transaction receipt through the optimal identification template and acquiring identification information corresponding to the transaction receipt;
the adding module is used for adding a plurality of target audit labels for each transaction receipt according to the identification information corresponding to the transaction receipt and a plurality of preset business audit logics;
the matching module is used for determining a plurality of preset auditing rules corresponding to each transaction receipt, sequentially matching a plurality of target auditing labels corresponding to the transaction receipt with each preset auditing rule, and determining a target auditing rule matched with the transaction receipt;
and the processing module is used for determining a processing mode corresponding to the target auditing rule for each transaction document, and processing the transaction document according to the processing mode corresponding to the target auditing rule.
9. An electronic device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating via said bus when the electronic device is running, said machine readable instructions when executed by said processor performing the steps of the method of automated auditing of transaction documents according to any of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the automatic auditing method of a transaction document according to any one of claims 1 to 7.
CN202211016995.1A 2022-08-22 2022-08-22 Automatic auditing method and device for transaction receipt and electronic equipment Active CN115358751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211016995.1A CN115358751B (en) 2022-08-22 2022-08-22 Automatic auditing method and device for transaction receipt and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211016995.1A CN115358751B (en) 2022-08-22 2022-08-22 Automatic auditing method and device for transaction receipt and electronic equipment

Publications (2)

Publication Number Publication Date
CN115358751A CN115358751A (en) 2022-11-18
CN115358751B true CN115358751B (en) 2023-04-28

Family

ID=84003133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211016995.1A Active CN115358751B (en) 2022-08-22 2022-08-22 Automatic auditing method and device for transaction receipt and electronic equipment

Country Status (1)

Country Link
CN (1) CN115358751B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117875906A (en) * 2024-03-06 2024-04-12 青岛冠成软件有限公司 Electronic bill auditing method based on artificial intelligence

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274782A (en) * 2020-02-25 2020-06-12 平安科技(深圳)有限公司 Text auditing method and device, computer equipment and readable storage medium
CN111967493A (en) * 2020-06-29 2020-11-20 北京百度网讯科技有限公司 Image auditing method and device, electronic equipment and storage medium
CN112712429A (en) * 2020-12-28 2021-04-27 中电金信软件有限公司 Remittance service auditing method, remittance service auditing device, computer equipment and storage medium
CN114519568A (en) * 2022-02-16 2022-05-20 中国农业银行股份有限公司 Order examination method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274782A (en) * 2020-02-25 2020-06-12 平安科技(深圳)有限公司 Text auditing method and device, computer equipment and readable storage medium
CN111967493A (en) * 2020-06-29 2020-11-20 北京百度网讯科技有限公司 Image auditing method and device, electronic equipment and storage medium
CN112712429A (en) * 2020-12-28 2021-04-27 中电金信软件有限公司 Remittance service auditing method, remittance service auditing device, computer equipment and storage medium
CN114519568A (en) * 2022-02-16 2022-05-20 中国农业银行股份有限公司 Order examination method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115358751A (en) 2022-11-18

Similar Documents

Publication Publication Date Title
CN101441715B (en) Book ticket disposal route and banknote processing system
US20200285805A1 (en) Systems and methods for user interfaces that provide enhanced verification of extracted data
CN109033058B (en) Contract text verification method, apparatus, computer device and storage medium
CN107274291B (en) Cross-platform valuation table analysis method, storage medium and application server
US20230359599A1 (en) Method and system for managing metadata
CN109685477A (en) Accounting process systems and processing method
CN115358751B (en) Automatic auditing method and device for transaction receipt and electronic equipment
CN109271951A (en) A kind of method and system promoting book keeping operation review efficiency
CN115017272A (en) Intelligent verification method and device based on registration data
TWI716761B (en) Intelligent accounting system and identification method for accounting documents
CN109791537A (en) Electronic document is supplemented into complete system and method
JP2016192223A (en) Accounting information reading system and program
CN112307101A (en) Project pricing auditing method, device, computer equipment and system
JP2018101327A (en) Data registering apparatus and data registering method
TWM575887U (en) Intelligent accounting system
CN110363667A (en) Order financing processing method, apparatus, computer equipment and storage medium based on AI
CN115563008A (en) Code coverage rate detection system, method, device and storage medium
CN113343968A (en) Multi-template certificate rapid verification method, system, medium and device
JP5304397B2 (en) Form processing apparatus and form processing program
JP4516376B2 (en) Form processing system
JP7272037B2 (en) Information processing device and program
CN112287828A (en) Financial statement generation method and device based on machine learning
CN110673888B (en) Verification method and device for configuration file
CN110245656B (en) Bill operation management method and system
CN114693387B (en) Authentication method and equipment for core enterprise

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
GR01 Patent grant
GR01 Patent grant