CN107784531A - A kind of distribution processing method of blank invoice, storage medium and server - Google Patents

A kind of distribution processing method of blank invoice, storage medium and server Download PDF

Info

Publication number
CN107784531A
CN107784531A CN201710605522.8A CN201710605522A CN107784531A CN 107784531 A CN107784531 A CN 107784531A CN 201710605522 A CN201710605522 A CN 201710605522A CN 107784531 A CN107784531 A CN 107784531A
Authority
CN
China
Prior art keywords
invoice
blank invoice
distribution
information
target blank
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
CN201710605522.8A
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201710605522.8A priority Critical patent/CN107784531A/en
Publication of CN107784531A publication Critical patent/CN107784531A/en
Priority to PCT/CN2018/083553 priority patent/WO2019019712A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing

Landscapes

  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a kind of distribution processing method of blank invoice, during for solving that the returning result of tax control distribution interface can not be known, 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:Current target blank invoice to be distributed is determined in the undealt blank invoice stock of managing bill system;Whether the invoice information of inquiry target blank invoice is recorded in the managing bill table of taxation control system, if so, default invoice distribution operation is then performed, if it is not, whether the invoice information for then inquiring about target blank invoice is recorded in the distribution information table of taxation control system;If in information table is distributed, target blank invoice is deleted from blank invoice stock;If not in information table is distributed, default invoice distribution operation is performed;Default invoice distribution operation includes:Call tax control distribution interface;If returning result be that successfully, target blank invoice is deleted from blank invoice stock.

Description

A kind of distribution processing method of blank invoice, storage medium and server
Technical field
The present invention relates to financial technology field, more particularly to a kind of distribution 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.The distribution procedure of blank invoice is primarily referred to as blank invoice from core board to the distribution procedure for terminal of making out an invoice.In this distribution During, the managing bill system of enterprise needs to call the distribution of special tax control server (such as hundred tax control servers hoped) Interface (abbreviation tax control distribution interface), the Javascript interfaces that the tax control distribution interface is externally provided by browser plug-in come Realize.
However, during blank invoice is distributed, managing bill system frequently results in clear when calling the tax control distribution 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 the returning result of tax control distribution interface, so as to difficult To determine that the result of distribution 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 a kind of distribution processing method of blank invoice, storage medium and server, Neng Goubao Demonstrate,prove target blank invoice to be distributed and complete distribution, and ensure the undealt blank invoice stock of managing bill system storage with It is consistent in the taxation control system.
First aspect, there is provided a kind of distribution processing method of blank invoice, including:
Current target blank invoice to be distributed is determined in the undealt blank invoice stock of managing bill system;
Whether the invoice information for inquiring about the target blank invoice is recorded in the managing bill table of taxation control system, the hair Ticket management token record has the invoice information of current available blank invoice on core board;
If the invoice information for inquiring the target blank invoice is recorded in the managing bill table of taxation control system, perform Default invoice distribution operation;
If the invoice information for inquiring the target blank invoice is not recorded in the managing bill table of taxation control system, look into Whether the invoice information for asking the target blank invoice is recorded in the distribution information table of the taxation control system, the distribution information Token record has the invoice information for the blank invoice distributed;
If the invoice information for inquiring the target blank invoice is recorded in the distribution information table of the taxation control system, The target blank invoice is deleted from the blank invoice stock;
If the invoice information for inquiring the target blank invoice is not recorded in the distribution information table of the taxation control system, Then perform default invoice distribution operation;
The default invoice distribution operation comprises the following steps:
The tax control distribution interface for calling the taxation control system to provide to the target blank invoice;
If the returning result of this tax control distribution interface is successfully, by the target blank invoice from the blank invoice Deleted in stock.
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 distribution 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:
Current target blank invoice to be distributed is determined in the undealt blank invoice stock of managing bill system;
Whether the invoice information for inquiring about the target blank invoice is recorded in the managing bill table of taxation control system, the hair Ticket management token record has the invoice information of current available blank invoice on core board;
If the invoice information for inquiring the target blank invoice is recorded in the managing bill table of taxation control system, perform Default invoice distribution operation;
If the invoice information for inquiring the target blank invoice is not recorded in the managing bill table of taxation control system, look into Whether the invoice information for asking the target blank invoice is recorded in the distribution information table of the taxation control system, the distribution information Token record has the invoice information for the blank invoice distributed;
If the invoice information for inquiring the target blank invoice is recorded in the distribution information table of the taxation control system, The target blank invoice is deleted from the blank invoice stock;
If the invoice information for inquiring the target blank invoice is not recorded in the distribution information table of the taxation control system, Then perform default invoice distribution operation;
The default invoice distribution operation comprises the following steps:
The tax control distribution interface for calling the taxation control system to provide to the target blank invoice;
If the returning result of this tax control distribution interface is successfully, by the target blank invoice from the blank invoice Deleted in stock.
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, first, current treat point is determined in the undealt blank invoice stock of managing bill system The target blank invoice of hair;Then, whether the invoice information for inquiring about the target blank invoice is recorded in the invoice of taxation control system Manage in table, the managing bill token record has the invoice information of current available blank invoice on core board;If inquire institute The invoice information for stating target blank invoice is recorded in the managing bill table of taxation control system, then performs default invoice distribution behaviour Make;If the invoice information for inquiring the target blank invoice is not recorded in the managing bill table of taxation control system, institute is inquired about Whether the invoice information for stating target blank invoice is recorded in the distribution information table of the taxation control system, the distribution information token Record has the invoice information for the blank invoice distributed;If the invoice information for inquiring the target blank invoice is recorded in the tax In the distribution information table of control system, then the target blank invoice is deleted from the blank invoice stock;If inquire institute The invoice information for stating target blank invoice is not recorded in the distribution information table of the taxation control system, then performs default invoice point Hair operation;Wherein, the default invoice distribution operation comprises the following steps:The tax control is called to the target blank invoice The tax control distribution interface that system provides;If the returning result of this tax control distribution interface is successfully, by the target empty white hair Ticket is deleted from the blank invoice stock.From above-mentioned steps, tax control distribution interface distribution target blank invoice is being called Before, determine whether the target blank invoice is completed point by inquiring about managing bill table and the distribution information table of taxation control system Hair.If target blank invoice in managing bill table, shows that it does not complete distribution, so as to call tax control distribution interface;If mesh Blank invoice is marked not in managing bill table and in information table is distributed, then shows that it has completed to distribute, by it from blank invoice Deleted in stock;If target blank invoice is not in managing bill table and in information table is distributed, although the mesh can not be determined Whether mark blank invoice distributes completion, but this programme directly calls tax control distribution interface once again, it can be ensured that the target empty white hair Ticket complete distribution, and returning result be successfully after it is deleted from blank invoice stock.It can be seen that no matter tax control distribution interface Whether specific Distribution Results are returned, and this programme can guarantee that target blank invoice to be distributed completes distribution, and ensure invoice The undealt blank invoice stock of management system storage is consistent with the taxation 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 distribution processing method one embodiment flow chart of blank invoice in the embodiment of the present invention;
Fig. 2 is a kind of distribution processing method step 105 of blank invoice in the embodiment of the present invention under an application scenarios Schematic flow sheet;
Fig. 3 is a kind of distribution processing method step 105 of blank invoice in the embodiment of the present invention in another application scenarios Under schematic flow sheet;
Fig. 4 is a kind of distribution processor device one embodiment structure chart of blank invoice in the embodiment of the present invention;
Fig. 5 is the schematic diagram for the server that one embodiment of the invention provides.
Embodiment
The embodiments of the invention provide a kind of distribution processing method of blank invoice, storage medium and server, for solving When can not certainly know the returning result of tax control distribution interface, 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 distribution processing method one embodiment of blank invoice includes in the embodiment of the present invention:
101st, current target blank invoice to be distributed is determined in the undealt blank invoice stock of managing bill system;
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 inquire about not There is which available blank invoice in the blank invoice stock of distribution, and therefrom determine current target empty white hair to be distributed Ticket.
Specifically, above-mentioned steps 101 can include:Inquire about and show the undealt blank invoice of managing bill system Blank invoice in stock, then, the blank invoice that active user is chosen are defined as current target blank invoice to be distributed. , can be by showing the form at interface that is, after managing bill system queries to the blank invoice in blank invoice stock These available blank invoices are showed into user, user can be chosen on displaying interface the blank invoice that needs distribute and The quantity of invoice, after user clicks on " distribution " button, represent that user selects to complete, these blank invoices that user is chosen It is defined as above-mentioned target blank invoice.
Further, after target blank invoice is determined, user can also input these target blank invoices will Which is distributed to make out an invoice terminal, user's input make out an invoice terminal and click on " it is determined that " after button, the managing bill system can be with Target blank invoice terminal of making out an invoice extremely to be distributed is obtained, and corresponding distribution instruction can be generated, and then the invoice pipe Reason system is instructed to above-mentioned target empty white hair ticket stubs row subsequent step according to the distribution to complete distribution operation.
Whether the invoice information for the 102nd, inquiring about the target blank invoice is recorded in the managing bill table of taxation control system, if It is then to perform step 105, if it is not, then performing step 103, the managing bill token record has current available sky on core board The invoice information of white hair ticket;
It should be noted that storage has two forms in taxation control system (system of special tax control server), it is respectively Managing bill table and distribution information table.Wherein, the managing bill table is used to record current available blank invoice on core board Invoice information, and distribute information table be used for record the invoice information of blank invoice distributed.It is understood that when certain When the invoice information of blank invoice is recorded in managing bill table, shows that this blank invoice is not distributed and go out;When certain When the invoice information of blank invoice is recorded in distribution information table, show that this blank invoice has been handed out.
In the present embodiment, the invoice information of the target blank invoice is inquired about first whether in managing bill table, if, Represent that target blank invoice is not distributed to go out, then perform step 105 to call tax control distribution interface to the target blank invoice It is distributed;If not existing, then it represents that target blank invoice may be handed out, but cannot determine whether to have distributed success, Therefore execution step 103 is needed further to confirm.
Whether the invoice information for the 103rd, inquiring about the target blank invoice is recorded in the distribution information table of the taxation control system In, if so, then performing step 104, if it is not, then performing step 105, the distribution information table record has the blank invoice distributed Invoice information;
As shown in the above, when that can not determine whether the target blank invoice is distributed successfully, tax control can be inquired about The distribution information table of system, if the invoice information of the target blank invoice has been recorded on the distribution information table, then it represents that target Blank invoice has distributed success.Now because target blank invoice is to be present in the undealt blank hair of the managing bill system Ticket stock, illustrate that the record information on the record and taxation control system in blank invoice stock is inconsistent, in order to keep managing bill The uniformity of both system and taxation control system inventory information record, and be defined by the record information of taxation control system, therefore should Step 104 is performed, the target blank invoice is deleted from the blank invoice stock.If the conversely, target blank invoice Invoice information has been not recorded on the distribution information table, then it represents that and the target blank invoice is likely to not distribute success, this When, managing bill system can perform step 105, and the distribution carried out to the target blank invoice again operates, to ensure it Distribute successfully.
104th, the target blank invoice is deleted from the blank invoice stock;
Can be specifically by the invoice letter of the target blank invoice in blank invoice stock for above-mentioned steps 104 Breath is deleted from stock or mark is to have distributed in the invoice information of the target blank invoice ", then correspondingly, hair When ticket management system is inquired about automatic fitration these be labeled as the blank invoice of " distribution ", so as to equivalent to by the target empty white hair Ticket is deleted from blank invoice stock.
105th, default invoice distribution operation is performed.
In the present embodiment, as shown in Fig. 2 step 105 specifically may include steps of:
201st, the tax control distribution interface for calling the taxation control system to provide to the target blank invoice;
The 202nd, if the returning result of this tax control distribution interface is successfully, by the target blank invoice from the blank Deleted in invoice stock.
For step 201, managing bill system is in order to complete the distribution to target blank invoice, or in order to ensure the mesh Mark blank invoice is distributed successfully, the tax control distribution interface that the taxation control system can be called to provide to the target blank invoice, enters Row distribution operation.
Specifically, if the target blank invoice be designated be distributed to some make out an invoice terminal when, above-mentioned steps 201 are specific For:Call the tax control distribution interface that the taxation control system provides that the target blank invoice is distributed into the terminal of making out an invoice.
It is understood that after tax control distribution interface is called, generally, the tax control distribution interface can be fed back point The information of success or not is sent out, if receiving the information of " the distributing successfully " of tax control distribution interface feedback, the target can be determined Blank invoice has been completed to distribute, so as to perform above-mentioned steps 202, by the target blank invoice from the blank invoice stock Delete.And if when being not received by tax control distribution interface feedack, can not determine this tax control distribution interface whether Returning result is that successfully, now, the present embodiment can be handled using default processing mode, such as, correlation can be fed back Warning information give and specify keeper, either can directly terminate this distribution operation or can also perform above-mentioned step again Rapid 102~105, reattempt to and distribute the target blank invoice, etc..
Further, keeper's maintenance system for the ease of managing bill system and inspection relevant abnormalities mistake, this reality Correlated identities can also be added in the process of implementation by applying example.Specially:Before step 201, in the managing bill system Exception is revised as by flag information is preset corresponding to the target blank invoice;If the returning result of this tax control distribution interface is The default flag information, then be revised as normally by success;If conversely, the returning result of this tax control distribution interface for not into Work(, then feedback is on the unsuccessful information of target blank invoice distribution to specified keeper.It is understood that by right The identification information of target blank invoice is configured, and before calling tax control distribution interface, identification information is set into "abnormal", for example put For 0, after tax control distribution interface is called, if the returning result of this tax control distribution interface is unsuccessful (with distributing successfully phase Instead, distribute successfully as long as not can determine that, it is possible to which the returning result for thinking this tax control distribution interface is unsuccessful), then should Target blank invoice is constantly present unusual condition in distribution operation, 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 of this tax control distribution interface 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 distributed and distribution can be made a distinction.
Further, under another application scenarios, as shown in figure 3, above-mentioned steps 105 can specifically include following step Suddenly:
301st, the distribution cumulative number of the target blank invoice is added 1;
302nd, the tax control distribution interface for calling the taxation control system to provide to the target blank invoice;
Whether the returning result for the 303rd, judging this tax control distribution interface is success, if so, step 304 is then performed, if it is not, Then perform step 305;
304th, the target blank invoice is deleted from the blank invoice stock;
305th, judge whether the distribution cumulative number of the target blank invoice exceedes default threshold value, if so, then terminating This distribution operation, step 102 is performed if it is not, then returning.
Above-mentioned steps 302~304 are similar with the content of above-mentioned steps 201~202, and here is omitted.
On step 301, under this application scene, for same blank invoice, a tax control distribution interface is often called, then will The distribution cumulative number of the blank invoice adds 1, and the modulated used tax control of the blank invoice is directed to by distributing cumulative number statistics The number of distribution interface.So as to, judge to learn in step 303 returning result of this tax control distribution interface as it is unsuccessful when, can Judge whether the distribution cumulative number of target blank invoice exceedes default threshold value to perform step 305, if so, then understanding to be directed to The target blank invoice can not still distribute success after repeatedly calling tax control distribution interface, it can be assumed that the target blank invoice In the presence of exception, therefore terminate this distribution operation, and can feed back and distribute unsuccessful information on the target blank invoice To specified keeper;Step 102 is performed if it is not, can then return, carries out inquiry again to the target blank invoice again With the calling of tax control distribution interface, to ensure the distribution of target blank invoice success, and managing bill system is kept as much as possible The blank invoice stock of system is consistent with taxation control system.In actual applications, in general, two are called to same blank invoice After secondary tax control distribution interface, the distribution success rate of the blank invoice can reach 99.99%, thus above-mentioned steps 301~305 It can be substantially guaranteed that target blank invoice to be distributed completes distribution operation.
Further, before above-mentioned steps 201, managing bill system can also be to the invoice of the managing bill system The invoice relevant information of this distribution of the target blank invoice is inserted in database.If the return knot of this tax control distribution interface Fruit is unsuccessful, then the invoice relevant information of this distribution is deleted from the invoice database.Wherein it is possible to understand It is that above-mentioned invoice relevant information refers to the related Back ground Information of the target blank invoice and/or details.Back ground Information can With the application personnel including invoice, requiring department, date of application, purchase personnel, purchase date, storage personnel, entry time etc. Information;Details can include the information such as the invoice type of invoice, invoice denomination, invoice fraction, invoice codes.The invoice number According in storehouse the Back ground Information and details can be deposited respectively using two different forms.If this tax control distribution interface Returning result be successfully, then need not delete this distribution invoice relevant information, this be beneficial to administrative staff by this two The each invoice relevant information for having distributed successful blank invoice of table lookup is opened, and itself and blank invoice stock are subjected to core It is right, it is whether accurate to verify the data in blank invoice stock.And if the returning result of this tax control distribution interface is not Success, then must not believe that this distribution is effective, thus need to delete this distribution from the invoice database Invoice relevant information.
In the present embodiment, first, determined in the undealt blank invoice stock of managing bill system current to be distributed Target blank invoice;Then, whether the invoice information for inquiring about the target blank invoice is recorded in the managing bill of taxation control system In table, the managing bill token record has the invoice information of current available blank invoice on core board;If inquire the mesh The invoice information of mark blank invoice is recorded in the managing bill table of taxation control system, then performs default invoice distribution operation;If The invoice information for inquiring the target blank invoice is not recorded in the managing bill table of taxation control system, then inquires about the target Whether the invoice information of blank invoice is recorded in the distribution information table of the taxation control system, and the distribution information table record has The invoice information of the blank invoice of distribution;If the invoice information for inquiring the target blank invoice is recorded in the taxation control system Distribution information table in, then the target blank invoice is deleted from the blank invoice stock;If inquire the target The invoice information of blank invoice is not recorded in the distribution information table of the taxation control system, then performs default invoice distribution behaviour Make;Wherein, the default invoice distribution operation comprises the following steps:The taxation control system is called to the target blank invoice The tax control distribution interface of offer;If the returning result of this tax control distribution interface is successfully, by the target blank invoice from Deleted in the blank invoice stock.From above-mentioned steps, before tax control distribution interface distribution target blank invoice is called, Determine whether the target blank invoice is completed to distribute by inquiring about managing bill table and the distribution information table of taxation control system.If mesh Blank invoice is marked in managing bill table, then shows that it does not complete distribution, so as to call tax control distribution interface;If target empty white hair Ticket then shows that it has completed to distribute not in managing bill table and in information table is distributed, and it is deleted from blank invoice stock Remove;If target blank invoice is not in managing bill table and in information table is distributed, although the target empty white hair can not be determined Whether ticket distributes completion, but this programme directly calls tax control distribution interface once again, it can be ensured that the target blank invoice is completed to divide Hair, and returning result be successfully after it is deleted from blank invoice stock.It can be seen that no matter whether tax control distribution interface returns Specific Distribution Results, this programme can guarantee that target blank invoice to be distributed completes distribution, and ensure managing bill system The undealt blank invoice stock of storage is consistent with the taxation control system.
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 distribution processing method of blank invoice is essentially described above, below by a kind of Issuing Office of blank invoice Reason device is described in detail.
Fig. 4 shows a kind of distribution processor device one embodiment structure chart of blank invoice in the embodiment of the present invention.
In the present embodiment, a kind of distribution processor device of blank invoice includes:
Target invoice determining module 401, it is current for being determined in the undealt blank invoice stock of managing bill system Target blank invoice to be distributed;
Whether the first enquiry module 402, the invoice information for inquiring about the target blank invoice are recorded in taxation control system Managing bill table in, managing bill token record has the invoice information of current available blank invoice on core board;
First distribution trigger module 403, if the Query Result for first enquiry module 402 is yes, triggering point Send out operation module 407;
Second enquiry module 404, if the Query Result for first enquiry module 402 is no, inquire about the mesh Whether the invoice information of mark blank invoice is recorded in the distribution information table of the taxation control system, and the distribution information table record has The invoice information for the blank invoice distributed;
Stock model 405 is deleted, if the Query Result for second enquiry module 404 is yes, by the target Blank invoice is deleted from the blank invoice stock;
Second distribution trigger module 406, if the Query Result for second enquiry module 404 is no, triggers institute State distribution operation module 407;
The distribution operation module 407 includes:
Distribution interface call unit 4071, for the tax control for calling the taxation control system to provide to the target blank invoice Distribution interface;
Invoice stock deletes unit 4072, if the returning result for this tax control distribution interface is successfully, by described in Target blank invoice is deleted from the blank invoice stock.
Further, the distribution operation module can also include:
First flag information changes unit, for being called in the distribution interface call unit to the target blank invoice It is in the managing bill system that the target blank invoice is corresponding before the tax control distribution interface that the taxation control system provides Default flag information be revised as exception;
Second flag information changes unit, if the returning result for this tax control distribution interface is successfully, by described in Default flag information is revised as normally;
Information feedback unit, if the returning result for this tax control distribution interface is unsuccessful, feed back on described Target blank invoice distributes unsuccessful information to specified keeper.
Further, the distribution processor device of the blank invoice can also include:
Information inserts module, for calling the tax control to the target blank invoice in the distribution interface call unit Before the tax control distribution interface that system provides, the target empty white hair is inserted into the invoice database of the managing bill system The invoice relevant information of this distribution of ticket;
Information deletion module, if the returning result for this tax control distribution interface is unsuccessful, from the invoice number According to the invoice relevant information that this distribution is deleted in storehouse.
Further, the target invoice determining module can include:
Inquiring stock unit, for inquiring about and showing the sky in the undealt blank invoice stock of the managing bill system White hair ticket;
Invoice determining unit, the blank invoice for active user to be chosen are defined as current target empty white hair to be distributed Ticket;
The distribution processor device of the blank invoice can also include:
Terminal of making out an invoice acquisition module, for obtaining target blank invoice terminal of making out an invoice extremely to be distributed;
The distribution interface call unit is specifically used for:The tax control distribution interface that the taxation control system provides is called by described in Target blank invoice is distributed to the terminal of making out an invoice.
Further, the distribution processor device of the blank invoice can also include:
Distribute accumulation module, for calling the tax control to the target blank invoice in the distribution interface call unit Before the tax control distribution interface that system provides, the distribution cumulative number of the target blank invoice is added 1;
Cumulative number judge module, if the returning result for this tax control distribution interface is unsuccessful, described in judgement Whether the distribution cumulative number of target blank invoice exceedes default threshold value;
Querying triggering module, if the judged result for the cumulative number judge module is no, trigger described first Enquiry module.
Fig. 5 is the schematic diagram for the server that one embodiment of the invention provides.As shown in figure 5, the server 5 of the embodiment wraps Include:Processor 50, memory 51 and it is stored in the computer that can be run in the memory 51 and on the processor 50 Program 52, such as perform the program of the distribution processing method of blank invoice.The processor 50 performs the computer program 52 Step in the distribution processing method embodiment of the above-mentioned each blank invoices of Shi Shixian, such as step 101 shown in Fig. 1 is to 105. Or the processor 50 realizes the work(of each module/unit in above-mentioned each device embodiment when performing the computer program 52 Can, such as the function of module 401 to 407 shown in Fig. 4.
Exemplary, the computer program 52 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 51, and are performed by the processor 50, 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 52 in the server 5 is described.
The server 5 can be the computing devices such as home server or cloud server.The server may include, but It is not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5 is only the example of server 5, not The restriction to server 5 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 50 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 51 can be the internal storage unit of the server 5, such as the hard disk or internal memory of server 5. The memory 51 can also be the External memory equipment of the server 5, such as the plug-in type being equipped with the server 5 is hard Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the memory 51 can also both include the internal storage unit of the server 5 or wrap Include External memory equipment.The memory 51 is used to store the computer program and other programs needed for the server And data.The memory 51 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)

  1. A kind of 1. distribution processing method of blank invoice, it is characterised in that including:
    Current target blank invoice to be distributed is determined in the undealt blank invoice stock of managing bill system;
    Whether the invoice information for inquiring about the target blank invoice is recorded in the managing bill table of taxation control system, the invoice pipe Reason token record has the invoice information of current available blank invoice on core board;
    If the invoice information for inquiring the target blank invoice is recorded in the managing bill table of taxation control system, perform default Invoice distribution operation;
    If the invoice information for inquiring the target blank invoice is not recorded in the managing bill table of taxation control system, institute is inquired about Whether the invoice information for stating target blank invoice is recorded in the distribution information table of the taxation control system, the distribution information token Record has the invoice information for the blank invoice distributed;
    If the invoice information for inquiring the target blank invoice is recorded in the distribution information table of the taxation control system, by institute Target blank invoice is stated to delete from the blank invoice stock;
    If the invoice information for inquiring the target blank invoice is not recorded in the distribution information table of the taxation control system, hold The default invoice distribution operation of row;
    The default invoice distribution operation comprises the following steps:
    The tax control distribution interface for calling the taxation control system to provide to the target blank invoice;
    If the returning result of this tax control distribution interface is successfully, by the target blank invoice from the blank invoice stock Middle deletion.
  2. 2. the distribution processing method of blank invoice according to claim 1, it is characterised in that the default invoice distribution Operation also comprises the following steps:
    Before the step of tax control distribution interface for calling the taxation control system to provide the target blank invoice described, in institute Flag information will be preset in managing bill system by stating corresponding to the target blank invoice is revised as exception;
    If the returning result of this tax control distribution interface is successfully, the default flag information is revised as normally;
    If the returning result of this tax control distribution interface is unsuccessful, feedback is distributed unsuccessful on the target blank invoice Information to specified keeper.
  3. 3. the distribution processing method of blank invoice according to claim 1, it is characterised in that also include:
    Before the step of tax control distribution interface for calling the taxation control system to provide the target blank invoice described, to institute State the invoice relevant information that this distribution of the target blank invoice is inserted in the invoice database of managing bill system;
    If the returning result of this tax control distribution interface is unsuccessful, this described distribution is deleted from the invoice database Invoice relevant information.
  4. 4. the distribution processing method of blank invoice according to claim 1, it is characterised in that described in managing bill system Determine that current target blank invoice to be distributed includes in undealt blank invoice stock:
    Inquire about and show the blank invoice in the undealt blank invoice stock of the managing bill system;
    The blank invoice that active user is chosen is defined as current target blank invoice to be distributed;
    The distribution processing method of the blank invoice also includes:
    Obtain target blank invoice terminal of making out an invoice extremely to be distributed;
    The tax control distribution interface for calling the taxation control system to provide the target blank invoice is specially:Call the tax control system The target blank invoice is distributed to the terminal of making out an invoice by the tax control distribution interface provided of uniting.
  5. 5. the distribution processing method of blank invoice according to any one of claim 1 to 4, it is characterised in that also include:
    Before the step of tax control distribution interface for calling the taxation control system to provide the target blank invoice described, by institute The distribution cumulative number for stating target blank invoice adds 1;
    If the returning result of this tax control distribution interface is unsuccessful, the distribution cumulative number of the target blank invoice is judged Whether default threshold value is exceeded;
    If the distribution cumulative number of the target blank invoice is no more than default threshold value, returns and perform the inquiry mesh Whether the invoice information of mark blank invoice is recorded in the step in the managing bill table of taxation control system.
  6. 6. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In the Issuing Office of realization blank invoice as any one of claim 1 to 5 when the computer program is executed by processor The step of reason method.
  7. 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:
    Current target blank invoice to be distributed is determined in the undealt blank invoice stock of managing bill system;
    Whether the invoice information for inquiring about the target blank invoice is recorded in the managing bill table of taxation control system, the invoice pipe Reason token record has the invoice information of current available blank invoice on core board;
    If the invoice information for inquiring the target blank invoice is recorded in the managing bill table of taxation control system, perform default Invoice distribution operation;
    If the invoice information for inquiring the target blank invoice is not recorded in the managing bill table of taxation control system, institute is inquired about Whether the invoice information for stating target blank invoice is recorded in the distribution information table of the taxation control system, the distribution information token Record has the invoice information for the blank invoice distributed;
    If the invoice information for inquiring the target blank invoice is recorded in the distribution information table of the taxation control system, by institute Target blank invoice is stated to delete from the blank invoice stock;
    If the invoice information for inquiring the target blank invoice is not recorded in the distribution information table of the taxation control system, hold The default invoice distribution operation of row;
    The default invoice distribution operation comprises the following steps:
    The tax control distribution interface for calling the taxation control system to provide to the target blank invoice;
    If the returning result of this tax control distribution interface is successfully, by the target blank invoice from the blank invoice stock Middle deletion.
  8. 8. server according to claim 7, it is characterised in that the default invoice distribution operation also includes following step Suddenly:
    Before the step of tax control distribution interface for calling the taxation control system to provide the target blank invoice described, in institute Flag information will be preset in managing bill system by stating corresponding to the target blank invoice is revised as exception;
    If the returning result of this tax control distribution interface is successfully, the default flag information is revised as normally;
    If the returning result of this tax control distribution interface is unsuccessful, feedback is distributed unsuccessful on the target blank invoice Information to specified keeper.
  9. 9. server according to claim 7, it is characterised in that described in the undealt blank invoice of managing bill system Determine that current target blank invoice to be distributed includes in stock:
    Inquire about and show the blank invoice in the undealt blank invoice stock of the managing bill system;
    The blank invoice that active user is chosen is defined as current target blank invoice to be distributed;
    The distribution processing method of the blank invoice also includes:
    Obtain target blank invoice terminal of making out an invoice extremely to be distributed;
    The tax control distribution interface for calling the taxation control system to provide the target blank invoice is specially:Call the tax control system The target blank invoice is distributed to the terminal of making out an invoice by the tax control distribution interface provided of uniting.
  10. 10. the server according to any one of claim 7 to 9, it is characterised in that calculating described in the computing device Also include during machine program:
    Before the step of tax control distribution interface for calling the taxation control system to provide the target blank invoice described, by institute The distribution cumulative number for stating target blank invoice adds 1;
    If the returning result of this tax control distribution interface is unsuccessful, the distribution cumulative number of the target blank invoice is judged Whether default threshold value is exceeded;
    If the distribution cumulative number of the target blank invoice is no more than default threshold value, returns and perform the inquiry mesh Whether the invoice information of mark blank invoice is recorded in the step in the managing bill table of taxation control system.
CN201710605522.8A 2017-07-24 2017-07-24 A kind of distribution processing method of blank invoice, storage medium and server Pending CN107784531A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710605522.8A CN107784531A (en) 2017-07-24 2017-07-24 A kind of distribution processing method of blank invoice, storage medium and server
PCT/CN2018/083553 WO2019019712A1 (en) 2017-07-24 2018-04-18 Blank invoice distribution processing method, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710605522.8A CN107784531A (en) 2017-07-24 2017-07-24 A kind of distribution processing method of blank invoice, storage medium and server

Publications (1)

Publication Number Publication Date
CN107784531A true CN107784531A (en) 2018-03-09

Family

ID=61437500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710605522.8A Pending CN107784531A (en) 2017-07-24 2017-07-24 A kind of distribution processing method of blank invoice, storage medium and server

Country Status (2)

Country Link
CN (1) CN107784531A (en)
WO (1) WO2019019712A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019019712A1 (en) * 2017-07-24 2019-01-31 平安科技(深圳)有限公司 Blank invoice distribution processing method, storage medium and server

Citations (6)

* Cited by examiner, † Cited by third party
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
CN106530022A (en) * 2016-11-09 2017-03-22 百望金赋科技有限公司 Tax control core board, use method and tax control server
CN106530024A (en) * 2016-11-09 2017-03-22 百望金赋科技有限公司 Invoicing method, invoicing system and tax control server thereof
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10002372B2 (en) * 2015-09-15 2018-06-19 Sap Se Duplicate check based on generated hash value
CN107784531A (en) * 2017-07-24 2018-03-09 平安科技(深圳)有限公司 A kind of distribution processing method of blank invoice, storage medium and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
CN106530022A (en) * 2016-11-09 2017-03-22 百望金赋科技有限公司 Tax control core board, use method and tax control server
CN106530024A (en) * 2016-11-09 2017-03-22 百望金赋科技有限公司 Invoicing method, invoicing system and tax control server thereof
CN106779988A (en) * 2016-11-15 2017-05-31 百望金赋科技有限公司 A kind of tax control server management system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019019712A1 (en) * 2017-07-24 2019-01-31 平安科技(深圳)有限公司 Blank invoice distribution processing method, storage medium and server

Also Published As

Publication number Publication date
WO2019019712A1 (en) 2019-01-31

Similar Documents

Publication Publication Date Title
CN110866709B (en) Method and device for merging orders
CN108196961A (en) A kind of asynchronous message processing method, terminal, system and storage medium
CN108259553A (en) The sending method and terminal device of business mail
CN108427581A (en) System micro services method and terminal device
US20200372587A1 (en) Method, apparatus, device and system for processing commodity transaction, and storage medium
CN111475521A (en) Cargo management method and device based on block chain and electronic equipment
CN107391657A (en) A kind of method and system for generating electronic invoice layout files
CN107844936A (en) Variation, device, terminal and the computer-readable recording medium of BOM
CN110599349A (en) Data processing method based on block chain network, related equipment and storage medium
CN110597919A (en) Data management method, device and equipment based on block chain and storage medium
CN110599133B (en) Data processing method, device and storage medium based on blockchain network
CN107798570A (en) A kind of recovery and treatment method of blank invoice, storage medium and server
CN111985862A (en) Method and apparatus for locating inventory items
CN111681071A (en) Sub-cost data generation system and method, storage medium, and electronic device
CN107688892A (en) Distribution method, storage medium and the server of breakpoint list
CN109948974A (en) A kind of material management system and its order generation method, server, storage medium
CN110060041A (en) Channel of disbursement cut-in method, system, computer equipment and readable storage medium storing program for executing
CN107784531A (en) A kind of distribution processing method of blank invoice, storage medium and server
CN109255588A (en) Automatic generation method and device for bill for material in and out of warehouse and computer storage medium
CN107688959A (en) Processing method, storage medium and the server of breakpoint list
CN107784530A (en) Calcellation processing method, storage medium and the server of a kind of blank invoice
CN110222955B (en) Risk management and control method, risk management and control device, computer equipment and storage medium
CN111638885A (en) Plug-in issuing method and device, electronic equipment and storage medium
CN108876339B (en) E-pet transaction method and device based on certificate
CN113408982A (en) Inventory management method and system for electronic commerce

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: 20180309

RJ01 Rejection of invention patent application after publication