CN109767239A - A kind of method and system for being verified to electronic invoice - Google Patents

A kind of method and system for being verified to electronic invoice Download PDF

Info

Publication number
CN109767239A
CN109767239A CN201811543241.5A CN201811543241A CN109767239A CN 109767239 A CN109767239 A CN 109767239A CN 201811543241 A CN201811543241 A CN 201811543241A CN 109767239 A CN109767239 A CN 109767239A
Authority
CN
China
Prior art keywords
invoice
electronic
electronic invoice
summary info
verified
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811543241.5A
Other languages
Chinese (zh)
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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201811543241.5A priority Critical patent/CN109767239A/en
Publication of CN109767239A publication Critical patent/CN109767239A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention discloses a kind of method for being verified to electronic invoice, comprising: receives invoice validation request associated with electronic invoice to be verified, including electronic invoice metadata information or layout files, invoice format and invoice mark from checking request side;Receive invoice validation request, metadata information is calculated using digest algorithm and obtains the first invoice summary info, invoice layout files is calculated using digest algorithm and obtains the second summary info, it is retrieved according to the invoice format of electronic invoice and invoice mark, standard invoice metadata associated with electronic invoice to be verified or standard invoice format summary info is stored in advance to obtain;Standard invoice metadata and the first invoice summary info are compared into the comparing result to determine electronic invoice verifying, or standard invoice format summary info and the second invoice summary info are compared into the comparison result to determine electronic invoice online verification;Comparing result is sent to checking request side.

Description

A kind of method and system for being verified to electronic invoice
Technical field
The present invention relates to electronic invoice verify data fields, more particularly, to one kind for testing electronic invoice The method and system of card.
Background technique
Presently, there are electronic invoice checking system be all online examination service, this online examination, which services, is substantially all It is the invoice inquiry business of querying condition based on several elements of invoice (such as invoice codes, the amount of money, are made out an invoice the date at invoice number). Firstly, this examination mode carries out inquiring and authenticating only for electronic invoice information, it can not be to the true and false of electronic invoice layout files It is verified;Secondly, checking system can not directly give examination as a result, needing user according to query result and the hair being an actually-received Ticket carries out artificial nominal value comparison and records comparison result, therefore does not support automatically to check, to the subsequent informationization of electronic invoice Financial application brings inconvenience;Again, the offline examination demand being unable to satisfy under special screne;Finally, electronic invoice can not be verified Relevance between information and layout files is existed and is cracked down on counterfeit goods the security breaches of invoice using the nominal value element set of true invoice.
(application number: 201611248924.9) a kind of electronics authority unifies checking method and its system to the prior art, is used for Electronics authority unifies checking system, the echo request including receiving any electronics authority searching platform input, and echo request includes Electronics authority data to be checked;The corresponding examination code of electronics authority data is generated by preset algorithm;According to examination code, rear Hold whether inquiry in default storing data library is previously stored with identifying code identical with examination code;If so, returning to electronics authority number It prompts according to the successful result of examination to corresponding electronics authority searching platform;If no, returning to the mistake that electronics authority is not present It accidentally prompts to corresponding electronics authority searching platform.However, the prior art, cannot test the layout files of electronics issue of bidding documents Card does not confirm whether the format of invoice is correct when the data to electronic invoice are verified.
Therefore, it is necessary to a kind of technologies, to realize the technology verified to electronic invoice.
Summary of the invention
Technical solution of the present invention provides a kind of method and system for being verified to electronic invoice, how right to solve The problem of electronic invoice is verified.
To solve the above-mentioned problems, the present invention provides a kind of method for being verified to electronic invoice, method packets It includes:
Invoice validation request associated with electronic invoice to be verified, invoice validation request packet are received from checking request side Metadata and layout files, invoice format and the invoice mark for including electronic invoice, use specific digest algorithm according to invoice format Electronic invoice metadata and layout files calculate and obtain the first invoice summary info or the second invoice summary info;
Invoice validation request is received, is retrieved according to the invoice format of electronic invoice and invoice mark, it is preparatory to obtain Store standard invoice metadata associated with electronic invoice to be verified or standard invoice format summary info;
Standard invoice metadata and the first invoice summary info are compared to determine that electronic invoice is verified Comparing result, or standard invoice format summary info and the second invoice summary info are compared to determine that electronic invoice is tested The comparing result of card;
Comparing result is sent to checking request side.
Preferably, further includes:
Electronic invoice to be verified is read by echo request side, selects the Format Type of electronic invoice;
According to the Format Type of electronic invoice using specific digest algorithm to the invoice metadata of submission or layout files into Row calculates the first invoice summary info or the second invoice summary info for obtaining electronic invoice.
Based on another aspect of the present invention, a kind of method for carrying out off-line verification to electronic invoice metadata is provided:
Extract make out an invoice data and the electronic signature of electronic invoice;
It is parsed by approval side data signature of approval side's public key to electronic invoice to be verified, obtains electronic invoice Third invoice summary info;It is calculated using make out an invoice data of the specific digest algorithm to electronic invoice, obtains the 4th invoice Summary info;
Third invoice summary info and the 4th invoice summary info are compared to the comparison to determine electronic invoice verifying As a result.
Based on another aspect of the present invention, provide a kind of for carrying out the side of off-line verification to electronic invoice layout files Method, method include:
Make out an invoice data and the electronic signature of electronic invoice are parsed in layout files by electronic invoice to be verified;It is logical It crosses approval side's public key certificate and decrypts the 5th invoice summary info for obtaining electronic invoice to electronic signature;
It is calculated using make out an invoice data of the specific digest algorithm to electronic invoice, obtains the 6th invoice summary info;
5th invoice summary info and the 6th invoice summary info are compared to the comparison to determine electronic invoice verifying As a result.
Preferably, electronic invoice to be verified is read by echo request side, selects the Format Type of electronic invoice.
Preferably, when comparing result is consistent, electronic invoice to be verified is true;
When comparing result is inconsistent, electronic invoice to be verified is false.
Based on another aspect of the present invention, a kind of system for being verified to electronic invoice is provided, system includes:
Request unit, for receiving invoice validation request associated with electronic invoice to be verified from checking request side, Invoice validation request includes the metadata or layout files of electronic invoice, invoice format and invoice mark, is made according to invoice format Metadata or layout files calculate with specific digest algorithm and obtain the first invoice summary info or the second invoice abstract letter First invoice summary info or the second invoice summary info, invoice format and invoice mark are sent to receiving unit by breath;
Receiving unit is examined for receiving invoice validation request according to the invoice format of electronic invoice and invoice mark Standard invoice metadata associated with electronic invoice to be verified or standard invoice version is stored in advance to obtain in rope Formula summary info;
First comparison unit, for by standard invoice metadata and the first invoice summary info compare with Determine the comparing result of electronic invoice verifying, or for carrying out standard invoice format summary info and the second invoice summary info Compare the comparing result to determine electronic invoice verifying;
Transmission unit, for comparing result to be sent to checking request side.
Preferably, further include selecting unit, selecting unit is used for:
Electronic invoice to be verified is read by echo request side, selects the Format Type of electronic invoice;
First computing unit, according to the Format Type of electronic invoice using specific digest algorithm to the invoice metadata of submission Or layout files carries out calculating the first invoice summary info or the second invoice summary info for obtaining electronic invoice.
Based on another aspect of the present invention, a kind of system for carrying out off-line verification to electronic invoice, system packet are provided It includes:
Extraction unit, for extracting make out an invoice data and the electronic signature of electronic invoice, for being treated by approval side's public key Approval side's data signature of the electronic invoice of verifying is parsed, and the third invoice summary info of electronic invoice is obtained;
Second computing unit is calculated using data of making out an invoice of the specific digest algorithm to electronic invoice, obtains the 4th hair Ticket summary info;
Second comparison unit, for comparing third invoice summary info and the 4th invoice summary info to determine electricity The comparing result of sub- invoice validation.
Based on another aspect of the present invention, provide a kind of for being to electronic invoice layout files progress off-line verification System, system include:
Resolution unit, for parsing the data of making out an invoice of electronic invoice in the layout files by electronic invoice to be verified And electronic signature;
Third computing unit, for being carried out by approval side data signature of approval side's public key to electronic invoice to be verified Parsing, obtains the 5th invoice summary info of electronic invoice;It is carried out using make out an invoice data of the specific digest algorithm to electronic invoice It calculates, obtains the 6th invoice summary info;
Third comparison unit, for comparing the 5th invoice summary info and the 6th invoice summary info to determine electricity The comparing result of sub- invoice validation.
Preferably, electronic invoice to be verified is read by echo request side, selects the Format Type of electronic invoice.
Preferably, third comparison unit is also used to: when comparing result is consistent, electronic invoice to be verified is true;
When comparing result is inconsistent, electronic invoice to be verified is false.
Technical solution of the present invention provides a kind of method and system for being verified to electronic invoice, wherein method packet It includes: receiving invoice validation request associated with electronic invoice to be verified from checking request side, invoice validation request includes electricity The metadata and layout files of sub- invoice, invoice format and invoice mark, using specific digest algorithm to metadata or format text Part, which calculate, obtains the first invoice summary info or the second invoice summary info;Invoice validation request is received, is sent out according to electronics Invoice format and the invoice mark of ticket are retrieved, and standard hair associated with electronic invoice to be verified is stored in advance to obtain Ticket metadata or standard invoice format summary info;Standard invoice metadata and the first invoice are made a summary Information compares the comparing result to determine electronic invoice verifying, or standard invoice format summary info is plucked with the second invoice Information is wanted to compare to determine the comparing result of electronic invoice verifying;Comparing result is sent to checking request side.The present invention Technical solution, which realizes, is intuitively showed electronic invoice, can carry out being based on invoice without manual typing in ping procedure The authenticity verification of unanimous vote face data, it is ensured that the finding of electronic invoice is tested, and solving previous invoice checking system can not be based on The problem of full ticket information carries out authenticity verification, support system is checked automatically, provides branch for the whole electronization application of electronic invoice Support.Technical solution of the present invention provides quick convenient examination service for user and supports to send out electronics in the case where that can not network The off-line verification of ticket verifies the true and false of electronic invoice by approval side's public key certificate of client-cache.
Detailed description of the invention
By reference to the following drawings, exemplary embodiments of the present invention can be more fully understood by:
Fig. 1 is according to the preferred embodiment for the present invention for carrying out the method flow diagram of online verification to electronic invoice;
Fig. 2 is the system model schematic diagram for being verified to electronic invoice according to the preferred embodiment for the present invention;
Fig. 3 is according to the preferred embodiment for the present invention for carrying out the method flow diagram of online verification to electronic invoice;
Fig. 4 is according to the preferred embodiment for the present invention for carrying out the method flow diagram of off-line verification to electronic invoice;
Fig. 5 is according to the preferred embodiment for the present invention for carrying out the method flow diagram of off-line verification to electronic invoice;
Fig. 6 is according to the preferred embodiment for the present invention for carrying out the method flow diagram of off-line verification to electronic invoice;
Fig. 7 is the system construction drawing for being verified to electronic invoice according to the preferred embodiment for the present invention;And
Fig. 8 is the system construction drawing for being verified to electronic invoice according to the preferred embodiment for the present invention;And
Fig. 9 is the system construction drawing for being verified to electronic invoice according to the preferred embodiment for the present invention.
Specific embodiment
Exemplary embodiments of the present invention are introduced referring now to the drawings, however, the present invention can use many different shapes Formula is implemented, and is not limited to the embodiment described herein, and to provide these embodiments be at large and fully disclose The present invention, and the scope of the present invention is sufficiently conveyed to person of ordinary skill in the field.Show for what is be illustrated in the accompanying drawings Term in example property embodiment is not limitation of the invention.In the accompanying drawings, identical cells/elements use identical attached Icon note.
Unless otherwise indicated, term (including scientific and technical terminology) used herein has person of ordinary skill in the field It is common to understand meaning.Further it will be understood that with the term that usually used dictionary limits, should be understood as and its The context of related fields has consistent meaning, and is not construed as Utopian or too formal meaning.
Fig. 1 is according to the preferred embodiment for the present invention for carrying out the method flow diagram of online verification to electronic invoice. To make user be able to carry out the examination of electronic invoice after any electronic invoice searching platform inputs echo request, improves and look into The convenience and examination efficiency tested.Present applicant proposes a kind of electronic invoices to unify checking method, realizes and carries out to electronic invoice Unified examination.Present applicant proposes the verification method for electronic invoice metadata and layout files, the application can both carry out member Data examination can also carry out documents verification, support online verification and off-line verification both of which.
The application online verification is by way of extracting invoice data or layout files feature extraction, with invoice codes, hair The index data item that ticket number etc. is identified as invoice, the invoice data saved when checking service platform end inquiry invoice issuing Abstract and format abstract obtain verifying by comparing the summary data of the abstract that examination client uploads and server end storage As a result.As shown in Figure 1, a kind of method for being verified to electronic invoice, method include:
Preferably, in step 101: receiving invoice validation associated with electronic invoice to be verified from checking request side and ask It asks, invoice validation request includes electronic invoice metadata and layout files, invoice format and invoice mark, uses digest algorithm pair Metadata or layout files, which calculate, obtains the first invoice summary info or the second invoice summary info.The application invoice mark Including invoice codes, invoice number.
Preferably, in step 102: receiving invoice validation request, calculate to invoice metadata using digest algorithm and obtain It obtains the first invoice summary info or invoice layout files calculate and obtain the second invoice summary info, according to electronic invoice Invoice format and invoice mark retrieved, with obtain standard invoice associated with electronic invoice to be verified is stored in advance Metadata or standard invoice format summary info;
Preferably, in step 103: by standard invoice metadata and the first invoice summary info compare with It determines the comparing result of electronic invoice verifying, or standard invoice format summary info and the second invoice summary info is compared To determine the comparing result of electronic invoice verifying;
Preferably, in step 104: comparing result is sent to checking request side.
Preferably, method further include:
Electronic invoice to be verified is read by echo request side, selects the Format Type of electronic invoice;
According to the Format Type of electronic invoice using specific digest algorithm to the invoice metadata of submission or layout files into Row calculates the first invoice summary info or the second invoice summary info for obtaining electronic invoice.
Preferably, when comparing result is consistent, electronic invoice to be verified is true;When comparing result is inconsistent, to The electronic invoice of verifying is false.
A kind of electronic invoice online verification method provided by the present application, firstly, electronic invoice is made out an invoice, data are sent to approval System, approval carry out signature by authorisation system after passing through and generate electronic invoice metadata, complete electronic invoice and issue business.By electricity Sub- invoice approval system is calculated the abstract of invoice issuing data and is associated with invoice metadata and deposited using specific digest algorithm Storage;Invoice data summary info is synchronized to examination service platform end by authorisation system;Service platform is issued to calculate using specific digest Method calculates the feature extraction of layout files, and examination service platform is uploaded to after layout files abstract is associated with invoice element and is carried out Storage.Fig. 2 is the system model schematic diagram for being verified to electronic invoice according to the preferred embodiment for the present invention.
Fig. 3 is the method flow diagram for being verified to electronic invoice according to the preferred embodiment for the present invention.Such as Fig. 3 Shown, user reads electronic invoice to be verified using examination client, and electronic invoice can be structured data format, can also It is layout files format, selects the Format Type of invoice to be verified, the invoice metadata including electronic invoice, layout files mentions Hand over checking request.
The feature extraction that client calculates electronic invoice using special algorithm is checked, by invoice summary info, invoice format And corresponding invoice codes, invoice number are sent to examination service platform.
It checks service platform and corresponding invoice feature extraction is inquired according to invoice codes, invoice number, invoice format, it will The feature extraction inquired is compared with the feature extraction in client request, and comparison result is back to examination client.
The comparison result that examination service platform returns is received finally by examination client, when examination service platform returns Comparison result when being inconsistent, that is, determine that the electronic invoice of examination is false;When the comparison result that examination service platform returns is When consistent, that is, determine that the electronic invoice of examination is true.
Embodiment of the present invention is based on PKI technology, the off-line verification for being directed to electronic invoice is supported, by examination client at this The public key certificate of ground maintenance electronic invoice approval side uses public key digital certificate when client does not have network traffic conditions Electronic invoice signed data is verified, realizes off-line verification function.
Fig. 4 is according to the preferred embodiment for the present invention for carrying out the method flow diagram of off-line verification to electronic invoice. As shown in figure 4, a kind of method for carrying out off-line verification to electronic invoice metadata, method include:
Preferably, in step 401: extracting make out an invoice data and the electronic signature of electronic invoice;
Preferably, in step 402: being carried out by approval side data signature of approval side's public key to electronic invoice to be verified Parsing, obtains the third invoice summary info of electronic invoice, is carried out using make out an invoice data of the specific digest algorithm to electronic invoice It calculates, obtains the 4th invoice summary info;
Preferably, in step 403: by comparing third invoice summary info and the 4th invoice summary info with true Determine the comparing result of electronic invoice verifying.
Fig. 5 is the method for carrying out off-line verification to electronic invoice layout files according to the preferred embodiment for the present invention Flow chart.As shown in figure 5, a kind of method for being verified to electronic invoice, method include:
Preferably, in step 501: parsing making out an invoice for electronic invoice in the layout files by electronic invoice to be verified Data and electronic signature.
Preferably, in step 502: by approval side's public key certificate to approval side's data signature of electronic invoice to be verified It is parsed, obtains the 5th invoice summary info of electronic invoice;By specific digest algorithm to the data of making out an invoice of electronic invoice It is calculated, obtains the 6th invoice summary info.
Preferably, in step 503: by comparing the 5th invoice summary info with the 6th invoice summary info with true Determine the comparing result of electronic invoice verifying.
Preferably, electronic invoice to be verified is read by echo request side, selects the Format Type of electronic invoice.
Preferably, when comparing result is consistent, electronic invoice to be verified is true;When comparing result is inconsistent, to The electronic invoice of verifying is false.
As shown in fig. 6, the application provides a kind of electronic invoice offline verification method, firstly, user uses examination client Electronic invoice to be verified is read, and selects the Format Type of invoice, submits checking request.
When invoice format type is metadata, verifying client decrypts electronic invoice member number using approval side's public key certificate Approval side's digital signature in obtains abstract A, reuses specific digest algorithm and makes an abstract operation to electronic invoice data of making out an invoice A ' is obtained, the value of comparison A and A ' is then determined as true invoice if they are the same;If not identical, it is determined as false invoice.
When invoice format type is layout files, verifying client parses electronic invoice member from invoice layout files Data (data containing bill billing and signed data) obtain abstract B using approval side's public key certificate decrypted signature data, reuse Specific digest algorithm to electronic invoice make out an invoice data make an abstract operation obtain B ', comparison B and B ' value be then determined as if they are the same True invoice;If not identical, it is determined as false invoice.
Fig. 7 is the system construction drawing for being verified to electronic invoice according to the preferred embodiment for the present invention.Such as Fig. 7 Shown, a kind of system for being verified to electronic invoice, system includes:
Request unit 701 is asked for receiving invoice validation associated with electronic invoice to be verified from checking request side It asks, invoice validation request includes the metadata or layout files of electronic invoice, invoice format and invoice mark, and request unit uses Specific digest algorithm, which calculate to invoice metadata or layout files, obtains the first invoice summary info or the second invoice abstract First invoice summary info or the second invoice summary info, invoice format and invoice mark are sent to receiving unit by information.This Apply for that invoice mark includes invoice codes, invoice number.
Receiving unit 702 is carried out for receiving invoice validation request according to the invoice format of electronic invoice and invoice mark Standard invoice metadata associated with electronic invoice to be verified or standard invoice is stored in advance to obtain in retrieval Format summary info.
First comparison unit 703, for carrying out pair standard invoice metadata and the first invoice summary info Than the comparing result to determine electronic invoice verifying, or for believing standard invoice format summary info and the second invoice abstract Breath compares the comparing result to determine electronic invoice verifying.Preferably, the first comparison unit 703 is also used to: when comparison is tied When fruit is consistent, electronic invoice to be verified is true;When comparing result is inconsistent, electronic invoice to be verified is false.
Transmission unit 704, for comparing result to be sent to checking request side.
Preferably, further include selecting unit, selecting unit is used for: electronics to be verified being read by echo request side and is sent out Ticket selects the Format Type of electronic invoice;First computing unit uses specific digest algorithm according to the Format Type of electronic invoice The invoice metadata or layout files of submission are carried out to calculate the first invoice summary info or the second invoice that obtain electronic invoice Summary info.
Fig. 8 is the system construction drawing for being verified to electronic invoice according to the preferred embodiment for the present invention.Such as Fig. 8 Shown, a kind of system for carrying out off-line verification to electronic invoice metadata, system includes:
Extraction unit 801, for extracting make out an invoice data and the electronic signature of electronic invoice, by approval side's public key to electronics Signature parsing, obtains the third invoice summary info of electronic invoice;
Second computing unit 802 is calculated by data of making out an invoice of the specific digest algorithm to electronic invoice, obtains the 4th Invoice summary info;
Second comparison unit 803, for comparing third invoice summary info and the 4th invoice summary info with true Determine the comparing result of electronic invoice verifying.When comparing result is consistent, electronic invoice to be verified is true;When comparing result not When consistent, electronic invoice to be verified is false.
Preferably, system is also used to read electronic invoice to be verified by echo request side, selects the lattice of electronic invoice Formula type.
Fig. 9 is the system construction drawing for being verified to electronic invoice according to the preferred embodiment for the present invention.Such as Fig. 9 Shown, a kind of system for carrying out off-line verification to electronic invoice layout files, system includes:
Resolution unit 901, for by parsing making out an invoice for electronic invoice in the layout files of electronic invoice to be verified Data and electronic signature;
Third computing unit 902, for approval side's data signature by approval side's public key to electronic invoice to be verified It is parsed, obtains the 5th invoice summary info of electronic invoice;By specific digest algorithm to the data of making out an invoice of electronic invoice It is calculated, obtains the 6th invoice summary info;
Third comparison unit 903, for comparing the 5th invoice summary info with the 6th invoice summary info with true Determine the comparing result of electronic invoice verifying.When comparing result is consistent, electronic invoice to be verified is true;When comparing result not When consistent, electronic invoice to be verified is false.
Preferably, system is also used to read electronic invoice to be verified by echo request side, selects the lattice of electronic invoice Formula type.
A kind of electronic invoice disclosed in the present application unifies checking system, for carrying out unified examination to electronic invoice.This Shen A kind of electronic invoice (containing the metadata and layout files) checking method for supporting off-line verification and system that please be provided, support to be directed to The electronic invoice of multiple format carries out authenticity verification;By extracting electronic invoice metadata from layout files, it can be ensured that user The invoice for submitting the invoice of verifying to be an actually-received for user reaches and tests i.e. seen purpose;Verification process is without artificial record Enter invoice information, verification result is automatically derived by system, the access of financial application system is supported, for answering with no paper at all for electronic invoice With offer support.
The application embodiment is intuitively showed electronic invoice, can be carried out in ping procedure without manual typing Authenticity verification based on invoice unanimous vote face data, it is ensured that the finding of electronic invoice is tested, and solves previous invoice checking system The problem of can not carrying out authenticity verification based on full ticket information, the application supports system to check automatically, is the whole electricity of electronic invoice Sonization application provides support.The application provides quick convenient examination service, in the case where that can not network, support pair for user The off-line verification of electronic invoice verifies the true and false of electronic invoice by approval side's public key certificate of client-cache.
The present invention is described by reference to a small amount of embodiment.However, it is known in those skilled in the art, as Defined by subsidiary Patent right requirement, in addition to the present invention other embodiments disclosed above equally fall in it is of the invention In range.
Normally, all terms used in the claims are all solved according to them in the common meaning of technical field It releases, unless in addition clearly being defined wherein.All references " one // be somebody's turn to do [device, component etc.] " are explained with being all opened For at least one example in device, component etc., unless otherwise expressly specified.The step of any method disclosed herein, does not all have Necessity is run with disclosed accurate sequence, unless explicitly stated otherwise.

Claims (12)

1. a kind of method for being verified to electronic invoice, method include:
Invoice validation request associated with electronic invoice to be verified is received from checking request side, invoice validation request includes electricity The metadata or layout files of sub- invoice, invoice format and invoice mark;
Receive invoice validation request, using digest algorithm to invoice metadata carry out calculate obtain the first invoice summary info or To invoice layout files carry out calculate obtain the second invoice summary info, according to the invoice format of electronic invoice and invoice identify into Standard invoice metadata associated with electronic invoice to be verified or standard hair is stored in advance to obtain in row retrieval Ticket format summary info;
Standard invoice metadata and the first invoice summary info are compared to pair to determine electronic invoice verifying Than as a result, standard invoice format summary info and the second invoice summary info compared to determine that electronic invoice is verified Comparing result;
Comparing result is sent to checking request side.
2. the method according to claim 1, further includes:
Electronic invoice to be verified is read by echo request side, selects the Format Type of electronic invoice;
It is counted according to the Format Type of electronic invoice using invoice metadata or layout files of the specific digest algorithm to submission Calculate the first invoice summary info or the second invoice summary info for obtaining electronic invoice.
3. a kind of method for carrying out off-line verification to electronic invoice metadata, method include:
Extract make out an invoice data and the electronic signature of electronic invoice;
It is parsed by approval side data signature of approval side's public key to electronic invoice to be verified, obtains the of electronic invoice Three invoice summary infos;It is calculated using make out an invoice data of the specific digest algorithm to electronic invoice, obtains the 4th invoice abstract Information;
Third invoice summary info and the 4th invoice summary info are compared to the comparing result to determine electronic invoice verifying.
4. a kind of method for carrying out off-line verification to electronic invoice layout files, method include:
Make out an invoice data and the electronic signature of electronic invoice are parsed in layout files by electronic invoice to be verified;
It is parsed by approval side data signature of approval side's public key to electronic invoice to be verified, obtains the of electronic invoice Five invoice summary infos;It is calculated by make out an invoice data of the specific digest algorithm to electronic invoice, obtains the 6th invoice abstract Information;
5th invoice summary info and the 6th invoice summary info are compared to the comparing result to determine electronic invoice verifying.
5. reading electronic invoice to be verified by echo request side according to the method for claim 3 or 4, electronic invoice is selected Format Type.
6. according to claim 1,3 or 4 method, when comparing result is consistent, electronic invoice to be verified is true;
When comparing result is inconsistent, electronic invoice to be verified is false.
7. a kind of system for being verified to electronic invoice, system include:
Request unit, for receiving invoice validation request associated with electronic invoice to be verified, invoice from checking request side Checking request includes the metadata or layout files of electronic invoice, invoice format and invoice mark, uses specific digest algorithm pair Invoice metadata, which calculate, obtains the first invoice summary info, or calculate to layout files and obtain the second invoice abstract letter First invoice summary info or the second invoice summary info, invoice format and invoice mark are sent to receiving unit by breath;
Receiving unit is retrieved for receiving invoice validation request according to the invoice format of electronic invoice and invoice mark, with Standard invoice metadata associated with electronic invoice to be verified is stored in advance for acquisition or standard invoice format is plucked Want information;
First comparison unit, for comparing standard invoice metadata and the first invoice summary info with determination The comparing result of electronic invoice verifying, or for comparing standard invoice format summary info and the second invoice summary info To determine the comparing result of electronic invoice verifying;
Transmission unit, for comparing result to be sent to checking request side.
8. system according to claim 7 further includes selecting unit, selecting unit is used for:
Electronic invoice to be verified is read by echo request side, selects the Format Type of electronic invoice;
First computing unit, according to the Format Type of electronic invoice using specific digest algorithm to the invoice metadata or version of submission Formula file carries out calculating the first invoice summary info or the second invoice summary info for obtaining electronic invoice.
9. a kind of system for carrying out off-line verification to electronic invoice metadata, system include:
Extraction unit, for extracting make out an invoice data and the electronic signature of electronic invoice, for passing through approval side's public key to be verified Approval side's data signature of electronic invoice parsed, obtain the third invoice summary info of electronic invoice;
Second computing unit is calculated using data of making out an invoice of the specific digest algorithm to electronic invoice, is obtained the 4th invoice and is plucked Want information;
Second comparison unit, for comparing third invoice summary info and the 4th invoice summary info to determine that electronics is sent out The comparing result of ticket verifying.
10. a kind of system for carrying out off-line verification to electronic invoice layout files, system include:
Resolution unit, for parsing make out an invoice data and the electricity of electronic invoice in the layout files by electronic invoice to be verified Son signature;
Third computing unit, for being solved by approval side data signature of approval side's public key to electronic invoice to be verified Analysis, obtains the 5th invoice summary info of electronic invoice;It is counted using make out an invoice data of the specific digest algorithm to electronic invoice It calculates, obtains the 6th invoice summary info;
Third comparison unit, for comparing the 5th invoice summary info and the 6th invoice summary info to determine that electronics is sent out The comparing result of ticket verifying.
11. system according to claim 9 or 10 reads electronic invoice to be verified by echo request side, electronics hair is selected The Format Type of ticket.
12. system according to claim 7, third comparison unit is also used to: when comparing result is consistent, electronics to be verified Invoice is true;
When comparing result is inconsistent, electronic invoice to be verified is false.
CN201811543241.5A 2018-12-17 2018-12-17 A kind of method and system for being verified to electronic invoice Pending CN109767239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811543241.5A CN109767239A (en) 2018-12-17 2018-12-17 A kind of method and system for being verified to electronic invoice

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811543241.5A CN109767239A (en) 2018-12-17 2018-12-17 A kind of method and system for being verified to electronic invoice

Publications (1)

Publication Number Publication Date
CN109767239A true CN109767239A (en) 2019-05-17

Family

ID=66450626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811543241.5A Pending CN109767239A (en) 2018-12-17 2018-12-17 A kind of method and system for being verified to electronic invoice

Country Status (1)

Country Link
CN (1) CN109767239A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955917A (en) * 2019-10-28 2020-04-03 航天信息股份有限公司 Method and system for verifying electronic certificates related to multiple participants
CN114896582A (en) * 2022-05-20 2022-08-12 北京冠群信息技术股份有限公司 Paper invoice offline authentication method
CN115994743A (en) * 2023-03-24 2023-04-21 广东电网有限责任公司 Document abstract specification management method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105809450A (en) * 2014-12-31 2016-07-27 航天信息股份有限公司 Electronic invoice generation and verification method and system
US20160267433A1 (en) * 2013-12-31 2016-09-15 Tencent Technology (Shenzhen) Company Limited Methods, devices, and systems for generating and verifying a document
CN107103255A (en) * 2017-04-27 2017-08-29 百望电子发票数据服务有限公司 A kind of electronic invoice layout files verification method and system
CN108765041A (en) * 2018-01-19 2018-11-06 大象慧云信息技术有限公司 Memory management method and device, the computer equipment and storage medium of electronic invoice
CN108921627A (en) * 2018-06-07 2018-11-30 国信电子票据平台信息服务有限公司 A kind of method and system generating electronic invoice OFD layout files

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160267433A1 (en) * 2013-12-31 2016-09-15 Tencent Technology (Shenzhen) Company Limited Methods, devices, and systems for generating and verifying a document
CN105809450A (en) * 2014-12-31 2016-07-27 航天信息股份有限公司 Electronic invoice generation and verification method and system
CN107103255A (en) * 2017-04-27 2017-08-29 百望电子发票数据服务有限公司 A kind of electronic invoice layout files verification method and system
CN108765041A (en) * 2018-01-19 2018-11-06 大象慧云信息技术有限公司 Memory management method and device, the computer equipment and storage medium of electronic invoice
CN108921627A (en) * 2018-06-07 2018-11-30 国信电子票据平台信息服务有限公司 A kind of method and system generating electronic invoice OFD layout files

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955917A (en) * 2019-10-28 2020-04-03 航天信息股份有限公司 Method and system for verifying electronic certificates related to multiple participants
CN110955917B (en) * 2019-10-28 2024-02-02 航天信息股份有限公司 Method and system for verifying electronic certificates related to multiple participants
CN114896582A (en) * 2022-05-20 2022-08-12 北京冠群信息技术股份有限公司 Paper invoice offline authentication method
CN114896582B (en) * 2022-05-20 2024-04-26 北京冠群信息技术股份有限公司 Off-line authentication method for paper invoice
CN115994743A (en) * 2023-03-24 2023-04-21 广东电网有限责任公司 Document abstract specification management method and system

Similar Documents

Publication Publication Date Title
US8549303B2 (en) Apparatus, system and method for electronically signing electronic transcripts
CN109767239A (en) A kind of method and system for being verified to electronic invoice
CN102158488B (en) Dynamic countersign generation method and device and authentication method and system
CN109523685A (en) A kind of electronic invoice checking method and system based on OFD formatted file
CN112085578A (en) Electronic invoice reimbursement system and electronic invoice holder device
CN108074095A (en) A kind of ticket processing method and device
CN107463921B (en) Credit investigation authorization validity verification method and system
CN109034848B (en) Distributed detection and authentication platform
CN113343313A (en) Verification report validity identification method, legal service system and readable storage medium
US7689900B1 (en) Apparatus, system, and method for electronically signing electronic transcripts
US20080243751A1 (en) Method and Apparatus for Recording Associations with Logs
CN111563273A (en) Information verification method and related equipment
CN114677188A (en) Full-amount acquisition method and device suitable for paperless certificate data
US9223784B2 (en) Method and apparatus for archiving media using a log
US20080243752A1 (en) Method and Apparatus for Process Logging
CN112256639B (en) Electronic file signature method and system and storage device
CN110111105A (en) Contract based on block chain deposits card method, equipment and storage medium
CN114936914A (en) Financial accounting intelligent service system and method and electronic equipment
CN115150150A (en) Information recording method based on block chain technology
KR20040044555A (en) Method and system for authenticating a packaged good
CN109658041A (en) Generating means and its generation method, the equipment and readable storage medium storing program for executing of file
CN112036340A (en) Enterprise credit report query method and device
CN110288472B (en) Bill transaction risk control method and device
CN112069182A (en) Batch case reporting method, device, equipment and storage medium
CN111242764A (en) Invoice reimbursement method and device based on block chain and readable storage medium

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