CN112529642A - Invoice management method, system, equipment and storage medium based on block chain - Google Patents

Invoice management method, system, equipment and storage medium based on block chain Download PDF

Info

Publication number
CN112529642A
CN112529642A CN202011416353.1A CN202011416353A CN112529642A CN 112529642 A CN112529642 A CN 112529642A CN 202011416353 A CN202011416353 A CN 202011416353A CN 112529642 A CN112529642 A CN 112529642A
Authority
CN
China
Prior art keywords
invoice
interface
block chain
invoicing
chain platform
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
CN202011416353.1A
Other languages
Chinese (zh)
Other versions
CN112529642B (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.)
Shenzhen Dianlian Technology Co ltd
Original Assignee
Shenzhen Dianlian 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 Shenzhen Dianlian Technology Co ltd filed Critical Shenzhen Dianlian Technology Co ltd
Priority to CN202011416353.1A priority Critical patent/CN112529642B/en
Priority to PCT/CN2020/141545 priority patent/WO2022116350A1/en
Publication of CN112529642A publication Critical patent/CN112529642A/en
Application granted granted Critical
Publication of CN112529642B publication Critical patent/CN112529642B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The invention discloses a block chain-based invoice management method, a block chain-based invoice management system, a block chain-based invoice management device and a storage medium, wherein the method comprises the following steps: creating a standardized functional interface for transmitting data; the standardized functional interface comprises an invoicing interface; establishing connection with a tax block chain platform by adopting an invoicing interface; when receiving an invoicing request, carrying out authenticity verification on invoicing data carried in the invoicing request; if the invoicing data passes the verification, calling an invoicing interface to transmit the invoicing data to the tax block chain platform so that the tax block chain platform generates invoice information according to the invoicing data; receiving and recording invoice information fed back by the tax block chain platform through the invoicing interface. The invention not only reduces the tedious work of the enterprise user during invoicing, improves the working efficiency of the enterprise user, but also reduces the time of the enterprise for tax declaration.

Description

Invoice management method, system, equipment and storage medium based on block chain
Technical Field
The invention relates to the technical field of blockchain, in particular to an invoice management method, system, equipment and storage medium based on blockchain.
Background
The electronic invoice is a product of an information era, is used by merchants in a form of uniform distribution of a tax bureau like a common invoice, adopts national uniform coding for invoice numbers, adopts a uniform anti-counterfeiting technology and is distributed to the merchants, and a signature mechanism of the electronic tax bureau is attached to the electronic invoice.
At present, in an industrial blockchain system, an invoice module and a tax blockchain platform are relatively independent, and data sharing cannot be realized. When enterprise users invoicing, invoicing data can be transmitted into the tax block chain platform only through third-party plug-ins or controls, the process is complicated, the authenticity of invoice information is difficult to distinguish, and the invoice information is difficult to trace.
Disclosure of Invention
The embodiment of the application provides an invoice management method, an invoice management system, invoice management equipment and an invoice storage medium based on a block chain, and aims to solve the problems that when an enterprise user invoices through a third-party plug-in or control, the process is complicated, the authenticity of invoice information is difficult to distinguish, and the invoice information is difficult to trace.
The embodiment of the application provides an invoice management method based on a block chain, which comprises the following steps:
creating a standardized functional interface for transmitting data; the standardized functional interface comprises an invoicing interface;
establishing connection with a tax block chain platform by adopting the invoicing interface;
when an invoicing request is received, performing authenticity verification on invoicing data carried in the invoicing request;
if the invoicing data passes the verification, calling the invoicing interface to transmit the invoicing data to a tax block chain platform so that the tax block chain platform generates invoice information according to the invoicing data;
and receiving and recording the invoice information fed back by the tax block chain platform through the invoicing interface.
In one embodiment, the creating a standardized functional interface for transferring data includes:
generating a functional interface;
and encrypting the functional interface by adopting a preset encryption mode to obtain the standardized functional interface.
In an embodiment, the preset encryption manner includes an encryption algorithm and/or an encrypted network security protocol.
In one embodiment, the standardized functional interfaces further include an invoice validation interface, an invoice query interface, and an invoice voiding interface.
In an embodiment, the invoice management method further includes:
establishing connection with the tax block chain platform by adopting the invoice verification interface;
when an invoice verification request is received, calling the invoice verification interface to transmit the invoice verification request to the tax block chain platform, so that the tax block chain platform obtains invoice information to be verified according to the invoice verification request and verifies the invoice information to be verified;
and receiving an invoice verification result fed back by the tax block chain platform through the invoice verification interface.
In an embodiment, the invoice management method further includes:
establishing connection with the tax block chain platform by adopting the invoice query interface;
when an invoice printing request is received, calling the invoice inquiry interface to transmit the invoice printing request to the tax block chain platform, so that the tax block chain platform acquires invoice information to be printed according to the invoice printing request;
and generating an electronic invoice according to the invoice information to be printed, which is sent by the tax block chain platform through the invoice inquiry interface, and printing the electronic invoice.
In an embodiment, the invoice management method further includes:
establishing connection with the tax block chain platform by adopting the invoice voiding interface;
when an invoice invalidation request is received, the invoice invalidation interface is called to transmit the invoice invalidation request to the tax block chain platform, so that the tax block chain platform obtains invoice information to be destroyed according to the invoice invalidation request and invalidates the invoice information to be destroyed;
and receiving an invoice voiding result fed back by the tax block chain platform through the invoice voiding interface.
In addition, to achieve the above object, the present invention further provides a block chain based invoice management system, including:
the interface creating module is used for creating a standardized functional interface for transmitting data; the standardized functional interface comprises an invoicing interface;
the interface connection module is used for establishing connection with the tax block chain platform by adopting the invoicing interface;
the data verification module is used for verifying the authenticity of the invoicing data carried in the invoicing request when the invoicing request is received;
the interface calling module is used for calling the invoicing interface to transmit the invoicing data to a tax block chain platform if the invoicing data passes the verification so as to enable the tax block chain platform to generate invoice information according to the invoicing data;
and the information receiving module is used for receiving and recording the invoice information fed back by the tax block chain platform through the invoicing interface.
In addition, in order to achieve the above object, the present invention further provides a block chain-based invoice management method and apparatus, including: the system comprises a memory, a processor and an invoice management program stored on the memory and capable of running on the processor, wherein the invoice management program realizes the steps of the block chain-based invoice management method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a storage medium having an invoice management program stored thereon, where the invoice management program, when executed by a processor, implements the steps of the block chain based invoice management method described above.
The technical scheme of the invoice management method, system, device and storage medium based on the block chain provided in the embodiment of the application at least has the following technical effects or advantages:
the technical scheme includes that a standardized functional interface used for transmitting data is created and comprises an invoicing interface, the invoicing interface is connected with a tax block chain platform, authenticity verification is conducted on invoicing data carried in the invoicing request when the invoicing request is received, if the invoicing data passes the verification, the invoicing interface is called to transmit the invoicing data to the tax block chain platform, so that the tax block chain platform generates invoice information according to the invoicing data, and the invoice information fed back by the tax block chain platform through the invoicing interface is received and recorded. The method ensures the authenticity and the credibility of the invoice information by utilizing the characteristics of the block chain, avoids the falsification of the invoice information, reduces the tedious work of the enterprise user during invoicing, improves the working efficiency of the enterprise user, and reduces the time for the enterprise to declare the tax.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a block chain based invoice management method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a block chain based invoice management method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of a block chain based invoice management method according to the present invention;
FIG. 5 is a flowchart illustrating a fourth embodiment of a block chain based invoice management method according to the present invention;
FIG. 6 is a functional block diagram of the block chain based invoice management system of the present invention.
Detailed Description
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The invention provides invoice management equipment. As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment according to an embodiment of the present invention.
It should be noted that fig. 1 is a schematic structural diagram of a hardware operating environment of the invoice management apparatus.
As shown in fig. 1, the invoice management apparatus may include: a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the invoice management device may further include RF (Radio Frequency) circuitry, sensors, audio circuitry, a WiFi module, and the like.
Those skilled in the art will appreciate that the invoice management apparatus configuration shown in figure 1 does not constitute a definition of an invoice management apparatus, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of storage medium, may include therein an operating system, a network communication module, a user interface module, and an invoice management program. Among these, an operating system is a program that manages and controls the invoice management device hardware and software resources, the operation of the invoice management program, and other software or programs.
In the invoice management apparatus shown in fig. 1, the user interface 1003 is mainly used for connecting a terminal and performing data communication with the terminal; the network interface 1004 is mainly used for the background server and performs data communication with the background server; the processor 1001 may be used to invoke an invoice management program stored in the memory 1005.
In this embodiment, the invoice management apparatus includes: a memory 1005, a processor 1001, and an invoice management program stored on the memory and executable on the processor, wherein:
when the processor 1001 calls the invoice management program stored in the memory 1005, the following operations are performed:
creating a standardized functional interface for transmitting data; the standardized functional interface comprises an invoicing interface;
establishing connection with a tax block chain platform by adopting the invoicing interface;
when an invoicing request is received, performing authenticity verification on invoicing data carried in the invoicing request;
if the invoicing data passes the verification, calling the invoicing interface to transmit the invoicing data to a tax block chain platform so that the tax block chain platform generates invoice information according to the invoicing data;
and receiving and recording the invoice information fed back by the tax block chain platform through the invoicing interface.
When the processor 1001 calls the invoice management program stored in the memory 1005, the following operations are also performed:
generating a functional interface;
and encrypting the functional interface by adopting a preset encryption mode to obtain the standardized functional interface.
The preset encryption mode comprises an encryption algorithm and/or an encrypted network security protocol.
The standardized functional interface also comprises an invoice verification interface, an invoice inquiry interface and an invoice invalidation interface.
When the processor 1001 calls the invoice management program stored in the memory 1005, the following operations are also performed:
establishing connection with the tax block chain platform by adopting the invoice verification interface;
when an invoice verification request is received, calling the invoice verification interface to transmit the invoice verification request to the tax block chain platform, so that the tax block chain platform obtains invoice information to be verified according to the invoice verification request and verifies the invoice information to be verified;
and receiving an invoice verification result fed back by the tax block chain platform through the invoice verification interface.
When the processor 1001 calls the invoice management program stored in the memory 1005, the following operations are also performed:
establishing connection with the tax block chain platform by adopting the invoice query interface;
when an invoice printing request is received, calling the invoice inquiry interface to transmit the invoice printing request to the tax block chain platform, so that the tax block chain platform acquires invoice information to be printed according to the invoice printing request;
and generating an electronic invoice according to the invoice information to be printed, which is sent by the tax block chain platform through the invoice inquiry interface, and printing the electronic invoice.
When the processor 1001 calls the invoice management program stored in the memory 1005, the following operations are also performed:
establishing connection with the tax block chain platform by adopting the invoice voiding interface;
when an invoice invalidation request is received, the invoice invalidation interface is called to transmit the invoice invalidation request to the tax block chain platform, so that the tax block chain platform obtains invoice information to be destroyed according to the invoice invalidation request and invalidates the invoice information to be destroyed;
and receiving an invoice voiding result fed back by the tax block chain platform through the invoice voiding interface.
The embodiments of the present invention provide an embodiment of a block chain based invoice management method, and it should be noted that, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be performed in a different sequence from that shown or described herein, the block chain based invoice management method may be applied to invoicing, invoice verification, invoice printing, and invoice invalidation, and an execution subject of the method may be, but is not limited to, an industrial block chain platform. The industrial block chain platform is connected with the national tax block chain platform through a standardized functional interface, so that the operations of invoicing, invoice verification, invoice printing and invoice invalidation are realized.
As shown in fig. 2, in a first embodiment of the present application, a block chain-based invoice management method of the present application is specifically used for invoicing, and includes the following steps:
step S210: a standardized functional interface for transferring data is created.
The standardized functional interface can connect the industrial block chain platform with the tax block chain platform, and is used for transmitting corresponding data to the tax block chain platform through the standardized functional interface when enterprise users carry out invoicing, invoice verification, invoice printing and invoice invalidation, and transmitting generated invoice information, invoice verification results, invoice information to be printed and invoice invalidation results to the industrial block chain platform through the tax block chain platform. Specifically, step S210 includes the following steps:
step a: and generating a functional interface.
The method includes the steps of creating a functional interface for data transmission, wherein the functional interface is not high in security when data transmission is performed, and further performing standardization processing (also called encryption processing) on the created functional interface is needed so that the functional interface can ensure the security of the transmitted data when data transmission is performed.
Step b: and encrypting the functional interface by adopting a preset encryption mode to obtain the standardized functional interface.
And after the functional interface is established, standardizing the functional interface by adopting a preset encryption mode to obtain the standardized functional interface. The preset encryption mode comprises an encryption algorithm and/or an encrypted network security protocol; the encryption algorithm has various types, such as an RSA encryption algorithm, an AES encryption algorithm, an RSA encryption algorithm and the like; an encrypted network security protocol such as the https protocol. It should be noted that, when the standardized functional interface performs data transmission, the transmitted data are all encrypted data, i.e., ciphertext. After the industrial blockchain platform and the tax blockchain platform respectively receive the data sent by one of the parties, the received data needs to be decrypted by using a key shared by the two parties or matched by the two parties.
In this embodiment, the standardized functional interface includes an invoicing interface, and the invoicing interface is configured to transmit relevant data of the enterprise user during invoicing to the tax block chain platform.
Step S220: and establishing connection with a tax block chain platform by adopting the invoicing interface.
In this embodiment, after the standardized functional interface is created, the billing interface in the standardized functional interface is used to connect the bill data interface of the industrial blockchain platform and the tax blockchain platform, so that when an enterprise user bills through the industrial blockchain platform, the billing interface sends billing data to the tax blockchain platform.
Step S230: and when receiving an invoicing request, carrying out authenticity verification on invoicing data carried in the invoicing request.
In this embodiment, when receiving an invoicing request sent by an enterprise user, the industrial block chain platform obtains invoicing data carried in the invoicing request, where the invoicing data includes a company name, a tax number, an address phone, an account opening row, an account number, and the like. Then, verifying the authenticity of the billing data, and if the billing data is not verified, returning a prompt message that the verification is not passed to remind enterprise users to check the billing data; if the billing data passes the verification, the prompt information of passing the verification is returned, and step S240 is executed.
Step S240: and if the invoicing data passes the verification, calling the invoicing interface to transmit the invoicing data to a tax block chain platform so that the tax block chain platform generates invoice information according to the invoicing data.
In this embodiment, if the billing data of the enterprise user passes the verification, the industry block chain platform calls the billing interface to send the billing data to the tax block chain platform in a form of a ciphertext, and the tax block chain platform decrypts the received ciphertext to obtain the billing data, so as to create invoice information to be obtained by the enterprise user according to the billing data; and then, the tax block chain platform feeds the invoice information back to the industry block chain platform in a form of ciphertext through the invoicing interface.
Step S250: and receiving and recording the invoice information fed back by the tax block chain platform through the invoicing interface.
In this embodiment, the industrial blockchain platform decrypts the ciphertext fed back by the tax blockchain platform through the invoicing interface to obtain the invoice information, and then records the invoice information, that is, the enterprise user completes invoicing of the invoice.
According to the technical scheme, the standardized functional interface for transmitting data is created, the standardized functional interface comprises an invoicing interface, the invoicing interface is adopted to be connected with the tax block chain platform, when an invoicing request is received, the authenticity of the invoicing data carried in the invoicing request is verified, if the invoicing data passes the verification, the invoicing interface is called to transmit the invoicing data to the tax block chain platform, so that the tax block chain platform generates invoice information according to the invoicing data, and the technical means of receiving and recording the invoice information fed back by the tax block chain platform through the invoicing interface is adopted, the authenticity and the reliability of the invoice information are guaranteed by utilizing the characteristics of the block chain, the invoice information is prevented from being falsified, the tedious work of invoicing of enterprise users is reduced, the working efficiency of the enterprise users is improved, and the time of tax declaration of enterprises is also reduced.
Further, the standardized function interface also comprises an invoice verification interface, an invoice inquiry interface and an invoice invalidation interface. The invoice verification interface is used for transmitting an invoice verification request and an invoice verification result; the invoice inquiry interface is used for transmitting an invoice printing request and invoice information to be printed; the invoice voiding interface is used for transmitting invoice voiding requests and invoice voiding results.
As shown in fig. 3, in a second embodiment of the present application, a block chain-based invoice management method of the present application is specifically used for validating an invoice, and includes the following steps:
step S310: and establishing connection with the tax block chain platform by adopting the invoice verification interface.
In this embodiment, the invoice verification interface in the standardized functional interface is used to connect the bill verification interface between the industrial blockchain platform and the tax blockchain platform, so that when the enterprise user verifies the authenticity of the invoice through the industrial blockchain platform, the invoice verification interface sends an invoice verification request to the tax blockchain platform.
Step S320: when an invoice verification request is received, the invoice verification interface is called to transmit the invoice verification request to the tax block chain platform, so that the tax block chain platform obtains invoice information to be verified according to the invoice verification request and verifies the invoice information to be verified.
In this embodiment, the invoice verification request is sent by the enterprise user, and carries invoice information to be subjected to authenticity verification by the enterprise user. When the industrial blockchain platform receives the invoice verification request, the industrial blockchain platform calls an invoice verification interface to send the invoice verification request to the tax blockchain platform in a ciphertext mode, the tax blockchain platform decrypts the received ciphertext to obtain the invoice verification request, and therefore invoice information is obtained according to the invoice verification request, authenticity verification is conducted on the invoice information, and then an invoice verification result is generated. And then, the tax block chain platform feeds the invoice verification result back to the industry block chain platform in a form of ciphertext through the invoice verification interface.
Step S330: and receiving an invoice verification result fed back by the tax block chain platform through the invoice verification interface.
In this embodiment, the industrial blockchain platform decrypts the ciphertext fed back by the tax blockchain platform through the invoice verification interface to obtain an invoice verification result, and the enterprise user can determine the authenticity of the invoice information through the invoice verification result.
According to the technical scheme, the invoice verification interface is adopted to be connected with the tax block chain platform, when the invoice verification request is received, the invoice verification interface is called to transmit the invoice verification request to the tax block chain platform, so that the tax block chain platform obtains invoice information to be verified according to the invoice verification request, verifies the invoice information to be verified, and receives an invoice verification result fed back by the tax block chain platform through the invoice verification interface, and the execution efficiency of an invoice verification link is improved.
As shown in fig. 4, in a third embodiment of the present application, a block chain based invoice management method of the present application is specifically used for invoice printing, and includes the following steps:
step S410: and establishing connection with the tax block chain platform by adopting the invoice query interface.
In this embodiment, an invoice query interface in the standardized functional interface is used to connect the bill query interface of the industrial blockchain platform and the tax blockchain platform, so that when an enterprise user prints an electronic invoice through the industrial blockchain platform, the invoice query interface sends an invoice printing request to the tax blockchain platform.
Step S420: when receiving an invoice printing request, calling the invoice inquiry interface to transmit the invoice printing request to the tax block chain platform, so that the tax block chain platform acquires invoice information to be printed according to the invoice printing request.
In this embodiment, an invoice print request is issued by an enterprise user, which carries invoice query information. When the industrial block chain platform receives the invoice printing request, the industrial block chain platform calls an invoice inquiry interface to send the invoice printing request to the tax block chain platform in a form of a ciphertext, and the tax block chain platform decrypts the received ciphertext to obtain the invoice printing request. Further, the tax block chain platform takes the invoice query information as a query condition, and obtains invoice information to be printed, which is matched with the invoice query information, from a database; and then, the tax block chain platform feeds the invoice information to be printed back to the industrial block chain platform in a ciphertext mode through an invoice query interface.
Step S430: and generating an electronic invoice according to the invoice information to be printed, which is sent by the tax block chain platform through the invoice inquiry interface, and printing the electronic invoice.
In this embodiment, the industrial blockchain platform decrypts a ciphertext fed back by the tax blockchain platform through the invoice query interface to obtain invoice information to be printed, and then generates an electronic invoice from the invoice information to be printed, and prints the generated electronic invoice.
According to the technical scheme, the invoice inquiry interface is adopted to be connected with the tax block chain platform, when an invoice printing request is received, the invoice inquiry interface is called to transmit the invoice printing request to the tax block chain platform, so that the tax block chain platform obtains invoice information to be printed according to the invoice printing request, an electronic invoice is generated according to the invoice information to be printed, which is sent by the tax block chain platform through the invoice inquiry interface, and the electronic invoice is printed.
As shown in fig. 5, in a fourth embodiment of the present application, a block chain based invoice management method of the present application is specifically used for invalidating an invoice, and includes the following steps:
step S510: and establishing connection with the tax block chain platform by adopting the invoice voiding interface.
In this embodiment, the invoice voiding interface in the standardized functional interface is used to connect the invoice voiding interface between the industrial blockchain platform and the tax blockchain platform, so that when the enterprise user destroys the invoice information through the industrial blockchain platform, the invoice voiding interface sends an invoice voiding request to the tax blockchain platform.
Step S520: when an invoice invalidation request is received, the invoice invalidation interface is called to transmit the invoice invalidation request to the tax block chain platform, so that the tax block chain platform obtains invoice information to be destroyed according to the invoice invalidation request, and the invoice information to be destroyed is invalidated.
In this embodiment, the invoice voiding request is sent by the enterprise user, which carries invoice information to be destroyed by the enterprise user. When the industrial block chain platform receives the invoice invalidation request, the invoice invalidation interface is called to send the invoice invalidation request to the tax block chain platform in a ciphertext form, and the tax block chain platform decrypts the received ciphertext to obtain the invoice invalidation request, so that invoice information to be destroyed by an enterprise user is obtained according to the invoice invalidation request. And then further acquiring target invoice information which is the same as the invoice information to be destroyed, carrying out invalidation treatment on the target invoice information to generate an invoice invalidation result, and further feeding the invoice invalidation result back to the industrial block chain platform in a ciphertext form through an invoice invalidation interface.
Step S530: and receiving an invoice voiding result fed back by the tax block chain platform through the invoice voiding interface.
In this embodiment, the industrial blockchain platform decrypts the ciphertext fed back by the tax blockchain platform through the invoice revocation interface to obtain an invoice revocation result, and the enterprise user can determine that the invoice information to be destroyed does not exist any more through the invoice revocation result.
According to the technical scheme, the invoice invalidation interface is adopted to be connected with the tax block chain platform, when an invoice invalidation request is received, the invoice invalidation interface is called to transmit the invoice invalidation request to the tax block chain platform, so that the tax block chain platform obtains invoice information to be destroyed according to the invoice invalidation request, invoice information to be destroyed is invalidated, the technical means of receiving an invoice invalidation result fed back by the tax block chain platform through the invoice invalidation interface is adopted, and the timeliness of the invoice invalidation link work is guaranteed.
As shown in fig. 6, the present application provides a block chain-based invoice management system, including:
an interface creation module 610 for creating a standardized functional interface for transmitting data; the standardized functional interface comprises an invoicing interface;
the interface connection module 620 is used for establishing connection with the tax block chain platform by adopting the invoicing interface;
the data verification module 630 is configured to, when an invoicing request is received, perform authenticity verification on invoicing data carried in the invoicing request;
the interface calling module 640 is configured to call the invoicing interface to transmit the invoicing data to a tax block chain platform if the invoicing data passes verification, so that the tax block chain platform generates invoice information according to the invoicing data;
and the information receiving module 650 is configured to receive and record the invoice information fed back by the tax block chain platform through the invoicing interface.
Further, the interface creating module 610 includes:
an interface creating unit for generating a functional interface;
and the interface encryption unit is used for encrypting the functional interface by adopting a preset encryption mode to obtain the standardized functional interface.
Further, the preset encryption mode includes an encryption algorithm and/or an encrypted network security protocol.
Further, the standardized function interface also comprises an invoice verification interface, an invoice inquiry interface and an invoice invalidation interface.
Further, the interface connection module 620 is further configured to establish a connection with the tax block chain platform by using the invoice verification interface;
the interface calling module 640 is further configured to, when an invoice verification request is received, call the invoice verification interface to transmit the invoice verification request to the tax block chain platform, so that the tax block chain platform obtains invoice information to be verified according to the invoice verification request, and verifies the invoice information to be verified;
the information receiving module 650 is further configured to receive an invoice verification result fed back by the tax block chain platform through the invoice verification interface.
Further, the interface connection module 620 is further configured to establish a connection with the tax block chain platform by using the invoice query interface;
the interface calling module 640 is further configured to call the invoice query interface to transmit the invoice printing request to the tax block chain platform when an invoice printing request is received, so that the tax block chain platform obtains invoice information to be printed according to the invoice printing request;
the information receiving module 650 is further configured to generate an electronic invoice according to the invoice information to be printed, which is sent by the tax block chain platform through the invoice query interface, and print the electronic invoice.
Further, the interface connection module 620 is further configured to establish a connection with the tax block chain platform by using the invoice revocation interface;
the interface calling module 640 is further configured to, when an invoice revocation request is received, call the invoice revocation interface to transmit the invoice revocation request to the tax block chain platform, so that the tax block chain platform obtains invoice information to be destroyed according to the invoice revocation request, and revokes the invoice information to be destroyed;
the information receiving module 650 is further configured to receive an invoice voiding result fed back by the tax block chain platform through the invoice voiding interface.
The specific implementation of the block chain-based invoice management system of the present invention is basically the same as that of each embodiment of the block chain-based invoice management method described above, and details are not repeated here.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. The invoice management method based on the block chain is characterized by comprising the following steps:
creating a standardized functional interface for transmitting data; the standardized functional interface comprises an invoicing interface;
establishing connection with a tax block chain platform by adopting the invoicing interface;
when an invoicing request is received, performing authenticity verification on invoicing data carried in the invoicing request;
if the invoicing data passes the verification, calling the invoicing interface to transmit the invoicing data to a tax block chain platform so that the tax block chain platform generates invoice information according to the invoicing data;
and receiving and recording the invoice information fed back by the tax block chain platform through the invoicing interface.
2. The method of claim 1, wherein the creating a standardized functional interface for transferring data comprises:
generating a functional interface;
and encrypting the functional interface by adopting a preset encryption mode to obtain the standardized functional interface.
3. The method of claim 2, wherein the predetermined encryption scheme comprises an encryption algorithm and/or an encrypted network security protocol.
4. The method of claim 1 or 2, wherein the standardized functional interfaces further comprise an invoice validation interface, an invoice query interface, and an invoice voiding interface.
5. The method of claim 4, wherein the invoice management method, further comprises:
establishing connection with the tax block chain platform by adopting the invoice verification interface;
when an invoice verification request is received, calling the invoice verification interface to transmit the invoice verification request to the tax block chain platform, so that the tax block chain platform obtains invoice information to be verified according to the invoice verification request and verifies the invoice information to be verified;
and receiving an invoice verification result fed back by the tax block chain platform through the invoice verification interface.
6. The method of claim 4, wherein the invoice management method, further comprises:
establishing connection with the tax block chain platform by adopting the invoice query interface;
when an invoice printing request is received, calling the invoice inquiry interface to transmit the invoice printing request to the tax block chain platform, so that the tax block chain platform acquires invoice information to be printed according to the invoice printing request;
and generating an electronic invoice according to the invoice information to be printed, which is sent by the tax block chain platform through the invoice inquiry interface, and printing the electronic invoice.
7. The method of claim 4, wherein the invoice management method, further comprises:
establishing connection with the tax block chain platform by adopting the invoice voiding interface;
when an invoice invalidation request is received, the invoice invalidation interface is called to transmit the invoice invalidation request to the tax block chain platform, so that the tax block chain platform obtains invoice information to be destroyed according to the invoice invalidation request and invalidates the invoice information to be destroyed;
and receiving an invoice voiding result fed back by the tax block chain platform through the invoice voiding interface.
8. A blockchain-based invoice management system, comprising:
the interface creating module is used for creating a standardized functional interface for transmitting data; the standardized functional interface comprises an invoicing interface;
the interface connection module is used for establishing connection with the tax block chain platform by adopting the invoicing interface;
the data verification module is used for verifying the authenticity of the invoicing data carried in the invoicing request when the invoicing request is received;
the interface calling module is used for calling the invoicing interface to transmit the invoicing data to a tax block chain platform if the invoicing data passes the verification so as to enable the tax block chain platform to generate invoice information according to the invoicing data;
and the information receiving module is used for receiving and recording the invoice information fed back by the tax block chain platform through the invoicing interface.
9. An invoice management apparatus, comprising: a memory, a processor, and an invoice management program stored on the memory and executable on the processor, the invoice management program when executed by the processor implementing the steps of the blockchain based invoice management method of any one of claims 1-7.
10. A storage medium having stored thereon an invoice management program which, when executed by a processor, carries out the steps of the blockchain based invoice management method of any one of claims 1 to 7.
CN202011416353.1A 2020-12-04 2020-12-04 Invoice management method, system, equipment and storage medium based on block chain Active CN112529642B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011416353.1A CN112529642B (en) 2020-12-04 2020-12-04 Invoice management method, system, equipment and storage medium based on block chain
PCT/CN2020/141545 WO2022116350A1 (en) 2020-12-04 2020-12-30 Blockchain-based invoice management method, system, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011416353.1A CN112529642B (en) 2020-12-04 2020-12-04 Invoice management method, system, equipment and storage medium based on block chain

Publications (2)

Publication Number Publication Date
CN112529642A true CN112529642A (en) 2021-03-19
CN112529642B CN112529642B (en) 2024-03-22

Family

ID=74997847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011416353.1A Active CN112529642B (en) 2020-12-04 2020-12-04 Invoice management method, system, equipment and storage medium based on block chain

Country Status (2)

Country Link
CN (1) CN112529642B (en)
WO (1) WO2022116350A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113469758A (en) * 2021-06-11 2021-10-01 深圳前海星际同辉科技有限公司 Billing method, billing device, billing equipment and storage medium for block chain and tax system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090089209A1 (en) * 2007-09-28 2009-04-02 The Western Union Company Methods and systems for generating invoices
CN110738471A (en) * 2019-10-14 2020-01-31 腾讯科技(深圳)有限公司 bill management method based on block chain network and related equipment
CN110852816A (en) * 2019-11-13 2020-02-28 深圳前海星际同辉科技有限公司 Block chain based automatic invoicing method, terminal equipment and storage medium
CN111967923A (en) * 2020-07-28 2020-11-20 厉风英 Electronic invoice management system based on block chain technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090089209A1 (en) * 2007-09-28 2009-04-02 The Western Union Company Methods and systems for generating invoices
CN110738471A (en) * 2019-10-14 2020-01-31 腾讯科技(深圳)有限公司 bill management method based on block chain network and related equipment
CN110852816A (en) * 2019-11-13 2020-02-28 深圳前海星际同辉科技有限公司 Block chain based automatic invoicing method, terminal equipment and storage medium
CN111967923A (en) * 2020-07-28 2020-11-20 厉风英 Electronic invoice management system based on block chain technology

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113469758A (en) * 2021-06-11 2021-10-01 深圳前海星际同辉科技有限公司 Billing method, billing device, billing equipment and storage medium for block chain and tax system
CN113469758B (en) * 2021-06-11 2024-03-22 深圳前海星际同辉科技有限公司 Billing method, device, equipment and storage medium of blockchain and tax system

Also Published As

Publication number Publication date
CN112529642B (en) 2024-03-22
WO2022116350A1 (en) 2022-06-09

Similar Documents

Publication Publication Date Title
CN109961292B (en) Block chain verification code application method, equipment and storage medium
CN110543510B (en) Bill data processing method, device, storage medium and computer equipment
US7995766B2 (en) Group subordinate terminal, group managing terminal, server, key updating system, and key updating method therefor
TWI762293B (en) Secure service request processing method and device
CN113422686B (en) Gateway layer authentication method, system, electronic device and storage medium
CN108449315A (en) Ask calibration equipment, method and the computer readable storage medium of legitimacy
WO2023005838A1 (en) Data sharing method and electronic device
CN110598377A (en) Software serial number management method and device based on block chain
CN113010861B (en) Identity verification method and system in financing transaction based on block chain
CN111241569A (en) Information processing method, device and equipment
CN110909383A (en) Electronic invoice management method and device, electronic equipment and storage medium
CN111429191A (en) Block chain-based electronic invoice flow management method, device and system
EP1785901B1 (en) Secure License Key Method and System
WO2022151888A1 (en) Data sharing method and apparatus
CN109213612B (en) Invoice issuing method and system based on webservice interface
WO2022088710A1 (en) Mirror image management method and apparatus
CN112529642A (en) Invoice management method, system, equipment and storage medium based on block chain
CN111131227B (en) Data processing method and device
CN111125734B (en) Data processing method and system
CN112163917A (en) Bill processing method, device, medium and electronic equipment based on block chain
CN111859351A (en) Method, system, server and storage medium for writing information into chip
CN116992470B (en) Collaborative authorization protocol signing method, device, computer equipment and storage medium
US11936773B2 (en) Encryption key management method in data subscription system
CN115146252B (en) Authorization authentication method, system, computer device and storage medium
CN110912987B (en) Information processing method and related equipment

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