CN110378755A - Electronic invoice generation method, device, computer equipment and storage medium - Google Patents

Electronic invoice generation method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110378755A
CN110378755A CN201910544223.7A CN201910544223A CN110378755A CN 110378755 A CN110378755 A CN 110378755A CN 201910544223 A CN201910544223 A CN 201910544223A CN 110378755 A CN110378755 A CN 110378755A
Authority
CN
China
Prior art keywords
information
invoice
node
making out
block chain
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.)
Granted
Application number
CN201910544223.7A
Other languages
Chinese (zh)
Other versions
CN110378755B (en
Inventor
高建欣
王梦寒
魏威
赖骏
刘恩科
张宝
赵达悦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910544223.7A priority Critical patent/CN110378755B/en
Publication of CN110378755A publication Critical patent/CN110378755A/en
Application granted granted Critical
Publication of CN110378755B publication Critical patent/CN110378755B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0435Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Bioethics (AREA)
  • Educational Administration (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Primary Health Care (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application involves block chain, a kind of electronic invoice generation method, device, computer equipment and storage medium are provided.The described method includes: platform nodes of making out an invoice receive instruction of making out an invoice, make out an invoice information and tax office node address are carried in instruction of making out an invoice;Make out an invoice platform nodes according to tax office node address will make out an invoice information by block chain send tax office node;Platform nodes of making out an invoice get tax office node and generate information by information and electronic invoice by the audit that block chain is sent, and generate information by information and electronic invoice according to information of making out an invoice, audit and generate electronic invoice.It can guarantee that electronic invoice relevant information is not tampered using this method, reduce the pressure of tax office node server, improve the formation efficiency of electronic invoice.

Description

Electronic invoice generation method, device, computer equipment and storage medium
Technical field
This application involves Internet technical fields, set more particularly to a kind of electronic invoice generation method, device, computer Standby and storage medium.
Background technique
It makes out an invoice platform there are many electronic invoice currently on the market, enterprise is opened by the platform of making out an invoice for selecting oneself to trust Ticket, each platform of making out an invoice save information of making out an invoice respectively.To be Shui Ju supervision department when information is made out an invoice in audit, need from difference Platform of making out an invoice obtains information of making out an invoice and is audited, and platform of making out an invoice after the approval could generate electronic invoice.Currently, usually each Platform of making out an invoice is made out an invoice using Encryption Algorithm guarantee and safety of the information in transmission process and can not be tampered.Due to each to make out an invoice Platform causes Shui Ju supervision department to be needed when receiving and making out an invoice information to each platform of making out an invoice using different Encryption Algorithm respectively It is decrypted respectively, when auditing requested more, it is excessive to will lead to Shui Ju supervision department server stress, causes to make out an invoice flat Platform can not generate electronic invoice in time.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of electronics that can be improved electronic invoice formation efficiency Invoice generation method, device, computer equipment and storage medium.
A kind of electronic invoice generation method, which comprises
Instruction of making out an invoice is received, carries make out an invoice information and tax office node address in instruction of making out an invoice;
According to tax office node address will make out an invoice information by block chain send tax office node;
It gets the audit that tax office node is sent by block chain and information is generated by information and electronic invoice, according to making out an invoice Information, audit generate information by information and electronic invoice and generate electronic invoice.
In one of the embodiments, according to tax office node address will make out an invoice information by block chain send tax office node, Include:
According to making out an invoice, instruction obtains platform nodes private key of making out an invoice, and is generated using platform nodes private key of making out an invoice each in information of making out an invoice The encryption key of a field;
Using the encryption key of each field respectively to each field encryption in information of making out an invoice, encrypted letter of making out an invoice is obtained Encrypted information of making out an invoice is sent tax office node by block chain according to tax office node address by breath;
The authorization message to tax office node is got, includes the encryption corresponding with authorization field of authorization field in authorization message Authorization message is sent tax office node by key;
Tax office node is believed for receiving authorization message and getting encrypted information of making out an invoice from block chain using authorization The encrypted information of making out an invoice of encryption key decryption in breath, authorization field in the information that obtains making out an invoice simultaneously are obtained according to authorization field Information is generated by information and electronic invoice to audit.
Pass through information and electronics in the audit for getting tax office node and sending by block chain in one of the embodiments, Invoice generates information, is generated after information generates electronic invoice according to audit by information and electronic invoice, further includes:
Electronic invoice reimbursement instruction is received, reimbursement node address is got according to reimbursement instruction;
Reimbursement information is got according to electronic invoice reimbursement instruction, information will be submitted an expense account according to reimbursement node address and send reimbursement Node;
Node is submitted an expense account for receiving reimbursement information, is obtained from block chain according to reimbursement information and submits an expense account that information is corresponding makes out an invoice Information, audit generate information by information and electronic invoice and verify information of making out an invoice, audit and generated by information and electronic invoice Information generates information by information and electronic invoice according to information of making out an invoice, audit and generates electronic invoice when being verified;
Reimbursement node is also used to receive electronic invoice reimbursement and completes instruction, completes instruction according to reimbursement and generates electronic invoice Reimbursement label, information of making out an invoice, audit are generated information association by information and electronic invoice and uploaded in block chain by reimbursement label.
Pass through information and electronics in the audit for getting tax office node and sending by block chain in one of the embodiments, Invoice generates information, is generated after information generates electronic invoice according to audit by information and electronic invoice, further includes:
Refund application instruction is received, refund information and tax office node address are got according to refund application instruction;
Refund information is sent to tax office node by block chain according to tax office node address;
Tax office node gets the write-in of customs's node for receiving refund information, according to refund information from block chain Outlet information and logistics node write-in logistics information simultaneously get information of making out an invoice from block chain, audit and sent out by information and electronics Ticket generates information, verifies outlet information and whether logistics information is generated by information and electronic invoice with information of making out an invoice, audit and believed Breath is consistent;
Tax office node is also used to when being verified, and is generated refund and is verified information, refund is verified information, is opened Ticket information, audit are associated with write-in block chain with electronic invoice by information.
Tax office node is also used to receive refund trading instruction in one of the embodiments, and refund trading instruction carrying is moved back Refund numerical value is transferred to refund transaction section by block chain according to refund trading instruction by tax numerical value and refund transaction node address Dot address.
The method in one of the embodiments, further includes:
Financing application instruction is received, financing application information and bank node address are got according to financing application instruction;
Financing application information is sent to bank node by block chain according to bank node address;
Bank node for receiving financing application information, and from block chain get information of making out an invoice, audit passes through letter Breath and electronic invoice generate information, and whether verifying financing application information is raw by information and electronic invoice with information of making out an invoice, audit It is consistent at information, it when being verified, generates financing and is verified information, financing is verified information, information of making out an invoice, audit Write-in block chain is associated with electronic invoice by information.
Bank node is also used to receive financing transaction instruction in one of the embodiments, and financing transaction instruction, which carries, melts Numerical value and financing transaction node address are provided, financing numerical value is shifted by block chain by financing transaction node according to financing transaction instruction Address.
A kind of electronic invoice generating means, device include:
Command reception module carries with making out an invoice information and tax office node in instruction of making out an invoice for receiving instruction of making out an invoice Location;
Information sending module, for according to tax office node address will make out an invoice information by block chain send tax office node;
Invoice generation module passes through information and electronic invoice by the audit that block chain is sent for getting tax office node Information is generated, information is generated by information and electronic invoice according to information of making out an invoice, audit and generates electronic invoice.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
Instruction of making out an invoice is received, carries make out an invoice information and tax office node address in instruction of making out an invoice;
According to tax office node address will make out an invoice information by block chain send tax office node;
It gets the audit that tax office node is sent by block chain and information is generated by information and electronic invoice, according to making out an invoice Information, audit generate information by information and electronic invoice and generate electronic invoice.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
Instruction of making out an invoice is received, carries make out an invoice information and tax office node address in instruction of making out an invoice;
According to tax office node address will make out an invoice information by block chain send tax office node;
It gets the audit that tax office node is sent by block chain and information is generated by information and electronic invoice, according to making out an invoice Information, audit generate information by information and electronic invoice and generate electronic invoice.
Above-mentioned electronic invoice generation method, device, computer equipment and storage medium.Pass through platform nodes and the tax of making out an invoice In office's node access block chain, tax office node is made to get the information and by electronic invoice core of making out an invoice for platform of making out an invoice by block chain It generates information by information and electronic invoice to upload in block chain, the platform nodes that make to make out an invoice get letter of making out an invoice from block chain Breath, audit generate information by information and electronic invoice and generate electronic invoice, ensure that electronic invoice relevant information is not tampered, The pressure for reducing tax office node server, improves the formation efficiency of electronic invoice.
Detailed description of the invention
Fig. 1 is the application scenario diagram of electronic invoice generation method in one embodiment;
Fig. 2 is the flow diagram of electronic invoice generation method in one embodiment;
Fig. 3 is that authorization encrypts and decrypt the flow diagram for information of making out an invoice in one embodiment;
Fig. 4 is the flow diagram that electronic invoice is submitted an expense account in one embodiment;
Fig. 5 is the flow diagram that refund application is carried out in one embodiment;
Fig. 6 is the flow diagram that financing application is carried out in one embodiment;
Fig. 7 is the application scenario diagram of electronic invoice generation method in a specific embodiment;
Fig. 8 is the structural block diagram of electronic invoice generating means in one embodiment;
Fig. 9 is the internal structure chart of computer equipment in one embodiment;
Figure 10 is the internal structure chart of computer equipment in another embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Electronic invoice generation method provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, it opens Ticket platform nodes 102 are communicated by block chain network with tax office node 104.Platform nodes 102 of making out an invoice receive finger of making out an invoice It enables, carries make out an invoice information and tax office node address in instruction of making out an invoice;Platform nodes 102 of making out an invoice will be opened according to tax office node address Ticket information sends tax office node 104 by block chain;Platform nodes 102 of making out an invoice get tax office node 104 and are sent out by block chain The audit sent generates information by information and electronic invoice, generates letter by information and electronic invoice according to information of making out an invoice, audit Breath generates electronic invoice.Wherein, block chain node includes making out an invoice platform nodes 102 and tax office node 104 can be, but not limited to is Various personal computers, laptop, smart phone, tablet computer and portable wearable device, can also be with independent The server cluster of server either multiple servers composition is realized.
In one embodiment, as shown in Fig. 2, providing a kind of electronic invoice generation method, it is applied to Fig. 1 in this way In platform nodes of making out an invoice be connected in example and be illustrated, comprising the following steps:
S202 receives instruction of making out an invoice, and carries make out an invoice information and tax office node address in instruction of making out an invoice.
Wherein, platform nodes of making out an invoice refer to the node server in access block chain, and information of making out an invoice refers to for generating electricity The information of each field in sub- invoice, such as enterprise name of making out an invoice, enterprise address, enterprise's duty paragraph, make out an invoice bank and bank of making out an invoice Account etc..Tax office node address refers to address of the tax office node in block chain, for identifying the section of the tax office in the block chain Point can be a string of character strings, which is used to receive the information of other block chain nodes transmission, the tax office node Address can be according to the generation of the public key of block chain node, be also possible to the IP address of the tax office node.
Specifically, platform nodes of making out an invoice receive instruction of making out an invoice, and carry make out an invoice information and tax office node in instruction of making out an invoice Address.
S202, according to tax office node address will make out an invoice information by block chain send tax office node.
Wherein, block chain refers to the carrier and organizational form of operation block chain technology, block chain technology, abbreviation BT (Blockchain technology), also referred to as distributed account book technology, is a kind of internet database technology, its main feature is that It is decentralization, open and clear.Everyone is allowed to each may participate in data record.Block chain technology is tested using block linked data structure Card knows together algorithm with storing data, using distributed node to generate and more new data, guarantee data in the way of cryptography The safety of transmission and access is programmed using the intelligent contract being made of automatized script code and one kind of operation data is completely new Distributed basis framework and calculation.
Specifically, make out an invoice platform nodes according to tax office node address will make out an invoice information by block chain send tax office node, Tax office node receives the information of making out an invoice for platform nodes transmission of making out an invoice by block chain.In a specific embodiment, it makes out an invoice Platform nodes generate the timestamp of the information of making out an invoice, the public key encryption in block chain of the royalities office node information of making out an invoice, Encrypted information and the corresponding timestamp of making out an invoice is broadcasted into block chain in each node, each node is to this in block chain It is encrypted to make out an invoice information and corresponding timestamp is known together, when common recognition passes through, by the encrypted information and right of making out an invoice The timestamp write-in data block answered, which is added in block chain.
S202 gets tax office node by the audit that block chain is sent and generates information, root by information and electronic invoice Information is generated by information and electronic invoice according to information of making out an invoice, audit and generates electronic invoice.
Wherein, audit refers to tax office node to the signing messages of the electronic invoice by information.Electronic invoice generates information Refer to attribute information required for generating electronic invoice, such as timestamp, anti-counterfeiting mark, invoice format and invoice font etc..
Specifically, platform nodes of making out an invoice get tax office node and are sent out by the audit that block chain is sent by information and electronics Ticket generates information, generates information by information and electronic invoice according to information of making out an invoice, audit and generates electronic invoice.
In above-mentioned electronic invoice generation method, by making in will make out an invoice platform nodes and tax office node access block chain Tax office node by block chain get platform of making out an invoice make out an invoice information and by electronic invoice core it is raw by information and electronic invoice It is uploaded in block chain at information, the platform nodes that make to make out an invoice get information of making out an invoice from block chain, audit passes through information and electricity Sub- invoice generates information and generates electronic invoice, ensure that electronic invoice relevant information is not tampered, and reduces tax office node server Pressure, improve the formation efficiency of electronic invoice.
In one embodiment, as shown in topic 3, step S204, that is, platform nodes of making out an invoice will be opened according to tax office node address Ticket information sends tax office node by block chain, comprising steps of
S302, according to making out an invoice, instruction obtains platform nodes private key of making out an invoice, and using making out an invoice, platform nodes private key generates letter of making out an invoice The encryption key of each field in breath.
Wherein, platform nodes private key of making out an invoice refers to that block chain node generates the private key in a pair of secret keys using Encryption Algorithm. Wherein, Encryption Algorithm can include RSA (a kind of rivest, shamir, adelman) and ECDSA (elliptic curve with rivest, shamir, adelman Word signature algorithm) etc..
Specifically, platform nodes of making out an invoice according to instruction of making out an invoice get from the private key file of preservation platform nodes private of making out an invoice Key.The encryption key of each field in information of making out an invoice is generated using the platform nodes private key of making out an invoice.It makes out an invoice each of information Field is all corresponding with the encryption key of oneself.Wherein, the encryption key of the generation is generated using symmetric encipherment algorithm, this is right Encryption Algorithm is claimed to can be DES (Data Encryption Standard, data encryption standards) algorithm, 3DES (triple data Encryption Algorithm block encryption) algorithm, Blowfish (block encryption algorithm) algorithm, RC5 (block ciphers of changeable parameters) calculation Method and IDEA (international data encryption algorithm) algorithm etc..
S304 is obtained encrypted using the encryption key of each field respectively to each field encryption in information of making out an invoice It makes out an invoice information, encrypted information of making out an invoice is sent by block chain by tax office node according to tax office node address.
Wherein, tax office node address is address of the tax office node in block chain, which can be according to tax office node Public key generate, be also possible to the IP address of the tax office node.
Specifically, platform nodes of making out an invoice respectively add each field in information of making out an invoice using the encryption key of each field It is close, encrypted information of making out an invoice is obtained, encrypted information of making out an invoice is sent by block chain by tax office according to tax office node address Node.
S306, gets the authorization message to tax office node, includes that authorization field is corresponding with authorization field in authorization message Encryption key, send tax office node for authorization message and audit got by information and electronic invoice according to authorization field Generate information.
Wherein, authorization message refers to the information for checking the information of making out an invoice of encryption.Authorization field refers in information of making out an invoice The field that tax office node can be checked.The corresponding encryption key of authorization field refers to the corresponding encryption key of each authorization field.
Specifically, platform nodes of making out an invoice get the authorization message to tax office node, include authorization field in authorization message Encryption key corresponding with authorization field, sends tax office node for authorization message.For example, authorization message can be passed through short message Or the mode of mail is sent to tax office node.In a specific embodiment, the authorization message of platform nodes of making out an invoice can be with Tax office node is set to get authorization message by the mode under line, wherein to refer to really occurring, face to face, person to person under line Have through a series of limbs dynamically activities.
Tax office node is believed for receiving authorization message and getting encrypted information of making out an invoice from block chain using authorization The encrypted information of making out an invoice of encryption key decryption in breath, authorization field in the information that obtains making out an invoice simultaneously are obtained according to authorization field Information is generated by information and electronic invoice to audit.
Wherein, the information for referring to by information and expression making out an invoice signal auditing passing through is audited, mark is can be, is also possible to count Word signature etc..Electronic invoice generates information and refers to the generation essential element information of electronic invoice, such as timestamp, hair Tickets sample formula and invoice text information etc..
Specifically, after tax office node receives authorization message, encrypted information of making out an invoice is got from block chain, is used The encrypted information of making out an invoice of encryption key decryption in authorization message, the authorization field in the information that obtains making out an invoice then can will These authorization fields are shown by interface, and auditor is facilitated to audit.Authorize field errorless when auditor audits When, audit can be clicked by button at interface, then authorization node gets according to the click event and audits through information and electricity Sub- invoice generates information.
In the above-described embodiments, platform nodes private key of making out an invoice is obtained according to instruction of making out an invoice by making out an invoice platform nodes, used Platform nodes private key of making out an invoice generates the encryption key of each field in information of making out an invoice;Platform nodes of making out an invoice are added using each field Key to each field encryption in information of making out an invoice, obtains encrypted information of making out an invoice respectively, will be added according to tax office node address Information of making out an invoice after close sends tax office node by block chain;Platform nodes of making out an invoice get the authorization message to tax office node, Include authorization field encryption key corresponding with authorization field in authorization message, sends tax office node for authorization message;Tax office Node receives authorization message and gets encrypted information of making out an invoice from block chain, uses the encryption key solution in authorization message Close encrypted information of making out an invoice, the authorization field in the information that obtains making out an invoice;Tax office node gets audit according to authorization field and leads to It crosses information and electronic invoice generates information.Information of making out an invoice is encrypted by authorizing, node different in block chain can be awarded Power makes the available different information field of making out an invoice of node different in block chain, improves the safety for information of making out an invoice, block chain Node also facilitates by checking authorization field and carries out corresponding processing to information of making out an invoice.
In one embodiment, as shown in figure 4, after step S206, that is, tax office node is being got by block chain The audit of transmission generates information by information and electronic invoice, generates information by information and electronic invoice according to audit and generates electricity After sub- invoice, further comprise the steps of:
S402, receives electronic invoice reimbursement instruction, gets reimbursement node address according to reimbursement instruction.
Wherein, reimbursement node address, which refers in block chain, submits an expense account address of node, for identifying the reimbursement in the block chain Node, the reimbursement node can be enterprise-like corporation's node, are also possible to individual for the reimbursement to electronic invoice, the reimbursement node Node.The reimbursement node address can be according to the generation of the public key of block chain node, with being also possible to the IP of the reimbursement node Location
Specifically, platform nodes of making out an invoice receive electronic invoice reimbursement instruction, get reimbursement node according to reimbursement instruction Address.
S404 gets reimbursement information according to electronic invoice reimbursement instruction, will submit an expense account information hair according to reimbursement node address It delivers newspaper pin node.
Wherein, reimbursement information refers to the information of the electronic invoice to be submitted an expense account, and the audit that can be the electronic invoice passes through letter Breath is also possible to electronic invoice mark etc..
Specifically, platform nodes of making out an invoice are instructed according to electronic invoice reimbursement gets reimbursement information, according to reimbursement node Location will submit an expense account information by block chain and send reimbursement node.
Node is submitted an expense account for receiving reimbursement information, is obtained from block chain according to reimbursement information and submits an expense account that information is corresponding makes out an invoice Information, audit generate information by information and electronic invoice.
Specifically, reimbursement node be used for receive make out an invoice platform nodes transmission reimbursement information, according to the reimbursement information from Corresponding information and the electronic invoice generation information of making out an invoice of reimbursement information is got in block chain.For example, according in reimbursement information Audit by acquisition of information to corresponding audit by information, according to the audit by acquisition of information to it is associated make out an invoice information with Electronic invoice generates information.
Reimbursement node is also used to verify information of making out an invoice, audit and generates information by information and electronic invoice, when being verified When, information is generated by information and electronic invoice according to information of making out an invoice, audit and generates electronic invoice.
Specifically, reimbursement node is also used to verify information of making out an invoice, audit and generates information, reimbursement by information and electronic invoice Make out an invoice information, audit of node verification by information and electronic invoice generates information.Verify whether each field in information of making out an invoice has Effect, for example whether enterprise name correct, effectively and whether timestamp is effective etc. whether enterprise address.Verifying audit passes through information Whether effectively, audit can be got from tax office node to pass through information and verify whether to pass through information one with the audit in block chain It causes.When being verified, information is generated by information and electronic invoice according to information of making out an invoice, audit and generates electronic invoice, and will The electronic invoice in ERP (business application system needed for enterprise internal management) system or financial management software by being entered Account, to carry out reimbursement processing, when reimbursement processing is completed, reimbursement personnel pass through ERP system or financial management software to report It sells node and sends electronic invoice reimbursement completion instruction.
Reimbursement node is also used to receive electronic invoice reimbursement and completes instruction, completes instruction according to reimbursement and generates electronic invoice Reimbursement label, information of making out an invoice, audit are generated information association by information and electronic invoice and uploaded in block chain by reimbursement label.
Wherein, for unique identification, this has submitted an expense account completion electronic invoice to reimbursement label, can be character string or ID.
Specifically, instruction is completed in the electronic invoice reimbursement that reimbursement node is also used to receive user's transmission, according to having submitted an expense account Reimbursement label, information of making out an invoice, audit are generated letter by information and electronic invoice by the reimbursement label that electronic invoice is generated at instruction Breath association uploads in block chain.Tax office node can be marked by the reimbursement of block chain query to the electronic invoice, can be to electricity Sub- invoice flowchart process is monitored.
In one embodiment, platform nodes of making out an invoice, which send authorization message, submits an expense account node, adds when reimbursement node is got It is close make out an invoice information when, using the information of making out an invoice of the encryption key decryption encryption in authorization message, in the information that obtains making out an invoice Field is authorized, then, the authorization field in information of making out an invoice, audit is verified by information and electronic invoice and generates information, work as verifying By when, information is generated by information and electronic invoice according to the authorization field in information of making out an invoice, audit and generates electronic invoice,
In the above-described embodiments, electronic invoice reimbursement instruction is received by platform nodes of making out an invoice, is obtained according to reimbursement instruction Get reimbursement node address;Platform nodes of making out an invoice are instructed according to electronic invoice reimbursement gets reimbursement information, according to reimbursement node Address will submit an expense account information and send reimbursement node;It submits an expense account node and receives reimbursement information, report is obtained from block chain according to reimbursement information It sells the corresponding information of making out an invoice of information, audit and information is generated by information and electronic invoice;Reimbursement node verification make out an invoice information, audit Information is generated by information and electronic invoice, it is raw by information and electronic invoice according to information of making out an invoice, audit when being verified Electronic invoice is generated at information;It submits an expense account node and receives electronic invoice reimbursement completion instruction, instruction generation electronics is completed according to reimbursement The reimbursement of invoice marks, and reimbursement label, information of making out an invoice, audit are generated information association by information and electronic invoice and upload block In chain, the reimbursement of electronic invoice can be carried out by block chain, and record reimbursement label, ensure that the reimbursement mark of electronic invoice Note is not tampered, meanwhile, but also tax office node can be monitored spreading for electronic invoice, improve the depth of monitoring.
In one embodiment, as shown in figure 5, after step S206, that is, tax office node is being got by block chain The audit of transmission generates information by information and electronic invoice, generates information by information and electronic invoice according to audit and generates electricity After sub- invoice, further comprise the steps of:
S502 receives refund application instruction, gets refund information and tax office node address according to refund application instruction.
Wherein, refund information refers to the information for carrying out export enterprise refund application, comprising: the refund amount of money, refund Shen It asks someone, tax reciept of refunding mark and Date of Departure etc..
Specifically, platform nodes of making out an invoice receive refund application instruction, according to refund application instruction get refund information and Tax office node address.Wherein, which is also possible to enterprise's node.
S504 sends refund information to tax office node by block chain according to tax office node address.
Specifically, platform nodes of making out an invoice pass through block chain according to tax office node address and send refund information to tax office node.
Tax office node gets the write-in of customs's node for receiving refund information, according to refund information from block chain Logistics information is written in outlet information and logistics node.
Wherein, customs's node refers to the block chain node for collecting exported product information.Outlet information refers to that is produced from outlet Product export relevant information such as Date of Departure outlet, product quantity, export price and outlet destination etc..Logistics node is Refer to the block chain node for being used to collect exported product logistics information.Logistics information refers to the relevant logistics information of the exported product, For example, product stream starting point, departure time, product stream terminal, arrival time and product quantity etc..
Specifically, tax office node gets customs's section according to refund information for receiving refund information from block chain Logistics information is written in the outlet information and logistics node of point write-in.It is obtained for example, being identified according to the refund tax reciept in refund information Name of product in corresponding tax reciept is identified to the tax reciept, it is corresponding to obtain the name of product from block chain customs node according to the product Outlet information obtain the corresponding logistics information of the name of product with from logistics node.
Tax office node is also used to get information of making out an invoice, audit from block chain and generates letter by information and electronic invoice Breath, verifies outlet information and whether logistics information is consistent by information and electronic invoice generation information with information of making out an invoice, audit.
Specifically, tax office node, which is also used to be identified according to the refund tax reciept in the refund information, gets from block chain pair The information of making out an invoice answered, audit generate information by information and electronic invoice.Verifying refund information, outlet information and logistics information are It is no consistent by information and electronic invoice generation information with information of making out an invoice, audit, for example, the refund amount of money is in verifying electronic invoice It is no consistent in outlet information and logistics information, verify whether the product quantity in electronic invoice is believed with outlet information and logistics Consistent etc. in breath, whether the refund amount of money in information of refunding consistent with information of making out an invoice, outlet information and logistics information, Whether the verification time is errorless etc..
Tax office node is also used to when being verified, and is generated refund and is verified information, refund is verified information, is opened Ticket information, audit are associated with write-in block chain with electronic invoice by information.
Specifically, tax office node is also used to when passing through verifying, is generated refund and is verified information, refund is verified Information, information of making out an invoice, audit are associated with write-in block chain with electronic invoice by information.
In the above-described embodiments, refund application instruction is received by platform nodes of making out an invoice, applies for that instruction obtains according to refund To refund information and tax office node address;Platform nodes of making out an invoice are sent by block chain to tax office node according to tax office node address Refund information;Tax office node receives refund information, and going out for customs's node write-in is got from block chain according to refund information Logistics information is written in message breath and logistics node;Tax office node got from block chain information of making out an invoice, audit by information and Electronic invoice generates information, verifies whether outlet information and logistics information with information of making out an invoice, audit pass through information and electronic invoice It is consistent to generate information;When being verified, tax office node generates refund and is verified information, and refund is verified information, is opened Ticket information, audit are associated with write-in block chain with electronic invoice by information.It is different by being obtained according to electronic invoice relevant information Block chain node information, thus cross validation refund information, ensure that trade authenticity, improve the accuracy of refund, mention Height refund efficiency.
In one embodiment, tax office node is also used to receive refund trading instruction, and refund trading instruction carries refund number Value and refund transaction node address will refund numerical value with being transferred to refund transaction node by block chain according to refund trading instruction Location.
Wherein, refund numerical value refers to the refund amount of money, for returning the specific amount of money of taxpayer.Refund transaction node address is Refer to address of the refund transaction node in block chain, which is used to carry out the transaction of the refund amount of money.For example, if One enterprise refunds, which can be enterprise's node.
Specifically, tax office node is also used to receive refund trading instruction, and refund trading instruction carries refund numerical value and refund Refund numerical value is transferred to refund transaction node address by block chain according to refund trading instruction by transaction node address.For example, Tax office node will carry out refund transaction with enterprise's node.Tax office node issues transaction request, and the transaction request is broadcast to area In block chain network, each node carries out common recognition verifying to the transaction request in block chain network, when common recognition is verified, by this The corresponding Transaction Information of transaction request includes in the refund amount of money and refund transaction node address write-in data block, by the data field Block is added in block chain network, and transaction is completed.In this embodiment, it is directly traded by block chain, improves refund and hand over Easy efficiency.
In one embodiment, as shown in fig. 6, electronic invoice generation method, further comprises the steps of:
S602 receives financing application instruction, gets financing application information and bank node according to financing application instruction Address.
Wherein, financing application information is the information for carrying out invoice or export tax rebate financing application from bank, can be with Including applicant's mark, application invoice information, outlet information and financing amount of money etc., bank node address is bank node in area Address in block chain.Bank node is the block chain node for financing application being audited and being carried out financing granting.
Specifically, platform nodes of making out an invoice receive financing application instruction, get financing application according to financing application instruction Information and bank node address.In one embodiment, enterprise can also carry out financing application by enterprise's node.
S604 sends financing application information to bank node by block chain according to bank node address.
Specifically, platform nodes of making out an invoice pass through block chain according to bank node address and send financing letter of application to bank node Breath.
Bank node for receiving financing application information, and from block chain get information of making out an invoice, audit passes through letter Breath and electronic invoice generate information.
Specifically, the financing application information that bank node is sent for receiving platform nodes of making out an invoice, and from block chain It gets information of making out an invoice, audit and information is generated by information and electronic invoice.
Whether bank node is also used to verify financing application information raw by information and electronic invoice with information of making out an invoice, audit It is consistent at information.
Specifically, bank node be also used to verify financing application information whether with information of making out an invoice, audit by information and electricity Sub- invoice generation information is consistent, i.e., whether the invoice information in verifying financing application information is consistent with information of making out an invoice, verifying audit Whether effective by information, whether the verifying financing amount of money is effective.In one embodiment, bank node can also be from block chain Get the outlet information of customs's node and the logistics information of logistics node, verifying invoice information whether the outlet with customs node Information is consistent with the invoice information in the logistics information of logistics node.
Bank node is also used to when being verified, and is generated financing and is verified information, financing is verified information, is opened Ticket information, audit are associated with write-in block chain with electronic invoice by information.
Wherein, financing is verified information and refers to for proving that financing applies for the information being verified, and can be a string of words Symbol string, is also possible to ID, can also be digital signature etc..
Specifically, bank node is also used to when bank node is verified, and is generated financing and is verified information, will finance Be verified information, information of making out an invoice, audit by information be associated with electronic invoice be written block chain in.
In the above-described embodiments, financing application instruction is received by platform nodes of making out an invoice, is obtained according to financing application instruction Get financing application information and bank node address;Platform nodes of making out an invoice are saved by block chain to bank according to bank node address Point sends financing application information;Bank node receives financing application information, and information of making out an invoice, audit are got from block chain Information is generated by information and electronic invoice;Bank node verifying financing application information whether with information of making out an invoice, audit pass through letter Breath is consistent with electronic invoice generation information;When being verified, generates financing and be verified information, financing is verified letter Cease, information of making out an invoice, audit by information be associated with electronic invoice be written block chain.Financing application is carried out by block chain, it can Facilitate verifying financing application information, improves the efficiency of financing application.It is monitored by block chain, also makes the financial machine such as bank Structure reduces the risk of financing.
In one embodiment, bank node is also used to receive financing transaction instruction, and financing transaction instruction carries financing number Value and financing transaction node address will finance numerical value with shifting financing transaction node by block chain according to financing transaction instruction Location.
Wherein, financing numerical value refers to the financing amount of money, for indicating the specific amount of money of financing.Financing transaction node address refers to Address of the financing transaction node in block chain, the financing transaction node are used to carry out the transaction of the financing amount of money.For example, if one A enterprise finances, which can be enterprise's node
Specifically, financing node is also used to receive the financing transaction instruction of user's transmission, and financing transaction instruction, which carries, melts It provides the number amount of money and moves back financing transaction node address, financing numerical value is transferred to by block chain by financing friendship according to financing transaction instruction Easy node address.For example, bank node will carry out financing transaction with enterprise's node.Bank node issues transaction request, and should Transaction request is broadcast in block chain network, and each node carries out common recognition verifying to the transaction request in block chain network, when altogether It include that data are written in the financing amount of money and financing transaction node address by the corresponding Transaction Information of the transaction request when knowledge is verified In block, which is added in block chain network, transaction is completed.In this embodiment, it is directly carried out by block chain Transaction, improves the efficiency of financing transaction.
It should be understood that although each step in the flow chart of Fig. 2-6 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-6 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In a specific embodiment, as shown in fig. 7, the concrete application scene figure of an electronic invoice generation method, It include: tax office node 702, platform nodes 704 of making out an invoice, enterprise's node 706, customs's node 708, logistics in one block chain network Node 710, bank node 712 and reimbursement node 714.Wherein, platform nodes 704 of making out an invoice are by getting make out an invoice information and tax office Node address, the information that will make out an invoice are sent to tax office node 702 by block chain network, and tax office node 702 is according to the information of making out an invoice It gets audit and information is generated by information and electronic invoice, which is generated into information by information and electronic invoice and is uploaded to In block chain network, then each node can download information of making out an invoice from block chain network, audit is sent out by information and electronics Ticket generates information and generates electronic invoice, to carry out the application of electronic invoice.Enterprise's node 706 can be obtained from block chain network Electronic invoice is got, and is submitted an expense account to reimbursement node 714, after the completion of reimbursement node 714 is submitted an expense account, generates the report of the electronic invoice Pin label uploads in block chain network.Enterprise's node 706 can also use the electronic invoice to carry out inlet and outlet refund, save to tax office Point 702 sends refund information, and tax office node 702 receives refund information, gets from customs's node 708 and logistics node 710 Correlation refund information carries out cross validation, after being verified, generates refund and is verified in information write-in block chain.Enterprise's node 706 can also use the electronic invoice to carry out financing application, send electronic invoice financing application, bank's section to bank node 712 Point receives financing application information, gets associated electrical invoice information from other block chain nodes and carries out cross validation, verifying By when, generate financing audit by information write-in block chain in.And tax office node 702 can be by block chain network to opening Later electronic invoice circulation process is monitored, such as reimbursement process, financing application process and refund process etc..By Different nodes is accessed in block chain, is formed block chain electronic invoice ecological network, is improved each node processing electronic invoice phase The efficiency of affairs is closed, and ensure that associated electrical invoice information is not tampered.
In one embodiment, as shown in figure 8, providing a kind of electronic invoice generating means 800, comprising: command reception Module 802, information sending module 804 and invoice generation module 806, in which:
Command reception module 802 receives instruction of making out an invoice for platform nodes of making out an invoice, and carries letter of making out an invoice in instruction of making out an invoice Breath and tax office node address;
Information sending module 804 will make out an invoice information by block chain according to tax office node address for making out an invoice platform nodes Send tax office node;
It is logical to get the audit that tax office node is sent by block chain for platform nodes of making out an invoice for invoice generation module 806 It crosses information and electronic invoice generates information, information is generated by information and electronic invoice according to information of making out an invoice, audit and generates electronics Invoice.
In one embodiment, information sending module 804, comprising:
Key production module is obtained according to instruction of making out an invoice for platform nodes of making out an invoice and is made out an invoice platform nodes private key, using opening Ticket platform nodes private key generates the encryption key of each field in information of making out an invoice;
Encrypting module, for platform nodes of making out an invoice using the encryption key of each field respectively to each word in information of making out an invoice Duan Jiami obtains encrypted information of making out an invoice, and is sent encrypted information of making out an invoice by block chain according to tax office node address Tax office node;
Authorization module gets the authorization message to tax office node for platform nodes of making out an invoice, includes awarding in authorization message Field encryption key corresponding with authorization field is weighed, sends tax office node for authorization message;
Deciphering module receives authorization message for tax office node and gets encrypted information of making out an invoice from block chain, Authorization field using the encrypted information of making out an invoice of the encryption key decryption in authorization message, in the information that obtains making out an invoice;
Data obtaining module gets audit according to authorization field for tax office node and is generated by information and electronic invoice Information.
In one embodiment, electronic invoice generating means 800, further includes:
Command reception module is submitted an expense account, electronic invoice reimbursement instruction is received for platform nodes of making out an invoice, is instructed according to reimbursement Get reimbursement node address;
Information sending module is submitted an expense account, reimbursement information is got according to electronic invoice reimbursement instruction for making out an invoice platform nodes, Information, which will be submitted an expense account, according to reimbursement node address sends reimbursement node;
Invoice information obtains module, receives reimbursement information for submitting an expense account node, is obtained from block chain according to reimbursement information It submits an expense account the corresponding information of making out an invoice of information, audit and information is generated by information and electronic invoice;
Authentication module is submitted an expense account, information generated by information and electronic invoice for submitting an expense account make out an invoice information, audit of node verification, When being verified, information is generated by information and electronic invoice according to information of making out an invoice, audit and generates electronic invoice;
Reimbursement label generation module receives electronic invoice reimbursement completion instruction for submitting an expense account node, completes to refer to according to reimbursement The reimbursement label for generating electronic invoice is enabled, reimbursement label, information of making out an invoice, audit are generated information by information and electronic invoice and closed Connection uploads in block chain.
In one embodiment, electronic invoice generating means 800, further includes:
Command reception module of refunding applies for that instruction obtains according to refund for platform nodes reception refund application instruction of making out an invoice Get refund information and tax office node address;
Refund information sending module passes through block chain to tax office node according to tax office node address for making out an invoice platform nodes Send refund information;
Verification information obtains module, receives refund information for tax office node, is obtained from block chain according to refund information Get the outlet information and logistics node write-in logistics information of the write-in of customs's node;
Authentication module gets information of making out an invoice for tax office node from block chain, audit passes through information and electronic invoice Information is generated, outlet information is verified and logistics information whether passes through information with information of making out an invoice, audit and electronic invoice generates information Unanimously;
Refund is verified module, is verified information for when being verified, generating refund, refund is verified Information, information of making out an invoice, audit are associated with write-in block chain with electronic invoice by information.
In one embodiment, electronic invoice generating means 800, further includes:
Refund transaction modules, for tax office node receive refund trading instruction, refund trading instruction carry refund numerical value and Refund numerical value is transferred to refund transaction node address by block chain according to refund trading instruction by refund transaction node address.
In one embodiment, electronic invoice generating means 800, further includes:
Financing command reception module receives financing application instruction for platform nodes of making out an invoice, applies for instruction according to financing Get financing application information and bank node address;
Financing application information sending module passes through block chain Xiang Yinhang according to bank node address for making out an invoice platform nodes Node sends financing application information;
Invoice information obtains module, receives financing application information for bank node, and get out from block chain Ticket information, audit generate information by information and electronic invoice;
Authentication module, for bank node verify financing application information whether with information of making out an invoice, audit pass through information and electricity It is consistent that sub- invoice generates information;
Financing is verified module, is verified information for when being verified, generating financing, financing is verified Information, information of making out an invoice, audit are associated with write-in block chain with electronic invoice by information.
In one embodiment, electronic invoice generating means 800, further includes:
Financing transaction module, for bank node receive financing transaction instruction, financing transaction instruction carry financing numerical value and Financing numerical value is shifted financing transaction node address by block chain according to financing transaction instruction by financing transaction node address.
Specific about electronic invoice generating means limits the limit that may refer to above for electronic invoice generation method Fixed, details are not described herein.Modules in above-mentioned electronic invoice generating means can fully or partially through software, hardware and its Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding Operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 9.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment is for storing electronic invoice data.The network interface of the computer equipment is used to pass through with external terminal Network connection communication.To realize a kind of electronic invoice generation method when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 9, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with Computer program, the processor are realized in above-mentioned any embodiment described in electronic invoice generation method when executing computer program Step.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program realizes step described in electronic invoice generation method in above-mentioned any embodiment when being executed by processor.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of electronic invoice generation method, which comprises
Instruction of making out an invoice is received, carries make out an invoice information and tax office node address in the instruction of making out an invoice;
The information of making out an invoice is sent to tax office node by block chain according to tax office node address;
It gets tax office node and information is generated by information and electronic invoice by the audit that the block chain is sent, according to The information of making out an invoice, the audit generate information by information and the electronic invoice and generate electronic invoice.
2. the method according to claim 1, wherein it is described according to tax office node address by the letter of making out an invoice Breath sends tax office node by block chain, comprising:
Platform nodes private key of making out an invoice is obtained according to the instruction of making out an invoice, is made out an invoice described in the generation of platform nodes private key using described make out an invoice The encryption key of each field in information;
Using the encryption key of each field respectively to each field encryption in the information of making out an invoice, encrypted open is obtained The encrypted information of making out an invoice is sent tax office node by the block chain according to tax office node address by ticket information;
The authorization message to tax office node is got, includes that authorization field is corresponding with authorization field in the authorization message The authorization message is sent tax office node by encryption key;
Tax office node makes for receiving the authorization message and getting encrypted information of making out an invoice from the block chain The encrypted information of making out an invoice described in the encryption key decryption in the authorization message obtains the authorizing key in the information of making out an invoice Section and according to the authorization field get audit by information and electronic invoice generation information.
3. the method according to claim 1, wherein passing through the block in the tax office node that gets The audit that chain is sent generates information by information and electronic invoice, generates information by information and electronic invoice according to the audit After generation electronic invoice, further includes:
Electronic invoice reimbursement instruction is received, reimbursement node address is got according to reimbursement instruction;
Reimbursement information is got according to electronic invoice reimbursement instruction, according to the reimbursement node address by the reimbursement information Send reimbursement node;
The reimbursement node obtains reimbursement letter according to the reimbursement information for receiving the reimbursement information from the block chain Corresponding information of making out an invoice is ceased, audits and is led to by information of making out an invoice described in information and electronic invoice generation information and verifying, the audit Cross information and the electronic invoice and generate information, when being verified, according to the information of making out an invoice, the audit by information and The electronic invoice generates information and generates electronic invoice;
The reimbursement node is also used to receive the electronic invoice reimbursement and completes instruction, completes instruction according to the reimbursement and generates institute The reimbursement label for stating electronic invoice sends out reimbursement label, the information of making out an invoice, the audit by information and the electronics Ticket generates information association and uploads in the block chain.
4. the method according to claim 1, wherein passing through the block in the tax office node that gets The audit that chain is sent generates information by information and electronic invoice, generates information by information and electronic invoice according to the audit After generation electronic invoice, further includes:
Refund application instruction is received, refund information and tax office node address are got according to refund application instruction;
The refund information is sent to tax office node by the block chain according to tax office node address;The tax office Node gets the write-in of customs's node for receiving the refund information, according to the refund information from the block chain Outlet information and logistics node are written logistics information and get the information of making out an invoice from the block chain, the audit passes through Information and the electronic invoice generate information, verify the outlet information and the logistics information whether with the information of making out an invoice, The audit is consistent with electronic invoice generation information by information;
Tax office node is also used to when being verified, and is generated refund and is verified information, and the refund is verified letter Breath, the information of making out an invoice, the audit are associated with the write-in block chain with the electronic invoice by information.
5. according to the method described in claim 4, it is characterized in that, tax office node is also used to receive refund trading instruction, The refund trading instruction carries refund numerical value and refund transaction node address, passes through the area according to the refund trading instruction The refund numerical value is transferred to the refund transaction node address by block chain.
6. the method according to claim 1, wherein the method, further includes:
Financing application instruction is received, financing application information and bank node address are got according to financing application instruction;
The financing application information is sent to the bank node by the block chain according to the bank node address;It is described Bank node is for receiving the financing application information, and from the information of making out an invoice, described of getting from block chain Audit information is generated by information and the electronic invoice and verify the financing application information whether with the information of making out an invoice, institute It is consistent with electronic invoice generation information by information to state audit, when being verified, generates financing and is verified information, it will It is described financing be verified information, the information of making out an invoice, it is described audit by information be associated with the electronic invoice be written described in Block chain.
7. according to the method described in claim 6, it is characterized in that, the bank node be also used to receive financing transaction instruction, The financing transaction instruction carries financing numerical value and financing transaction node address, passes through the area according to financing transaction instruction The financing numerical value is shifted the financing transaction node address by block chain.
8. a kind of electronic invoice generating means, which is characterized in that described device includes:
Command reception module carries with making out an invoice information and tax office node in the instruction of making out an invoice for receiving instruction of making out an invoice Location;
Information sending module, for the information of making out an invoice to be sent tax office section by block chain according to tax office node address Point;
Invoice generation module passes through information and electronics by the audit that the block chain is sent for getting tax office node Invoice generates information, generates information by information and the electronic invoice according to the information of making out an invoice, the audit and generates electronics Invoice.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201910544223.7A 2019-06-21 2019-06-21 Electronic invoice generation method and device, computer equipment and storage medium Active CN110378755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910544223.7A CN110378755B (en) 2019-06-21 2019-06-21 Electronic invoice generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910544223.7A CN110378755B (en) 2019-06-21 2019-06-21 Electronic invoice generation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110378755A true CN110378755A (en) 2019-10-25
CN110378755B CN110378755B (en) 2023-02-07

Family

ID=68250582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910544223.7A Active CN110378755B (en) 2019-06-21 2019-06-21 Electronic invoice generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110378755B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464500A (en) * 2020-03-06 2020-07-28 深圳壹账通智能科技有限公司 Method, device, equipment and storage medium for sharing protocol data
CN111506909A (en) * 2020-04-13 2020-08-07 深圳微众信用科技股份有限公司 Silver tax data interaction method and system
CN111626386A (en) * 2020-05-11 2020-09-04 陈建明 Intelligent riding code generation method, equipment, storage medium and device
CN111681061A (en) * 2020-05-20 2020-09-18 厦门区块链云科技有限公司 Electronic invoice management system and method based on distributed accounting
CN111914033A (en) * 2020-08-17 2020-11-10 上海联恬信息技术有限公司 Electronic bill drawing method, device, equipment and storage medium
CN112070565A (en) * 2020-08-10 2020-12-11 国网山东省电力公司物资公司 Verification-free billing system and method for special electric power material tickets based on block chains
CN112613961A (en) * 2020-12-15 2021-04-06 航天信息股份有限公司海外业务分公司 Import and export enterprise tax collection and management system based on block chain
CN113065907A (en) * 2019-12-31 2021-07-02 航天信息股份有限公司 Block chain based reimbursement method and device and computer equipment
CN113129086A (en) * 2019-12-31 2021-07-16 航天信息股份有限公司 Value-added tax deduction method, device, system, equipment and medium
WO2022116351A1 (en) * 2020-12-04 2022-06-09 深圳点链科技有限公司 Invoicing method, apparatus and device based on blockchain, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110020452A (en) * 2009-08-24 2011-03-03 대한민국(국세청장) Apparatus and method for issuing electronic tax invoice
CN109034924A (en) * 2018-08-16 2018-12-18 腾讯科技(深圳)有限公司 Electronic bill generation method, device, storage medium and computer equipment
CN109145629A (en) * 2018-09-12 2019-01-04 方欣科技有限公司 One kind being based on electronic bill structural data message transmissions and memory technology
CN109345194A (en) * 2018-09-12 2019-02-15 北京东港瑞宏科技有限公司 A kind of electronic bill flow system
CN109767214A (en) * 2018-12-27 2019-05-17 平安科技(深圳)有限公司 Incorporate supply chain management-control method, device, equipment and the medium of market risk

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110020452A (en) * 2009-08-24 2011-03-03 대한민국(국세청장) Apparatus and method for issuing electronic tax invoice
CN109034924A (en) * 2018-08-16 2018-12-18 腾讯科技(深圳)有限公司 Electronic bill generation method, device, storage medium and computer equipment
CN109145629A (en) * 2018-09-12 2019-01-04 方欣科技有限公司 One kind being based on electronic bill structural data message transmissions and memory technology
CN109345194A (en) * 2018-09-12 2019-02-15 北京东港瑞宏科技有限公司 A kind of electronic bill flow system
CN109767214A (en) * 2018-12-27 2019-05-17 平安科技(深圳)有限公司 Incorporate supply chain management-control method, device, equipment and the medium of market risk

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113129086A (en) * 2019-12-31 2021-07-16 航天信息股份有限公司 Value-added tax deduction method, device, system, equipment and medium
CN113129086B (en) * 2019-12-31 2024-05-31 航天信息股份有限公司 Value-added tax deduction method, device, system, equipment and medium
CN113065907B (en) * 2019-12-31 2024-04-12 航天信息股份有限公司 Block chain-based reimbursement method and device and computer equipment
CN113065907A (en) * 2019-12-31 2021-07-02 航天信息股份有限公司 Block chain based reimbursement method and device and computer equipment
CN111464500A (en) * 2020-03-06 2020-07-28 深圳壹账通智能科技有限公司 Method, device, equipment and storage medium for sharing protocol data
WO2021174758A1 (en) * 2020-03-06 2021-09-10 深圳壹账通智能科技有限公司 Protocol data sharing method and apparatus, device, and storage medium
CN111506909A (en) * 2020-04-13 2020-08-07 深圳微众信用科技股份有限公司 Silver tax data interaction method and system
CN111626386A (en) * 2020-05-11 2020-09-04 陈建明 Intelligent riding code generation method, equipment, storage medium and device
CN111681061A (en) * 2020-05-20 2020-09-18 厦门区块链云科技有限公司 Electronic invoice management system and method based on distributed accounting
CN112070565A (en) * 2020-08-10 2020-12-11 国网山东省电力公司物资公司 Verification-free billing system and method for special electric power material tickets based on block chains
CN111914033A (en) * 2020-08-17 2020-11-10 上海联恬信息技术有限公司 Electronic bill drawing method, device, equipment and storage medium
WO2022116351A1 (en) * 2020-12-04 2022-06-09 深圳点链科技有限公司 Invoicing method, apparatus and device based on blockchain, and computer-readable storage medium
CN112613961A (en) * 2020-12-15 2021-04-06 航天信息股份有限公司海外业务分公司 Import and export enterprise tax collection and management system based on block chain

Also Published As

Publication number Publication date
CN110378755B (en) 2023-02-07

Similar Documents

Publication Publication Date Title
CN110378755A (en) Electronic invoice generation method, device, computer equipment and storage medium
US11949791B2 (en) Hash contract generation and verification system
CN106559211B (en) Privacy protection intelligent contract method in block chain
CN110599137B (en) Electronic bill data processing method and device and computer equipment
CN108776936A (en) Settlement of insurance claim method, apparatus, computer equipment and storage medium
CN108306876A (en) Client identity verification method, device, computer equipment and storage medium
CN109034924A (en) Electronic bill generation method, device, storage medium and computer equipment
CN109255084A (en) Electronic bill querying method, device, storage medium and computer equipment
CN111464499A (en) Electronic warehouse receipt tracing method and device, computer equipment and storage medium
CN112270597A (en) Business processing and credit evaluation model training method, device, equipment and medium
CN106161359A (en) The method and device of certification user, the method and device of registration wearable device
CN111666460A (en) User portrait generation method and device based on privacy protection and storage medium
CN109191272A (en) About the data processing method of electronic bill, device, storage medium and equipment
CN109615351A (en) SIM card, terminating machine and digital currency managing system
CN110599266A (en) Electronic bill data processing method and device, computer equipment and storage medium
CN110633963A (en) Electronic bill processing method, electronic bill processing device, computer-readable storage medium and equipment
CN112231284A (en) Block chain-based big data sharing system, method, device and storage medium
CN110599270B (en) Electronic bill generation method and device and computer equipment
CN110223159A (en) Credit data query method, apparatus, computer equipment and storage medium
CN109587154A (en) Digital identity verification method, device, computer equipment and storage medium
CN110689348B (en) Revenue verification method, device, terminal and medium based on alliance chain
CN113347008B (en) Loan information storage method adopting addition homomorphic encryption
CN110135175A (en) Information processing, acquisition methods, device, equipment and medium based on block chain
CN113015991A (en) Secure digital wallet processing system
CN111491024A (en) Block chain-based bank letter method, system, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant