CN112017021A - Method for automatically checking authenticity of invoice - Google Patents

Method for automatically checking authenticity of invoice Download PDF

Info

Publication number
CN112017021A
CN112017021A CN202010909920.0A CN202010909920A CN112017021A CN 112017021 A CN112017021 A CN 112017021A CN 202010909920 A CN202010909920 A CN 202010909920A CN 112017021 A CN112017021 A CN 112017021A
Authority
CN
China
Prior art keywords
invoice
enterprise
information
tax system
checking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010909920.0A
Other languages
Chinese (zh)
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN202010909920.0A priority Critical patent/CN112017021A/en
Publication of CN112017021A publication Critical patent/CN112017021A/en
Pending legal-status Critical Current

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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • 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/25Integrating or interfacing systems involving database management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention provides a method for automatically checking invoice authenticity, which is mainly applied to the field of electronic invoice checking and is used for solving the real-time coupling between an enterprise invoice checking and a tax authority system, and the method comprises the following steps: s1, downloading the enterprise invoice information from the tax system to a local database; s2, initiating an invoice checking request; and S3, performing invoice query in the local database according to the invoice checking request and returning a query result. The invention adopts the technical scheme that the enterprise bill information is downloaded to the local database, the bill is inspected in the local database when being inspected, and the invoice inspection efficiency is improved by reducing the real-time coupling with the tax system and reducing the data query quantity.

Description

Method for automatically checking authenticity of invoice
Technical Field
The invention relates to the technical field of electronic invoices, in particular to a method for automatically checking authenticity of invoices.
Background
Along with the development of enterprise internet technology, more and more big medium-sized enterprises begin to popularize the automatic reimbursement flow, and the true and false of reimbursement in-process invoice often need invest a large amount of human costs and examine, and at this moment, the automatic examination invoice true and false just can save a large amount of human costs liberation both hands and improve reimbursement efficiency and rate of accuracy.
The existing checking method comprises the steps that when the invoice is reimbursed, an enterprise calls an interface of a tax authority in real time to check whether the invoice is true or false, the enterprise calls the interface of the tax authority to check the detail information of the invoice, the tax authority inquires according to the received invoice information and returns a checking result to the enterprise, and the enterprise carries out follow-up work after taking the result; the inspection mode needs to depend on the tax authority system in real time, if the tax authority system happens to be in a maintenance period, inspection cannot be carried out, so that reimbursement progress is delayed, the service is in a non-use network environment, network delay causes slow response speed of interface access, and particularly when a large number of bills are inspected in a centralized mode, the conditions of untimely response, large server pressure, bill leakage, bill blocking and the like are caused easily to occur due to long inspection time.
Disclosure of Invention
The invention provides a method for automatically checking the authenticity of an invoice, which aims to reduce the real-time coupling between the enterprise invoice checking and a tax authority system and improve the invoice checking efficiency.
The technical scheme adopted by the invention for solving the problems is as follows:
a method of automatically verifying the authenticity of an invoice comprising:
s1, downloading the enterprise invoice information from the tax system to a local database;
s2, initiating an invoice checking request;
and S3, performing invoice query in the local database according to the invoice checking request and returning a query result.
Further, the step S1 includes:
s11, the enterprise local server sends a request for acquiring the enterprise invoice information to the tax system server;
s12, the tax system server receives the request of the enterprise local server and returns the invoice information;
and S13, the enterprise local server receives the invoice information returned by the tax system server and stores the invoice information in the local database.
Further, the local server of the enterprise periodically sends a request to the tax system server to obtain all invoice information of the enterprise within a certain period of time in step S11.
Further, the enterprise local server periodically acquires the enterprise invoice information from the tax system server in a mode of setting a timing task or manually calling a tax system interface.
Further, the step S13 includes:
s131, the enterprise local server receives invoice information returned by the tax system server;
s132, storing the received invoice information in a current bill information table of a local database;
and S133, archiving the historical bill information into a historical table.
The step S3 includes:
s31, firstly, inquiring data in the current bill information table, and if the result is not inquired, inquiring data in the history table; or firstly inquiring the data in the history table, and if the result is not inquired, inquiring the data in the current bill information table;
and S32, returning the checking result.
Compared with the prior art, the invention has the beneficial effects that:
1. the bill information is downloaded to the local database from the tax system in batch, and is compared with the bill information in the local database when invoice checking is carried out, so that the real-time coupling with the tax authority system is reduced.
2. When the query is carried out in the local database, the request and the service are in the same network environment, so that the response time of the system can be improved to a certain extent, and the query efficiency is improved.
3. The bill information is divided into current bill information and historical bill information to be stored respectively, the current bill information or the historical bill information is firstly inquired when bill inspection is carried out, the rest bill information is inquired when a result is not inquired, and the inquiry efficiency is improved by reducing the data volume during single inquiry.
Drawings
FIG. 1 is a flowchart of example 1 of the present invention;
FIG. 2 is a block diagram showing the structure of embodiment 2 of the present invention;
fig. 3 is a flowchart of embodiment 3 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example 1
As shown in fig. 1, a method for automatically verifying invoice authenticity includes:
s1, downloading the enterprise invoice information from the tax system to a local database; the invoice information includes invoice code, invoice number, invoicing date, invoicing amount (without tax), invoicing enterprise, etc.
S2, initiating an invoice checking request; the inspection request includes part of the invoice information, and in this embodiment, only the invoice code is included.
And S3, performing invoice query in the local database according to the invoice checking request and returning a query result. Comparing the invoice codes carried in the invoice checking request with the invoice codes in the local database one by one, wherein if the invoice information containing the invoice codes is inquired in the local database, the invoice is true, and otherwise, the invoice is false. If the invoice checking request carries the invoice code, the invoice number and the invoicing date, the invoice code can be used for inquiring when the invoice checking request is inquired in the local database, then the invoice number and the invoicing date are compared, and if all the fields are the same, the invoice is true, otherwise, the invoice is false.
According to the invention, the enterprise invoice information is downloaded to the local from the tax system in advance, and only the inquiry is needed in the local database when the invoice is checked, and the connection relation with the tax system is not needed, so that the coupling with the tax system is reduced; because the bill information in the local database is only the bill information of the enterprise, the data total amount in the invoice inspection is greatly reduced, and the inspection efficiency can be effectively improved compared with the bill inspection in a tax system; in addition, the service and the request can be positioned in the same network environment when the query is carried out in the local database, so that the response time of the system can be reduced, and the checking efficiency is improved.
Example 2
Based on the embodiment 1, as shown in fig. 2, the tax system provides an interface a1 for each enterprise to obtain all the billing information of the enterprise in batch. The method comprises the following specific steps: s11, the enterprise sends an acquisition request Q1 to the tax system server through the enterprise local server to call the interface A1 so as to acquire all invoice information of the enterprise; s12, the tax system server returns invoice information to the enterprise local server after receiving the request from the enterprise local server; s13, the enterprise local server receives the invoice information returned by the tax system server and stores the invoice information in a local database; when the expense is reimbursed, the step S2 is executed in sequence, and the user sends an invoice checking request to the enterprise local server through the client; and S3, the system queries the local database and returns the checking result to the client.
In this embodiment, in the step S11, the local enterprise server periodically sends a request to the tax system server to obtain all invoice information of the enterprise within a certain period, for example, all invoice information of the enterprise in the whole month of the previous month is obtained at the beginning of the month, and the periodic obtaining can avoid repeated obtaining of invoice information. In addition, the mode of acquiring the invoice information regularly can be realized by setting a timing task or manually calling a tax system interface.
Example 3
On the basis of embodiment 2, this embodiment adopts a mode of setting a timing task to acquire invoice information of the whole previous month at the beginning of each month and month. In order to further reduce the data query amount during the bill inspection and improve the inspection efficiency, as shown in fig. 3, the implementation steps are as follows: s11, according to the timing task set by the enterprise, initiating a request Q1 at the beginning of the month to call the interface A1 to obtain all invoice information of the enterprise in the whole month of the previous month, if the obtaining fails, the program can initiate the request Q2 … Qn again through the set interval time t until the obtaining succeeds. S12, the enterprise local server receives the invoice information returned by the tax system server, and S131, the enterprise local server receives the invoice information returned by the tax system server; s132, storing the received invoice information in a current bill information table of a local database; s133, archiving the historical bill information in the current bill information table to a historical table; it should be noted that the order of steps S132 and S133 may be exchanged. S2, the user sends an invoice checking request to the enterprise local server through the client; s31, firstly, inquiring data in the current bill information table according to the invoice checking request, and inquiring data in the history table if a result is not inquired; or firstly inquiring the data in the history table, and if the result is not inquired, inquiring the data in the current bill information table; in the embodiment, the current bill information table is firstly inquired, and then the history table is inquired; s32, returning the checking result; in the present embodiment, the examination success and the examination failure are taken as an example, and the examination success is returned if the ticket information is examined through the step S31, otherwise, the examination failure is returned.

Claims (6)

1. A method for automatically checking invoice authenticity is characterized by comprising the following steps:
s1, downloading the enterprise invoice information from the tax system to a local database;
s2, initiating an invoice checking request;
and S3, performing invoice query in the local database according to the invoice checking request and returning a query result.
2. The method for automatically verifying invoice authenticity according to claim 1, wherein the step S1 includes:
s11, the enterprise local server sends a request for acquiring the enterprise invoice information to the tax system server;
s12, the tax system server receives the request of the enterprise local server and returns the invoice information;
and S13, the enterprise local server receives the invoice information returned by the tax system server and stores the invoice information in the local database.
3. The method for automatically verifying invoice authenticity according to claim 2, wherein the enterprise local server periodically sends a request for obtaining all invoice information of the enterprise within a certain period of time to the tax system server in step S11.
4. The method for automatically verifying invoice authenticity according to claim 3, wherein the enterprise local server periodically obtains enterprise invoice information from the tax system server by setting a timing task or manually calling a tax system interface.
5. The method for automatically verifying invoice authenticity according to claim 2, wherein the step S13 includes:
s131, the enterprise local server receives invoice information returned by the tax system server;
s132, storing the received invoice information in a current bill information table of a local database;
and S133, archiving the historical bill information into a historical table.
6. The method for automatically verifying invoice authenticity according to claim 5, wherein the step S3 includes:
s31, firstly, inquiring data in the current bill information table, and if the result is not inquired, inquiring data in the history table; or firstly inquiring the data in the history table, and if the result is not inquired, inquiring the data in the current bill information table;
and S32, returning the checking result.
CN202010909920.0A 2020-09-02 2020-09-02 Method for automatically checking authenticity of invoice Pending CN112017021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010909920.0A CN112017021A (en) 2020-09-02 2020-09-02 Method for automatically checking authenticity of invoice

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010909920.0A CN112017021A (en) 2020-09-02 2020-09-02 Method for automatically checking authenticity of invoice

Publications (1)

Publication Number Publication Date
CN112017021A true CN112017021A (en) 2020-12-01

Family

ID=73516656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010909920.0A Pending CN112017021A (en) 2020-09-02 2020-09-02 Method for automatically checking authenticity of invoice

Country Status (1)

Country Link
CN (1) CN112017021A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135988A (en) * 2011-03-09 2011-07-27 深圳市茁壮网络股份有限公司 Data query method and client
CN103455500A (en) * 2012-05-30 2013-12-18 航天信息股份有限公司 Method and device for extracting and issuing data
CN104036420A (en) * 2014-06-27 2014-09-10 浪潮软件集团有限公司 Method for batch checking, downloading and utilizing invoices based on national network invoice platform
CN105095393A (en) * 2015-06-30 2015-11-25 努比亚技术有限公司 Method and device for data storage
CN106204754A (en) * 2016-06-23 2016-12-07 武汉斑马快跑科技有限公司 A kind of electronic bill generates and off-line verification system and method
CN106683202A (en) * 2016-11-28 2017-05-17 北京航天爱威电子技术有限公司 Intelligent terminal-based electronic ticket inspection system
CN107767192A (en) * 2016-08-19 2018-03-06 方正国际软件(北京)有限公司 A kind of verification method of electronic bill, apparatus and system
US20180144314A1 (en) * 2016-11-21 2018-05-24 Lisa Therese Miller Invoice Analytics System
CN108765041A (en) * 2018-01-19 2018-11-06 大象慧云信息技术有限公司 Memory management method and device, the computer equipment and storage medium of electronic invoice
CN109767274A (en) * 2018-12-05 2019-05-17 航天信息股份有限公司 A kind of pair of magnanimity invoice data is associated the method and system of storage
CN111597261A (en) * 2020-05-12 2020-08-28 广东巴金斯科技有限公司 Data declaration form making system, method and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135988A (en) * 2011-03-09 2011-07-27 深圳市茁壮网络股份有限公司 Data query method and client
CN103455500A (en) * 2012-05-30 2013-12-18 航天信息股份有限公司 Method and device for extracting and issuing data
CN104036420A (en) * 2014-06-27 2014-09-10 浪潮软件集团有限公司 Method for batch checking, downloading and utilizing invoices based on national network invoice platform
CN105095393A (en) * 2015-06-30 2015-11-25 努比亚技术有限公司 Method and device for data storage
CN106204754A (en) * 2016-06-23 2016-12-07 武汉斑马快跑科技有限公司 A kind of electronic bill generates and off-line verification system and method
CN107767192A (en) * 2016-08-19 2018-03-06 方正国际软件(北京)有限公司 A kind of verification method of electronic bill, apparatus and system
US20180144314A1 (en) * 2016-11-21 2018-05-24 Lisa Therese Miller Invoice Analytics System
CN106683202A (en) * 2016-11-28 2017-05-17 北京航天爱威电子技术有限公司 Intelligent terminal-based electronic ticket inspection system
CN108765041A (en) * 2018-01-19 2018-11-06 大象慧云信息技术有限公司 Memory management method and device, the computer equipment and storage medium of electronic invoice
CN109767274A (en) * 2018-12-05 2019-05-17 航天信息股份有限公司 A kind of pair of magnanimity invoice data is associated the method and system of storage
CN111597261A (en) * 2020-05-12 2020-08-28 广东巴金斯科技有限公司 Data declaration form making system, method and storage medium

Similar Documents

Publication Publication Date Title
US6493680B2 (en) Method and apparatus for processing billing transactions
CN105719182B (en) Automatic account checking method and automatic account checking system
GB2460532A (en) Metadata driven data capture for a temporal data warehouse
CN110610414A (en) Data processing method and system
CN111209060A (en) Capability development platform processing method and device
CN111192123A (en) Account checking system based on hybrid cloud computing platform and account checking method thereof
CN112017021A (en) Method for automatically checking authenticity of invoice
US7877750B2 (en) Scheduled job execution management
CN112040431B (en) Marketing short message management and control system and method thereof
CN113112348A (en) Processing method and device of social security data, electronic equipment and storage medium
CN108509491B (en) Enterprise due diligence data processing system and method
CN111581483A (en) Charging method, electronic device and storage medium
CN110334118A (en) Data query method and device
CN114463100A (en) Order data processing method, device, equipment and storage medium
US7325000B2 (en) System and method for performance measurement quality assurance
CN114219599A (en) Unattended TA (timing advance) automatic clearing method and system
CN111612402A (en) Automatic arbitration method and device
CN113742305A (en) File data processing method and device and server equipment
CN111679973A (en) Software test scheduling method and device, computer equipment and readable storage medium
CN113591005B (en) Information pushing method, device and terminal
CN111126899A (en) Automatic processing method and device for arbitration delay and computer equipment
CN111242595A (en) Information exchange method and device between ERP platform and payment platform
CN114741412B (en) User behavior self-help analysis system
CN109214659B (en) Accounting trigger device
CN117788128A (en) Operation control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201201

RJ01 Rejection of invention patent application after publication