CN107784530A - Calcellation processing method, storage medium and the server of a kind of blank invoice - Google Patents
Calcellation processing method, storage medium and the server of a kind of blank invoice Download PDFInfo
- Publication number
- CN107784530A CN107784530A CN201710605487.XA CN201710605487A CN107784530A CN 107784530 A CN107784530 A CN 107784530A CN 201710605487 A CN201710605487 A CN 201710605487A CN 107784530 A CN107784530 A CN 107784530A
- Authority
- CN
- China
- Prior art keywords
- invoice
- blank
- interface
- target
- cancel
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/04—Billing or invoicing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
- G06Q40/123—Tax preparation or submission
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Marketing (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Technology Law (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of calcellation processing method of blank invoice, during for solving not knowing that the returning result of interface is cancelled in tax control, the problem of easily causing inconsistent in the stock and taxation control system for the blank invoice that managing bill system stores.Method provided by the invention includes:Determine that target is made out an invoice terminal, judge whether target available blank invoice in terminal of making out an invoice meets the default calcellation rule of taxation control system;If meet, target invoice number section to be cancelled then is determined, calls tax control to cancel interface the blank invoice in target invoice number section successively, until all blank invoices cancel success, and when calling tax control to cancel interface every time, judge whether to receive the returning result that interface is cancelled in tax control;If not receiving, judge whether current blank invoice cancels success;If cancelling successfully, the blank invoice stock of managing bill system is updated, and continues to cancel operation;If not cancelling success, continue to cancel operation since current blank invoice.
Description
Technical field
The present invention relates to financial technology field, more particularly to a kind of calcellation processing method of blank invoice, storage medium and
Server.
Background technology
At present, the circulation process of blank invoice is:Made out an invoice end from tax office purchase blank invoice → tax disc → core board →
End.After blank invoice is distributed to terminal of making out an invoice, if because the reason such as paper invoice damage is, it is necessary to open corresponding to blank invoice
Actively application carries out calcellation operation to the user of ticket terminal to the blank invoice of damage.During this calcellation, the invoice of enterprise
Management system needs to call calcellation interface (the abbreviation tax control calcellation of special tax control server (such as hundred tax control servers hoped)
Interface), the tax control cancels the Javascript interfaces that are externally provided by browser plug-in of interface to realize.
However, during blank invoice is cancelled, it is clear that managing bill system calls the tax control to be frequently resulted in when cancelling interface
Device of looking at response is slow or even stuck, when there are the fortuitous events such as browser is stuck, user closes browser, client computer powers off
The managing bill system for easily causing enterprise local can not timely and accurately know that the returning result of interface is cancelled in tax control, so as to difficult
To determine that the result for cancelling blank invoice is success or failure, and then cause the storehouse of the blank invoice of managing bill system storage
The problem of depositing with inconsistent in taxation control system.
The content of the invention
The embodiments of the invention provide calcellation processing method, storage medium and the server of a kind of blank invoice, Neng Goubao
Demonstrate,prove target blank invoice to be cancelled to complete to cancel, and ensure blank invoice stock and the tax control system of the storage of managing bill system
It is consistent in system.
First aspect, there is provided a kind of calcellation processing method of blank invoice, including:
After the terminal it is determined that the target that need to cancel blank invoice is made out an invoice, judge that the target is made out an invoice available sky in terminal
Whether white hair ticket meets the default calcellation rule of taxation control system;
If the target is made out an invoice, available blank invoice meets the default calcellation rule of taxation control system in terminal, in the mesh
Mark and determine target invoice number section to be cancelled in available blank invoice in terminal of making out an invoice;
Interface is cancelled in the tax control for calling the taxation control system to provide to the blank invoice in the target invoice number section successively,
Until all blank invoices in the target invoice number section cancel success, and the tax control is being called to cancel interface every time
When, judge whether to receive the returning result that interface is cancelled in the tax control;
If the returning result that interface is cancelled in the tax control is not received, by inquiring about invoice information in the taxation control system
Table judges whether current blank invoice cancels success, and the current blank invoice refers to that this calls the tax control to cancel interface institute
The blank invoice to be cancelled, the invoice information token record has cancels success or not in taxation control system on each blank invoice
Information;
If current blank invoice cancels successfully, by the information updating that the current blank invoice has cancelled to the invoice
In the blank invoice stock of management system, and since next blank invoice of the current blank invoice, return perform according to
The step of interface is cancelled in the tax control that the secondary blank invoice in the target invoice number section calls the taxation control system to provide;
If current blank invoice does not cancel success, since the current blank invoice, return and perform successively to described
The step of interface is cancelled in the tax control that blank invoice in target invoice number section calls the taxation control system to provide.
Second aspect, there is provided a kind of computer-readable recording medium, the computer-readable recording medium storage have meter
Calculation machine program, the computer program realizes the calcellation processing method of above-mentioned blank invoice when being executed by processor the step of.
The third aspect, there is provided a kind of server, including memory, processor and be stored in the memory and can
The computer program run on the processor, following steps are realized during computer program described in the computing device:
After the terminal it is determined that the target that need to cancel blank invoice is made out an invoice, judge that the target is made out an invoice available sky in terminal
Whether white hair ticket meets the default calcellation rule of taxation control system;
If the target is made out an invoice, available blank invoice meets the default calcellation rule of taxation control system in terminal, in the mesh
Mark and determine target invoice number section to be cancelled in available blank invoice in terminal of making out an invoice;
Interface is cancelled in the tax control for calling the taxation control system to provide to the blank invoice in the target invoice number section successively,
Until all blank invoices in the target invoice number section cancel success, and the tax control is being called to cancel interface every time
When, judge whether to receive the returning result that interface is cancelled in the tax control;
If the returning result that interface is cancelled in the tax control is not received, by inquiring about invoice information in the taxation control system
Table judges whether current blank invoice cancels success, and the current blank invoice refers to that this calls the tax control to cancel interface institute
The blank invoice to be cancelled, the invoice information token record has cancels success or not in taxation control system on each blank invoice
Information;
If current blank invoice cancels successfully, by the information updating that the current blank invoice has cancelled to the invoice
In the blank invoice stock of management system, and since next blank invoice of the current blank invoice, return perform according to
The step of interface is cancelled in the tax control that the secondary blank invoice in the target invoice number section calls the taxation control system to provide;
If current blank invoice does not cancel success, since the current blank invoice, return and perform successively to described
The step of interface is cancelled in the tax control that blank invoice in target invoice number section calls the taxation control system to provide.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In the embodiment of the present invention, after the terminal it is determined that the target that need to cancel blank invoice is made out an invoice, judge that the target is opened
Whether available blank invoice meets the default calcellation rule of taxation control system in ticket terminal;It can be used in terminal if the target is made out an invoice
Blank invoice meet the default calcellation rule of taxation control system, make out an invoice in the target and determined in available blank invoice in terminal
Target invoice number section to be cancelled;Then, the taxation control system is called to the blank invoice in the target invoice number section successively
Interface is cancelled in the tax control of offer, until all blank invoices in the target invoice number section cancel success, and is adjusting every time
When cancelling interface with the tax control, judge whether to receive the returning result that interface is cancelled in the tax control;If do not receive described
The returning result of interface is cancelled in tax control, then by inquiring about whether invoice information table in the taxation control system judges current blank invoice
Cancel successfully, the current blank invoice refers to that this calls the tax control to cancel the interface blank invoice to be cancelled, described
Invoice information token record has the information for cancelling success or not in taxation control system on each blank invoice;If current blank invoice is made
Give up successfully, then the blank invoice stock by the information updating that the current blank invoice has cancelled to the managing bill system
In, and since next blank invoice of the current blank invoice, return and perform successively in the target invoice number section
The blank invoice tax control of calling the taxation control system to provide the step of cancelling interface;If current blank invoice does not cancel success,
Then since the current blank invoice, return to perform and the tax is called to the blank invoice in the target invoice number section successively
The step of interface, is cancelled in the tax control that control system provides.From above-mentioned steps, when calling tax control to cancel interface every time, this is judged
Whether secondary calling receives the returning result that interface is cancelled in tax control, if being not received by returning result, can pass through inquiry
Invoice information table judges whether current blank invoice cancels success in the taxation control system, and according to current blank invoice cancel into
Whether work(is handled accordingly respectively:If cancelling successfully, continue to call since next invoice of current blank invoice
Tax control cancels interface and carries out calcellation processing;If not cancelling success, continue to call tax control calcellation to connect since current blank invoice
Mouth carries out calcellation processing.It can be seen that although calling tax control can not receive corresponding returning result after cancelling interface, the application can
To inquire about invoice information table to learn whether current blank invoice cancels success, and then corresponding processing is made, both can guarantee that mesh
Marking the blank invoice of invoice number section can complete to cancel, and ensure that blank invoice stock and the tax of the storage of managing bill system
It is consistent in control system.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is a kind of calcellation processing method one embodiment flow chart of blank invoice in the embodiment of the present invention;
Fig. 2 is a kind of calcellation process method step 101 of blank invoice in the embodiment of the present invention under an application scenarios
Schematic flow sheet;
Fig. 3 is a kind of calcellation process method step 104 and 105 of blank invoice in the embodiment of the present invention in an applied field
Schematic flow sheet under scape;
Fig. 4 is another embodiment flow chart of the calcellation processing method of a kind of blank invoice in the embodiment of the present invention;
Fig. 5 is a kind of calcellation processing unit one embodiment structure chart of blank invoice in the embodiment of the present invention;
Fig. 6 is the schematic diagram for the server that one embodiment of the invention provides.
Embodiment
The embodiments of the invention provide calcellation processing method, storage medium and the server of a kind of blank invoice, for solving
Can not certainly know tax control cancel interface returning result when, easily cause managing bill system store blank invoice stock with
The problem of inconsistent in taxation control system.
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that disclosed below
Embodiment be only part of the embodiment of the present invention, and not all embodiment.Based on the embodiment in the present invention, this area
All other embodiment that those of ordinary skill is obtained under the premise of creative work is not made, belongs to protection of the present invention
Scope.
Referring to Fig. 1, a kind of calcellation processing method one embodiment of blank invoice includes in the embodiment of the present invention:
101st, after the terminal it is determined that the target that need to cancel blank invoice is made out an invoice, judging the target to make out an invoice in terminal can use
Blank invoice whether meet taxation control system default calcellation rule, if so, then perform step 103, if it is not, then performing step
102;
In the present embodiment, user can first log in the managing bill system, it is necessary to verify the account of user, close during login
The identity informations such as code, if being verified, the Successful login managing bill system.Now, managing bill system can add automatically
Carrying under the administration authority of user has which to make out an invoice terminal.After loading, user can therefrom select a terminal of making out an invoice as needed
Made out an invoice terminal as above-mentioned target.
Made out an invoice in target after terminal determines, managing bill system needs to judge that the target is made out an invoice available blank in terminal
Whether invoice meets the default calcellation rule of taxation control system.Currently, taxation control system can be carried out strictly to the calcellation of blank invoice
Limit, cancel rule by default to realize the restriction.For example above-mentioned default calcellation rule can include:The blank of calcellation
Invoice must be in the case where the target makes out an invoice terminal, namely a terminal of making out an invoice can not cancel another blank made out an invoice in terminal hair
Ticket;The blank invoice of calcellation must be that the target is made out an invoice first available blank invoice of terminal;Etc..Due to terminal of making out an invoice
Need to be made out an invoice in strict accordance with invoice order, thus " first available blank invoice " said herein refer to currently to make out an invoice it is suitable
The blank invoice of sequence seniority among brothers and sisters first.Such as have the blank invoice of 1~No. 100 in terminal of making out an invoice, when it is made out an invoice, it is necessary to strictly by
Made out an invoice according to 1~100 order, i.e., first open No. 1 invoice, then open No. 2 invoices, by that analogy.Therefore, when 1~No. 100 blank
When invoice is not made out an invoice, then No. 1 blank invoice is first available blank invoice of the terminal of making out an invoice;When 1~No. 10 blank
When invoice has been made out an invoice, then No. 11 blank invoices are first available blank invoice of the terminal of making out an invoice.
Therefore, further, as shown in Fig. 2 above-mentioned step 101 can specifically include:
201st, the target recorded is inquired about in the taxation control system to make out an invoice current first available blank hair in terminal
Ticket, it is designated as the first invoice;
202nd, the target recorded is inquired about in the taxation control system to make out an invoice the invoice number sections of all blank invoices in terminal,
It is designated as the first number section;
203rd, invoice number section of the inquiry described in the managing bill system where the first invoice, is designated as the second number section;
204th, judge whether that first number section includes second number section, and in second number section first it is available
Blank invoice is identical with first invoice, if so, step 205 is then performed, if it is not, then performing step 206;
205th, judge that the target available blank invoice in terminal of making out an invoice meets the default calcellation rule of taxation control system;
206th, judge that the target available blank invoice in terminal of making out an invoice is unsatisfactory for the default calcellation rule of taxation control system.
For above-mentioned steps 201, managing bill system can call " the current number of not making out an invoice of inquiry " interface of taxation control system
Made out an invoice the current first available blank invoice of terminal to inquire about the target, can specifically inquire about the invoice generation of this blank invoice
Code and/or invoice number etc. information.This blank invoice is designated as the first invoice C.
For above-mentioned steps 202, managing bill system can call " neck purchase information inquiry " interface of taxation control system to look into
Ask the target to make out an invoice the invoice number sections of all blank invoices in terminal, and the invoice number section inquired is designated as the first number section B.
For above-mentioned steps 203, it is to be understood that in managing bill system, can be recorded in invoice database
Invoice number section where all available blank invoices and these blank invoices.Therefore, can inquire about in the managing bill
Invoice number section where the invoice of this in system first, as the second number section A.Wherein the second number section can be understood as a blank hair
The set of ticket, it is designated as set A [A1, An].
For step 204, that is, judge whether that B includes A, and A1 is identical with C.Wherein, " B include A " represent be:Where C
Blank invoice number section A be all contained in all blank invoice number sections for terminal of making out an invoice, what " A1 is identical with C " represented is current the
One invoice C for not issuing (available) is exactly in the first position of A number sections, and this condition is because the pressure of taxation control system is advised
It is fixed, when calling taxation control system to carry out blank invoice calcellation, only allow to make since current first blank invoice do not issued
Useless, for example, terminal of making out an invoice has 1-100 blank invoice, wherein 1 is first blank invoice do not issued, the terminal of making out an invoice is entered
Row is when making out an invoice, can only since 1 ing, 1 make out an invoice complete after (blue ticket or red ticket), make out an invoice next time and then use blank invoice 2, such as
This analogizes.Now, it is assumed that paper invoice corresponding to blank invoice 50 has damage, such as is stung and be broken by insect, then in terminal of making out an invoice
The middle blank invoice (electronic invoice) for needing to cancel No. 50, but due to currently only using blank invoice 2, now if called
The interface of taxation control system cancels blank invoice 50, will not be allowed to, and returns to failure or error message.Therefore, terminal of making out an invoice is only
After the blank invoice use of No. 2-49 can be waited, take turns to current first blank invoice do not issued for No. 50 when, Cai Nengcheng
Work(calls the interface of taxation control system to cancel blank invoice 50.
It follows that when the judged result of step 204 is is, then it represents that the target is made out an invoice available blank in terminal
Invoice meets the default calcellation rule of taxation control system, performs step 205;Conversely, when the judged result of step 204 is no, then
Represent that the target available blank invoice in terminal of making out an invoice is unsatisfactory for the default calcellation rule of taxation control system, perform step 206.
102nd, send on being unsatisfactory for the default prompting for cancelling rule;
It is understood that when on the target makes out an invoice terminal available blank invoice be unsatisfactory for the pre- of taxation control system and be provided as
When useless regular, managing bill system can prompt user's target to make out an invoice the invoice number section of terminal and the blank invoice of taxation control system
Number section mismatches, and the information such as can not cancel.
103rd, made out an invoice in the target and determine target invoice number section to be cancelled in available blank invoice in terminal;
Specifically, judging that the target available blank invoice in terminal of making out an invoice meets the default calcellation rule of taxation control system
After then, managing bill system can require that the number m, wherein m≤n of the blank invoice of calcellation are wanted in user's input.In user
Input m and after clicking on " it is determined that cancel " button, managing bill system can make out an invoice the target blank invoice collection in terminal
Close [A1, Am] and be defined as above-mentioned target invoice number section to be cancelled.
104th, the tax control for calling the taxation control system to provide the blank invoice in the target invoice number section successively is cancelled
Interface, until all blank invoices in the target invoice number section cancel success;
105th, when calling the tax control to cancel interface every time, judge whether to receive the return that interface is cancelled in the tax control
As a result, if so, then being performed according to normal flow step, if it is not, then performing step 106;
For above-mentioned steps 104 and 105, it is necessary to illustrate, when calling tax control to cancel interface calcellation blank invoice, when
Before, calcellation processing can only be carried out every time to a blank invoice by calling.Namely for 1~m blank invoices, can only be one by one
After ground calls tax control calcellation interface to be cancelled, and previous blank invoice cancels successfully, it could continue to cancel next blank
Invoice.Especially, in order to improve the security of voided check operation, in the present embodiment, when just starting to call the tax control cancel interface,
User is needed to carry out the input or confirmation of tax control key.Wherein, above-mentioned tax control key is to be pre-assigned to user to carry out tax control behaviour
The safety component of work, the tax control key can be specially the hardware module of a similar electronic cipher device, cancel calling tax control
, it is necessary to which could cancel interface to tax control after legal checking is carried out in the hardware module carries out legal calling during interface.If in addition,
To call tax control to cancel interface every time and be required to user's input tax control key, then the operating process can become very cumbersome and poorly efficient,
Therefore in the present embodiment, when tax control calcellation interface is continuously called to the blank invoice in target invoice number section, generally only
User is needed to input a tax control key.If certain calls tax control calcellation interface, tax control can not be received and cancel interface
Returning result, or it is when cancelling failure to receive returning result but returning result, then can interrupt the company that interface is cancelled in tax control
It is continuous to call.After continuous calling is interrupted, to continue to call tax control calcellation interface to not completing the blank invoice cancelled, then need to use
Family inputs or confirmed tax control key again.On the other hand, the present embodiment is not especially limited.
It is understood that in general, call the success rate of tax control calcellation interface higher, therefore to target invoice
When blank invoice in number section continuously calls tax control calcellation interface, all blank can often be sent out by continuous interface interchange
Ticket cancels successfully.But in order to avoid there is situation about being mentioned in background technology, tax control calcellation is being called to connect every time in the present embodiment
During mouth, managing bill system judges whether to receive the returning result that interface is cancelled in the tax control, if receiving returning result,
Then performed according to normal flow step;, whereas if being not received by returning result, then step 106 is performed.
Further, as shown in figure 3, above-mentioned steps 104 and 105 can specifically include:
301st, call what the taxation control system provided to first in the target invoice number section blank invoice not cancelled
Interface is cancelled in tax control;
302nd, judge whether to receive the returning result that interface is cancelled in the tax control, if so, step 303 is then performed, if it is not,
Then perform step 106;
303rd, it is to cancel failure or cancel successfully to judge the returning result received, if returning result fails to cancel,
Then since the current blank invoice, return and perform step 301, if returning result performs step 304 to cancel successfully;
304th, by the information updating that the current blank invoice has cancelled to the blank invoice storehouse of the managing bill system
In depositing;
305th, judge whether all blank invoices in the target invoice number section cancel successfully, held if it is not, then returning
Row step 301, if so, then performing step 306;
306th, the calcellation operation to the target invoice number section is terminated.
For above-mentioned steps 301, above-mentioned " first blank invoice not cancelled " refers to current in target invoice number section
Take turns to the blank invoice of calcellation.It is above-mentioned when just having started continuous calling tax control calcellation interface for example target invoice number section is A1~Am
" first blank invoice not cancelled " refer to blank invoice A1;After the completion of blank invoice A1 calcellations, then and then blank
Invoice A2, which turns into, is somebody's turn to do " first blank invoice not cancelled ";By that analogy, it is assumed that existing k (k < m) blank hair in A1~Am
Ticket is completed to cancel, then blank invoice A (k+1), which turns into, is somebody's turn to do " first blank invoice not cancelled ".
For above-mentioned steps 302, if managing bill system receives the returning result that interface is cancelled in the tax control, perform
Step 303, the returning result is determined whether to cancel successfully or cancelling failure.
For step 303, if returning result fails to cancel, that is, represent that current blank invoice does not complete and cancel.Wherein, when
Preceding blank invoice refers to that this calls the tax control to cancel the interface blank invoice to be cancelled.In order to ensure current blank invoice
Complete to cancel operation, tax control can be called to cancel interface again to it.In general, same blank invoice is called twice with
On tax control cancel interface, cancel success rate can be up to 99.99%.Therefore it substantially may insure that current blank invoice is completed
Cancel.On the other hand, if returning result can be now performed in step 304 renewal managing bill system to cancel successfully
Blank invoice stock.
For step 304, after a blank invoice cancels, then it represents that this blank invoice is no longer available, it is therefore desirable to
It will be deleted in its blank invoice stock from managing bill system, or should in the blank invoice stock of managing bill system
Blank invoice is opened to be labeled as having cancelled.
For step 305, successfully cancel a blank invoice every time afterwards, it is necessary to judge all in target invoice number section
Whether blank invoice cancels successfully, and the remaining blank invoice not cancelled is cancelled if it is not, then continuing executing with step 301
Processing, conversely, then terminating to cancel flow, the calcellation processing method for the blank invoice that the present embodiment provides is finished.
106th, judge whether current blank invoice cancels success by inquiring about invoice information table in the taxation control system, if
It is then to perform step 107, if it is not, then performing step 108;
Wherein, the current blank invoice refers to that this calls the tax control to cancel the interface blank invoice to be cancelled,
The invoice information token record has the information for cancelling success or not in taxation control system on each blank invoice.
Although it is understood that cancel because various accidental causes may cause managing bill system to be not received by tax control
The returning result of interface, but for taxation control system, the token record of its invoice information have each blank invoice cancels successfully and
No information, therefore managing bill system can inquire about the invoice information table and learn whether current blank invoice cancels success, such as
Fruit is cancelled successfully, then performs step 107, whereas if not cancelling success, then performs step 108.
107th, by the information updating that the current blank invoice has cancelled to the blank invoice storehouse of the managing bill system
In depositing, and since next blank invoice of the current blank invoice, return and perform step 104;
, can be by the information updating that the current blank invoice has cancelled to institute if current blank invoice cancels successfully
In the blank invoice stock for stating managing bill system, also it will be deleted in its blank invoice stock from managing bill system.So
Afterwards, calcellation operation is continued executing with since next blank invoice of the current blank invoice.
108th, since the current blank invoice, return and perform step 104.
If current blank invoice does not cancel success, need to call the current blank invoice again tax control calcellation to connect
Mouthful, to ensure that the current blank invoice cancels successfully.Therefore, calcellation behaviour can be continued executing with since the current blank invoice
Make.
In the present embodiment, after the terminal it is determined that the target that need to cancel blank invoice is made out an invoice, judge that the target is made out an invoice end
Whether available blank invoice meets the default calcellation rule of taxation control system on end;The available sky in terminal if the target is made out an invoice
White hair ticket meets the default calcellation rule of taxation control system, is made out an invoice in the target and determines to wait to make in available blank invoice in terminal
Useless target invoice number section;Then, the taxation control system is called to provide the blank invoice in the target invoice number section successively
Tax control cancel interface, until all blank invoices in the target invoice number section cancel success, and calling institute every time
When stating tax control calcellation interface, judge whether to receive the returning result that interface is cancelled in the tax control;If the tax control is not received
Cancel the returning result of interface, then judge whether current blank invoice cancels by inquiring about invoice information table in the taxation control system
Success, the current blank invoice refer to that this calls the tax control to cancel the interface blank invoice to be cancelled, the invoice
Information table record has the information for cancelling success or not in taxation control system on each blank invoice;If current blank invoice cancel into
Work(, then by the blank invoice stock of the information updating that the current blank invoice has cancelled to the managing bill system, and
Since next blank invoice of the current blank invoice, return and perform successively to the blank in the target invoice number section
The step of interface is cancelled in the tax control that invoice calls the taxation control system to provide;If current blank invoice does not cancel success, from institute
State current blank invoice to start, return to perform and the taxation control system is called to the blank invoice in the target invoice number section successively
The step of interface, is cancelled in the tax control of offer.From above-mentioned steps, when calling tax control to cancel interface every time, this calling is judged
Whether returning result that tax control cancel interface is received, can be by inquiring about the tax if being not received by returning result
Invoice information table judges whether current blank invoice cancels success in control system, and cancels success or not according to current blank invoice
Handled accordingly respectively:If cancelling successfully, continue to call tax control to make since next invoice of current blank invoice
Useless interface carries out calcellation processing;If not cancelling success, continue to call tax control to cancel interface progress since current blank invoice
Calcellation is handled.It can be seen that although calling tax control can not receive corresponding returning result after cancelling interface, the application can inquire about
Invoice information table learns whether current blank invoice cancels success, and then makes corresponding processing, both can guarantee that target invoice
The blank invoice of number section can be completed to cancel, and ensure that blank invoice stock and the taxation control system of the storage of managing bill system
In it is consistent.
For ease of understanding, refering to Fig. 4, calcellation of another embodiment to a kind of blank invoice of the present invention will be passed through below
Processing method is described in more detail:
401st, after the terminal it is determined that the target that need to cancel blank invoice is made out an invoice, judging the target to make out an invoice in terminal can use
Blank invoice whether meet taxation control system default calcellation rule, if so, then perform step 403, if it is not, then performing step
402;
402nd, send on being unsatisfactory for the default prompting for cancelling rule;
403rd, made out an invoice in the target and determine target invoice number section to be cancelled in available blank invoice in terminal;
404th, by first blank invoice pair not cancelled in the target invoice number section in the managing bill system
The default flag information answered is revised as exception;
405th, the described first blank invoice sheet do not cancelled is inserted into the invoice database of the managing bill system
The invoice relevant information of secondary calcellation;
406th, interface is cancelled in the tax control for calling the taxation control system to provide to described first blank invoice not cancelled;
407th, judge whether to receive the returning result that interface is cancelled in the tax control, if so, step 410 is then performed, if it is not,
Then perform step 408;
408th, judge whether current blank invoice cancels success by inquiring about invoice information table in the taxation control system, if
It is then to perform step 409, if it is not, then since the current blank invoice, returns and perform step 404.
409th, by the information updating that the current blank invoice has cancelled to the blank invoice storehouse of the managing bill system
In depositing, and since next blank invoice of the current blank invoice, return and perform step 404;
410th, it is to cancel failure or cancel successfully to judge the returning result received, if returning result fails to cancel,
Step 411 and 412 is then performed, if returning result performs step 413 to cancel successfully;
411st, the invoice relevant information of this calcellation of the current blank invoice is deleted from the invoice database;
412nd, feedback cancels the information of failure to specified keeper on the current blank invoice, and from described current empty
White hair ticket starts, and returns and performs step 404;
413rd, by the information updating that the current blank invoice has cancelled to the blank invoice storehouse of the managing bill system
In depositing;
414th, flag information will be preset corresponding to the current blank invoice to be revised as normally;
415th, judge whether all blank invoices in the target invoice number section cancel successfully, held if it is not, then returning
Row step 404, if so, then performing step 416;
416th, the calcellation operation to the target invoice number section is terminated.
In the present embodiment, in the content of above-mentioned steps 401~403,406~410,413,415 and 416 and a upper embodiment
The content of description is similar, and here is omitted.
It is related different for the ease of the keeper's maintenance system and inspection of managing bill system for above-mentioned steps 404 and 414
Normal mistake, the present embodiment can also add correlated identities during calcellation operation is performed to blank invoice.It is appreciated that
It is, by being configured to the identification information of current blank invoice, before calling tax control to cancel interface, identification information to be set to " different
Often ", for example 0 is set to,, should if the returning result that interface is cancelled in this tax control is failure after calling tax control to cancel interface
Current blank invoice is constantly present unusual condition on operation is cancelled, therefore can be given with feedback-related information and specify keeper,
Keeper is specified to carry out associated maintenance to remind.When specified keeper safeguard processing, specified keeper can pass through sky
The default flag information fast positioning of white hair ticket is to occurring abnormal blank invoice position, so as to help to specify keeper to different
The inspection and processing of reason condition.And when the returning result that interface is cancelled in this tax control is successfully, then this is preset into flag information
It is revised as normally, for example is set to " 1 ", the abnormal blank invoice of the blank invoice normally cancelled and calcellation can be made a distinction.
For above-mentioned steps 405 and 411, managing bill system can also be to the invoice database of the managing bill system
The invoice relevant information of this calcellation of middle insertion first blank invoice not cancelled.Connect if receiving the tax control and cancelling
The returning result and the returning result of mouth fail to cancel, then the current blank invoice is deleted from the invoice database
This invoice relevant information cancelled.Wherein it is possible to understand, above-mentioned invoice relevant information refers to the current blank invoice
Related Back ground Information and/or details.Back ground Information can include the application personnel of invoice, requiring department, the date of application,
The information such as purchase personnel, purchase date, storage personnel, entry time;Details can include invoice type, the invoice of invoice
The information such as denomination, invoice fraction, invoice codes.It can be deposited respectively using two different forms in the invoice database described
Back ground Information and details.If this tax control cancels the returning result of interface to cancel successfully, this calcellation need not be deleted
Invoice relevant information, this is beneficial to administrative staff and has cancelled successful blank invoice by the way that this two table lookup is each
Invoice relevant information, and itself and blank invoice stock are checked, it is whether accurate to verify the data in blank invoice stock
It is errorless.And if this tax control cancel interface returning result for cancel fail, must not believe that this calcellation be it is effective, thus
Need to delete the invoice relevant information that this cancels from the invoice database.
For above-mentioned steps 412, fail if this calls tax control to cancel the returning result received after interface to cancel,
It can then feed back and cancel the information of failure to specified keeper on the current blank invoice, and from the current blank invoice
Start, return and perform step 404.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic
It is fixed.
In addition, in the present invention, in order to further ensure that the blank invoice stock of managing bill system storage and the tax control system
It is consistent in system, the blank invoice stock that periodically managing bill system can also be stored (as performed per hour once) and tax control
Blank invoice stock in system synchronizes, and the blank invoice stock in taxation control system is defined.During synchronized update,
Managing bill system can also find out in blank invoice stock both and the invoice data of deviation be present, the hair that these are existed to deviation
Poll is reported to the keeper specified, in order to follow-up maintenance and processing.
A kind of calcellation processing method of blank invoice is essentially described above, below by a kind of calcellation of blank invoice
Reason device is described in detail.
Fig. 5 shows a kind of calcellation processing unit one embodiment structure chart of blank invoice in the embodiment of the present invention.
In the present embodiment, a kind of calcellation processing unit of blank invoice includes:
Rule judgment module 501, for after the terminal it is determined that the target that need to cancel blank invoice is made out an invoice, judging the mesh
Mark the default calcellation rule whether available blank invoice in terminal of making out an invoice meets taxation control system;
Cancel number section determining module 502, if the judged result for the rule judgment module 501 is yes, in the mesh
Mark and determine target invoice number section to be cancelled in available blank invoice in terminal of making out an invoice;
Calling and judge module 503 successively, described in being called successively to the blank invoice in the target invoice number section
Interface is cancelled in the tax control that taxation control system provides, until all blank invoices in the target invoice number section cancel success, and
When calling the tax control to cancel interface every time, judge whether to receive the returning result that interface is cancelled in the tax control;
Cancel inquiry judging module 504, if the judged result for the calling successively and judge module 503 is no,
Judge whether current blank invoice cancels success, the current blank invoice by inquiring about invoice information table in the taxation control system
Refer to that this calls the tax control to cancel the interface blank invoice to be cancelled, the invoice information token record has in taxation control system
Cancel the information of success or not on each blank invoice;
Stock's update module 505, if the judged result for the calcellation inquiry judging module 504 is yes, by described in
The information updating that current blank invoice has cancelled is into the blank invoice stock of the managing bill system, and from described current empty
Next blank invoice of white hair ticket starts, and returns and is called and judge module 503 successively described in triggering;
Trigger module 506 is returned to, if the judged result for the calcellation inquiry judging module 504 is no, from described
Current blank invoice starts, and returns and is called and judge module 503 successively described in triggering.
Further, described call successively can include with judge module:
Interface interchange unit, for calling the tax to first in the target invoice number section blank invoice not cancelled
Interface is cancelled in the tax control that control system provides;
As a result judging unit is received, cancels the returning result of interface for judging whether to receive the tax control;
First return trigger element, if for the result receive judging unit judged result for be and it is described return knot
Fruit fails to cancel, then since the current blank invoice, returns and trigger the interface interchange unit;
Cancel message updating block, if for the result receive judging unit judged result for be and it is described return knot
Fruit is to cancel successfully, then the blank invoice by the information updating that the current blank invoice has cancelled to the managing bill system
In stock, and judge whether all blank invoices in the target invoice number section cancel successfully;
Second returns to trigger element, if the judged result for the cancel message updating block is no, returns to triggering
The interface interchange unit;
Cancel end unit, if the judged result for the cancel message updating block is yes, terminate to the mesh
Mark the calcellation operation of invoice number section.
Further, the calcellation processing unit of the blank invoice also includes:
First flag information modified module, in the interface interchange unit to first in the target invoice number section
, will in the managing bill system before interface is cancelled in the tax control that the blank invoice not cancelled calls the taxation control system to provide
Flag information is preset corresponding to first blank invoice not cancelled and is revised as exception;
Information feedback module, if receiving the judged result of judging unit for the result to be and the returning result is
Cancel failure, then feedback cancels the information to fail to specified keeper on the current blank invoice;
Second flag information modified module, if receiving the judged result of judging unit for the result to be and described returning
Result is returned to cancel successfully, then flag information will be preset corresponding to the current blank invoice is revised as normally.
Further, the calcellation processing unit of the blank invoice also includes:
Relevant information inserts module, for not making to first in the target invoice number section in the interface interchange unit
Before interface is cancelled in the tax control that useless blank invoice calls the taxation control system to provide, to the invoice number of the managing bill system
According to the invoice relevant information that this calcellation of first blank invoice not cancelled is inserted in storehouse;
Relevant information removing module, if for the result receive judging unit judged result for be and it is described return knot
Fruit fails to cancel, then the invoice relevant information of this calcellation of the current blank invoice is deleted from the invoice database.
Further, the rule judgment module can include:
First query unit, made out an invoice for inquiring about in the taxation control system target recorded in terminal current first
Available blank invoice, it is designated as the first invoice;
Second query unit, made out an invoice all blank hairs in terminal for inquiring about in the taxation control system target recorded
The invoice number section of ticket, is designated as the first number section;
3rd query unit, for inquiring about the invoice number section described in the managing bill system where the first invoice,
It is designated as the second number section;
Number section judging unit, for judging whether that first number section includes second number section, and second number section
In first available blank invoice it is identical with first invoice;
Identifying unit, if the judged result for the number section judging unit is yes, judge that the target is made out an invoice terminal
Upper available blank invoice meets the default calcellation rule of taxation control system.
Fig. 6 is the schematic diagram for the server that one embodiment of the invention provides.As shown in fig. 6, the server 6 of the embodiment wraps
Include:Processor 60, memory 61 and it is stored in the computer that can be run in the memory 61 and on the processor 60
Program 62, such as perform the program of the calcellation processing method of the blank invoice.The processor 60 performs the computer journey
Realize the step in the calcellation processing method embodiment of above-mentioned each blank invoice during sequence 62, for example, the step 101 shown in Fig. 1 to
108.Or the processor 60 realizes each module/unit in above-mentioned each device embodiment when performing the computer program 62
Function, such as the function of module 501 to 506 shown in Fig. 5.
Exemplary, the computer program 62 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 61, and are performed by the processor 60, to complete the present invention.Described one
Individual or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used for
Implementation procedure of the computer program 62 in the server 6 is described.
The server 6 can be the computing devices such as home server, cloud server.The server may include, but
It is not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 6 is only the example of server 6, not
The restriction to server 6 is formed, can include than illustrating more or less parts, either combine some parts or difference
Part, such as the server can also include input-output equipment, network access equipment, bus etc..
The processor 60 can be CPU (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 61 can be the internal storage unit of the server 6, such as the hard disk or internal memory of server 6.
The memory 61 can also be the External memory equipment of the server 6, such as the plug-in type being equipped with the server 6 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Further, the memory 61 can also both include the internal storage unit of the server 6 or wrap
Include External memory equipment.The memory 61 is used to store the computer program and other programs needed for the server
And data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment
The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that each embodiment described with reference to the embodiments described herein
Module, unit and/or method and step, it can be realized with the combination of electronic hardware or computer software and electronic hardware.This
A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially
Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not
It is considered as beyond the scope of this invention.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these
Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
- A kind of 1. calcellation processing method of blank invoice, it is characterised in that including:After the terminal it is determined that the target that need to cancel blank invoice is made out an invoice, judge that the target is made out an invoice available blank hair in terminal Whether ticket meets the default calcellation rule of taxation control system;If the target is made out an invoice, available blank invoice meets the default calcellation rule of taxation control system in terminal, is opened in the target Target invoice number section to be cancelled is determined in ticket terminal in available blank invoice;Interface is cancelled in the tax control for calling the taxation control system to provide to the blank invoice in the target invoice number section successively, until All blank invoices in the target invoice number section cancel success, and when calling the tax control to cancel interface every time, sentence The disconnected returning result for whether receiving the tax control and cancelling interface;If not receiving the returning result that interface is cancelled in the tax control, sentenced by inquiring about invoice information table in the taxation control system Whether disconnected current blank invoice cancels success, and the current blank invoice refers to that this calls the tax control to cancel interface to be made Useless blank invoice, the invoice information token record have the letter for cancelling success or not in taxation control system on each blank invoice Breath;If current blank invoice cancels successfully, by the information updating that the current blank invoice has cancelled to the managing bill In the blank invoice stock of system, and since next blank invoice of the current blank invoice, it is right successively to return to execution The step of interface is cancelled in the tax control that blank invoice in the target invoice number section calls the taxation control system to provide;If current blank invoice does not cancel success, since the current blank invoice, return and perform successively to the target The step of interface is cancelled in the tax control that blank invoice in invoice number section calls the taxation control system to provide.
- 2. the calcellation processing method of blank invoice according to claim 1, it is characterised in that described successively to the target Interface is cancelled in the tax control that blank invoice in invoice number section calls the taxation control system to provide, until in the target invoice number section All blank invoices cancel success, and when calling the tax control to cancel interface every time, judge whether to receive the tax The step of returning result of control calcellation interface, includes:The tax control for calling the taxation control system to provide to first in the target invoice number section blank invoice not cancelled is cancelled Interface;Judge whether to receive the returning result that interface is cancelled in the tax control;If it is to cancel to fail to receive the returning result of the tax control calcellation interface and the returning result, from the current sky White hair ticket starts, and it is described to first in the target invoice number section blank invoice not the cancelled calling tax control to return to execution The step of interface, is cancelled in the tax control that system provides;If it is to cancel successfully to receive the tax control to cancel the returning result of interface and the returning result, will be described current empty The information updating that white hair ticket has cancelled judges the target invoice number into the blank invoice stock of the managing bill system Whether all blank invoices in section cancel successfully;If all blank invoices in the target invoice number section do not cancel successfully, it is described to target hair to return to execution The step of interface is cancelled in the tax control that the blank invoice that first does not cancel in draft bank section calls the taxation control system to provide;If all blank invoices in the target invoice number section cancel success, terminate the work to the target invoice number section Useless operation.
- 3. the calcellation processing method of blank invoice according to claim 2, it is characterised in that the calcellation of the blank invoice Processing method also includes:The tax control that the blank invoice that first does not cancel in the target invoice number section calls the taxation control system to provide is made Before useless interface, flag information will be preset corresponding to first blank invoice not cancelled in the managing bill system It is revised as exception;After described the step of judging whether to receive the returning result of the tax control calcellation interface, in addition to:If receiving, the returning result of interface is cancelled in the tax control and the returning result fails to cancel, and feeds back on described Current blank invoice cancels the information of failure to specified keeper;If it is to cancel successfully to receive the tax control to cancel the returning result of interface and the returning result, will be described current empty Flag information is preset corresponding to white hair ticket to be revised as normally.
- 4. the calcellation processing method of blank invoice according to claim 3, it is characterised in that the calcellation of the blank invoice Processing method also includes:The tax control that the blank invoice that first does not cancel in the target invoice number section calls the taxation control system to provide is made Before useless interface, inserted into the invoice database of the managing bill system first blank invoice not cancelled this The invoice relevant information of calcellation;After described the step of judging whether to receive the returning result of the tax control calcellation interface, in addition to:If receiving, the returning result of interface is cancelled in the tax control and the returning result fails to cancel, from the invoice number According to the invoice relevant information that this calcellation of the current blank invoice is deleted in storehouse.
- 5. the calcellation processing method of blank invoice according to any one of claim 1 to 4, it is characterised in that described to sentence Whether the target of breaking available blank invoice in terminal of making out an invoice meets that the default calcellation rule of taxation control system includes:Inquire about in the taxation control system target recorded to make out an invoice current first available blank invoice in terminal, be designated as One invoice;Inquire about in the taxation control system target recorded to make out an invoice the invoice number sections of all blank invoices in terminal, be designated as first Number section;The invoice number section described in the managing bill system where the first invoice is inquired about, is designated as the second number section;Judge whether that first number section includes second number section, and first available blank invoice in second number section It is identical with first invoice;If first number section includes second number section, and in second number section first available blank invoice with it is described First invoice is identical, then judges that the target available blank invoice in terminal of making out an invoice meets the default calcellation rule of taxation control system Then.
- 6. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In being realized when the computer program is executed by processor as any one of claim 1 to 5 at the calcellation of blank invoice The step of reason method.
- 7. a kind of server, including memory, processor and it is stored in the memory and can transports on the processor Capable computer program, it is characterised in that realize following steps during computer program described in the computing device:After the terminal it is determined that the target that need to cancel blank invoice is made out an invoice, judge that the target is made out an invoice available blank hair in terminal Whether ticket meets the default calcellation rule of taxation control system;If the target is made out an invoice, available blank invoice meets the default calcellation rule of taxation control system in terminal, is opened in the target Target invoice number section to be cancelled is determined in ticket terminal in available blank invoice;Interface is cancelled in the tax control for calling the taxation control system to provide to the blank invoice in the target invoice number section successively, until All blank invoices in the target invoice number section cancel success, and when calling the tax control to cancel interface every time, sentence The disconnected returning result for whether receiving the tax control and cancelling interface;If not receiving the returning result that interface is cancelled in the tax control, sentenced by inquiring about invoice information table in the taxation control system Whether disconnected current blank invoice cancels success, and the current blank invoice refers to that this calls the tax control to cancel interface to be made Useless blank invoice, the invoice information token record have the letter for cancelling success or not in taxation control system on each blank invoice Breath;If current blank invoice cancels successfully, by the information updating that the current blank invoice has cancelled to the managing bill In the blank invoice stock of system, and since next blank invoice of the current blank invoice, it is right successively to return to execution The step of interface is cancelled in the tax control that blank invoice in the target invoice number section calls the taxation control system to provide;If current blank invoice does not cancel success, since the current blank invoice, return and perform successively to the target The step of interface is cancelled in the tax control that blank invoice in invoice number section calls the taxation control system to provide.
- 8. server according to claim 7, it is characterised in that described successively to the blank in the target invoice number section Interface is cancelled in the tax control that invoice calls the taxation control system to provide, until all blank invoices in the target invoice number section are equal Cancel successfully, and when calling the tax control to cancel interface every time, judge whether to receive the return that interface is cancelled in the tax control As a result the step of, includes:The tax control for calling the taxation control system to provide to first in the target invoice number section blank invoice not cancelled is cancelled Interface;Judge whether to receive the returning result that interface is cancelled in the tax control;If it is to cancel to fail to receive the returning result of the tax control calcellation interface and the returning result, from the current sky White hair ticket starts, and it is described to first in the target invoice number section blank invoice not the cancelled calling tax control to return to execution The step of interface, is cancelled in the tax control that system provides;If it is to cancel successfully to receive the tax control to cancel the returning result of interface and the returning result, will be described current empty The information updating that white hair ticket has cancelled judges the target invoice number into the blank invoice stock of the managing bill system Whether all blank invoices in section cancel successfully;If all blank invoices in the target invoice number section do not cancel successfully, it is described to target hair to return to execution The step of interface is cancelled in the tax control that the blank invoice that first does not cancel in draft bank section calls the taxation control system to provide;If all blank invoices in the target invoice number section cancel success, terminate the work to the target invoice number section Useless operation;Also include during computer program described in the computing device:The tax control that the blank invoice that first does not cancel in the target invoice number section calls the taxation control system to provide is made Before useless interface, flag information will be preset corresponding to first blank invoice not cancelled in the managing bill system It is revised as exception;After described the step of judging whether to receive the returning result of the tax control calcellation interface, in addition to:If receiving, the returning result of interface is cancelled in the tax control and the returning result fails to cancel, and feeds back on described Current blank invoice cancels the information of failure to specified keeper;If it is to cancel successfully to receive the tax control to cancel the returning result of interface and the returning result, will be described current empty Flag information is preset corresponding to white hair ticket to be revised as normally.
- 9. server according to claim 8, it is characterised in that also wrapped during computer program described in the computing device Include:The tax control that the blank invoice that first does not cancel in the target invoice number section calls the taxation control system to provide is made Before useless interface, inserted into the invoice database of the managing bill system first blank invoice not cancelled this The invoice relevant information of calcellation;After described the step of judging whether to receive the returning result of the tax control calcellation interface, in addition to:If receiving, the returning result of interface is cancelled in the tax control and the returning result fails to cancel, from the invoice number According to the invoice relevant information that this calcellation of the current blank invoice is deleted in storehouse.
- 10. the server according to any one of claim 7 to 9, it is characterised in that described to judge that the target is made out an invoice end Whether available blank invoice meets that the default calcellation rule of taxation control system includes on end:Inquire about in the taxation control system target recorded to make out an invoice current first available blank invoice in terminal, be designated as One invoice;Inquire about in the taxation control system target recorded to make out an invoice the invoice number sections of all blank invoices in terminal, be designated as first Number section;The invoice number section described in the managing bill system where the first invoice is inquired about, is designated as the second number section;Judge whether that first number section includes second number section, and first available blank invoice in second number section It is identical with first invoice;If first number section includes second number section, and in second number section first available blank invoice with it is described First invoice is identical, then judges that the target available blank invoice in terminal of making out an invoice meets the default calcellation rule of taxation control system Then.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710605487.XA CN107784530A (en) | 2017-07-24 | 2017-07-24 | Calcellation processing method, storage medium and the server of a kind of blank invoice |
PCT/CN2018/077245 WO2019019631A1 (en) | 2017-07-24 | 2018-02-26 | Blank invoice invalidation processing method, readable storage medium, server, and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710605487.XA CN107784530A (en) | 2017-07-24 | 2017-07-24 | Calcellation processing method, storage medium and the server of a kind of blank invoice |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107784530A true CN107784530A (en) | 2018-03-09 |
Family
ID=61437499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710605487.XA Pending CN107784530A (en) | 2017-07-24 | 2017-07-24 | Calcellation processing method, storage medium and the server of a kind of blank invoice |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107784530A (en) |
WO (1) | WO2019019631A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110084655A (en) * | 2019-05-05 | 2019-08-02 | 腾讯科技(深圳)有限公司 | Electronic note processing method, device, computer equipment and computer storage medium |
CN112016422A (en) * | 2020-08-20 | 2020-12-01 | 莆田平行威客商务服务有限公司 | Invoice voiding and flushing identification method and system |
CN114118881A (en) * | 2022-01-26 | 2022-03-01 | 中国民航信息网络股份有限公司 | Method, device, storage medium and equipment for processing civil aviation blank ticket |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101320444A (en) * | 2007-06-07 | 2008-12-10 | 华为技术有限公司 | Method, system and device for implementing electronic bill |
CN106504044A (en) * | 2016-11-09 | 2017-03-15 | 百望金赋科技有限公司 | A kind of billing method and system |
CN106530024A (en) * | 2016-11-09 | 2017-03-22 | 百望金赋科技有限公司 | Invoicing method, invoicing system and tax control server thereof |
CN106530022A (en) * | 2016-11-09 | 2017-03-22 | 百望金赋科技有限公司 | Tax control core board, use method and tax control server |
CN106779988A (en) * | 2016-11-15 | 2017-05-31 | 百望金赋科技有限公司 | A kind of tax control server management system and method |
CN106920135A (en) * | 2015-12-28 | 2017-07-04 | 航天信息股份有限公司 | A kind of realization method and system of POS billing servers off-line trading |
-
2017
- 2017-07-24 CN CN201710605487.XA patent/CN107784530A/en active Pending
-
2018
- 2018-02-26 WO PCT/CN2018/077245 patent/WO2019019631A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101320444A (en) * | 2007-06-07 | 2008-12-10 | 华为技术有限公司 | Method, system and device for implementing electronic bill |
CN106920135A (en) * | 2015-12-28 | 2017-07-04 | 航天信息股份有限公司 | A kind of realization method and system of POS billing servers off-line trading |
CN106504044A (en) * | 2016-11-09 | 2017-03-15 | 百望金赋科技有限公司 | A kind of billing method and system |
CN106530024A (en) * | 2016-11-09 | 2017-03-22 | 百望金赋科技有限公司 | Invoicing method, invoicing system and tax control server thereof |
CN106530022A (en) * | 2016-11-09 | 2017-03-22 | 百望金赋科技有限公司 | Tax control core board, use method and tax control server |
CN106779988A (en) * | 2016-11-15 | 2017-05-31 | 百望金赋科技有限公司 | A kind of tax control server management system and method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110084655A (en) * | 2019-05-05 | 2019-08-02 | 腾讯科技(深圳)有限公司 | Electronic note processing method, device, computer equipment and computer storage medium |
CN112016422A (en) * | 2020-08-20 | 2020-12-01 | 莆田平行威客商务服务有限公司 | Invoice voiding and flushing identification method and system |
CN112016422B (en) * | 2020-08-20 | 2025-02-07 | 平行威客(福建)信息技术有限公司 | A method and system for identifying invoice cancellation and cancellation |
CN114118881A (en) * | 2022-01-26 | 2022-03-01 | 中国民航信息网络股份有限公司 | Method, device, storage medium and equipment for processing civil aviation blank ticket |
Also Published As
Publication number | Publication date |
---|---|
WO2019019631A1 (en) | 2019-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8224852B2 (en) | Method for protecting product data from unauthorized access | |
CN111031036A (en) | Blockchain-based vaccine information monitoring method, device and computer equipment | |
CN107730165A (en) | A kind of electronic logisticses bill management method and device | |
CN112101955B (en) | Concurrent payment method, system and device | |
CN107784530A (en) | Calcellation processing method, storage medium and the server of a kind of blank invoice | |
CN108805691B (en) | Loan auditing method based on block chain and related equipment | |
CN108022080A (en) | One kind complaint processing method and relevant device | |
CN107993053A (en) | Data of settling a claim checking method, device, computer equipment and storage medium | |
CN107798570A (en) | A kind of recovery and treatment method of blank invoice, storage medium and server | |
JP2015045953A (en) | Forex transaction message distribution system, and forex transaction message distribution program | |
JP2024031027A (en) | System and method for managing user notifications based on integrated authentication between systems | |
JP2003162633A (en) | Personal authentication data management method and accounting system | |
CN109635553A (en) | Upgrade method, device, terminal and the computer readable storage medium of account permission | |
CN109064143A (en) | Processing method, system, device and the storage medium of Transaction Information | |
CN112258324A (en) | Contract approval method, contract approval server, equipment and medium | |
CN111638885A (en) | Plug-in issuing method and device, electronic equipment and storage medium | |
CN107784531A (en) | A kind of distribution processing method of blank invoice, storage medium and server | |
CN111221555A (en) | Intelligent contract updating method and distributed computing resource platform | |
CN110223185A (en) | A kind of information benefit transmission method and relevant device based on data processing | |
CN117709947B (en) | POS machine settlement authority management method based on blockchain | |
CN115185713B (en) | Data semantic negotiation method and service information exchange method in supply chain cooperation | |
KR20210048337A (en) | Local food management systems with easy inventory management and Operation method of thereof | |
CN112055849A (en) | Exclusive control system and exclusive control method | |
CN111292144A (en) | Bill processing method and device based on block chain network and storage medium | |
CN109711993A (en) | Fund launches control method, device and terminal 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180309 |