CN109784068B - Method and system for reading invoice information in invoicing software - Google Patents
Method and system for reading invoice information in invoicing software Download PDFInfo
- Publication number
- CN109784068B CN109784068B CN201811542385.9A CN201811542385A CN109784068B CN 109784068 B CN109784068 B CN 109784068B CN 201811542385 A CN201811542385 A CN 201811542385A CN 109784068 B CN109784068 B CN 109784068B
- Authority
- CN
- China
- Prior art keywords
- invoice information
- file
- invoice
- information
- interface
- 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
Links
Images
Landscapes
- Storage Device Security (AREA)
Abstract
The invention provides a method and a system for reading invoice information in invoicing software, wherein the method and the system call an interface file capable of reading invoice information by executing a JavaScript language code through a browser of a computer operating system provided with the invoicing software, and verify whether parameter information transmitted when the browser calls the interface file to read the invoice information in the invoicing software is consistent with an authorization file corresponding to an enterprise tax number or not to read invoice data comprising invoice ciphertext information. According to the method and the system, only when the computer provided with the invoicing software successfully registers and installs the interface file capable of reading the invoice information, the browser carried by the operating system calls the interface file capable of reading the invoice information to read the invoice information, and the authorization party with the parameter information consistent with the information of the authorization file can read the invoice information, so that the safety of the invoice information is fully guaranteed, and the interface file capable of reading the invoice information has the function of reading the invoice information ciphertext, so that the invoice ciphertext information can be used for the authentication of the invoice of an enterprise user, and the authentication and declaration data are more real and accurate.
Description
Technical Field
The invention relates to the field of tax control, in particular to a method and a system for reading invoice information in invoicing software.
Background
In the prior art, in order to ensure the security of invoice data and prevent the abuse of ciphertext information in invoices, the invoice information in the read invoicing software is only the basic element information of invoices, the information can only help enterprises to complete the generation of statements and the data query in each month, the enterprises lack the ciphertext information of invoices, and the invoices cannot be authenticated, i.e. the authenticity and the accuracy of the invoice data of the current enterprises cannot be ensured, therefore, how to help the enterprises to authenticate the invoices on the premise of ensuring the security of the invoice data can also help the enterprises to ensure the authenticity and the accuracy of the invoice data of the enterprises become a technical problem which needs to be solved urgently.
Disclosure of Invention
In order to solve the technical problem of how to help enterprises authenticate invoices on the premise of ensuring the safety of invoice data in the prior art, the invention provides a method for reading invoice information in invoicing software, which comprises the following steps:
copying all files under a bin directory in a folder with the name of billing software as an enterprise tax number to an interface folder of a pre-established interface file capable of reading invoice information, wherein the interface file capable of reading the invoice information allows ciphertext information of an invoice to be read;
and copying an authorization file applied to an invoice information reading authority granter in advance to an interface folder, wherein the information of the authorization file comprises an enterprise tax number, an enterprise invoice machine number, a tax authority code to which an enterprise belongs, a software code of the interface file and an invoice information reading authority validity period.
Copying an interface file capable of reading invoice information to an interface folder, and registering the interface file by operating a command prompt in a computer operating system;
the computer operating system calls an interface file which is registered successfully and can read invoice information to read the invoice information by a browser, when the interface file reads the invoice information, the transmitted parameter information is consistent with the information of an authorization file, and the interface file generates a file of the invoice information corresponding to the enterprise tax number, wherein the invoice information comprises ciphertext information of the invoice.
Further, before copying all files under bin directory in a folder of the invoicing software with name of enterprise tax number to an interface folder of a pre-established interface file capable of reading invoice information, the method further comprises:
installing invoicing software on a local computer operating system, and acquiring historical invoice information associated with enterprise tax numbers;
based on the installation path of the billing software, creating an interface folder of an interface file capable of reading invoice information under the same-level directory of a folder with the name of enterprise tax number;
and applying for an authorization file to an invoice information reading authority granter, wherein the information of the authorization file comprises enterprise tax numbers, enterprise invoice machine numbers, tax authority codes to which the enterprises belong, software codes of the interface file and invoice information reading authority validity periods, and each enterprise tax number corresponds to one authorization file.
Furthermore, the installation of the invoicing software on the local computer operating system and the acquisition of the historical invoice information associated with the enterprise tax number mean that when the tax number corresponding to the enterprise has the historical invoice information, but the invoicing software is reinstalled on the computer operating system, all the historical invoice information associated with the enterprise tax number is restored through the data restoration function of the invoicing software.
Furthermore, when the invoicing software installed on the local computer operating system performs invoicing operation on at least two enterprise tax numbers, only the interface folder of the interface file capable of reading the invoice information needs to be newly built under the peer directory of any one of the enterprise tax number folders, and all files under the bin directory in the folder named as the enterprise tax number are copied to the interface folder.
Further, when the computer operating system where the invoicing software is located is provided with user rights, the administrator rights are used to operate the browser to call the interface file capable of reading the invoice information.
According to another aspect of the present invention, there is provided a system for reading invoice information in invoicing software, the system comprising:
the system comprises a first file copying unit, a second file copying unit and a control unit, wherein the first file copying unit is used for copying all files under a bin directory in a folder with the name of enterprise tax number of invoicing software to a pre-established interface folder capable of reading an interface file of invoice information, and the interface file capable of reading the invoice information allows ciphertext information of an invoice to be read;
and the second file copying unit is used for copying an authorization file which is applied to an invoice information reading authority granter in advance to an interface folder, wherein the information of the authorization file comprises an enterprise tax number, an enterprise invoice machine number, a tax authority code to which the enterprise belongs, a software code of the interface file and an invoice information reading authority validity period.
The interface file registration unit is used for copying an interface file capable of reading invoice information to an interface folder, and registering the interface file by operating a command prompt in a computer operating system;
and the invoice information reading unit is used for generating a file of invoice information corresponding to the enterprise tax number by using the interface file when the interface file called by a browser of the computer operating system is the registered interface file capable of reading the invoice information and the assignment of each parameter of the interface file is consistent with the information of the authorization file, wherein the invoice information comprises ciphertext information of the invoice.
Further, the system further comprises:
the invoice information repairing unit is used for installing invoicing software on a local computer operating system and acquiring historical invoice information associated with enterprise tax numbers;
the file folder establishing unit is used for establishing an interface file folder of an interface file capable of reading invoice information under a peer directory of a file folder with the name of an enterprise tax number based on an installation path of invoicing software;
and the authorization file applying unit is used for applying an authorization file to an invoice information reading authority granter, wherein the information of the authorization file comprises enterprise tax numbers, enterprise invoice machine numbers, tax authority codes to which enterprises belong, software codes of the interface files, and invoice information reading authority validity periods, and each enterprise tax number corresponds to one authorization file.
Furthermore, the invoice restoration unit installs invoicing software on a local computer operating system, and acquires historical invoice information associated with the enterprise tax number, namely when the tax number corresponding to the enterprise has the historical invoice information, but the invoicing software is reinstalled on the computer operating system, all the historical invoice information associated with the enterprise tax number is restored through the data restoration function of the invoicing software.
Furthermore, when the invoicing software installed on the local computer operating system performs invoicing operation on at least two enterprise tax numbers, the first file copying unit only needs to newly establish an interface folder of the interface file capable of reading the invoice information under the peer directory of any one of the enterprise tax number folders, and copies all files under the bin directory in the folder with the name of the enterprise tax number to the interface folder.
Further, when the computer operating system where the invoicing software is located is provided with user authority, the invoice information reading unit uses administrator authority to operate a browser to call the interface file capable of reading the invoice information.
According to the method and the system for reading the invoice information in the invoicing software, provided by the technical scheme of the invention, the browser which is arranged on a computer operating system of the invoicing software executes codes in a JavaScript language to call an interface file capable of reading the invoice information, and the invoice data comprising the invoice ciphertext information is read by verifying whether parameter information which is transmitted when the browser calls the interface file to read the invoice information in the invoicing software is consistent with an authorization file corresponding to an enterprise tax number or not. The method and the system for reading the invoice information in the invoicing software have the following beneficial effects:
1. only when a computer provided with invoicing software successfully registers and installs an interface file capable of reading invoice information, an operating system browser calls the interface file capable of reading invoice information to read the invoice information, and an authorized party with the parameter information consistent with the information of the authorized file can read the invoice information, so that the safety of the invoice information is fully guaranteed;
2. because the interface file capable of reading the invoice information has the function of reading the invoice information ciphertext, an authorizer consistent with the information of the authorization file can obtain accurate invoice information in invoicing software and obtain the invoice ciphertext information for authenticating the invoice of an enterprise user, so that the development function is more complete, the authentication and declaration data are more real and accurate, and the repeated processing of data and operation brought to developers and operating users due to errors of the invoice information is reduced.
Drawings
A more complete understanding of exemplary embodiments of the present invention may be had by reference to the following drawings in which:
FIG. 1 is a flow chart of a method of reading invoice information in invoicing software according to a preferred embodiment of the invention;
fig. 2 is a schematic structural diagram of a system for reading invoice information in invoicing software according to a preferred embodiment of the invention.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
Fig. 1 is a flowchart of a method of reading invoice information in billing software according to a preferred embodiment of the present invention. As shown in fig. 1, the method for reading invoice information in invoicing software according to the preferred embodiment starts with step 101.
At step 101, invoicing software is installed on a local computer operating system, and historical invoice information associated with enterprise tax numbers is acquired.
Preferably, the installing of the invoicing software on the local computer operating system and the obtaining of the historical invoice information associated with the enterprise tax number means that when the tax number corresponding to the enterprise has the historical invoice information, but the invoicing software is reinstalled on the computer operating system, all the historical invoice information associated with the enterprise tax number is repaired through the data repair function of the invoicing software.
For enterprises which install invoicing software for the first time, the invoicing software does not have invoice information, so that the invoicing software does not need to be executed after the invoicing software is installed on a local computer operating system to repair the invoice information.
In step 102, based on the installation path of the invoicing software, an interface folder of an interface file capable of reading the invoice information is newly created in a peer directory of a folder named as an enterprise tax number, wherein the interface file capable of reading the invoice information allows ciphertext information of the invoice to be read.
In the preferred embodiment, tax 110101000005001.0 is used as an example. The installation path of the billing software is 'C: \ Program Files (x86) \ billing software \ 110101000005001.0', the interface file capable of reading the invoice information is DIDH.dll, and then a DIDH folder is newly built under 'C: \ Program Files (x86) \ billing software'.
In step 103, an authorization file is applied to the invoice information reading authority granter, wherein the information of the authorization file comprises an enterprise tax number, an enterprise invoice machine number, a tax authority code of an enterprise, a software code of the interface file, and an invoice information reading authority validity period, and each enterprise tax number corresponds to one authorization file.
In step 104, all files in the bin directory in the folder with the name of the billing software being the enterprise tax number are copied to the interface folder of the interface file which is established in advance and can read the invoice information.
Preferably, when the invoicing software installed on the local computer operating system performs invoicing operation on at least two enterprise tax numbers, only the interface folder of the interface file capable of reading the invoice information needs to be newly built in the peer directory of any one of the enterprise tax number folders, and all files in the bin directory in the folder named as the enterprise tax number are copied to the interface folder.
In the preferred embodiment, all Files under the bin directory ("C: \ Program Files (x86) \ ticketing software \110101000005001.0\ bin") in the folder under tax number 110101000005001.0 are copied into the newly created DIDH folder. If the invoicing software of a plurality of tax numbers is installed locally, only the folder under any one of the tax numbers needs to be selected for the above operation.
In step 105, copying an authorization file applied to an invoice information reading authority granter in advance to an interface folder, wherein the information of the authorization file comprises an enterprise tax number, an enterprise invoice machine number, a tax authority code of an enterprise, a software code of the interface file and an invoice information reading authority validity period.
In the preferred embodiment, when the invoicing software performs invoicing on a plurality of tax numbers simultaneously, an authorization file is generated for each enterprise tax number, and the authorization file of each enterprise tax number is copied to the DIDH folder.
In step 106, the interface file capable of reading the invoice information is copied to an interface folder, and the interface file is registered by running a command prompt in a computer operating system.
In the preferred embodiment, after copying the interface file didh.dll to the DIDH file, when the computer operating system has the user right, the administrator identity runs the cmd command line to register the didh.dll file, and the following command is run by taking the installation path "C: \ Program Files (x86) \ invoicing software \110101000005001.0 \" of the tax number 110101000005001.0 as an example:
1. cd C: \ Windows \ Microsoft. NET \ Framework64\ v4.0.30319 (v4.0.30319 is version number of the Microsoft. NET highest version installed in local computer)
2. regasm 'C: \ Program Files (x86) \ Ticket software \ DIDH. dll'/codebase
And through the two commands, the DIDH.dll of the interface file is successfully registered in the computer operating system.
In step 107, a browser of the computer operating system calls an interface file which is registered successfully and can read the invoice information to read the invoice information, when the interface file reads the invoice information, the transmitted parameter information is consistent with the information of an authorization file, and the interface file generates a file of the invoice information corresponding to the enterprise tax number, wherein the invoice information comprises ciphertext information of the invoice.
Preferably, when the computer operating system where the invoicing software is located is provided with the user right, the administrator right is used to operate the browser to call the interface file capable of reading the invoice information.
In a preferred embodiment, when the computer operation is set with the user right, the browser of the computer operation system is operated by the identity of an administrator. The browser calls a first part of codes of a JavaScript language of the DIDH.dll to determine that a called interface file is a DIDH.dll file registered in a system.
An example of code is as follows:
in the code example, kpdiriver is a code-defined call object, whose attribute value in the system is sbaxhl.
When the call of the interface file is successful, in order to ensure that the user calling the interface file is authorized to allow the call, values need to be assigned to each parameter attribute in the kpdirver, wherein the definition of each parameter attribute is shown in table 1.
TABLE 1 interface File parameter name and meanings
As shown in table 1, the TaxCode indicates an anti-counterfeiting tax control device corresponding to the invoicing software of the enterprise, such as an enterprise tax number specified in a gold tax disk, Machine is a number of an invoicing Machine of the enterprise, the CertPassword is a certificate password required when the invoicing software is logged in, company id indicates a company number of an interface file writer and is used for corresponding to a software code in an authorization file, StartDate and StopDate are respectively used for indicating start and stop dates of read invoice information, OutXmlFile indicates an access path and a file name of an invoice information file, InvType indicates an invoice type of an invoice to be read, and Gfsh indicates a tax number of the invoice to be read.
The assignment code is as follows:
kpdriver.TaxCode=‘110101000005001’;
kpdriver.Machine=‘0’;
……
after the parameter attribute is assigned, executing to open the anti-counterfeiting tax control equipment corresponding to the invoicing software, wherein in the preferred embodiment, the anti-counterfeiting tax control equipment is a gold tax disk, and the code of the anti-counterfeiting tax control equipment is as follows:
var ret=kpdriver.ConnectKP();
the ret is a return code for opening the fiscal disc, is used for distinguishing whether the fiscal disc is correctly opened, and is used for judging whether the parameter information of the input interface file is matched with the authorization file after being assigned, wherein the type and meaning of the return code are shown in table 2.
TABLE 2 interface File Return code and meaning
Return code | Meaning of return code |
1 | Successful |
2 | nCompanyId coding error, illegal Call |
3 | Undetected billing system |
4 | Non-compliance of invoicing party tax number |
5 | Date format error of invoicing |
6 | Lack of registration files |
7 | Generating XML file errors |
8 | Failure of calling of tax card or disk |
9 | Other unknown errors |
In table 2, a return code of 2 indicates that the called interface file is not an authorized interface file capable of reading invoice information, a return code of 3 indicates that no invoicing software exists in the system, a return code of 4 indicates that the tax number of the invoice information to be read does not match the tax number in the authorized file, a return code of 6 indicates that no registered interface file exists in the system, a return code of 7 indicates that the file for reading invoice information generated by the system has an error, a return code of 8 indicates that the anti-counterfeiting tax control device for calling invoicing software has failed, and a return code of 9 indicates other unknown errors.
As shown in table 2, when the return code ret is 1, it indicates that the fiscal disc is successfully opened, and the parameter information matches with the authorization file, and can obtain the invoice information and close the fiscal disc connection, the following codes are used:
kpdriver.DrawVatDataHT();
kpdriver.DisonnectKP();
wherein, the first code is the code for obtaining the invoice information, and the second code is the code for closing the connection of the tax disk.
When a file with a specified file name is generated under a file path defined during parameter assignment, the interface is successfully called, the content in the file is invoice information acquired according to the parameters, the format is an XML character string, the file comprises an invoice code, an invoice number, a seller name/tax number/address telephone/bank account number, a buyer name/tax number/address telephone/bank account number, an invoice detail line, an invoice revocation mark, an invoice ciphertext and the like, the acquired invoice types are value-added special invoices, value-added tax common invoices, freight invoices, motor vehicle invoices and the like, and developers can read and analyze the file content to acquire effective information and process the information according to product requirements.
In this preferred embodiment, when needing to read the invoice information of a plurality of tax recitations, because every tax corresponds an anti-fake tax-control equipment, consequently, when the browser called interface file and read the invoice information, when one tax was read successfully, when needing to read the invoice information of another tax, interface file read the parameter information of invoice information and need pass into again, and the anti-fake tax-control equipment that the tax corresponds also needs to be changed.
Fig. 2 is a schematic structural diagram of a system for reading invoice information in invoicing software according to a preferred embodiment of the invention. As shown in fig. 2, the system 200 for reading invoice information in invoicing software according to the preferred embodiment includes:
the invoice information repairing unit 201 is used for installing invoicing software on a local computer operating system and acquiring historical invoice information associated with enterprise tax numbers;
the file folder establishing unit 202 is used for establishing an interface file folder of an interface file capable of reading invoice information under a peer directory of a file folder with the name of an enterprise tax number based on an installation path of invoicing software;
and the authorization file applying unit 203 is used for applying an authorization file to an invoice information reading authority granter, wherein the information of the authorization file comprises an enterprise tax number, an enterprise invoice machine number, a tax authority code to which an enterprise belongs, a software code of the interface file, and an invoice information reading authority validity period, and each enterprise tax number corresponds to one authorization file.
The first file copying unit 204 is configured to copy all files in a bin directory in a folder with an enterprise tax number name of invoicing software to an interface folder of a pre-established interface file capable of reading invoice information, where the interface file capable of reading invoice information allows ciphertext information of an invoice to be read;
the second file copying unit 205 is configured to copy an authorization file, which is applied to an invoice information reading authority granter in advance, to an interface folder, where information of the authorization file includes an enterprise tax number, an enterprise invoice machine number, a tax authority code to which an enterprise belongs, a software code of the interface file, and an invoice information reading authority validity period.
An interface file registration unit 206, configured to copy an interface file that can read invoice information to an interface folder, and register the interface file by running a command prompt in a computer operating system;
the invoice information reading unit 207 is used for calling an interface file which is registered successfully and can read invoice information by a browser of a computer operating system to read the invoice information, when the interface file reads the invoice information, the transmitted parameter information is consistent with the information of an authorization file, and the interface file generates a file of the invoice information corresponding to the enterprise tax number, wherein the invoice information comprises ciphertext information of an invoice.
Preferably, the invoice restoration unit 201 installs invoicing software on a local computer operating system, and acquires historical invoice information associated with an enterprise tax number, where the historical invoice information is that when the tax number corresponding to an enterprise has the historical invoice information, but the invoicing software is reinstalled on the computer operating system, all the historical invoice information associated with the enterprise tax number is restored through a data restoration function of the invoicing software.
Preferably, when the invoicing software installed on the local computer operating system performs invoicing on at least two enterprise tax numbers, the first file copying unit 204 only needs to newly establish an interface folder of the interface file capable of reading the invoice information in a peer directory of any one of the enterprise tax number folders, and copy all files in a bin directory of the folder named as the enterprise tax number to the interface folder.
Preferably, when the computer operating system where the invoicing software is located is provided with a user right, the invoice information reading unit 207 uses an administrator right to operate a browser to call the interface file capable of reading the invoice information.
The invention has been described with reference to a few embodiments. However, other embodiments of the invention than the one disclosed above are equally possible within the scope of the invention, as would be apparent to a person skilled in the art from the appended patent claims.
Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a/an/the [ device, component, etc ]" are to be interpreted openly as referring to at least one instance of said device, component, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.
Claims (10)
1. A method for reading invoice information in invoicing software, which is characterized by comprising the following steps:
copying all files under a bin directory in a folder with the name of billing software as an enterprise tax number to an interface folder of a pre-established interface file capable of reading invoice information, wherein the interface file capable of reading the invoice information allows ciphertext information of an invoice to be read;
copying an authorization file applied to an invoice information reading authority granter in advance to an interface folder, wherein the information of the authorization file comprises an enterprise tax number, an enterprise invoice machine number, a tax authority code to which an enterprise belongs, a software code of the interface file and an invoice information reading authority validity period;
copying an interface file capable of reading invoice information to an interface folder, and registering the interface file by operating a command prompt in a computer operating system;
the computer operating system calls an interface file which is registered successfully and can read invoice information to read the invoice information by a browser, when the interface file reads the invoice information, the transmitted parameter information is consistent with the information of an authorization file, and the interface file generates a file of the invoice information corresponding to the enterprise tax number, wherein the invoice information comprises ciphertext information of the invoice.
2. The method of claim 1, further comprising, prior to copying all files under a bin directory in a folder named enterprise tax number of the invoicing software to an interface folder of a pre-established interface file that can read invoice information:
installing invoicing software on a local computer operating system, and acquiring historical invoice information associated with enterprise tax numbers;
based on the installation path of the billing software, creating an interface folder of an interface file capable of reading invoice information under the same-level directory of a folder with the name of enterprise tax number;
and applying for an authorization file to an invoice information reading authority granter, wherein the information of the authorization file comprises enterprise tax numbers, enterprise invoice machine numbers, tax authority codes to which the enterprises belong, software codes of the interface file and invoice information reading authority validity periods, and each enterprise tax number corresponds to one authorization file.
3. The method of claim 2, wherein the installing of the invoicing software on the local computer operating system and the obtaining of the historical invoice information associated with the enterprise tax number means that when the enterprise has the historical invoice information under the corresponding tax number, but the invoicing software is reinstalled on the computer operating system, all the historical invoice information associated with the enterprise tax number is restored through a data restoration function of the invoicing software.
4. The method of claim 1, wherein when the billing software installed on the local computer operating system performs billing operation on at least two enterprise tax numbers, only the interface folder of the interface file capable of reading the invoice information needs to be newly created under the peer directory of any one of the enterprise tax number folders, and all files under the bin directory in the folder named enterprise tax number are copied to the interface folder.
5. The method as claimed in claim 1, wherein when the computer operating system where the invoicing software is located is provided with user authority, the interface file capable of reading the invoice information is called by using an administrator authority to run a browser.
6. A system for reading invoice information in invoicing software, the system comprising:
the system comprises a first file copying unit, a second file copying unit and a control unit, wherein the first file copying unit is used for copying all files under a bin directory in a folder with the name of enterprise tax number of invoicing software to a pre-established interface folder capable of reading an interface file of invoice information, and the interface file capable of reading the invoice information allows ciphertext information of an invoice to be read;
the second file copying unit is used for copying an authorization file which is applied to an invoice information reading authority granter in advance to an interface folder, wherein the information of the authorization file comprises an enterprise tax number, an enterprise invoice machine number, a tax authority code of an enterprise, a software code of the interface file and an invoice information reading authority validity period;
the interface file registration unit is used for copying an interface file capable of reading invoice information to an interface folder, and registering the interface file by operating a command prompt in a computer operating system;
the invoice information reading unit is used for calling an interface file which is registered successfully and can read invoice information by a browser of a computer operating system to read the invoice information, when the interface file reads the invoice information, the transmitted parameter information is consistent with the information of an authorization file, and the interface file generates a file of the invoice information corresponding to the enterprise tax number, wherein the invoice information comprises ciphertext information of the invoice.
7. The system of claim 6, further comprising:
the invoice information repairing unit is used for installing invoicing software on a local computer operating system and acquiring historical invoice information associated with enterprise tax numbers;
the file folder establishing unit is used for establishing an interface file folder of an interface file capable of reading invoice information under a peer directory of a file folder with the name of an enterprise tax number based on an installation path of invoicing software;
and the authorization file applying unit is used for applying an authorization file to an invoice information reading authority granter, wherein the information of the authorization file comprises enterprise tax numbers, enterprise invoice machine numbers, tax authority codes to which enterprises belong, software codes of the interface files, and invoice information reading authority validity periods, and each enterprise tax number corresponds to one authorization file.
8. The system of claim 7, wherein the invoice recovery unit installs invoicing software on a local computer operating system, and the obtaining of historical invoice information associated with enterprise tax numbers means that when the enterprise has historical invoice information under corresponding tax numbers, but the invoicing software is reinstalled on the computer operating system, all historical invoice information associated with enterprise tax numbers is recovered through a data recovery function of the invoicing software.
9. The system of claim 6, wherein when the billing software installed on the local computer operating system performs billing operation on at least two enterprise tax numbers, the first file copying unit only needs to newly create an interface folder of the interface file capable of reading the invoice information in the peer directory of any one of the enterprise tax number folders, and copy all files in the bin directory of the enterprise tax number folder to the interface folder.
10. The system according to claim 6, wherein when the computer operating system where the invoicing software is located is provided with user authority, the invoice information reading unit uses administrator authority to run a browser to call the interface file capable of reading the invoice information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811542385.9A CN109784068B (en) | 2018-12-17 | 2018-12-17 | Method and system for reading invoice information in invoicing software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811542385.9A CN109784068B (en) | 2018-12-17 | 2018-12-17 | Method and system for reading invoice information in invoicing software |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109784068A CN109784068A (en) | 2019-05-21 |
CN109784068B true CN109784068B (en) | 2022-04-29 |
Family
ID=66497105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811542385.9A Active CN109784068B (en) | 2018-12-17 | 2018-12-17 | Method and system for reading invoice information in invoicing software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109784068B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112488637A (en) * | 2020-12-18 | 2021-03-12 | 航天信息股份有限公司 | Method and device for collecting inventory information of finished oil, storage medium and electronic equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102194292A (en) * | 2010-03-10 | 2011-09-21 | 航天信息股份有限公司 | Billing server, tax copying system and tax copying method |
CN102479413A (en) * | 2010-11-26 | 2012-05-30 | 航天信息股份有限公司 | Network invoicing system and method thereof |
CN103532711A (en) * | 2012-07-02 | 2014-01-22 | 航天信息股份有限公司 | Encryption data transmission based real-time invoice authentication method and system |
CN103793990A (en) * | 2012-11-02 | 2014-05-14 | 航天信息股份有限公司 | Invoice verification method and system |
CN104282098A (en) * | 2013-07-08 | 2015-01-14 | 航天信息股份有限公司 | Invoicing and tax copying process upgrading method of tax control device |
CN105956893A (en) * | 2016-06-24 | 2016-09-21 | 北京交通大学 | Method for realizing tax invoicing system universal interface on the basis of production service system |
CN106934676A (en) * | 2015-12-30 | 2017-07-07 | 航天信息股份有限公司 | Managing bill system, invoice management method and billing system |
CN108256927A (en) * | 2016-12-28 | 2018-07-06 | 航天信息股份有限公司 | Extract the method and device of sales invoice information |
CN108734526A (en) * | 2018-05-18 | 2018-11-02 | 北京票通信息技术有限公司 | Invoice issuing system and method based on windows operating systems |
-
2018
- 2018-12-17 CN CN201811542385.9A patent/CN109784068B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102194292A (en) * | 2010-03-10 | 2011-09-21 | 航天信息股份有限公司 | Billing server, tax copying system and tax copying method |
CN102479413A (en) * | 2010-11-26 | 2012-05-30 | 航天信息股份有限公司 | Network invoicing system and method thereof |
CN103532711A (en) * | 2012-07-02 | 2014-01-22 | 航天信息股份有限公司 | Encryption data transmission based real-time invoice authentication method and system |
CN103793990A (en) * | 2012-11-02 | 2014-05-14 | 航天信息股份有限公司 | Invoice verification method and system |
CN104282098A (en) * | 2013-07-08 | 2015-01-14 | 航天信息股份有限公司 | Invoicing and tax copying process upgrading method of tax control device |
CN106934676A (en) * | 2015-12-30 | 2017-07-07 | 航天信息股份有限公司 | Managing bill system, invoice management method and billing system |
CN105956893A (en) * | 2016-06-24 | 2016-09-21 | 北京交通大学 | Method for realizing tax invoicing system universal interface on the basis of production service system |
CN108256927A (en) * | 2016-12-28 | 2018-07-06 | 航天信息股份有限公司 | Extract the method and device of sales invoice information |
CN108734526A (en) * | 2018-05-18 | 2018-11-02 | 北京票通信息技术有限公司 | Invoice issuing system and method based on windows operating systems |
Non-Patent Citations (4)
Title |
---|
The Research of Output and Authentication Methods of Digital Bills Based on the Fusion of Identity Information;Wang Hong 等;《2014 Fifth International Conference on Intelligent Systems Design and Engineering Applications》;20140616;第1084-1087页 * |
一种基于云计算和密码技术的电子发票安全管理服务平台;汪东起 等;《信息技术与信息化》;20140215(第01期);第32-36页 * |
基于WinCE的发票开具一体机开票软件的设计与实现;赵轶民;《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》;20170615(第06期);第I138-231页 * |
负载均衡技术在防伪税控系统中的应用;吴金保;《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》;20120215(第02期);第I138-2661页 * |
Also Published As
Publication number | Publication date |
---|---|
CN109784068A (en) | 2019-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6389534B1 (en) | Cryptographic policy filters and policy control method and apparatus | |
WO2017166561A1 (en) | Method of downloading android apk and system thereof | |
US20120210441A1 (en) | Software Protection Using an Installation Product Having an Entitlement File | |
CN104104672A (en) | Method for establishing dynamic authorization code based on identity authentication | |
US20090287917A1 (en) | Secure software distribution | |
JP6707586B2 (en) | Data scraping system, method, and computer program using script engine | |
CN104123481A (en) | Method and device for preventing application program from being tampered | |
CN110782251A (en) | Method for automatically deploying block chain network based on intelligent contracts | |
WO2017050186A1 (en) | Application permission management method and smart pos terminal | |
CN107729746B (en) | Installed application program tamper-proofing method and system based on digital signature | |
KR20120051662A (en) | A method for controlling unauthorized software application usage | |
EP1116083A1 (en) | Method of creating authenticated verifiable reproductions of electronic documents | |
US7930727B1 (en) | System and method for measuring and enforcing security policy compliance for software during the development process of the software | |
US8484724B2 (en) | User permissions in computing systems | |
CN109784068B (en) | Method and system for reading invoice information in invoicing software | |
CN118051919B (en) | Data processing method, chip, electronic device and storage medium | |
CN101639903A (en) | Method, device and system for stamping of electronic seal | |
CN104104671A (en) | System for establishing unified dynamic authorization code for enterprise legal person account | |
CN108021798A (en) | A kind of trusted operating system based on USBkey | |
CN111783047A (en) | RPA (resilient packet Access) automatic safety protection method and device | |
CN109767309A (en) | A kind of method and system obtaining invoice examination information | |
Bistarelli et al. | Towards automated verification of bitcoin-based decentralised applications | |
DE112022004138T5 (en) | SECURE SIGNING PROCESS, DEVICE AND SYSTEM | |
US20030182244A1 (en) | Method for certifying data containing a sequence of transactions | |
US7974734B2 (en) | Method and system to check an electronic metrological measurement instrument |
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 |