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

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

Info

Publication number
CN110378755B
CN110378755B CN201910544223.7A CN201910544223A CN110378755B CN 110378755 B CN110378755 B CN 110378755B CN 201910544223 A CN201910544223 A CN 201910544223A CN 110378755 B CN110378755 B CN 110378755B
Authority
CN
China
Prior art keywords
information
node
electronic invoice
tax
billing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910544223.7A
Other languages
Chinese (zh)
Other versions
CN110378755A (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 Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
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

Images

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application relates to a block chain and provides an electronic invoice generation method, an electronic invoice generation device, computer equipment and a storage medium. The method comprises the following steps: the billing platform node receives a billing instruction, and the billing instruction carries billing information and a tax bureau node address; the billing platform node sends billing information to the tax office node through the block chain according to the tax office node address; and the invoicing platform node acquires the auditing passing information and the electronic invoice generating information which are sent by the tax bureau node through the block chain, and generates the electronic invoice according to the invoicing information, the auditing passing information and the electronic invoice generating information. By adopting the method, the relevant information of the electronic invoice can be ensured not to be falsified, the pressure of the tax bureau node server is reduced, and the generation efficiency of the electronic invoice is improved.

Description

Electronic invoice generation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for generating an electronic invoice, a computer device, and a storage medium.
Background
At present, various electronic invoice billing platforms exist in the market, enterprises bill by selecting the trusted billing platform, and each billing platform stores billing information. Therefore, when the tax administration supervision department audits the invoicing information, the invoicing information needs to be acquired from different invoicing platforms for auditing, and the invoicing platform can generate the electronic invoice after the auditing is passed. At present, each billing platform generally uses an encryption algorithm to ensure the safety and the impossibility of tampering of billing information in the transmission process. Because each billing platform respectively uses different encryption algorithms, the tax administration supervision department needs to decrypt each billing platform when receiving billing information, and when the auditing request is too much, the tax administration supervision department server has too much pressure, so that the billing platform can not generate electronic invoices in time.
Disclosure of Invention
In view of the above, it is desirable to provide an electronic invoice generation method, an electronic invoice generation apparatus, a computer device, and a storage medium, which can improve the electronic invoice generation efficiency.
A method of electronic invoice generation, the method comprising:
receiving an invoicing instruction, wherein the invoicing instruction carries invoicing information and a tax bureau node address;
sending the billing information to the tax office node through a block chain according to the tax office node address;
obtaining the auditing passing information and the electronic invoice generating information which are sent by the tax bureau node through the block chain, and generating the electronic invoice according to the invoicing information, the auditing passing information and the electronic invoice generating information.
In one embodiment, the method for sending invoicing information to a tax office node through a blockchain according to the address of the tax office node comprises the following steps:
acquiring a private key of a billing platform node according to the billing instruction, and generating an encryption key of each field in billing information by using the private key of the billing platform node;
encrypting each field in the billing information by using the encryption key of each field to obtain the encrypted billing information, and sending the encrypted billing information to the tax bureau node through a block chain according to the address of the tax bureau node;
acquiring authorization information of the tax office node, wherein the authorization information comprises an authorization field and an encryption key corresponding to the authorization field, and sending the authorization information to the tax office node;
and the tax bureau node is used for receiving the authorization information, acquiring the encrypted billing information from the block chain, decrypting the encrypted billing information by using an encryption key in the authorization information, acquiring an authorization field in the billing information, and acquiring the audit passing information and the electronic invoice generation information according to the authorization field.
In one embodiment, after obtaining the audit passing information and the electronic invoice generating information sent by the tax bureau node through the block chain and generating the electronic invoice according to the audit passing information and the electronic invoice generating information, the method further includes:
receiving an electronic invoice reimbursement instruction, and acquiring a reimbursement node address according to the reimbursement instruction;
acquiring reimbursement information according to the electronic invoice reimbursement instruction, and sending the reimbursement information to a reimbursement node according to the reimbursement node address;
the reimbursement node is used for receiving reimbursement information, acquiring invoicing information, audit passing information and electronic invoice generation information corresponding to the reimbursement information from the block chain according to the reimbursement information, verifying the invoicing information, the audit passing information and the electronic invoice generation information, and generating an electronic invoice according to the invoicing information, the audit passing information and the electronic invoice generation information when the verification passes;
the reimbursement node is also used for receiving an electronic invoice reimbursement completion instruction, generating an reimbursement mark of the electronic invoice according to the reimbursement completion instruction, and associating the reimbursement mark, the invoicing information, the audit passing information and the electronic invoice generation information and uploading the information to the block chain.
In one embodiment, after obtaining the audit passing information and the electronic invoice generating information sent by the tax bureau node through the block chain and generating the electronic invoice according to the audit passing information and the electronic invoice generating information, the method further includes:
receiving a tax refund application instruction, and acquiring tax refund information and a tax office node address according to the tax refund application instruction;
sending tax refund information to the tax office node through the block chain according to the tax office node address;
the tax bureau node is used for receiving tax refund information, acquiring export information written by the customs node and logistics information written by the logistics node from the block chain according to the tax refund information, acquiring invoicing information, audit passing information and electronic invoice generation information from the block chain, and verifying whether the export information and the logistics information are consistent with the invoicing information, the audit passing information and the electronic invoice generation information;
and the tax bureau node is also used for generating tax refund verification passing information when the verification passes, and writing the tax refund verification passing information, the invoicing information, the audit passing information and the electronic invoice into the block chain in an associated manner.
In one embodiment, the tax office node is further configured to receive a tax refund transaction instruction, where the tax refund transaction instruction carries a tax refund value and a tax refund transaction node address, and transfer the tax refund value to the tax refund transaction node address through the block chain according to the tax refund transaction instruction.
In one embodiment, the method further comprises:
receiving a financing application instruction, and acquiring financing application information and a bank node address according to the financing application instruction;
sending financing application information to the bank node through the block chain according to the address of the bank node;
the bank node is used for receiving the financing application information, acquiring the invoicing information, the auditing passing information and the electronic invoice generation information from the block chain, verifying whether the financing application information is consistent with the invoicing information, the auditing passing information and the electronic invoice generation information, generating financing passing information when the financing application information is verified to be passed, and writing the financing passing information, the invoicing information, the auditing passing information and the electronic invoice into the block chain in an associated manner.
In one embodiment, the bank node is further configured to receive a financing transaction instruction, where the financing transaction instruction carries a financing value and a financing transaction node address, and transfer the financing value to the financing transaction node address through the block chain according to the financing transaction instruction.
An electronic invoice generating apparatus, the apparatus comprising:
the instruction receiving module is used for receiving an invoicing instruction, and the invoicing instruction carries invoicing information and a tax bureau node address;
the information sending module is used for sending the billing information to the tax office nodes through the block chain according to the tax office node address;
and the invoice generating module is used for acquiring the auditing passing information and the electronic invoice generating information which are sent by the tax bureau node through the block chain, and generating the electronic invoice according to the invoicing information, the auditing passing information and the electronic invoice generating information.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving an invoicing instruction, wherein the invoicing instruction carries invoicing information and a tax bureau node address;
sending the billing information to the tax office node through the block chain according to the tax office node address;
obtaining the auditing passing information and the electronic invoice generating information which are sent by the tax bureau node through the block chain, and generating the electronic invoice according to the invoicing information, the auditing passing information and the electronic invoice generating information.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
receiving an invoicing instruction, wherein the invoicing instruction carries invoicing information and a tax bureau node address;
sending the billing information to the tax office node through the block chain according to the tax office node address;
obtaining the auditing passing information and the electronic invoice generating information which are sent by the tax bureau node through the block chain, and generating the electronic invoice according to the invoicing information, the auditing passing information and the electronic invoice generating information.
The electronic invoice generation method, the electronic invoice generation device, the computer equipment and the storage medium. By connecting the billing platform node and the tax bureau node into the block chain, the tax bureau node acquires billing information of the billing platform through the block chain and uploads electronic invoice passing information and electronic invoice generation information to the block chain, so that the billing platform node acquires the billing information, audit passing information and electronic invoice generation information from the block chain to generate an electronic invoice, the relevant information of the electronic invoice is prevented from being tampered, the pressure of a tax bureau node server is reduced, and the generation efficiency of the electronic invoice is improved.
Drawings
FIG. 1 is a diagram of an application scenario of the electronic invoice generation method in one embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a method for electronic invoice generation, according to one embodiment;
FIG. 3 is a schematic diagram illustrating the flow of authorizing encryption and decryption of billing information in one embodiment;
FIG. 4 is a schematic flow chart illustrating reimbursement of an electronic invoice in one embodiment;
FIG. 5 is a schematic flow chart illustrating an example of applying a tax refund;
FIG. 6 is a flow diagram illustrating the process of applying for financing in one embodiment;
FIG. 7 is a diagram of an application scenario of the electronic invoice generation method in an exemplary embodiment;
FIG. 8 is a block diagram of the structure of an electronic invoice generation apparatus in one embodiment;
FIG. 9 is a diagram showing an internal structure of a computer device in one embodiment;
fig. 10 is an internal structural view of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The electronic invoice generation method provided by the application can be applied to the application environment shown in fig. 1. Wherein the billing platform node 102 communicates with the tax office node 104 via a blockchain network. The billing platform node 102 receives a billing instruction, and the billing instruction carries billing information and a tax bureau node address; the billing platform node 102 sends billing information to the tax office node 104 through the block chain according to the tax office node address; the invoicing platform node 102 acquires the auditing passing information and the electronic invoice generating information which are sent by the tax bureau node 104 through the block chain, and generates the electronic invoice according to the invoicing information, the auditing passing information and the electronic invoice generating information. The block link points including the billing platform node 102 and the tax office node 104 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and may also be implemented by an independent server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, an electronic invoice generating method is provided, which is described by taking the method as an example for applying to the billing platform node in fig. 1, and includes the following steps:
s202, receiving an invoicing instruction, wherein the invoicing instruction carries invoicing information and a tax bureau node address.
The billing platform node is a node server in an access block chain, and the billing information is information used for generating each field in the electronic invoice, such as a billing enterprise name, an enterprise address, an enterprise tax number, a billing bank and a billing bank account. The tax office node address refers to an address of a tax office node in a block chain, is used for identifying the tax office node in the block chain, can be a string of character strings, is used for receiving information sent by other block chain nodes, and can be generated according to a public key of the block chain node or an IP address of the tax office node.
Specifically, the billing platform node receives a billing instruction, and the billing instruction carries billing information and a tax bureau node address.
And S202, sending the billing information to the tax office node through the block chain according to the tax office node address.
The Blockchain refers to a carrier and an organization mode for operating a Blockchain technology, called BT (Blockchain technology) for short, and is also called a distributed book technology, and is an internet database technology, and is characterized by decentralization and public transparency. Each person can participate in the data recording. The blockchain technology is a brand new distributed infrastructure and computing mode that uses blockchain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, uses cryptography to secure data transmission and access, and uses intelligent contracts composed of automated script codes to program and manipulate data.
Specifically, the billing platform node sends billing information to the tax office node through the block chain according to the address of the tax office node, and the tax office node receives the billing information sent by the billing platform node through the block chain. In a specific embodiment, the billing platform node generates a timestamp of the billing information, encrypts the billing information by using a public key of the tax office node in the block chain, broadcasts the encrypted billing information and the corresponding timestamp to each node in the block chain, each node in the block chain recognizes the encrypted billing information and the corresponding timestamp in common, and writes the encrypted billing information and the corresponding timestamp into a data block and adds the data block into the block chain when the common recognition is passed.
S202, obtaining the auditing passing information and the electronic invoice generating information which are sent by the tax bureau node through the block chain, and generating the electronic invoice according to the invoicing information, the auditing passing information and the electronic invoice generating information.
The information that the audit is passed refers to the signature information of the tax bureau node on the electronic invoice. The electronic invoice generation information refers to attribute information required for generating the electronic invoice, such as a timestamp, an anti-counterfeiting mark, an invoice format, an invoice font and the like.
Specifically, the invoicing platform node acquires the audit passing information and the electronic invoice generation information which are sent by the tax bureau node through the block chain, and generates the electronic invoice according to the invoicing information, the audit passing information and the electronic invoice generation information.
In the electronic invoice generating method, the invoicing platform node and the tax bureau node are connected into the block chain, so that the tax bureau node acquires the invoicing information of the invoicing platform through the block chain and uploads the electronic invoice passing information and the electronic invoice generating information to the block chain, and the invoicing platform node acquires the invoicing information, the auditing passing information and the electronic invoice generating information from the block chain to generate the electronic invoice.
In one embodiment, as shown in item 3, step S204, that is, the invoicing platform node sends the invoicing information to the tax office node through the block chain according to the address of the tax office node, includes the steps of:
s302, obtaining a private key of the billing platform node according to the billing instruction, and generating an encryption key of each field in the billing information by using the private key of the billing platform node.
The private key of the billing platform node is a private key in a pair of keys generated by the block chain node by using an encryption algorithm. The encryption algorithm may be an asymmetric encryption algorithm including RSA (an asymmetric encryption algorithm) and ECDSA (elliptic curve digital signature algorithm), and the like.
Specifically, the billing platform node obtains the private key of the billing platform node from the stored private key file according to the billing instruction. And generating an encryption key of each field in the billing information by using the private key of the billing platform node. I.e. each field in the billing information corresponds to its own encryption key. The generated Encryption key is generated by using a symmetric Encryption algorithm, which may be a DES (Data Encryption Standard) algorithm, a 3DES (triple Data Encryption algorithm block cipher) algorithm, a Blowfish algorithm, an RC5 (parameter variable block cipher) algorithm, an IDEA (international Data Encryption algorithm) algorithm, and the like.
S304, encrypting each field in the billing information by using the encryption key of each field to obtain the encrypted billing information, and sending the encrypted billing information to the tax bureau node through the block chain according to the address of the tax bureau node.
The tax office node address is an address of the tax office node in the block chain, and the address may be generated according to a public key of the tax office node or an IP address of the tax office node.
Specifically, the billing platform node encrypts each field in the billing information respectively by using the encryption key of each field to obtain the encrypted billing information, and sends the encrypted billing information to the tax bureau node through the block chain according to the address of the tax bureau node.
S306, obtaining authorization information of the tax office node, wherein the authorization information comprises an authorization field and an encryption key corresponding to the authorization field, sending the authorization information to the tax office node, and obtaining the auditing passing information and the electronic invoice generating information according to the authorization field.
The authorization information refers to information for viewing encrypted billing information. The authorization field refers to a field in the billing information that the tax office node can view. The encryption key corresponding to the authorization field refers to the encryption key corresponding to each authorization field.
Specifically, the billing platform node acquires authorization information for the tax office node, wherein the authorization information comprises an authorization field and an encryption key corresponding to the authorization field, and sends the authorization information to the tax office node. For example, the authorization information may be sent to the tax bureau node by a short message or mail. In a specific embodiment, the authorization information of the billing platform node can be acquired by the tax bureau node through an offline mode, wherein offline means a series of activities which are truly happening, are on the spot, and are dynamic among people through limbs.
And the tax bureau node is used for receiving the authorization information, acquiring the encrypted billing information from the block chain, decrypting the encrypted billing information by using an encryption key in the authorization information, acquiring an authorization field in the billing information, and acquiring the audit passing information and the electronic invoice generation information according to the authorization field.
The audit passing information is information indicating that the invoice information is approved, and may be an identifier, a digital signature, or the like. The electronic invoice generation information refers to element information essential for generating an electronic invoice, such as a timestamp, an invoice style, invoice text information and the like.
Specifically, after receiving the authorization information, the tax bureau node acquires the encrypted billing information from the block chain, decrypts the encrypted billing information by using the encryption key in the authorization information to obtain authorization fields in the billing information, and then displays the authorization fields through an interface, so that an auditor can conveniently audit. And when the audit authorization field of the auditor is correct, the audit passing button can be clicked on the interface, and the authorization node acquires the audit passing information and the electronic invoice generation information according to the click event.
In the embodiment, the billing platform node private key is obtained through the billing platform node according to the billing instruction, and the billing platform node private key is used for generating the encryption key of each field in the billing information; the billing platform node encrypts each field in the billing information respectively by using the encryption key of each field to obtain the encrypted billing information, and sends the encrypted billing information to the tax bureau node through a block chain according to the address of the tax bureau node; the billing platform node acquires authorization information of the tax office node, wherein the authorization information comprises an authorization field and an encryption key corresponding to the authorization field, and sends the authorization information to the tax office node; the tax bureau node receives the authorization information and acquires the encrypted billing information from the block chain, and decrypts the encrypted billing information by using an encryption key in the authorization information to obtain an authorization field in the billing information; and the tax bureau node acquires the auditing passing information and the electronic invoice generating information according to the authorization field. Different nodes in the block chain can be authorized by encrypting the billing information through authorization, so that different billing information fields can be obtained by different nodes in the block chain, the security of the billing information is improved, and the corresponding processing of the billing information is also facilitated by checking the authorization fields by the block chain nodes.
In one embodiment, as shown in fig. 4, after step S206, that is, after obtaining the audit passing information and the electronic invoice generating information sent by the tax office node through the blockchain, and generating an electronic invoice according to the audit passing information and the electronic invoice generating information, the method further includes the steps of:
s402, receiving an electronic invoice reimbursement instruction, and acquiring a reimbursement node address according to the reimbursement instruction.
The reimbursement node address is an address of an reimbursement node in the block chain and used for identifying the reimbursement node in the block chain, the reimbursement node is used for reimbursing the electronic invoice, and the reimbursement node can be an enterprise company node or an individual node. The reimbursement node address may be generated according to the public key of the blockchain node, or may be the IP address of the reimbursement node
Specifically, the invoicing platform node receives an electronic invoice reimbursement instruction and acquires a reimbursement node address according to the reimbursement instruction.
And S404, acquiring reimbursement information according to the electronic invoice reimbursement instruction, and sending the reimbursement information to a reimbursement node according to the reimbursement node address.
The reimbursement information refers to information of an electronic invoice to be reimbursed, and may be audit passing information of the electronic invoice, or may be an identifier of the electronic invoice, and the like.
Specifically, the invoicing platform node acquires reimbursement information according to the electronic invoice reimbursement instruction, and sends the reimbursement information to the reimbursement node through the block chain according to the reimbursement node address.
The reimbursement node is used for receiving reimbursement information, and acquiring invoicing information, audit passing information and electronic invoice generation information corresponding to the reimbursement information from the block chain according to the reimbursement information.
Specifically, the reimbursement node is configured to receive reimbursement information sent by the invoicing platform node, and obtain invoicing information and electronic invoice generation information corresponding to the reimbursement information from the blockchain according to the reimbursement information. For example, corresponding audit pass information is obtained according to audit pass information in the reimbursement information, and associated invoicing information and electronic invoice generation information are obtained according to the audit pass information.
The reimbursement node is also used for verifying the invoicing information, the auditing passing information and the electronic invoice generation information, and when the invoicing information, the auditing passing information and the electronic invoice generation information are verified to pass, the electronic invoice is generated according to the invoicing information, the auditing passing information and the electronic invoice generation information.
Specifically, the reimbursement node is further configured to verify the invoicing information, the audit passing information and the electronic invoice generation information, and the reimbursement node verifies the invoicing information, the audit passing information and the electronic invoice generation information. And verifying whether each field in the billing information is valid, such as whether the name of the enterprise is correct, whether the address of the enterprise is valid, whether the timestamp is valid, and the like. And verifying whether the audit pass information is valid or not, acquiring the audit pass information from the tax bureau node and verifying whether the audit pass information is consistent with the audit pass information in the block chain or not. And when the verification is passed, generating an electronic invoice according to the invoicing information, the auditing passing information and the electronic invoice generation information, entering the electronic invoice into an ERP (enterprise resource planning) system or financial management software to perform reimbursement processing, and when the reimbursement processing is completed, sending an electronic invoice reimbursement completion instruction to a reimbursement node by a reimburser through the ERP system or the financial management software.
The reimbursement node is also used for receiving an electronic invoice reimbursement completion instruction, generating an reimbursement mark of the electronic invoice according to the reimbursement completion instruction, and associating the reimbursement mark, the invoicing information, the audit passing information and the electronic invoice generation information and uploading the information to the block chain.
The reimbursement mark is used for uniquely identifying the reimbursed electronic invoice, and can be a character string or an ID.
Specifically, the reimbursement node is further configured to receive an electronic invoice reimbursement completion instruction sent by the user, generate an reimbursement mark of the electronic invoice according to the reimbursement completion instruction, and upload the reimbursement mark, the invoicing information, the audit passing information and the electronic invoice generation information in a block chain in a correlated manner. The tax bureau node can inquire the reimbursement mark of the electronic invoice through the block chain, and can monitor the flow process of the electronic invoice.
In one embodiment, the invoicing platform node sends the authorization information to the reimbursement node, when the reimbursement node obtains the encrypted invoicing information, the encrypted invoicing information is decrypted by using an encryption key in the authorization information to obtain an authorization field in the invoicing information, then the authorization field, the audit passing information and the electronic invoice generating information in the invoicing information are verified, when the authorization field, the audit passing information and the electronic invoice generating information in the invoicing information are verified, an electronic invoice is generated according to the authorization field, the audit passing information and the electronic invoice generating information in the invoicing information,
in the embodiment, the electronic invoice reimbursement instruction is received through the invoicing platform node, and the reimbursement node address is obtained according to the reimbursement instruction; the invoicing platform node acquires reimbursement information according to the electronic invoice reimbursement instruction, and sends the reimbursement information to the reimbursement node according to the reimbursement node address; the reimbursement node receives reimbursement information, and acquires invoicing information, audit passing information and electronic invoice generation information corresponding to the reimbursement information from the block chain according to the reimbursement information; the reimbursement node verifies the invoicing information, the audit passing information and the electronic invoice generation information, and when the invoicing information, the audit passing information and the electronic invoice generation information generate an electronic invoice; the reimbursement node receives the reimbursement completion instruction of the electronic invoice, generates an reimbursement mark of the electronic invoice according to the reimbursement completion instruction, uploads the reimbursement mark, invoicing information, audit passing information and electronic invoice generation information in a related mode to the block chain, reimbursement of the electronic invoice can be carried out through the block chain, the reimbursement mark is recorded, the reimbursement mark of the electronic invoice is guaranteed not to be falsified, meanwhile, the tax bureau node can monitor the flow of the electronic invoice, and monitoring depth is improved.
In one embodiment, as shown in fig. 5, after step S206, that is, after obtaining the audit passing information and the electronic invoice generating information sent by the tax office node through the blockchain, and generating an electronic invoice according to the audit passing information and the electronic invoice generating information, the method further includes the steps of:
and S502, receiving a tax refund application instruction, and acquiring tax refund information and a tax office node address according to the tax refund application instruction.
The tax refund information refers to information for applying for enterprise export tax refund, and comprises the following steps: refund amount, refund applicant, refund tax ticket identification and date of export, etc.
Specifically, the billing platform node receives a tax refund application instruction, and obtains tax refund information and a tax office node address according to the tax refund application instruction. Wherein, the billing platform node can also be an enterprise node.
And S504, sending tax refund information to the tax office node through the block chain according to the tax office node address.
Specifically, the billing platform node sends tax refund information to the tax office node through the block chain according to the tax office node address.
And the tax bureau node is used for receiving the tax refund information, acquiring the export information written by the customs node and the logistics information written by the logistics node from the block chain according to the tax refund information.
The customs node refers to a block chain node used for collecting export product information. The export information refers to information related to export of the export product such as export date, quantity of the product, export price, and export destination, etc. The logistics node refers to a block chain node used for collecting logistics information of outlet products. The logistics information refers to logistics information related to the export product, such as the starting point, the starting time, the ending point, the arrival time, the quantity of the product, and the like of the product logistics.
Specifically, the tax office node is configured to receive the tax refund information, and obtain, from the block chain, export information written by the customs node and logistics information written by the logistics node according to the tax refund information. For example, the product name in the tax receipt corresponding to the tax receipt identifier is obtained according to the tax refund tax receipt identifier in the tax refund information, the export information corresponding to the product name is obtained from the block chain sea joint point according to the product, and the logistics information corresponding to the product name is obtained from the logistics node.
The tax bureau node is also used for acquiring the invoicing information, the auditing passing information and the electronic invoice generating information from the block chain, and verifying whether the outlet information and the logistics information are consistent with the invoicing information, the auditing passing information and the electronic invoice generating information.
Specifically, the tax office node is further configured to obtain corresponding billing information, audit pass information, and electronic invoice generation information from the block chain according to the tax refund tax invoice identifier in the tax refund information. Verifying whether the tax refund information, the export information and the logistics information are consistent with the invoicing information, the audit passing information and the electronic invoice generation information, for example, verifying whether the tax refund amount in the electronic invoice is consistent with the export information and the logistics information, verifying whether the product quantity in the electronic invoice is consistent with the export information and the logistics information, and the like, verifying whether the tax refund amount in the tax refund information is consistent with the invoicing information, the export information and the logistics information, verifying whether the time is correct, and the like.
And the tax bureau node is also used for generating tax refund verification passing information when the verification passes, and writing the tax refund verification passing information, the invoicing information, the audit passing information and the electronic invoice into the block chain in an associated manner.
Specifically, the tax bureau node is further used for generating tax refund verification passing information when the tax refund verification passing information passes the verification, and writing the tax refund verification passing information, the invoicing information, the auditing passing information and the electronic invoice into the block chain in an associated manner.
In the embodiment, the tax refund application instruction is received through the billing platform node, and the tax refund information and the tax bureau node address are obtained according to the tax refund application instruction; the billing platform node sends tax refund information to the tax office node through the block chain according to the tax office node address; the tax bureau node receives the tax refund information, acquires export information written by the customs node and logistics information written by the logistics node from the block chain according to the tax refund information; the tax bureau node acquires the billing information, the auditing passing information and the electronic invoice generation information from the block chain, and verifies whether the export information and the logistics information are consistent with the billing information, the auditing passing information and the electronic invoice generation information; and when the verification is passed, the tax bureau node generates tax refund verification passing information, and writes the tax refund verification passing information, the invoicing information, the audit passing information and the electronic invoice into the block chain in an associated manner. Through the information of the different block chain nodes obtained according to the related information of the electronic invoice, the tax refunding information is verified in a cross mode, the trade authenticity is guaranteed, the tax refunding accuracy is improved, and the tax refunding efficiency is improved.
In one embodiment, the tax bureau node is further configured to receive a tax refund transaction instruction, wherein the tax refund transaction instruction carries a tax refund value and a tax refund transaction node address, and the tax refund value is transferred to the tax refund transaction node address through the blockchain according to the tax refund transaction instruction.
The refund value refers to the refund amount, and is used for refunding the specific amount of the taxpayer. The tax refund transaction node address refers to an address of the tax refund transaction node in the block chain, and the tax refund transaction node is used for performing transaction of tax refund amount. For example, if a business refunds, the refund transaction node may be the business node.
Specifically, the tax bureau node is further used for receiving a tax refund transaction instruction, wherein the tax refund transaction instruction carries a tax refund value and a tax refund transaction node address, and the tax refund value is transferred to the tax refund transaction node address through a block chain according to the tax refund transaction instruction. For example, the tax office node may be engaged in a tax refund transaction with the enterprise node. And the tax bureau node sends out a transaction request, broadcasts the transaction request to the blockchain network, each node in the blockchain network performs consensus verification on the transaction request, when the consensus verification passes, the transaction information corresponding to the transaction request, including the tax refund amount and the tax refund transaction node address, is written into a data block, and the data block is added into the blockchain network, so that the transaction is completed. In the embodiment, the transaction is directly carried out through the blockchain, so that the efficiency of tax refund transaction is improved.
In one embodiment, as shown in fig. 6, the electronic invoice generating method further includes the steps of:
s602, receiving the financing application instruction, and acquiring financing application information and a bank node address according to the financing application instruction.
The financing application information is information for applying invoice or export tax refund financing from the bank, and may include applicant identification, invoice application information, export information, financing amount, and the like, and the bank node address is an address of the bank node in the block chain. The bank node is a block chain node used for auditing financing application and issuing financing.
Specifically, the billing platform node receives the financing application instruction, and acquires financing application information and a bank node address according to the financing application instruction. In one embodiment, the enterprise may also conduct financing applications through the enterprise nodes.
And S604, sending financing application information to the bank node through the block chain according to the address of the bank node.
Specifically, the billing platform node sends financing application information to the bank node through the block chain according to the address of the bank node.
And the bank node is used for receiving the financing application information and acquiring invoicing information, auditing passing information and electronic invoice generation information from the block chain.
Specifically, the bank node is configured to receive financing application information sent by the billing platform node, and acquire billing information, audit pass information, and electronic invoice generation information from the block chain.
The bank node is also used for verifying whether the financing application information is consistent with the invoicing information, the auditing passing information and the electronic invoice generation information.
Specifically, the bank node is further configured to verify whether the financing application information is consistent with the invoicing information, the audit passing information and the electronic invoice generation information, that is, verify whether the invoice information in the financing application information is consistent with the invoicing information, verify whether the audit passing information is valid, and verify whether the financing amount is valid. In one embodiment, the bank node may further obtain the export information of the customs node and the logistics information of the logistics node from the blockchain, and verify whether the invoice information is consistent with the export information of the customs node and the invoice information in the logistics information of the logistics node.
And the bank node is also used for generating financing verification passing information when the verification passes, and writing the financing verification passing information, the invoicing information, the auditing passing information and the electronic invoice into the block chain in an associated manner.
The financing verification passing information is information for proving that the financing application verification passes, and may be a string of character strings, an ID, a digital signature, or the like.
Specifically, the bank node is further configured to generate financing verification passing information when the bank node passes verification, and write the financing verification passing information, the invoicing information, the auditing passing information and the electronic invoice in the block chain in an associated manner.
In the embodiment, the financing application instruction is received through the billing platform node, and the financing application information and the bank node address are obtained according to the financing application instruction; the billing platform node sends financing application information to the bank node through the block chain according to the address of the bank node; the bank node receives financing application information and acquires invoicing information, audit passing information and electronic invoice generation information from the block chain; the bank node verifies whether the financing application information is consistent with the invoicing information, the auditing passing information and the electronic invoice generation information; and when the verification is passed, generating financing verification passing information, and writing the financing verification passing information, the invoicing information, the auditing passing information and the electronic invoice into the block chain in an associated manner. Financing application is carried out through the block chain, financing application information can be verified conveniently, and financing application efficiency is improved. The monitoring is carried out through the block chain, so that financial institutions such as banks and the like reduce the risk of financing.
In one embodiment, the bank node is further configured to receive a financing transaction instruction, the financing transaction instruction carries a financing value and a financing transaction node address, and the financing value is transferred to the financing transaction node address through the block chain according to the financing transaction instruction.
The financing value is the financing amount and is used for representing the specific financing amount. The financing transaction node address refers to an address of the financing transaction node in the block chain, and the financing transaction node is used for carrying out financing amount transaction. For example, if a business finances, the financing transaction node may be the business node
Specifically, the financing node is further configured to receive a financing transaction instruction sent by the user, the financing transaction instruction carries a financing amount and a financing returning transaction node address, and a financing value is transferred to the financing transaction node address through the block chain according to the financing transaction instruction. For example, a banking node is to conduct financing transactions with an enterprise node. The bank node sends out a transaction request, broadcasts the transaction request to the blockchain network, each node in the blockchain network carries out consensus verification on the transaction request, when the consensus verification passes, transaction information corresponding to the transaction request, including financing amount and financing transaction node address, is written into a data block, the data block is added into the blockchain network, and the transaction is completed. In the embodiment, the transaction is directly carried out through the blockchain, so that the efficiency of financing transaction is improved.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In a specific embodiment, as shown in fig. 7, a specific application scenario diagram of an electronic invoice generation method, a blockchain network includes: tax office node 702, billing platform node 704, enterprise node 706, customs node 708, logistics node 710, banking node 712, and reimbursement node 714. The billing platform node 704 sends billing information to the tax office node 702 through the block chain network by acquiring the billing information and a tax office node address, the tax office node 702 acquires audit passing information and electronic invoice generation information according to the billing information, and uploads the audit passing information and the electronic invoice generation information to the block chain network, so that each node can download the billing information, the audit passing information and the electronic invoice generation information from the block chain network to generate an electronic invoice, and application of the electronic invoice is performed. The enterprise node 706 may obtain the electronic invoice from the blockchain network and reimburse the electronic invoice to the reimbursement node 714, and after reimbursement of the reimbursement node 714 is completed, an reimbursement mark for generating the electronic invoice is uploaded to the blockchain network. The enterprise node 706 may also use the electronic invoice to perform import and export tax refund, send tax refund information to the tax office node 702, the tax office node 702 receives the tax refund information, acquire relevant tax refund information from the customs node 708 and the logistics node 710 to perform cross validation, and generate tax refund validation pass information to write in the block chain after the validation passes. The enterprise node 706 may also use the electronic invoice to perform a financing application, send the electronic invoice financing application to the bank node 712, the bank node receives the financing application information, acquires the related electronic invoice information from other block link points to perform cross verification, and generates financing audit pass information to write into the block chain when the verification passes. The tax bureau node 702 can monitor the electronic invoice circulation process after issuing through the blockchain network, such as reimbursement process, financing application process, tax refund process, and so on. Different nodes are accessed in the blockchain to form the blockchain electronic invoice ecological network, so that the efficiency of processing the related affairs of the electronic invoice by each node is improved, and the related electronic invoice information is prevented from being tampered.
In one embodiment, as shown in fig. 8, there is provided an electronic invoice generating apparatus 800, comprising: an instruction receiving module 802, an information sending module 804 and an invoice generating module 806, wherein:
the instruction receiving module 802 is configured to receive an invoicing instruction by an invoicing platform node, where the invoicing instruction carries invoicing information and a tax office node address;
the information sending module 804 is used for sending the billing information to the tax office node through the block chain by the billing platform node according to the tax office node address;
and an invoice generating module 806, configured to obtain the approval passing information and the electronic invoice generating information that are sent by the tax bureau node through the block chain by the billing platform node, and generate an electronic invoice according to the billing information, the approval passing information, and the electronic invoice generating information.
In one embodiment, the information sending module 804 includes:
the key generation module is used for obtaining a private key of the billing platform node by the billing platform node according to the billing instruction and generating an encryption key of each field in the billing information by using the private key of the billing platform node;
the encryption module is used for encrypting each field in the invoicing information by the invoicing platform node by using the encryption key of each field to obtain the encrypted invoicing information and sending the encrypted invoicing information to the tax bureau node through the block chain according to the address of the tax bureau node;
the authorization module is used for acquiring authorization information of the tax office node by the billing platform node, wherein the authorization information comprises an authorization field and an encryption key corresponding to the authorization field, and sending the authorization information to the tax office node;
the decryption module is used for receiving the authorization information by the tax bureau node, acquiring the encrypted billing information from the block chain, and decrypting the encrypted billing information by using an encryption key in the authorization information to obtain an authorization field in the billing information;
and the information acquisition module is used for acquiring the auditing passing information and the electronic invoice generation information by the tax bureau node according to the authorization field.
In one embodiment, the electronic invoice generating apparatus 800 further includes:
the reimbursement instruction receiving module is used for acquiring an address of the reimbursement node according to the reimbursement instruction after the invoicing platform node receives the reimbursement instruction of the electronic invoice;
the reimbursement information sending module is used for acquiring reimbursement information by the invoicing platform node according to the electronic invoice reimbursement instruction and sending the reimbursement information to the reimbursement node according to the reimbursement node address;
the invoice information acquisition module is used for receiving reimbursement information by the reimbursement node and acquiring invoicing information, audit passing information and electronic invoice generation information corresponding to the reimbursement information from the block chain according to the reimbursement information;
the reimbursement verification module is used for verifying the invoicing information, the auditing passing information and the electronic invoice generation information by the reimbursement node, and generating an electronic invoice according to the invoicing information, the auditing passing information and the electronic invoice generation information when the invoicing node passes the verification;
and the reimbursement mark generation module is used for receiving the reimbursement completion instruction of the electronic invoice by the reimbursement node, generating the reimbursement mark of the electronic invoice according to the reimbursement completion instruction, and uploading the reimbursement mark, the invoicing information, the auditing passing information and the electronic invoice generation information into the block chain in a correlation manner.
In one embodiment, the electronic invoice generating apparatus 800 further includes:
the tax refunding instruction receiving module is used for receiving a tax refunding application instruction by the billing platform node and acquiring tax refunding information and a tax office node address according to the tax refunding application instruction;
the tax refund information sending module is used for sending tax refund information to the tax office node by the billing platform node through the block chain according to the address of the tax office node;
the verification information acquisition module is used for acquiring exit information written by the customhouse node and logistics information written by the logistics node from the block chain according to the tax refund information after the tax refund information is received by the tax bureau node;
the verification module is used for acquiring the invoicing information, the auditing passing information and the electronic invoice generation information from the block chain by the tax bureau node, and verifying whether the outlet information and the logistics information are consistent with the invoicing information, the auditing passing information and the electronic invoice generation information;
and the tax refund verification passing module is used for generating tax refund verification passing information when the verification passes, and writing the tax refund verification passing information, the invoicing information, the auditing passing information and the electronic invoice into the block chain in an associated manner.
In one embodiment, the electronic invoice generating apparatus 800 further includes:
and the tax refund transaction module is used for receiving a tax refund transaction instruction by the tax bureau node, wherein the tax refund transaction instruction carries a tax refund value and a tax refund transaction node address, and the tax refund value is transferred to the tax refund transaction node address through the block chain according to the tax refund transaction instruction.
In one embodiment, the electronic invoice generating apparatus 800 further includes:
the financing instruction receiving module is used for receiving a financing application instruction by the billing platform node and acquiring financing application information and a bank node address according to the financing application instruction;
the financing application information sending module is used for sending financing application information to the bank node by the billing platform node through the block chain according to the address of the bank node;
the invoice information acquisition module is used for receiving financing application information by the bank node and acquiring invoicing information, auditing passing information and electronic invoice generation information from the block chain;
the verification module is used for verifying whether the financing application information is consistent with the invoicing information, the auditing passing information and the electronic invoice generation information or not by the bank node;
and the financing verification passing module is used for generating financing verification passing information when the financing verification passes, and writing the financing verification passing information, the invoicing information, the auditing passing information and the electronic invoice into the block chain in an associated manner.
In one embodiment, the electronic invoice generating apparatus 800 further includes:
and the financing transaction module is used for receiving the financing transaction instruction by the bank node, wherein the financing transaction instruction carries a financing value and a financing transaction node address, and the financing value is transferred to the financing transaction node address through the block chain according to the financing transaction instruction.
For specific limitations of the electronic invoice generation apparatus, reference may be made to the above limitations of the electronic invoice generation method, which are not described herein again. The modules in the electronic invoice generation apparatus can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store electronic invoice data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements an electronic invoice generation method.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory storing a computer program and a processor implementing the steps of the electronic invoice generation method in any of the above embodiments when the processor executes the computer program.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps of the electronic invoice generation method in any of the embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of electronic invoice generation, the method comprising:
the billing platform node receives a billing instruction, wherein the billing instruction carries billing information and a tax bureau node address;
the billing platform node sends the billing information to a tax office node through a block chain according to the tax office node address;
the billing platform node acquires audit passing information and electronic invoice generation information which are sent by the tax office node through the block chain, and generates an electronic invoice according to the billing information, the audit passing information and the electronic invoice generation information, wherein the block chain comprises the tax office node, the billing platform node, an enterprise node, a customs node, a logistics node, a bank node and a reimbursement node, a block chain electronic invoice ecological network is formed by the tax office node, the billing platform node, the enterprise node, the customs node, the logistics node, the bank node and the reimbursement node, and the tax office node, the billing platform node, the enterprise node, the customs node, the logistics node, the bank node and the reimbursement node download the billing information, the audit passing information and the electronic invoice generation information from the block chain electronic invoice ecological network and generate the electronic invoice.
2. The method of claim 1, wherein said sending said billing information to a tax office node through a blockchain based on said tax office node address comprises:
obtaining a billing platform node private key according to the billing instruction, and generating an encryption key of each field in the billing information by using the billing platform node private key;
encrypting each field in the billing information by using the encryption key of each field respectively to obtain the encrypted billing information, and sending the encrypted billing information to a tax office node through the block chain according to the tax office node address;
acquiring authorization information of the tax office node, wherein the authorization information comprises an authorization field and an encryption key corresponding to the authorization field, and sending the authorization information to the tax office node;
and the tax bureau node is used for receiving the authorization information, acquiring the encrypted billing information from the block chain, decrypting the encrypted billing information by using an encryption key in the authorization information, acquiring an authorization field in the billing information, and acquiring audit passing information and electronic invoice generation information according to the authorization field.
3. The method according to claim 1, wherein after the obtaining of the audit-passed information and the electronic invoice generation information sent by the tax office node through the block chain and the generating of the electronic invoice according to the audit-passed information and the electronic invoice generation information, further comprises:
receiving an electronic invoice reimbursement instruction, and acquiring a reimbursement node address according to the reimbursement instruction;
acquiring reimbursement information according to the electronic invoice reimbursement instruction, and sending the reimbursement information to a reimbursement node according to the reimbursement node address;
the reimbursement node is used for receiving the reimbursement information, acquiring invoicing information, audit passing information and electronic invoice generation information corresponding to the reimbursement information from the block chain according to the reimbursement information, verifying the invoicing information, the audit passing information and the electronic invoice generation information, and generating an electronic invoice according to the invoicing information, the audit passing information and the electronic invoice generation information when the verification passes;
the reimbursement node is further configured to receive the reimbursement completion instruction of the electronic invoice, generate a reimbursement mark of the electronic invoice according to the reimbursement completion instruction, and upload the reimbursement mark, the invoicing information, the audit passing information and the electronic invoice generation information in the block chain in an associated manner.
4. The method according to claim 1, wherein after the obtaining of the audit-passed information and the electronic invoice generation information sent by the tax office node through the block chain and the generating of the electronic invoice according to the audit-passed information and the electronic invoice generation information, further comprises:
receiving a tax refund application instruction, and acquiring tax refund information and the node address of the tax office according to the tax refund application instruction;
sending the tax refund information to the tax office node through the block chain according to the tax office node address; the tax bureau node is used for receiving the tax refund information, acquiring export information written by a customs node and logistics information written by a logistics node from the block chain according to the tax refund information, acquiring the invoicing information, the auditing passing information and the electronic invoice generation information from the block chain, and verifying whether the export information and the logistics information are consistent with the invoicing information, the auditing passing information and the electronic invoice generation information;
and the tax bureau node is also used for generating tax refund verification passing information when the verification passes, and writing the tax refund verification passing information, the invoicing information, the audit passing information and the electronic invoice into the block chain in an associated manner.
5. The method of claim 4, wherein the tax office node is further configured to receive a tax refund transaction instruction, wherein the tax refund transaction instruction carries a tax refund value and a tax refund transaction node address, and wherein the tax refund value is transferred to the tax refund transaction node address through the blockchain according to the tax refund transaction instruction.
6. The method of claim 1, further comprising:
receiving a financing application instruction, and acquiring financing application information and a bank node address according to the financing application instruction;
sending the financing application information to the bank node through the block chain according to the bank node address; the bank node is used for receiving the financing application information, acquiring the billing information, the auditing passing information and the electronic invoice generation information from the block chain, verifying whether the financing application information is consistent with the billing information, the auditing passing information and the electronic invoice generation information, generating financing verification passing information when the financing verification passing information passes verification, and writing the financing verification passing information, the billing information, the auditing passing information and the electronic invoice into the block chain in an associated manner.
7. The method of claim 6, wherein the banking node is further configured to receive a financing transaction instruction, the financing transaction instruction carrying a financing value and a financing transaction node address, the financing value being transferred to the financing transaction node address through the blockchain according to the financing transaction instruction.
8. An electronic invoice generating apparatus, characterised in that the apparatus comprises:
the instruction receiving module is used for receiving an invoicing instruction, and the invoicing instruction carries invoicing information and a tax bureau node address;
the information sending module is used for sending the billing information to the tax office node through a block chain according to the tax office node address;
the invoice generating module is used for acquiring auditing passing information and electronic invoice generating information which are sent by the tax office node through the block chain, and generating an electronic invoice according to the invoicing information, the auditing passing information and the electronic invoice generating information, wherein the block chain comprises the tax office node, the invoicing platform node, an enterprise node, a customs node, a logistics node, a bank node and a reimbursement node, a block chain electronic invoice ecological network is formed by the tax office node, the invoicing platform node, the enterprise node, the customs node, the logistics node, the bank node and the reimbursement node, and the tax office node, the invoicing platform node, the enterprise node, the customs node, the logistics node, the bank node and the reimbursement node download the invoicing information, the auditing passing information and the electronic invoice generating information from the block chain electronic invoice ecological network, and generate the electronic invoice.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
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 CN110378755A (en) 2019-10-25
CN110378755B true 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)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113065907B (en) * 2019-12-31 2024-04-12 航天信息股份有限公司 Block chain-based reimbursement method and device and computer equipment
CN111464500B (en) * 2020-03-06 2023-03-17 深圳壹账通智能科技有限公司 Method, device, equipment and storage medium for sharing protocol data
CN111506909B (en) * 2020-04-13 2023-08-01 深圳微众信用科技股份有限公司 Method and system for interaction of tax data
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
CN112529641A (en) * 2020-12-04 2021-03-19 深圳点链科技有限公司 Billing method, device and equipment based on block chain
CN112613961A (en) * 2020-12-15 2021-04-06 航天信息股份有限公司海外业务分公司 Import and export enterprise tax collection and management system based on block chain

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

Also Published As

Publication number Publication date
CN110378755A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN110378755B (en) Electronic invoice generation method and device, computer equipment and storage medium
CN109034924B (en) Electronic bill generating method, electronic bill generating device, storage medium and computer equipment
CN108306876B (en) Client identity authentication method, device, computer equipment and storage medium
CN110633323B (en) Service data storage method, device, storage medium and computer equipment
CN109255084B (en) Electronic bill query method, device, storage medium and computer equipment
CN110602248B (en) Abnormal behavior information identification method, system, device, equipment and medium
CN110599137A (en) Electronic bill data processing method and device and computer equipment
CN110599266B (en) Electronic bill data processing method and device, computer equipment and storage medium
CN112567366A (en) System and method for securing an electronic trading platform
CN110633963B (en) Electronic bill processing method, electronic bill processing device, computer readable storage medium and computer readable storage device
CN111080295A (en) Block chain-based electronic contract processing method and equipment
WO2021012571A1 (en) Data processing method and apparatus, computer device, and storage medium
CN109560934B (en) Data tamper-proof method and device, computer equipment and storage medium
CN110932859B (en) User information processing method, device and equipment and readable storage medium
CN110599270B (en) Electronic bill generation method and device and computer equipment
CN109087078A (en) About the data processing method of electronic bill, device, storage medium and equipment
CN112231284A (en) Block chain-based big data sharing system, method, device and storage medium
CN108965228B (en) Dispute relief system with KYC data mark of multiple keys and method thereof
CN110223159A (en) Credit data query method, apparatus, computer equipment and storage medium
CN111080292A (en) Method and device for acquiring block chain transaction signature data
GB2515057A (en) System and Method for Obtaining a Digital Signature
CN111460525A (en) Data processing method and device based on block chain and storage medium
CN109741016A (en) Electron contract method, apparatus, computer equipment and storage medium
CN111461881A (en) Data management method and device, computer equipment and storage medium
CN110610430A (en) Bill information processing method, device, computer equipment 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