CN109978479A - A kind of electronic invoice method of charging out, device, data sharing server and system - Google Patents
A kind of electronic invoice method of charging out, device, data sharing server and system Download PDFInfo
- Publication number
- CN109978479A CN109978479A CN201711446832.6A CN201711446832A CN109978479A CN 109978479 A CN109978479 A CN 109978479A CN 201711446832 A CN201711446832 A CN 201711446832A CN 109978479 A CN109978479 A CN 109978479A
- Authority
- CN
- China
- Prior art keywords
- electronic invoice
- information
- user
- invoice
- data sharing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
- G06Q40/125—Finance or payroll
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Human Resources & Organizations (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Entrepreneurship & Innovation (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Data Mining & Analysis (AREA)
- Technology Law (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a kind of electronic invoice method of charging out, device, data sharing server and systems, can not save resource in the prior art to solve, it is difficult to avoid the problem that electronic invoice repeats to submit an expense account.In the electronic invoice method of charging out, client sends electronic invoice acquisition request to data sharing server;Wherein, the first identifier information of the first user is carried in the electronic invoice acquisition request;Receive the information of the first electronic invoice of data sharing server return;Wherein, which is the first user for belonging to the first identifier information that the data sharing server is found, the electronic invoice that do not submit an expense account;First electronic invoice is submitted and is submitted an expense account, and sends the information that first electronic invoice has been submitted an expense account to the data sharing server after reimbursement is completed, indicates that first electronic invoice is recorded as having submitted an expense account by the data sharing server.To save resource, and avoids electronic invoice and repeat the problem of submitting an expense account.
Description
Technical field
The present invention relates to invoice reimbursement field more particularly to a kind of electronic invoice methods of charging out, device, data sharing service
Device and system.
Background technique
As the promoted extension of electronic invoice is gradually expanded, the electronic invoice for needing to submit an expense account is more and more, and electricity at present
Sub- invoice usually requires to print in reimbursement, as the original certificate that accounting keeps accounts, carries out artificial statistics reimbursement, this and paper
The reimbursement mode of matter invoice is without what difference, there is no the advantage for playing electronic invoice, cannot achieve the effect for saving resource.
And financial staff needs to ensure the invoice authenticity to keep accounts by modes such as craft, system, management, does not simply fail to
It reduces the heavy burdens for financial staff, and since electronic invoice is easy to replicate, it is difficult to same electronic invoice be avoided to repeat reimbursement
Problem.
Summary of the invention
The present invention provides a kind of electronic invoice method of charging out, device, data sharing server and system, existing to solve
Presence can not save resource in technology, it is difficult to avoid the problem that same electronic invoice repeats to submit an expense account.
The embodiment of the invention provides a kind of electronic invoice methods of charging out, comprising:
Client sends electronic invoice acquisition request to data sharing server;Wherein, the electronic invoice acquisition request
In carry the first identifier information of the first user;
Receive the information for the first electronic invoice that the data sharing server returns;Wherein, first electronic invoice
The first user's for belonging to the first identifier information found for the data sharing server, the electronics hair that do not submit an expense account
Ticket;
First electronic invoice is submitted and is submitted an expense account, and to described in data sharing server transmission after reimbursement is completed
The information that first electronic invoice has been submitted an expense account indicates that first electronic invoice is recorded as having reported by the data sharing server
Pin.
Further, described to incite somebody to action after the information for receiving the first electronic invoice that the data sharing server returns
First electronic invoice is submitted before reimbursement, which comprises
According to the corresponding private key of the first user of the first identifier information of preservation, to the letter of first electronic invoice
Breath is decrypted.
Further, the information of first electronic invoice includes:
Data file, layout files and the first digest of first electronic invoice, wherein recorded in the data file
There is the content of first electronic invoice, layout files is the file of the PDF format of first electronic invoice, the first abstract label
First summary info of the entitled content for extracting the first electronic invoice in the data file, uses first summary info
Issue the digest obtained after the private key signature of the second user of first electronic invoice;
It is described by first electricity after the information for receiving the first electronic invoice that the data sharing server returns
Sub- invoice is submitted before reimbursement, which comprises
First digest is decrypted using the public key for the second user for issuing first electronic invoice, obtains institute
State the first summary info;And extract the second summary info of the content of the first electronic invoice recorded in data file;
Judge whether first summary info and second summary info are identical;
If identical, subsequent step is carried out.
Further, if first summary info and second summary info be not identical, the method also includes:
Abandon first electronic invoice;Or
The warning message for carrying the information of first electronic invoice is sent to the data sharing server.
The embodiment of the invention provides a kind of electronic invoice methods of charging out, comprising:
Data sharing server receives the electronic invoice acquisition request that client is sent;Wherein, the electronic invoice obtains
The first identifier information of the first user is carried in request;
According to the first identifier information carried in the electronic invoice acquisition request, looked into the electronic invoice pre-saved
The first user for belonging to the first identifier information is looked for, the first electronic invoice that do not submit an expense account, and first electronics is sent out
The information of ticket is sent to the client;
The information that first electronic invoice that the client is sent has been submitted an expense account is received, first electronic invoice is remembered
Record is to have submitted an expense account.
Further, before the information by first electronic invoice is sent to the client, the method packet
It includes:
Receive and save encrypted first electronic invoice for belonging to the first user of electronic invoice server transmission
Information;Wherein, the information of first electronic invoice is encrypted using the corresponding public key of first user.
Further, the information of first electronic invoice includes:
Data file, layout files and the first digest of first electronic invoice;
Wherein, electronic invoice server is raw according to the content of first electronic invoice when generating the first electronic invoice
At data file and layout files;Wherein, the content for having first electronic invoice, the format are recorded in the data file
File is the file of the PDF format of first electronic invoice;By extracting the first electronic invoice in the data file
First summary info of content, using the second user for issuing first electronic invoice private key to first summary info into
Row signature, generates the first digest;And the data file, layout files and the first digest are carried described first
In the information of electronic invoice.
Further, the information for receiving first electronic invoice that the client is sent and having submitted an expense account further include:
Receive the warning message for the information for carrying first electronic invoice that the client is sent, and by described the
One electronic invoice is recorded as suspicious electronic invoice.
The embodiment of the invention provides a kind of devices for being equipped with client, comprising:
Sending module, for sending electronic invoice acquisition request to data sharing server;Wherein, the electronic invoice obtains
Take the first identifier information that the first user is carried in request;
First receiving module, for receiving the information for the first electronic invoice that the data sharing server returns;Wherein,
First electronic invoice is the first user for belonging to the first identifier information that the data sharing server is found
, the electronic invoice that do not submit an expense account;
Sending module is submitted, is submitted an expense account for submitting first electronic invoice, and to the data after reimbursement is completed
Shared server sends the information that first electronic invoice has been submitted an expense account, and indicates the data sharing server by first electricity
Sub- invoice is recorded as having submitted an expense account.
Further, first receiving module, specifically for being used according to the first of the first identifier information of preservation
The information of first electronic invoice is decrypted in the corresponding private key in family.
Further, the information of first electronic invoice includes:
Data file, layout files and the first digest of first electronic invoice, wherein recorded in the data file
There is the content of first electronic invoice, layout files is the file of the PDF format of first electronic invoice, the first abstract label
First summary info of the entitled content for extracting the first electronic invoice in the data file, uses first summary info
Issue the digest obtained after the private key signature of the second user of first electronic invoice;
First receiving module, specifically for the public key using the second user for issuing first electronic invoice to institute
The decryption of the first digest is stated, first summary info is obtained;And extract the first electronic invoice recorded in data file
Second summary info of content;Judge whether first summary info and second summary info are identical;If identical, to
The submission sending module, which issues, sends instruction;
The submission sending module will after instructing in the transmission for receiving the first receiving module sending
First electronic invoice submits reimbursement, and sends the first electronics hair to the data sharing server after reimbursement is completed
The information that ticket has been submitted an expense account indicates that first electronic invoice is recorded as having submitted an expense account by the data sharing server.
Further, first receiving module, if being also used to first summary info and the second abstract letter
Cease not identical, discarding first electronic invoice;Or if first summary info and second summary info be not identical,
The warning message for carrying the information of first electronic invoice is sent to the data sharing server.
The embodiment of the invention provides a kind of data sharing servers, comprising:
Second receiving module, for receiving the electronic invoice acquisition request of client transmission;Wherein, the electronic invoice obtains
Take the first identifier information that the first user is carried in request;
Sending module is searched, for according to the first identifier information carried in the electronic invoice acquisition request, preparatory
Search the first user for belonging to the first identifier information in the electronic invoice of preservation, the first electronic invoice for not submitting an expense account,
And the information of first electronic invoice is sent to the client;
Logging modle is received, the information submitted an expense account for receiving first electronic invoice that the client is sent will
First electronic invoice is recorded as having submitted an expense account.
Further, second receiving module, specifically for being sent in the information by first electronic invoice
Before the client, encrypted first electricity for belonging to the first user of electronic invoice server transmission is received and saved
The information of sub- invoice;Wherein, the information of first electronic invoice is encrypted using the corresponding public key of first user.
Further, the reception logging modle, be also used to receive the client transmission carries first electricity
The warning message of the information of sub- invoice, and first electronic invoice is recorded as suspicious electronic invoice.
The embodiment of the invention provides a kind of electronic invoices to submit an expense account system, including client, data sharing server;Its
In,
The client, for sending electronic invoice acquisition request to data sharing server;Wherein, the electronic invoice
The first identifier information of the first user is carried in acquisition request;Receive the first electronics hair that the data sharing server returns
The information of ticket;Wherein, first electronic invoice belongs to the first identifier for what the data sharing server was found
First user's of information, the electronic invoice that do not submit an expense account;By first electronic invoice submit submit an expense account, and reimbursement complete after to
The data sharing server sends the information that first electronic invoice has been submitted an expense account;
The data sharing server, for receiving the electronic invoice acquisition request of client transmission;Wherein, the electronics
The first identifier information of the first user is carried in invoice acquisition request;According to carried in the electronic invoice acquisition request
One identification information is searched the first user for belonging to the first identifier information in the electronic invoice pre-saved, is not reported
First electronic invoice of pin, and the information of first electronic invoice is sent to the client;Receive the client hair
The information that first electronic invoice sent has been submitted an expense account, first electronic invoice is recorded as having submitted an expense account.
Further, the system also includes at least one electronic invoice servers;
The client, is also used to send the first electronic invoice to the electronic invoice server belonging to it and generates request,
Described in the first electronic invoice generate and carry the identification information and the first electronic invoice to be generated of first user in request
Information;
The electronic invoice server generates request for receiving the first electronic invoice that the client is sent, generates
For the information of the first electronic invoice of first user, and by the identification information of first user and first electronics
The information of invoice is sent to the data sharing server, wherein the information of first electronic invoice includes: the first electronics hair
Data file, layout files and the first digest of ticket;Wherein, the electronic invoice server is generating the first electronic invoice
When, data file and layout files are generated according to the content of first electronic invoice;Wherein, recording in the data file has
The content of first electronic invoice, the layout files are the file of the PDF format of first electronic invoice;Pass through extraction
First summary info of the content of the first electronic invoice in the data file, using issuing the of first electronic invoice
The private key of two users signs to first summary info, generates the first digest;And it is the data file, format is literary
Part and the first digest carry in the information of first electronic invoice.
Further, the electronic invoice server is specifically used for using the corresponding public key of first user to described
The information of first electronic invoice is encrypted, and the information of encrypted first electronic invoice is sent to the data sharing and is taken
Business device;
The data sharing server belongs to the specifically for receive and save that the electronic invoice server sends
The information of encrypted first electronic invoice of one user.
The present invention has the beneficial effect that:
The embodiment of the invention provides a kind of electronic invoice method of charging out, in the method for charging out, client is to data sharing
Server sends electronic invoice acquisition request;Wherein, the first mark of the first user is carried in the electronic invoice acquisition request
Know information;Receive the information for the first electronic invoice that the data sharing server returns;Wherein, first electronic invoice is
What the data sharing server was found belongs to the first user of the first identifier information, the electronics hair that do not submit an expense account
Ticket;First electronic invoice is submitted and is submitted an expense account, and sends described first to the data sharing server after reimbursement is completed
The information that electronic invoice has been submitted an expense account indicates that first electronic invoice is recorded as having submitted an expense account by the data sharing server.It is logical
It crosses the electronic invoice that client obtains electronic invoice information, and will acquire and submits reimbursement, not needing printing electronic invoice can be real
The reimbursement of existing electronic invoice, saves resource, and after the completion of reimbursement, the electronics that will have been submitted an expense account by data sharing server
Invoice is recorded as having submitted an expense account, and avoids same electronic invoice and repeats the problem of submitting an expense account.
Detailed description of the invention
Fig. 1 is a kind of flow chart of electronic invoice method of charging out provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of electronic invoice method of charging out provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of electronic invoice method of charging out provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of electronic invoice method of charging out provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram for the device for being equipped with client provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of data sharing server provided in an embodiment of the present invention;
Fig. 7 is that a kind of electronic invoice provided in an embodiment of the present invention submits an expense account system schematic.
Specific embodiment
In order to save resource, avoid the problem that same invoice repeats to submit an expense account, the embodiment of the invention provides a kind of electronics
Invoice method of charging out, device, data sharing server and system.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Embodiment 1:
Fig. 1 is a kind of flow chart of electronic invoice method of charging out provided in an embodiment of the present invention, and concrete processing procedure is such as
Under:
S101: client sends electronic invoice acquisition request to data sharing server;Wherein, the electronic invoice obtains
The first identifier information of the first user is carried in request.
A kind of client for electronic invoice reimbursement is provided in the embodiment of the present invention, user can use its identity information
Deng register account number on the client, after succeeding in registration, the client can be used by logging in its account in the client.
Specifically, the user of the client can be personal or enterprise, and when user is personal, user can use it
The information such as cell-phone number, mailbox complete account registration, by improving personal information in the client, for example, name, gender, body
The client is used after the information such as part card number;When user is enterprise, user can use the information such as enterprise's mailbox and complete account
Registration, by the perfect enterprise information in the client, for example, the information such as enterprise name, address, phone, Taxpayer Identification Number
The client is used afterwards.
User first has to obtain electronic invoice, client can be to data when using client reimbursement electronic invoice
Shared server sends electronic invoice acquisition request, by the first identifier for carrying the first user in electronic invoice acquisition request
Information obtains the electronic invoice for belonging to the user in data sharing server.
Specifically, the first identifier information is for uniquely identifying first user;The first identifier information can have more
Kind of existing way, including but not limited to can the information of first user generates according to identification information, or this
One user is the subscriber-coded etc. of its distribution in register account number.Preferably, when first user is enterprise, first user
First identifier information can be the Taxpayer Identification Number of the enterprise.
S102: the information for the first electronic invoice that the data sharing server returns is received;Wherein, first electronics
The first user's for belonging to the first identifier information that invoice finds for the data sharing server, the electricity that do not submit an expense account
Sub- invoice.
Electronic invoice is previously stored in data sharing server, client sends electronic invoice to data sharing server
Acquisition request, data sharing server can be deposited according to the first identifier information carried in electronic invoice acquisition request in advance
Search the first user for belonging to first identifier information expression in the electronic invoice of storage, the first electronic invoice for not submitting an expense account,
And the information of the first electronic invoice is returned into the client.
Specifically, all electronic invoices of all users be can store in data sharing server, each user can be
At least 0 electronic invoice is stored in data sharing server, wherein each electronic invoice is corresponding with the mark for the user that it is belonged to
Know information, data sharing server can be directed to the identification information of each user, save the electronic invoice for belonging to the user.Cause
This data sharing server can find according to the first identifier information in electronic invoice acquisition request and belong to first mark
Know the electronic invoice of the first user of information.And each electronic invoice stored in data sharing server records respectively it
Corresponding reimbursement state was not submitted an expense account for example, the electronic invoice submitted an expense account can recorde to have submitted an expense account state
Electronic invoice can recorde not submit an expense account state.
S103: first electronic invoice being submitted and is submitted an expense account, and is sent out after reimbursement is completed to the data sharing server
The information for sending first electronic invoice to submit an expense account indicates that first electronic invoice is recorded as by the data sharing server
It has submitted an expense account.
First electronic invoice can be submitted to reimbursement finance after the information for receiving the first electronic invoice by client
Software carries out the reimbursement that keeps accounts, and client determine first electronic invoice keep accounts reimbursement after the completion of, to data sharing server
The information that first electronic invoice has been submitted an expense account is sent, which is recorded as having reported by designation date shared server
Pin.Specifically, for reimbursement financial software when submitting an expense account first electronic invoice, high-ranking accountant can be according to client submission
Electronic invoice achieve and be kept accounts by electronic invoice, operation reimbursement financial software, completes the reimbursement of electronic invoice, and reimbursement finance are soft
The information that part can be completed after reimbursement is completed to the reimbursement of client feedback first electronic invoice, client is by detecting whether
The information that first electronic invoice reimbursement is completed is received, determines whether first electronic invoice keeps accounts to submit an expense account and completes.Specifically
The process of client reimbursement electronic invoice belongs to the prior art, in embodiments of the present invention to the process without repeating.
Specifically, data sharing server by the first electronic invoice be recorded as the method submitted an expense account can there are many, including
But it is not limited to the addition of the first electronic invoice and has submitted an expense account mark, or the reimbursement record of the first electronic invoice of change.For example, when first
Electronic invoice is to identify when not submitting an expense account state without reimbursement, after the completion of its reimbursement, by adding in the first electronic invoice
The method of reimbursement mark is recorded as having submitted an expense account;Or when the first electronic invoice is not submit an expense account state, reimbursement is recorded as
0, after the completion of its reimbursement, it is recorded as having submitted an expense account by being submitted an expense account the method that record modification is 1.
Since client is connect by sending the electronic invoice acquisition request with first identifier information in the embodiment of the present invention
Receive the first user for belonging to first identifier information that data sharing server returns, the letter for the first electronic invoice that do not submit an expense account
After breath, the first electronic invoice is submitted and is submitted an expense account, and sends after the completion of reimbursement the information that the first electronic invoice has been submitted an expense account, indicated number
The first electronic invoice is recorded as having submitted an expense account according to shared server, realizes the electronic invoice effect i.e. allowable without printing,
Resource is saved, and by the way that the electronic invoice submitted an expense account to be recorded as having submitted an expense account, avoids same electronic invoice and repeats to report
The problem of pin.
Embodiment 2:
In order to guarantee safety of the electronic invoice in transmission process, on the basis of the above embodiments, of the invention real
It applies in example, it is described by first electricity after the information for receiving the first electronic invoice that the data sharing server returns
Sub- invoice is submitted before reimbursement, which comprises
According to the corresponding private key of the first user of the first identifier information of preservation, to the letter of first electronic invoice
Breath is decrypted.
The private key of the first user is preserved in the embodiment of the present invention, in client, wherein the private key of the first user is certification
Center (Certificate Authority, CA) is the private key of the first user distribution.
Specifically, the information for the first electronic invoice that client receives can be to be added using the public key of the first user
Information after close;When generating the first electronic invoice, to the public key of the first user of use of information of the first electronic invoice of generation
It is encrypted, it is ensured that safety of the information of the first electronic invoice in transmission, as long as the private key of the first user is not revealed,
Even if the information of first electronic invoice is intercepted and captured by attacker, attacker can not also obtain the information of the first electronic invoice, thus
It ensure that the safety of the information of the first electronic invoice.
After client receives the information of the first electronic invoice of data sharing server return, by the first electronic invoice
Before submitting reimbursement, the information of the first electronic invoice is decrypted using the corresponding private key of the first user, and then obtains first
The information of electronic invoice.
Embodiment 3:
In order to confirm that the content of electronic invoice is not tampered with, and the authenticity of electronic invoice is confirmed, in above-described embodiment
On the basis of, in embodiments of the present invention, the information of first electronic invoice includes:
Data file, layout files and the first digest of first electronic invoice, wherein recorded in the data file
There is the content of first electronic invoice, layout files is the file of the PDF format of first electronic invoice, the first abstract label
First summary info of the entitled content for extracting the first electronic invoice in the data file, uses first summary info
Issue the digest obtained after the private key signature of the second user of first electronic invoice;
It is described by first electricity after the information for receiving the first electronic invoice that the data sharing server returns
Sub- invoice is submitted before reimbursement, which comprises
First digest is decrypted using the public key for the second user for issuing first electronic invoice, obtains institute
State the first summary info;And extract the second summary info of the content of the first electronic invoice recorded in data file;
Judge whether first summary info and second summary info are identical;
If identical, subsequent step is carried out.
In the embodiment of the present invention, the data file of the first electronic invoice is the text generated according to the content of the first electronic invoice
Part, record has a content of first electronic invoice in the data file of first electronic invoice, and file format includes but unlimited
Yu Weike expands mark language XML format or object tag JSON format or text document TXT format etc., remembers in data file
Record has all information of the content of first electronic invoice, and the content of electronic invoice includes: the invoice codes of electronic invoice, invoice
Number, date of making out an invoice, transaction amount, the side's of making out an invoice information, drawee party information, trading item etc..Wherein, layout files be this first
The file of the PDF format of electronic invoice, client by show the layout files, user can intuitively see very much this first
The content of electronic invoice obtains the information for including in first electronic invoice.
Specifically, the second user of first electronic invoice is issued when issuing first electronic invoice, can use electricity
Sub- invoice server generates the information of first electronic invoice.Specifically, when generating the first digest, generate this first
After the data file of electronic invoice, the first summary info of the content by extracting the first electronic invoice in data file, and
First summary info is encrypted using the private key of second user, obtains the first digest.By being sent out in the first electronics
The first digest is carried in the information of ticket, after the information that client receives first electronic invoice, be can use and is issued
The public key decryptions of the second user of first electronic invoice first digest proves first electronics if can decrypt
The information of invoice is that the second user is issued really, ensure that the authenticity of first electronic invoice.
It, can after client decrypts first digest using the public key for the second user for issuing first electronic invoice
To obtain first summary info, and the of the content by extracting the first electronic invoice recorded in the data file received
Two summary infos;Since the first summary info is the summary info that extracts when first electronic invoice generates, it can be ensured that this
The authenticity of the content of first electronic invoice represented by one summary info, and the second summary info is the number that client receives
According to the summary info of the content of the first electronic invoice recorded in file, by the way that first summary info and second abstract are believed
Breath compares, and judges whether first summary info is identical as second summary info, it can be determined that first electronic invoice
Data file in the content of electronic invoice that records whether be tampered;When identical, determine that first electronic invoice is not usurped
Change, and when being determined that first summary info is identical as second summary info, progress is subsequent to mention first electronic invoice
The process for handing over reimbursement ensure that the first electronic invoice for submitting reimbursement is not tampered with.
Specifically, client can show the layout files and data text after receiving layout files and data file
Part makes user can see the content of the first electronic invoice recorded in layout files and data file, and then determines the format
The content of the first electronic invoice for including in file and data file is consistent.First electronic invoice is being submitted reimbursement by client
When, the data file of first electronic invoice can be submitted and be submitted an expense account, since the data file is easy to be interpreted by computer, thus
Financial staff can be made not need the content for being manually entered first electronic invoice, computer can be extracted directly in data file
First electronic invoice content.
If first summary info and second summary info be not identical, the method also includes:
Abandon first electronic invoice;Or
The warning message for carrying the information of first electronic invoice is sent to the data sharing server.
In the embodiment of the present invention, when judging that the first summary info and the second summary info be not identical, then this can be determined
The content of first electronic invoice has been tampered with, and cannot submit first electronic invoice submit an expense account at this time, can pass through discarding
First electronic invoice, avoids the electronic invoice being tampered from keeping accounts, and carries alternatively, can also send to data sharing server
The information of the warning message of the information of first electronic invoice, notification data shared server first electronic invoice is tampered,
To make data sharing server make corresponding reaction, for example, data sharing server can carry out security inspection etc..
Specifically, when judging that the first summary info and the second summary info be not identical, client can also be total to data
It enjoys server and sends the warning message for carrying the information of first electronic invoice, and abandon first electronic invoice.
In the embodiment of the present invention, in the case where user has got the information of electronic invoice, client can also be straight
Obtain the information for taking the electronic invoice of family input.Specifically, user gets the electricity after the public key encryption for being utilization user
The information of sub- invoice.
Specifically, client can be directed to user, locally record the electronic invoice submitted an expense account of the user, and client can be with
According to the electronic invoice that the user of local record has submitted an expense account, judge whether the electronic invoice of user's input has been submitted an expense account.Specifically,
When receiving the information of electronic invoice of user's input, client first determines whether the electronic invoice of user input belongs to
The electronic invoice that the user of local record has submitted an expense account is submitted an expense account if so, the electronic invoice can be submitted, and is completed in reimbursement
The information that first electronic invoice has been submitted an expense account is sent to data sharing server afterwards;It is reported if it is not, refusal submits the electronic invoice
Pin.
Fig. 2 is a kind of flow diagram of electronic invoice method of charging out provided in an embodiment of the present invention:
The information input client of first electronic invoice of encryption, client are utilized the first user by the S201: the first user
The information of the first electronic invoice that receives of private key decryption.
S202: judging whether first electronic invoice has kept accounts reimbursement, if so, executing S206;If it is not, executing S203.
S203: using the public key for the second user for issuing first electronic invoice to the in the information of the first electronic invoice
The decryption of one digest, obtains the first summary info;And extract the first electronic invoice recorded in data file content
Two summary infos.
S204: judging whether the first summary info and the second summary info are identical, if so, executing S205;If it is not, executing
S206。
S205: the first electronic invoice being submitted and is submitted an expense account, and adds first electronics hair in submitting record after the completion of reimbursement
Ticket has been filed on the record of reimbursement, and sends the information that first electronic invoice has been submitted an expense account to data sharing server.
S206: refusal, which is submitted, submits an expense account first electronic invoice, and abandons the information of first electronic invoice.
Embodiment 4:
Fig. 3 is a kind of flow chart of electronic invoice method of charging out provided in an embodiment of the present invention, and concrete processing procedure is such as
Under:
S301: data sharing server receives the electronic invoice acquisition request that client is sent;Wherein, the electronic invoice
The first identifier information of the first user is carried in acquisition request.
The electronic invoice method of charging out of the offer of the embodiment of the present invention is applied to data sharing server, data sharing clothes
Business device can receive the electronic invoice acquisition request of client transmission, extracts first carried in the electronic invoice acquisition request and uses
The first identifier information at family.
S302: according to the first identifier information carried in the electronic invoice acquisition request, in the electronics hair pre-saved
Search the first user for belonging to the first identifier information in ticket, the first electronic invoice for not submitting an expense account, and by described first
The information of electronic invoice is sent to the client.
It can store all electronic invoices of all users in data sharing server, each user can be in data sharing
At least 0 electronic invoice is stored in server, wherein each electronic invoice is corresponding with the identification information for the user that it is belonged to,
Data sharing server can find according to the first identifier information in electronic invoice acquisition request and belong to the first identifier
The electronic invoice of first user of information.And each electronic invoice stored in data sharing server records respectively has it each
Self-corresponding reimbursement state, for example, the electronic invoice submitted an expense account can recorde to have submitted an expense account state, the electricity that do not submitted an expense account
Sub- invoice can recorde not submit an expense account state.
Specifically, data sharing server searches ownership after the electronic invoice acquisition request for receiving client transmission
In the first user of first identifier information, the method for the first electronic invoice that do not submit an expense account include at least it is following several, for example, number
It can determine the first set for the electronic invoice that do not submit an expense account in the electronic invoice of its storage first according to shared server, then basis
The first identifier information in electronic invoice acquisition request received finds in the first set and belongs to first identifier letter
The first electronic invoice of first user of breath;Alternatively, data sharing server can be obtained according to the electronic invoice received first
The first identifier information in request is taken, determines the second collection of the electronic invoice for belonging to the first user of the first identifier information
It closes, and finds out the electronic invoice that do not submit an expense account in the second set as first electronic invoice etc..The first electronics is being determined
The information of first electronic invoice is sent to the client by a/d.
S303: the information that first electronic invoice that the client is sent has been submitted an expense account is received, by first electronics
Invoice is recorded as having submitted an expense account.
When the information of the first electronic invoice is sent to client by data sharing server, and submitted an expense account in the first electronic invoice
After the completion, the information that first electronic invoice that client is sent has been submitted an expense account is received, and first electronic invoice is recorded as
Reimbursement.
Specifically, the information that data sharing server has been submitted an expense account according to the first electronic invoice that client is sent, by this
One electronic invoice be recorded as the method submitted an expense account can there are many, including but not limited to for the first electronic invoice addition submitted an expense account mark
Know, or the reimbursement record of the first electronic invoice of change.For example, being marked when the first electronic invoice is not submit an expense account state without reimbursement
Know, after the completion of its reimbursement, is recorded as having submitted an expense account by the method for adding reimbursement mark in the first electronic invoice;Or
When the first electronic invoice is not submit an expense account state, reimbursement is recorded as 0, after the completion of its reimbursement, is repaired by being submitted an expense account record
The method for being changed to 1 is recorded as having submitted an expense account.
Due in the embodiment of the present invention data sharing server by receive client send have first identifier information
Electronic invoice acquisition request, searched in pre-stored electronic invoice according to first identifier information and belong to the first identifier
The user's of information, the first electronic invoice that do not submit an expense account, and the information of first electronic invoice is sent to client, make client
First electronic invoice is submitted an expense account according to the information of first electronic invoice in end, is sent out by receiving first electronics that client is sent
First electronic invoice is recorded as having submitted an expense account by the information that ticket has been submitted an expense account, and it is i.e. allowable without printing to realize electronic invoice
Effect saves resource, and by the way that the electronic invoice submitted an expense account to be recorded as having submitted an expense account, avoids same electronic invoice weight
The problem of submitting an expense account again.
Embodiment 5:
In order to guarantee safety of the electronic invoice in transmission process, on the basis of the above embodiments, of the invention real
It applies in example, the information by first electronic invoice is sent to before the client, which comprises
Receive and save encrypted first electronic invoice for belonging to the first user of electronic invoice server transmission
Information;Wherein, the information of first electronic invoice is encrypted using the corresponding public key of first user.
In the embodiment of the present invention, the information of the first electronic invoice is generated by electronic invoice server, and electronic invoice takes
The public key of the first user is pre-saved in business device, wherein the public key of the first user is the public affairs that the center CA is the first user distribution
Key.
In order to guarantee safety of the electronic invoice in transmission process, the first electricity that data sharing server receives and saves
The information of sub- invoice can be to utilize the information after the public key encryption of the first user.Electronic invoice server is generating the first electronics
When invoice, the public key of the first user of use of information of the first electronic invoice of generation is encrypted, it is ensured that the first electronics
Safety of the information of invoice in transmission, as long as the private key of the first user is not revealed, even if the information of first electronic invoice
It is intercepted and captured by attacker, attacker can not also obtain the information of the first electronic invoice, to ensure that the information of the first electronic invoice
Safety.
Embodiment 6:
Content in order to facilitate client confirmation electronic invoice is not tampered with, and confirms the authenticity of electronic invoice,
On the basis of above-described embodiment, in embodiments of the present invention, the information of first electronic invoice includes:
Data file, layout files and the first digest of first electronic invoice;
Wherein, electronic invoice server is raw according to the content of first electronic invoice when generating the first electronic invoice
At data file and layout files;Wherein, the content for having first electronic invoice, the format are recorded in the data file
File is the file of the PDF format of first electronic invoice;By extracting the first electronic invoice in the data file
First summary info of content, using the second user for issuing first electronic invoice private key to first summary info into
Row signature, generates the first digest;And the data file, layout files and the first digest are carried described first
In the information of electronic invoice.
In the embodiment of the present invention, the method that electronic invoice server can use the prior art generates the first electronic invoice,
In addition, electronic invoice server, while generating the first electronic invoice, can be generated according to the content of the first electronic invoice should
The data file and layout files of first electronic invoice, wherein the content of the first electronic invoice includes first electronic invoice
Invoice codes, invoice number, date of making out an invoice, transaction amount, the side's of making out an invoice information, drawee party information, trading item etc..Electronic invoice
Server when generating the first electronic invoice, can by the content of the first electronic invoice in xml format or JSON format, or
The formats such as person TXT are written in a file, generate the data file of first electronic invoice;And extract the first electronics of generation
The mirror image of invoice, is stored as PDF format, generates the layout files of the PDF format of first electronic invoice.
Specifically, electronic invoice server extracts the data text while generating the data file of the first electronic invoice
First summary info of the content of the first electronic invoice in part, and using the private for the second user for issuing first electronic invoice
Key encrypts first summary info, obtains the first digest.Wherein, the first digest can be carried in data text
In part, the data file of the first electronic invoice can be used as attachment addition in layout files.By by the data file, version
Formula file and the first digest carry in the information of first electronic invoice, receive first electronics hair in client
After the information of ticket, can according to the authenticity of the Information Authentication of first electronic invoice first electronic invoice, and judge this
Whether one electronic invoice is tampered, specifically, client receive the treatment process after the first electronic invoice may refer to it is above-mentioned
Embodiment, details are not described herein for the embodiment of the present invention.
The information for receiving first electronic invoice that the client is sent and having submitted an expense account further include:
Receive the warning message for the information for carrying first electronic invoice that the client is sent, and by described the
One electronic invoice is recorded as suspicious electronic invoice.
In the embodiment of the present invention, data sharing server can also receive client transmission carry the first electronic invoice
Warning message can be according to the first electronics carried in warning message after data sharing server receives warning message
The first electronic invoice saved in data sharing server is recorded as suspicious electronic invoice by invoice.Specifically, by the first electronics
Invoice is recorded as can be with electronic invoice there are many ways to, is including but not limited to that the first electronic invoice adds suspicious mark, or
Change the suspicious record of the first electronic invoice.For example, when the first electronic invoice is normal condition without suspicious mark, when connecing
When receiving warning message, suspicious electronic invoice is recorded as by the method for adding suspicious mark in the first electronic invoice;
It is suspicious to be recorded as 0 or when the first electronic invoice is normal condition, when receiving warning message, by the way that its is suspicious
The suspicious of electronic invoice that the method that record modification is 1 is recorded as suspicious electronic invoice or normal condition is recorded as 1,
When receiving warning message, by the way that its suspicious record modification is recorded as suspicious electronic invoice etc. for 0 method.
Data sharing server can use a variety of methods after first electronic invoice is recorded as suspicious electronic invoice
It avoids that first electronic invoice is sent to client again, can including but not limited to be preset in data sharing server
For storing the suspicious electronic invoice set of suspicious electronic invoice, by the way that first electronic invoice is recorded as suspicious electronic invoice
Afterwards, which is stored into suspicious electronic invoice set, avoids the first electronic invoice for being again tampered this
It is sent to client;Or data sharing server can also directly abandon first electronic invoice, and to generating first electricity
The electronic invoice server of sub- invoice sends the electronic invoice solicited message for carrying the identification information of first electronic invoice, makes this
Electronic invoice server sends the information of first electronic invoice to data sharing server again;Or data sharing server
It can be with alert, the information notifying system maintenance personnel that the first electronic invoice is tampered, so as to system maintenance personnel
Search the reason of first electronic invoice is tampered, patch system loophole.
Fig. 4 is a kind of flow diagram of electronic invoice method of charging out provided in an embodiment of the present invention:
S401: client sends electronic invoice acquisition request to data sharing server;Wherein, electronic invoice acquisition is asked
The first identifier information of the first user is carried in asking.
S402: data sharing server is according to the first identifier information carried in the electronic invoice acquisition request, preparatory
Search the first user for belonging to the first identifier information in the electronic invoice of preservation, the first electronic invoice for not submitting an expense account,
And the information of the first electronic invoice of encryption is sent to the client.
S403: client sends out first electronics according to the corresponding private key of the first user of the first identifier information of preservation
The information of ticket is decrypted, and obtains the information of the first electronic invoice;And using the second user for issuing first electronic invoice
Public key decrypts the first digest in the information of the first electronic invoice, obtains the first summary info;And extract data file
Second summary info of the content of the first electronic invoice of middle record.
S404: judging whether the first summary info and the second summary info are identical, if so, executing S405;If it is not, executing
S407。
S405: the first electronic invoice being submitted and is submitted an expense account, and adds first electronics hair in submitting record after the completion of reimbursement
Ticket has been filed on the record of reimbursement, and sends the information that first electronic invoice has been submitted an expense account to data sharing server.
S406: the information that data sharing server has been submitted an expense account according to the first electronic invoice received will wherein store
One electronic invoice is recorded as having submitted an expense account.
S407: client sends the warning message for carrying the information of first electronic invoice to data sharing server,
And abandon first electronic invoice.
S408: data sharing server, will wherein according to the warning message for carrying first electronic invoice received
First electronic invoice of storage is recorded as suspicious electronic invoice, and alert.
Embodiment 7:
Fig. 5 is a kind of structural schematic diagram for the device for being equipped with client provided in an embodiment of the present invention, described device packet
It includes:
Sending module 51, for sending electronic invoice acquisition request to data sharing server;Wherein, the electronic invoice
The first identifier information of the first user is carried in acquisition request;
First receiving module 52, for receiving the information for the first electronic invoice that the data sharing server returns;Its
In, first electronic invoice is the first use for belonging to the first identifier information that the data sharing server is found
Family, the electronic invoice that do not submit an expense account;
Sending module 53 is submitted, is submitted an expense account for submitting first electronic invoice, and to the number after reimbursement is completed
The information that first electronic invoice has been submitted an expense account is sent according to shared server, indicates the data sharing server by described first
Electronic invoice is recorded as having submitted an expense account.
Specifically, first receiving module 52, specifically for being used according to the first of the first identifier information of preservation
The information of first electronic invoice is decrypted in the corresponding private key in family.
Specifically, the information of first electronic invoice includes: the data file of the first electronic invoice, layout files and
One digest, wherein record has the content of first electronic invoice in the data file, and layout files is described first
The file of the PDF format of electronic invoice, the first digest are to extract the content of the first electronic invoice in the data file
The first summary info, to first summary info using the private key signature of the second user of issuing first electronic invoice after
Obtained digest;
First receiving module 52, specifically for the public key pair using the second user for issuing first electronic invoice
The first digest decryption, obtains first summary info;And extract the first electronic invoice recorded in data file
Content the second summary info;Judge whether first summary info and second summary info are identical;If identical,
It is issued to the submission sending module and sends instruction;
The submission sending module 53, after being instructed in the transmission for receiving the first receiving module sending,
First electronic invoice is submitted and is submitted an expense account, and sends first electronics to the data sharing server after reimbursement is completed
The information that invoice has been submitted an expense account indicates that first electronic invoice is recorded as having submitted an expense account by the data sharing server.
Specifically, first receiving module 52, if being also used to first summary info and the second abstract letter
Cease not identical, discarding first electronic invoice;Or if first summary info and second summary info be not identical,
The warning message for carrying the information of first electronic invoice is sent to the data sharing server.
Since client is connect by sending the electronic invoice acquisition request with first identifier information in the embodiment of the present invention
Receive the first user for belonging to first identifier information that data sharing server returns, the letter for the first electronic invoice that do not submit an expense account
After breath, the first electronic invoice is submitted and is submitted an expense account, and sends after the completion of reimbursement the information that the first electronic invoice has been submitted an expense account, indicated number
The first electronic invoice is recorded as having submitted an expense account according to shared server, realizes the electronic invoice effect i.e. allowable without printing,
Resource is saved, and by the way that the electronic invoice submitted an expense account to be recorded as having submitted an expense account, avoids same electronic invoice and repeats to report
The problem of pin.
Embodiment 8:
Fig. 6 is a kind of structural schematic diagram of data sharing server provided in an embodiment of the present invention, and the server includes:
Second receiving module 61, for receiving the electronic invoice acquisition request of client transmission;Wherein, the electronic invoice
The first identifier information of the first user is carried in acquisition request;
Sending module 62 is searched, for according to the first identifier information carried in the electronic invoice acquisition request, pre-
The first user for belonging to the first identifier information is searched in the electronic invoice first saved, the first electronics hair that do not submit an expense account
Ticket, and the information of first electronic invoice is sent to the client;
Logging modle 63 is received, the information submitted an expense account for receiving first electronic invoice that the client is sent,
First electronic invoice is recorded as having submitted an expense account.
Specifically, second receiving module 61, specifically for being sent in the information by first electronic invoice
Before the client, encrypted first electricity for belonging to the first user of electronic invoice server transmission is received and saved
The information of sub- invoice;Wherein, the information of first electronic invoice is encrypted using the corresponding public key of first user.
Specifically, the reception logging modle 63, be also used to receive the client transmission carries first electricity
The warning message of the information of sub- invoice, and first electronic invoice is recorded as suspicious electronic invoice.
Due in the embodiment of the present invention data sharing server by receive client send have first identifier information
Electronic invoice acquisition request, searched in pre-stored electronic invoice according to first identifier information and belong to the first identifier
The user's of information, the first electronic invoice that do not submit an expense account, and the information of first electronic invoice is sent to client, make client
First electronic invoice is submitted an expense account according to the information of first electronic invoice in end, is sent out by receiving first electronics that client is sent
First electronic invoice is recorded as having submitted an expense account by the information that ticket has been submitted an expense account, and it is i.e. allowable without printing to realize electronic invoice
Effect saves resource, and by the way that the electronic invoice submitted an expense account to be recorded as having submitted an expense account, avoids same electronic invoice weight
The problem of submitting an expense account again.
Embodiment 9:
Fig. 7 is that a kind of electronic invoice provided in an embodiment of the present invention submits an expense account system schematic, the system comprises:
Client 71, data sharing server 72;Wherein, the client, for sending electricity to data sharing server
Sub- invoice acquisition request;Wherein, the first identifier information of the first user is carried in the electronic invoice acquisition request;Receive institute
State the information of the first electronic invoice of data sharing server return;Wherein, first electronic invoice is the data sharing
What server was found belongs to the first user of the first identifier information, the electronic invoice that do not submit an expense account;By described first
Electronic invoice submits reimbursement, and sends first electronic invoice to the data sharing server after reimbursement is completed and submitted an expense account
Information;
The data sharing server, for receiving the electronic invoice acquisition request of client transmission;Wherein, the electronics
The first identifier information of the first user is carried in invoice acquisition request;According to carried in the electronic invoice acquisition request
One identification information is searched the first user for belonging to the first identifier information in the electronic invoice pre-saved, is not reported
First electronic invoice of pin, and the information of first electronic invoice is sent to the client;Receive the client hair
The information that first electronic invoice sent has been submitted an expense account, first electronic invoice is recorded as having submitted an expense account.
Specifically, the implementation of the client and the data sharing server may refer to the implementation of method, repetition
Place repeats no more.
The system also includes: at least one electronic invoice server 73;The client is also used to the electricity belonging to it
Sub- invoice server sends the first electronic invoice and generates request, wherein first electronic invoice, which generates, carries described the in request
The information of the identification information of one user and the first electronic invoice to be generated;
The electronic invoice server generates request for receiving the first electronic invoice that the client is sent, generates
For the information of the first electronic invoice of first user, and by the identification information of first user and first electronics
The information of invoice is sent to the data sharing server, wherein the information of first electronic invoice includes: the first electronics hair
Data file, layout files and the first digest of ticket;Wherein, the electronic invoice server is generating the first electronic invoice
When, data file and layout files are generated according to the content of first electronic invoice;Wherein, recording in the data file has
The content of first electronic invoice, the layout files are the file of the PDF format of first electronic invoice;Pass through extraction
First summary info of the content of the first electronic invoice in the data file, using issuing the of first electronic invoice
The private key of two users signs to first summary info, generates the first digest;And it is the data file, format is literary
Part and the first digest carry in the information of first electronic invoice.
In the embodiment of the present invention, client can be directed to each user, be used to issue electronic invoice for each user distribution
Electronic invoice server, that is, when user log in client after, for the user currently logged in, client can determine that it is returned
The electronic invoice server of category.After second user logs in client, is issued when second user needs and belong to the first user
Electronic invoice when, the first electronic invoice information to be generated that the identification information of first user and needs can be issued is defeated
Enter client, and indicate that client sends electronic invoice to the electronic invoice server belonging to it and generates request, wherein electronics hair
Ticket generates the identification information that first user of second user input is carried in request and the first electronic invoice letter to be generated
Breath.
Electronic invoice server after the first electronic invoice for receiving client transmission generates request, generate for this
The information of the first electronic invoice of one user, the identification information for establishing the first user are corresponding with the information of first electronic invoice
Relationship saves and sends the information of first electronic invoice and its identification information of corresponding first user to data sharing service
Device receives and saves the information of first electronic invoice and its mark letter of corresponding first user so as to data sharing server
Breath.
The electronic invoice stored in data sharing server is from the electronic invoice server for generating electronic invoice.Data
Shared server can establish data connection relationship with multiple electronic invoice servers, wherein multiple electronic invoice servers are logical
Unified communication protocol realization is crossed to interact with the data information between data sharing server;Specifically, above-mentioned unified communication
Agreement includes but is not limited to ICP/IP protocol.
For the electronic invoice server for generating electronic invoice, it is right that each electronic invoice server can have its
The unique electronic invoice server identification answered.Each electronic invoice server can be corresponded to when generating electronic invoice
Electronic invoice server identification carrying be sent to data sharing server in the information of the electronic invoice of generation.In this way, number
In information according to each electronic invoice stored in shared server, the electronic invoice service for generating the electronic invoice is carried
The mark of device can determine the electronic invoice server for generating the electronic invoice by the mark of the electronic invoice server.
Specifically, can have for the method that each electronic invoice server generates its corresponding electronic invoice server identification
It very much, can be including but not limited to each electronics hair according to information such as building time, the building sites of electronic invoice server
Ticket server generates electronic invoice server identification, or when establishing each electronic invoice server, is each electronic invoice
Its corresponding electronic invoice server identification of server settings etc..
Client can send electronic invoice inquiry to the electronic invoice server belonging to it and ask when inquiring electronic invoice
It asks, wherein the first identifier information of the first user is carried in electronic invoice inquiry request;When electronic invoice server receives
Client send electronic invoice inquiry request after, can according to the first identifier information carried in electronic invoice inquiry request,
Inquire the first electronics hair that, with the presence or absence of the user for belonging to the first identifier information, do not submit an expense account in the electronic invoice of its preservation
Ticket.
When it is present, the information of first electronic invoice can be sent to the client, client by electronic invoice server
First electronic invoice can be submitted and be submitted an expense account according to the information of the first electronic invoice received by end, and after reimbursement is completed to
Electronic invoice server sends the information that first electronic invoice has been submitted an expense account;The electronic invoice server receives client transmission
The information submitted an expense account of first electronic invoice after, which is recorded as having submitted an expense account.
When it be not present, electronic invoice server can return to the response message for not inquiring result to the client, this
When client can obtain electronic invoice by sending electronic invoice acquisition request to data sharing server.
It, can be according to the electronics when some electronic invoice wherein stored is recorded as having submitted an expense account by data sharing server
The electronic invoice server identification carried in invoice, by recording synchronism that the electronic invoice has been submitted an expense account to generating the electronic invoice
Electronic invoice server makes the electronic invoice being stored in the electronic invoice server while being recorded as having submitted an expense account.Equally, when
When some electronic invoice wherein stored is recorded as having submitted an expense account by electronic invoice server, which can be submitted an expense account
Recording synchronism makes the electronic invoice being stored in data sharing server while being recorded as having reported to data sharing server
Pin.
Specifically, data sharing server and each electronic invoice server can be mutually synchronized electronics using a variety of methods
The reimbursement of invoice records, including but not limited to can be with real-time synchronization, or sets synchronizing cycle, after reaching synchronizing cycle,
Synchronizing information has been submitted an expense account in realization.Such as: method one: some electronic invoice can be recorded in electronic invoice server and submitted an expense account
Meanwhile the synchronizing information for having submitted an expense account the electronic invoice is to data sharing server, and records some in data sharing server
Electronic invoice is the synchronizing information of having submitted an expense account the electronic invoice while submitted an expense account to electronic invoice server;Method two: it sets
Determine synchronizing cycle, after reaching synchronizing cycle, data sharing server and each electronic invoice server are mutually synchronized all electricity
The reimbursement of sub- invoice records.
Preferably, being recorded in data sharing server and electronic invoice server to guarantee that electronic invoice has been submitted an expense account
Synchronism can submit an expense account record using the electronic invoice synchronous with the method that method two combines of the above method one.That is, in electronics
It is that while reimbursement, synchronizing information to the data which has submitted an expense account are total to that invoice server, which records some electronic invoice,
Server is enjoyed, and while it is to have submitted an expense account that data sharing server, which records some electronic invoice, which has been submitted an expense account
Synchronizing information to electronic invoice server, and set synchronizing cycle, after reaching synchronizing cycle, data sharing server and every
A electronic invoice server is mutually synchronized the record of reimbursement of all electronic invoices.
Specifically, the electronic invoice server is specifically used for using the corresponding public key of first user to described the
The information of one electronic invoice is encrypted, and the information of encrypted first electronic invoice is sent to the data sharing service
Device;
The data sharing server belongs to the specifically for receive and save that the electronic invoice server sends
The information of encrypted first electronic invoice of one user.
Since client is connect by sending the electronic invoice acquisition request with first identifier information in the embodiment of the present invention
Receive the first user for belonging to first identifier information that data sharing server returns, the letter for the first electronic invoice that do not submit an expense account
After breath, the first electronic invoice is submitted and is submitted an expense account, and sends after the completion of reimbursement the information that the first electronic invoice has been submitted an expense account, indicated number
The first electronic invoice is recorded as having submitted an expense account according to shared server, realizes the electronic invoice effect i.e. allowable without printing,
Resource is saved, and by the way that the electronic invoice submitted an expense account to be recorded as having submitted an expense account, avoids same electronic invoice and repeats to report
The problem of pin.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or an operation are distinguished with another entity or another operation, without necessarily requiring or implying these entities
Or there are any actual relationship or orders between operation.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the application range.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (18)
1. a kind of electronic invoice method of charging out characterized by comprising
Client sends electronic invoice acquisition request to data sharing server;Wherein, it is taken in the electronic invoice acquisition request
First identifier information with the first user;
Receive the information for the first electronic invoice that the data sharing server returns;Wherein, first electronic invoice is institute
State the first user for belonging to the first identifier information that data sharing server is found, the electronic invoice that do not submit an expense account;
First electronic invoice is submitted and is submitted an expense account, and sends described first to the data sharing server after reimbursement is completed
The information that electronic invoice has been submitted an expense account indicates that first electronic invoice is recorded as having submitted an expense account by the data sharing server.
2. the method as described in claim 1, which is characterized in that first electricity for receiving the data sharing server and returning
After the information of sub- invoice, before the submission reimbursement by first electronic invoice, which comprises
According to the corresponding private key of the first user of the first identifier information of preservation, to the information of first electronic invoice into
Row decryption.
3. method according to claim 1 or 2, which is characterized in that the information of first electronic invoice includes:
Data file, layout files and the first digest of first electronic invoice, wherein recorded in the data file
The content of the first electronic invoice is stated, layout files is the file of the PDF format of first electronic invoice, and the first digest is
The first summary info for extracting the content of the first electronic invoice in the data file uses first summary info and issues
The digest obtained after the private key signature of the second user of first electronic invoice;
It is described to send out first electronics after the information for receiving the first electronic invoice that the data sharing server returns
Tickets-raise up hands over before reimbursement, which comprises
First digest is decrypted using the public key for the second user for issuing first electronic invoice, obtains described the
One summary info;And extract the second summary info of the content of the first electronic invoice recorded in data file;
Judge whether first summary info and second summary info are identical;
If identical, subsequent step is carried out.
4. method as claimed in claim 3, which is characterized in that if first summary info and second summary info
It is not identical, the method also includes:
Abandon first electronic invoice;Or
The warning message for carrying the information of first electronic invoice is sent to the data sharing server.
5. a kind of electronic invoice method of charging out characterized by comprising
Data sharing server receives the electronic invoice acquisition request that client is sent;Wherein, the electronic invoice acquisition request
In carry the first identifier information of the first user;
According to the first identifier information carried in the electronic invoice acquisition request, searches and return in the electronic invoice pre-saved
Belong to the first user of the first identifier information, the first electronic invoice that do not submit an expense account, and by first electronic invoice
Information is sent to the client;
The information that first electronic invoice that the client is sent has been submitted an expense account is received, first electronic invoice is recorded as
It has submitted an expense account.
6. method as claimed in claim 5, which is characterized in that the information by first electronic invoice is sent to described
Before client, which comprises
Receive and save the information of encrypted first electronic invoice for belonging to the first user of electronic invoice server transmission;
Wherein, the information of first electronic invoice is encrypted using the corresponding public key of first user.
7. such as method described in claim 5 or 6, which is characterized in that the information of first electronic invoice includes:
Data file, layout files and the first digest of first electronic invoice;
Wherein, electronic invoice server generates number according to the content of first electronic invoice when generating the first electronic invoice
According to file and layout files;Wherein, the content for having first electronic invoice, the layout files are recorded in the data file
For the file of the PDF format of first electronic invoice;By the content for extracting the first electronic invoice in the data file
The first summary info, first summary info is signed using the private key for the second user for issuing first electronic invoice
Name generates the first digest;And the data file, layout files and the first digest are carried in first electronics
In the information of invoice.
8. method as claimed in claim 5, which is characterized in that first electronics hair for receiving the client and sending
The information that ticket has been submitted an expense account further include:
The warning message for the information for carrying first electronic invoice that the client is sent is received, and electric by described first
Sub- invoice is recorded as suspicious electronic invoice.
9. a kind of device for being equipped with client characterized by comprising
Sending module, for sending electronic invoice acquisition request to data sharing server;Wherein, the electronic invoice acquisition is asked
The first identifier information of the first user is carried in asking;
First receiving module, for receiving the information for the first electronic invoice that the data sharing server returns;Wherein, described
First electronic invoice is the first user's for belonging to the first identifier information that the data sharing server is found, not
The electronic invoice of reimbursement;
Sending module is submitted, is submitted an expense account for submitting first electronic invoice, and to the data sharing after reimbursement is completed
Server sends the information that first electronic invoice has been submitted an expense account, and indicates that the data sharing server sends out first electronics
Ticket is recorded as having submitted an expense account.
10. device as claimed in claim 9, which is characterized in that first receiving module, specifically for the institute according to preservation
The corresponding private key of the first user for stating first identifier information, is decrypted the information of first electronic invoice.
11. the device as described in claim 9 or 10, which is characterized in that the information of first electronic invoice includes:
Data file, layout files and the first digest of first electronic invoice, wherein recorded in the data file
The content of the first electronic invoice is stated, layout files is the file of the PDF format of first electronic invoice, and the first digest is
The first summary info for extracting the content of the first electronic invoice in the data file uses first summary info and issues
The digest obtained after the private key signature of the second user of first electronic invoice;
First receiving module, specifically for the public key using the second user for issuing first electronic invoice to described the
The decryption of one digest, obtains first summary info;And extract the content of the first electronic invoice recorded in data file
The second summary info;Judge whether first summary info and second summary info are identical;If identical, Xiang Suoshu
It submits sending module to issue and sends instruction;
The submission sending module will be described after instructing in the transmission for receiving the first receiving module sending
First electronic invoice submits reimbursement, and has sent first electronic invoice to the data sharing server after reimbursement is completed
The information of reimbursement indicates that first electronic invoice is recorded as having submitted an expense account by the data sharing server.
12. device as claimed in claim 11, which is characterized in that first receiving module, if being also used to described first
Summary info and second summary info be not identical, abandons first electronic invoice;Or if first summary info
Not identical with second summary info, Xiang Suoshu data sharing server sends the information for carrying first electronic invoice
Warning message.
13. a kind of data sharing server characterized by comprising
Second receiving module, for receiving the electronic invoice acquisition request of client transmission;Wherein, the electronic invoice acquisition is asked
The first identifier information of the first user is carried in asking;
Sending module is searched, for pre-saving according to the first identifier information carried in the electronic invoice acquisition request
Electronic invoice in search the first user for belonging to the first identifier information, the first electronic invoice for not submitting an expense account, and will
The information of first electronic invoice is sent to the client;
Logging modle is received, the information submitted an expense account for receiving first electronic invoice that the client is sent will be described
First electronic invoice is recorded as having submitted an expense account.
14. data sharing server as claimed in claim 13, which is characterized in that second receiving module is specifically used for
Before the information by first electronic invoice is sent to the client, electronic invoice server hair is received and saved
That send belongs to the information of encrypted first electronic invoice of the first user;Wherein, the information of first electronic invoice is adopted
It is encrypted with the corresponding public key of first user.
15. data sharing server as claimed in claim 13, which is characterized in that the reception logging modle is also used to connect
Receive the warning message for the information for carrying first electronic invoice that the client is sent, and by first electronic invoice
It is recorded as suspicious electronic invoice.
16. a kind of electronic invoice submits an expense account system, which is characterized in that including client, data sharing server;Wherein,
The client, for sending electronic invoice acquisition request to data sharing server;Wherein, the electronic invoice obtains
The first identifier information of the first user is carried in request;Receive the first electronic invoice that the data sharing server returns
Information;Wherein, first electronic invoice belongs to the first identifier information for what the data sharing server was found
The first user, the electronic invoice do not submitted an expense account;First electronic invoice is submitted and is submitted an expense account, and the Xiang Suoshu after reimbursement is completed
Data sharing server sends the information that first electronic invoice has been submitted an expense account;
The data sharing server, for receiving the electronic invoice acquisition request of client transmission;Wherein, the electronic invoice
The first identifier information of the first user is carried in acquisition request;According to the first mark carried in the electronic invoice acquisition request
Know information, the first user for belonging to the first identifier information is searched in the electronic invoice pre-saved, is not submitted an expense account
First electronic invoice, and the information of first electronic invoice is sent to the client;Receive what the client was sent
First electronic invoice is recorded as having submitted an expense account by the information that first electronic invoice has been submitted an expense account.
17. system as claimed in claim 16, which is characterized in that the system also includes: at least one electronic invoice service
Device;
The client, is also used to send the first electronic invoice to the electronic invoice server belonging to it and generates request, wherein institute
It states the first electronic invoice and generates the identification information for carrying first user in request and the first electronic invoice letter to be generated
Breath;
The electronic invoice server generates request for receiving the first electronic invoice that the client is sent, and generation is directed to
The information of the first electronic invoice of first user, and by the identification information of first user and first electronic invoice
Information be sent to the data sharing server, wherein the information of first electronic invoice includes: the first electronic invoice
Data file, layout files and the first digest;Wherein, the electronic invoice server is when generating the first electronic invoice,
Data file and layout files are generated according to the content of first electronic invoice;Wherein, it is recorded in the data file
The content of the first electronic invoice is stated, the layout files is the file of the PDF format of first electronic invoice;By extracting institute
The first summary info for stating the content of the first electronic invoice in data file, using issuing the second of first electronic invoice
The private key of user signs to first summary info, generates the first digest;And by the data file, layout files
It is carried in the information of first electronic invoice with the first digest.
18. system as claimed in claim 17, which is characterized in that the electronic invoice server is specifically used for described in use
The corresponding public key of first user encrypts the information of first electronic invoice, and by encrypted first electronic invoice
Information is sent to the data sharing server;
The data sharing server belongs to the first use specifically for receive and save that the electronic invoice server sends
The information of encrypted first electronic invoice at family.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711446832.6A CN109978479A (en) | 2017-12-27 | 2017-12-27 | A kind of electronic invoice method of charging out, device, data sharing server and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711446832.6A CN109978479A (en) | 2017-12-27 | 2017-12-27 | A kind of electronic invoice method of charging out, device, data sharing server and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109978479A true CN109978479A (en) | 2019-07-05 |
Family
ID=67071700
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711446832.6A Pending CN109978479A (en) | 2017-12-27 | 2017-12-27 | A kind of electronic invoice method of charging out, device, data sharing server and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109978479A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111222927A (en) * | 2019-12-26 | 2020-06-02 | 大象慧云信息技术有限公司 | Method and system for acquiring invoice data in real time |
CN111415234A (en) * | 2020-03-06 | 2020-07-14 | 重庆远见金税通信息***技术有限公司 | Bill reimbursement management system and method for enterprise |
CN111444868A (en) * | 2020-03-31 | 2020-07-24 | 重庆远见金税通信息***技术有限公司 | Bill duplicate checking system and method based on smart phone |
CN112801765A (en) * | 2020-12-29 | 2021-05-14 | 珠海金山办公软件有限公司 | Generating method, device and system of reimbursement file, electronic equipment and storage medium |
CN113704823A (en) * | 2021-08-30 | 2021-11-26 | 长城计算机软件与***有限公司 | Reimbursement processing method, system, storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1694104A (en) * | 2004-05-09 | 2005-11-09 | 王晓东 | Electronic bill |
CN104715402A (en) * | 2013-12-17 | 2015-06-17 | 航天信息股份有限公司 | Electronic invoice generation method based on digital signatures |
CN106600394A (en) * | 2016-12-29 | 2017-04-26 | 百望电子***数据服务有限公司 | Method and system for reimbursement recording of electronic proof |
CN106952125A (en) * | 2017-03-28 | 2017-07-14 | 百望电子***数据服务有限公司 | A kind of electronic invoice data processing method and electronic invoice platform and system |
CN106971323A (en) * | 2017-03-20 | 2017-07-21 | 东港股份有限公司 | The method for improving electronic invoice system security |
-
2017
- 2017-12-27 CN CN201711446832.6A patent/CN109978479A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1694104A (en) * | 2004-05-09 | 2005-11-09 | 王晓东 | Electronic bill |
CN104715402A (en) * | 2013-12-17 | 2015-06-17 | 航天信息股份有限公司 | Electronic invoice generation method based on digital signatures |
CN106600394A (en) * | 2016-12-29 | 2017-04-26 | 百望电子***数据服务有限公司 | Method and system for reimbursement recording of electronic proof |
CN106971323A (en) * | 2017-03-20 | 2017-07-21 | 东港股份有限公司 | The method for improving electronic invoice system security |
CN106952125A (en) * | 2017-03-28 | 2017-07-14 | 百望电子***数据服务有限公司 | A kind of electronic invoice data processing method and electronic invoice platform and system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111222927A (en) * | 2019-12-26 | 2020-06-02 | 大象慧云信息技术有限公司 | Method and system for acquiring invoice data in real time |
CN111415234A (en) * | 2020-03-06 | 2020-07-14 | 重庆远见金税通信息***技术有限公司 | Bill reimbursement management system and method for enterprise |
CN111444868A (en) * | 2020-03-31 | 2020-07-24 | 重庆远见金税通信息***技术有限公司 | Bill duplicate checking system and method based on smart phone |
CN111444868B (en) * | 2020-03-31 | 2023-05-23 | 重庆远见金税通信息***技术有限公司 | Bill weight verification system and method based on smart phone |
CN112801765A (en) * | 2020-12-29 | 2021-05-14 | 珠海金山办公软件有限公司 | Generating method, device and system of reimbursement file, electronic equipment and storage medium |
CN112801765B (en) * | 2020-12-29 | 2024-05-03 | 珠海金山办公软件有限公司 | Method, device and system for generating reimbursement file, electronic equipment and storage medium |
CN113704823A (en) * | 2021-08-30 | 2021-11-26 | 长城计算机软件与***有限公司 | Reimbursement processing method, system, storage medium and electronic equipment |
CN113704823B (en) * | 2021-08-30 | 2024-03-29 | 新长城科技有限公司 | Reimbursement processing method, reimbursement processing system, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11568396B2 (en) | Method for using and revoking authentication information and blockchain-based server using the same | |
US11514440B2 (en) | Method for issuing authentication information and blockchain-based server using the same | |
CN109978479A (en) | A kind of electronic invoice method of charging out, device, data sharing server and system | |
CN110769035B (en) | Block chain asset issuing method, platform, service node and storage medium | |
DE60212577T2 (en) | METHOD AND DEVICE FOR CERTIFYING DATA | |
CN111292041B (en) | Electronic contract generation method, device, equipment and storage medium | |
CN108876374A (en) | The network identity certificate authentication method and system of block chain | |
CN108537046A (en) | A kind of online contract signature system and method based on block chain technology | |
KR20190126317A (en) | Information processing device and information processing method | |
CN109194651B (en) | Identity authentication method, device, equipment and storage medium | |
CN107171787B (en) | Data blind signing and storing method and system based on multiple Hash algorithm | |
CN103077461B (en) | System and method for applying for financial document using mobile communication device | |
CN109981287A (en) | A kind of code signature method and its storage medium | |
CN106330465A (en) | Processing method, server and system for distributed timestamp | |
CN110610418B (en) | Transaction state query method, system, device and storage medium based on block chain | |
CN110213232A (en) | A kind of fingerprint characteristic and key double verification method and apparatus | |
CN109726578A (en) | A kind of anti-fake solution of novel dynamic two-dimension code | |
CN109636392A (en) | The system and method for assets trustship transfer under a kind of chain | |
JP2006107247A (en) | Time stamping service system, time stamp information verification server apparatus and computer software | |
CN113761578A (en) | Document true checking method based on block chain | |
CN115705601A (en) | Data processing method and device, computer equipment and storage medium | |
CN112446701B (en) | Identity authentication method, equipment and storage device based on blockchain | |
CN106257483B (en) | Processing method, equipment and the system of electronic data | |
CN103647650A (en) | Rule definition based automatic signature/signature verification device and method | |
WO2023142441A1 (en) | Tag-based money receiving qr code payment method and payment device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190705 |