CN109840812A - A kind of method and device to issue invoice - Google Patents

A kind of method and device to issue invoice Download PDF

Info

Publication number
CN109840812A
CN109840812A CN201711206256.8A CN201711206256A CN109840812A CN 109840812 A CN109840812 A CN 109840812A CN 201711206256 A CN201711206256 A CN 201711206256A CN 109840812 A CN109840812 A CN 109840812A
Authority
CN
China
Prior art keywords
invoice
data file
submodule
module
export
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
CN201711206256.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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201711206256.8A priority Critical patent/CN109840812A/en
Publication of CN109840812A publication Critical patent/CN109840812A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the present invention provides a kind of method and device to issue invoice, belongs to computer software technical field.The described method includes: whether the first invoice data file for judging that system transmission is levied on the behalf in commission is the data file issued;If the first invoice data file is the data file that do not issue, judge whether the first invoice data file is legal;If the first invoice data file is legal, corresponding invoice is issued.It can be seen that, a kind of scheme to issue invoice provided through this embodiment, realize that effective docking of system is levied on the behalf in tax control for open system and commission, avoid making out an invoice the secondary typings of data, reduce taxpayer simultaneously does tax cost, the time for having saved taxpayer, also improve hall personnel does tax efficiency, reduces the pressure in hall.

Description

A kind of method and device to issue invoice
Technical field
The present embodiments relate to computer software technical field more particularly to a kind of method and devices to issue invoice.
Background technique
In the prior art for the mode that generation issues invoice, first way are as follows: the generation of traditional approach draws a bill, and needs to receive Tax people carries relevant district or proof, the proof that other tax authorities are approved are issued and with other materials to supervisor in street Application is submitted in tax authority hall, just can be carried out generation opening business after examination & approval.The second way are as follows: pass through network in advance to tax office In application generation, draws a bill, and after tax office staff passes through, taxpayer's carrying associated materials are changed to tax office hall draws a bill.
In realizing process of the present invention, at least there are the following problems in the prior art for inventor's discovery:
For using first way, the change of policy, hall personnel's business familiarity etc. due to, cause to provide The problem of material fills in mistake, causes taxpayer round-trip hall, both increased taxpayer in this way does tax cost, wastes taxpayer's Time, while also reduce hall personnel does tax efficiency, increases the pressure in hall.For using the second way, although By drawing a bill to tax office application generation, still, still need taxpayer that tax office hall is gone to change out VAT invoice, still Hall personnel can be reduced does tax efficiency, increase hall pressure and human resources waste the problems such as.In addition, two ways Invoice can only be carried out in tax private network for opening, can not solving " battalion changes increasing ", part is levied on the behalf in national tax commission land tax (or third party) afterwards Industry tax, for taxpayer's demand that generation draws a bill outside tax private network.
It is effectively docked with tax control for open system in conclusion system is not levied on the behalf in commission in the prior art, causes people The serious waste of power resource.
Summary of the invention
In view of this, one of the technical issues of embodiment of the present invention is solved be to provide a kind of method to issue invoice and Device causes human resources tight to overcome in the prior art since generation opens software and levies on the behalf system with commission and can not effectively dock The problem of wasting again reduces taxpayer in the effect for doing tax hall queue time to reach raising invoicing speed.
The embodiment of the present invention provides a kind of method to issue invoice, which comprises system transmission is levied on the behalf in judgement commission The first invoice data file whether be the data file issued;If the first invoice data file is the data that do not issue File judges whether the first invoice data file is legal;If the first invoice data file is legal, issue corresponding Invoice.
Optionally, in a specific embodiment of the invention, the first invoice data of system transmission is levied on the behalf in the judgement commission The step of whether file is the data file issued includes: to obtain the corresponding first invoice number of the first invoice data file According to title;Judge the data name of first invoice with the presence or absence of preset data title;If so, first invoice data File is the data file issued;If it is not, then the first invoice data file is the data file that do not issue.
Optionally, in a specific embodiment of the invention, the first invoice data of system transmission is levied on the behalf in the judgement commission The whether legal step of file includes: that the first invoice data file is carried out parsing to generate bills data file;Judge institute Whether legal state bills data file;If the bills data file is legal, execute described in the step of issuing corresponding invoice.
Optionally, it in a specific embodiment of the invention, if legal in the first invoice data file, issues After the step of corresponding invoice, the method also includes: by the invoice according to export mode is preset, exports to enterprise and apply System.
Optionally, described to walk the invoice according to derived from default export mode in a specific embodiment of the invention Suddenly, comprising: determine export data format and time interval;By the invoice according to the export data format and it is described when Between section, generate the second invoice data file;Export path is determined, by the second invoice data file according to the lead path Diameter is exported to enterprise application system.
Optionally, in a specific embodiment of the invention, the first invoice number of system transmission is levied on the behalf in the judgement commission After the step of according to file whether being the data file issued, the method also includes: if the first invoice data file For the data file issued, terminate the process to issue invoice.
Optionally, in a specific embodiment of the invention, the first invoice data file format and second hair Ticket data file is XML format.
The embodiment of the present invention also provides a kind of device to issue invoice, and described device includes: first judgment module, second sentences Disconnected module and the module that issues invoice;First judgment module judges whether entrust the first invoice data file for levying on the behalf system transmission For the data file issued, and judging result is sent to the second judgment module;Described in first judgment module judgement When first invoice data file is the data file that do not issue, judging result is sent to the second judgment module, when described second The judging result of judgment module is that the first invoice data file is legal, and judging result is sent to the mould that issues invoice Block, the module that issues invoice issue corresponding invoice.
Optionally, the first judgment module includes: acquisition submodule, the first judging submodule, the first determining submodule And second determine submodule;The acquisition submodule obtains the corresponding first invoice data name of the first invoice data file Claim;First judging submodule judges the data name for first invoice that the acquisition submodule obtains with the presence or absence of pre- If data name;Described first determines submodule, the judging result for first judging submodule be it is yes, then described first Invoice data file is the data file issued;Described second determines submodule, for sentencing for first judging submodule Disconnected result be it is no, then the first invoice data file is the data file that do not issue.
Optionally, second judgment module includes: analyzing sub-module, second judgment submodule and implementation sub-module; The received first invoice data file of the receiving module is carried out parsing and generates bills data text by the analyzing sub-module The bills data file is sent to the second judgment submodule by part;Second judgment submodule receives the parsing submodule The bills data file that block is sent, judges whether the bills data file is legal;Described in the implementation sub-module receives The judging result that second judgment submodule is sent, when the judging result of the second judgment submodule is the bills data file It is legal, then corresponding invoice is issued described in execution.
Optionally, described device further includes export module;The invoice issued is sent to described by the invoice issuing module Export module is exported by the invoice according to export mode is preset to enterprise application system.
Optionally, the export module includes: that format determines that submodule, generation submodule and export path determine submodule Block;The format determines that submodule determines export data format and time interval;The format determines that submodule is led described Data format and the time interval are sent to the generation submodule out, and the generation submodule is according to the export data Format and the time interval generate the second invoice data file;The export path determines that submodule receives described second After invoice data file, determines export path, the second invoice data file is exported according to the export path to enterprise Application system.
Optionally, described device further includes ending module;The ending module receives the judging result of the judgment module, It is the data file issued when the judging result of the judgment module is the first invoice data file, hair is issued in end Ticket.
The embodiment of the present invention also provides a kind of device to issue invoice, and described device includes that system is levied on the behalf in commission, tax control is opened Bill system and enterprise application system;The tax control counting system receives the first invoice data that system transmission is levied on the behalf in the commission File;The tax control counting system carries out discriminatory analysis to the first invoice data file, generates invoice, the invoice is sent out It send to enterprise application system;The enterprise application system receives the invoice that the tax control counting system is sent.
By above technical scheme as it can be seen that the embodiment of the present invention is by judging that the first invoice data of system transmission is levied on the behalf in commission Whether file is the data file issued;If the first invoice data file is the data file that do not issue, the first invoice is judged Whether data file is legal;If the first invoice data file is legal, corresponding invoice is issued.As it can be seen that implementing through the invention A kind of scheme to issue invoice that example provides is realized that effective docking of system is levied on the behalf in tax control for open system and commission, is avoided out The secondary typing of ticket data, while reduce taxpayer does tax cost, has saved the time of taxpayer, has also improved people from hall Member's does tax efficiency, reduces the pressure in hall.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in inventive embodiments can also obtain according to these attached drawings for those of ordinary skill in the art Obtain other attached drawings.
Fig. 1 is a kind of step flow chart to issue invoice of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart to issue invoice of the embodiment of the present invention two;
Fig. 3 is a kind of structural block diagram to issue invoice of the embodiment of the present invention three;
Fig. 4 is a kind of structural block diagram to issue invoice of the embodiment of the present invention four;
Fig. 5 is a kind of structural block diagram to issue invoice of the embodiment of the present invention five.
Specific embodiment
Certainly, any technical solution for implementing the embodiment of the present invention must be not necessarily required to reach simultaneously above all excellent Point.
In order to make those skilled in the art more fully understand the technical solution in the embodiment of the present invention, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality Applying example only is a part of the embodiment of the embodiment of the present invention, instead of all the embodiments.Based on the implementation in the embodiment of the present invention The range of protection of the embodiment of the present invention all should belong in example, those of ordinary skill in the art's every other embodiment obtained.
Below with reference to attached drawing of the embodiment of the present invention the embodiment of the present invention will be further explained specific implementation.
Embodiment one
Referring to Fig.1, a kind of step flow chart to issue invoice of the embodiment of the present invention one is shown.
The method provided in an embodiment of the present invention to issue invoice the following steps are included:
Step 101: whether the first invoice data file for judging that system transmission is levied on the behalf in commission is the data file issued.
Tax revenue, which is levied on the behalf, refers to that the tax authority entrusts the unit for having certain condition or a kind of personal sign for levying on the behalf tax in accordance with the law Receive way to manage.
Tax control levies on the behalf the identity information that system obtains taxpayer or unit information and other tax informations as first Invoice data file.
Import first invoice data of XML (extensible markup language, Extensible Markup Language) format File issues invoice: clicking " document " button on invoice User Interface, opens for the DKDR opened under software installation catalogue File, selection will import the first invoice data file of XML.
The databases such as extensible markup language (XML) and Access, Oracle with SQL Server are different, and database provides More strong data storage and analysis ability, such as: data directory, sequence, lookup, relevant coherency etc., the objective of XML Data are transmitted, and the HTML for belonging to standard generalized markup language with it is mainly used for showing data.It can be easy to load XML Data are into program and analyze him, and export result in xml format.
The the first invoice data file imported is received, and discriminatory analysis is carried out to the title of the first invoice data file, according to Judge whether the first invoice data file imported is issued according to the title of the first invoice data file.
Step 102: if the first invoice data file is the data file that do not issue, whether judging the first invoice data file It is legal.
First invoice data file is identified, judged, is analyzed, judges whether the first invoice data file is legal, If it is illegal, then stop the process issuing invoice.
Judge whether are the identity information for including in the first invoice data file or unit information and other tax informations Meet regulation, if identity information or unit information are matched with tax information, thus judge that the first invoice data file is It is no legal.
Step 103: if the first invoice data file is legal, issuing corresponding invoice.
When detecting the first invoice data file is valid data file, invoice is set by the identity information of taxpayer New line information, the data in the first invoice data file are added to invoice nominal value, complete issuing for invoice.
By above technical scheme as it can be seen that the embodiment of the present invention is by judging that the first invoice data of system transmission is levied on the behalf in commission Whether file is the data file issued;If the first invoice data file is the data file that do not issue, the first invoice is judged Whether data file is legal;If the first invoice data file is legal, corresponding invoice is issued.As it can be seen that implementing through the invention A kind of method to issue invoice that example provides is realized that effective docking of system is levied on the behalf in tax control for open system and commission, is avoided out The secondary typing of ticket data, while reduce taxpayer does tax cost, has saved the time of taxpayer, has also improved people from hall Member's does tax efficiency, reduces the pressure in hall.
Embodiment two
Referring to Fig. 2, a kind of step flow chart to issue invoice of the embodiment of the present invention two is shown.
The method provided in an embodiment of the present invention to issue invoice the following steps are included:
Step 201: obtaining the corresponding first invoice data title of the first invoice data file that system transmission is levied on the behalf in commission.
Wherein, the format of the first invoice data file is XML format.
Tax revenue, which is levied on the behalf, refers to that the tax authority entrusts the unit for having certain condition or a kind of personal sign for levying on the behalf tax in accordance with the law Receive way to manage.
Tax control levies on the behalf the identity information that system obtains taxpayer or unit information and other tax informations as first Invoice data file.
Import first invoice data of XML (extensible markup language, Extensible Markup Language) format File issues invoice: clicking " document " button on invoice User Interface, opens for the DKDR opened under software installation catalogue File, selection will import the first invoice data file of XML.
The databases such as extensible markup language (XML) and Access, Oracle with SQL Server are different, and database provides More strong data storage and analysis ability, such as: data directory, sequence, lookup, relevant coherency etc., the objective of XML Data are transmitted, and the HTML for belonging to standard generalized markup language with it is mainly used for showing data.It can be easy to load XML Data are into program and analyze him, and export result in xml format.
Step 202: judging the data name of the first invoice with the presence or absence of preset data title;If so, thening follow the steps 209, if it is not, thening follow the steps 203.
The title of the first invoice data file is detected, and is judged in the title of the first invoice data file with the presence or absence of default Data name.
Such as: when " having opened " printed words there are preset data title in the title of the first invoice data file, it is determined that the There are preset data titles in the title of one invoice data file.
It should be noted that those skilled in the art can according to the actual situation be configured preset data title, example Such as: can be set to " having opened ", the title that " having issued " distinguishes with untapped ticket, this is not specifically limited.
Step 203: when judging the first invoice data file for the data file do not issued, by the first invoice data file into Row parsing generates bills data file.
When preset data title is not present in the title for detecting the first invoice data file, it is determined that the first invoice number It is the data file not issued invoice according to file.
Step 204: judging whether bills data file is legal.
The processes such as identified, judge, analyze to the bills data after the first invoice data document analysis, final judgement is single According to whether legal, if it is illegal, then stop the process issuing invoice.
Judge whether the identity information for including in bills data or unit information and other tax informations meet regulation, Whether identity information or unit information are matched with tax information, thus judge whether bills data is legal.
Step 205: if bills data file is legal, executing the step of issuing corresponding invoice.
When in bills data identity information or unit information matched with tax information when, it is determined that bills data close Method, sets the identity information of taxpayer to the new line information of invoice, and the corresponding data in bills data is added to invoice ticket Issuing for invoice is completed in the corresponding position in face.
Step 206: determining export data format and time interval.
When being exported to the invoice issued, according to user's it needs to be determined that export data format and time zone Between.
Step 207: by invoice according to export data format and time interval, generating the second invoice data file.
It will issue invoice according to the conditions export such as data format and time interval determined, it should be noted that be, The format of second invoice data file is also the data file of XML format.
Step 208: determining export path exports the second invoice data file to application system, enterprise according to export path System.
Derived second invoice data file is exported to enterprise application system, to facilitate acquisition etc. of the enterprise to invoice.
So far, invoice imports and export process terminates.
Step 209: if the first invoice data file is the data file issued, terminating the process to issue invoice.
When there are preset data titles in the data name for judging the first invoice data file, then illustrate the first invoice number It is the data file issued according to file, the subsequent process for issue to the first invoice data file processing.
By above technical scheme as it can be seen that the embodiment of the present invention is by judging that the first invoice data of system transmission is levied on the behalf in commission Whether file is the data file issued;By whether there is preset data in the data name to the first invoice data file Title determines whether the first invoice data file is the data file to have issued invoice, if the first invoice data file is not open The data file of tool judges whether the first invoice data file is legal;If the first invoice data file is legal, issue corresponding Invoice, by the invoice issued according to user's it needs to be determined that export format and time interval, export invoice.It can See, a kind of method to issue invoice provided through the embodiment of the present invention, realizes that tax control levies on the behalf system for open system and commission Effective docking, the secondary typing for the data that avoid making out an invoice, while reduce taxpayer does tax cost, saved taxpayer when Between, also improve hall personnel does tax efficiency, reduces the pressure in hall.
Embodiment three
Referring to Fig. 3, a kind of structural block diagram of device to issue invoice of the embodiment of the present invention three is shown.
The device provided in an embodiment of the present invention to issue invoice includes: first judgment module 301, the second judgment module 302 And the module 303 that issues invoice;First judgment module 301 judges whether entrust the first invoice data file for levying on the behalf system transmission For the data file issued, and judging result is sent to the second judgment module 302;The first judgment module 301 judges When the first invoice data file is the data file that do not issue, judging result is sent to the second judgment module 302, works as institute The judging result for stating the second judgment module 302 is that the first invoice data file is legal, and judging result is sent to described open Has invoice module 303, the module 303 that issues invoice issues corresponding invoice.
By above technical scheme as it can be seen that the embodiment of the present invention is by judging that the first invoice data of system transmission is levied on the behalf in commission Whether file is the data file issued;If the first invoice data file is the data file that do not issue, the first invoice is judged Whether data file is legal;If the first invoice data file is legal, corresponding invoice is issued.As it can be seen that implementing through the invention A kind of device to issue invoice that example provides is realized that effective docking of system is levied on the behalf in tax control for open system and commission, is avoided out The secondary typing of ticket data, while reduce taxpayer does tax cost, has saved the time of taxpayer, has also improved people from hall Member's does tax efficiency, reduces the pressure in hall.
Example IV
Referring to Fig. 4, a kind of structural block diagram of device to issue invoice of the embodiment of the present invention four is shown.
The device provided in an embodiment of the present invention to issue invoice includes: first judgment module 401, the second judgment module 402 And the module 403 that issues invoice;First judgment module 401 judges whether entrust the first invoice data file for levying on the behalf system transmission For the data file issued, and judging result is sent to the second judgment module 402;The first judgment module 401 judges When the first invoice data file is the data file that do not issue, judging result is sent to the second judgment module 402, works as institute The judging result for stating the second judgment module 402 is that the first invoice data file is legal, and judging result is sent to described open Has invoice module 403, the module 403 that issues invoice issues corresponding invoice.
Optionally, the first judgment module 401 includes: acquisition submodule 4011, the first judging submodule 4012, first Determine submodule 4013 and the second determining submodule 4014;The acquisition submodule 4011 obtains the first invoice data text The corresponding first invoice data title of part;First judging submodule 4012 judge that the acquisition submodule obtains described the The data name of one invoice whether there is preset data title;Described first determines submodule 4013, for first judgement The judging result of submodule 4012 be it is yes, then the first invoice data file is the data file issued;Described second really Stator modules 4014, the judging result for first judging submodule 4012 are no, then the first invoice data file For the data file that do not issue.
Optionally, second judgment module 402 include: analyzing sub-module 4021, second judgment submodule 4022 and Implementation sub-module 4023;The received first invoice data file is carried out parsing and generates document by the analyzing sub-module 4021 The bills data file is sent to the second judgment submodule 4022 by data file;Second judgment submodule 4022 connects The bills data file that the analyzing sub-module 4021 is sent is received, judges whether the bills data file is legal;It is described Implementation sub-module 4023 receives the judging result that the second judgment submodule 4022 is sent, when the second judgment submodule 4022 judging result is that the bills data file is legal, then issues corresponding invoice described in execution.
Optionally, described device further includes export module 404;The invoice issuing module 403 sends the invoice issued It exports to the export module 404 by the invoice according to export mode is preset to enterprise application system.
Optionally, the export module 404 includes: that format determines submodule 4041, generates submodule 4042 and export Path determines submodule 4043;The format determines that submodule 4041 determines export data format and time interval;The lattice Formula determines that the export data format and the time interval are sent to the generation submodule 4042, institute by submodule 4041 It states and generates submodule 4042 according to the export data format and the time interval, generate the second invoice data file;Institute State export path determine that submodule 4043 receives the second invoice data file after, determine export path, described second is sent out Ticket data file is exported according to the export path to enterprise application system.
Optionally, described device further includes ending module 405;The ending module 405 receives the first judgment module 401 judging result, when the judging result of the first judgment module 401 first invoice data file is to have issued Data file terminates to issue invoice.
By above technical scheme as it can be seen that the embodiment of the present invention is by judging that the first invoice data of system transmission is levied on the behalf in commission Whether file is the data file issued;By whether there is preset data in the data name to the first invoice data file Title determines whether the first invoice data file is the data file to have issued invoice, if the first invoice data file is not open The data file of tool judges whether the first invoice data file is legal;If the first invoice data file is legal, issue corresponding Invoice, by the invoice issued according to user's it needs to be determined that export format and time interval, export invoice.It can See, a kind of device to issue invoice provided through the embodiment of the present invention, realizes that tax control levies on the behalf system for open system and commission Effective docking, the secondary typing for the data that avoid making out an invoice, while reduce taxpayer does tax cost, saved taxpayer when Between, also improve hall personnel does tax efficiency, reduces the pressure in hall.
Embodiment five
Referring to Fig. 5, a kind of structural block diagram of device to issue invoice of the embodiment of the present invention five is shown.
The device provided in an embodiment of the present invention to issue invoice includes: that system 501, tax control counting system 502 are levied on the behalf in commission And enterprise application system 503;The tax control counting system 502 receives the first invoice that the transmission of system 501 is levied on the behalf in the commission Data file;The tax control counting system 502 carries out discriminatory analysis to the first invoice data file, invoice is generated, by institute It states invoice and is sent to enterprise application system 503;The enterprise application system 503 receives what the tax control counting system 502 was sent Invoice.
By above technical scheme as it can be seen that the embodiment of the present invention is by judging that the first invoice data of system transmission is levied on the behalf in commission Whether file is the data file issued;If the first invoice data file is the data file that do not issue, the first invoice is judged Whether data file is legal;If the first invoice data file is legal, corresponding invoice is issued.As it can be seen that implementing through the invention A kind of device to issue invoice that example provides is realized that effective docking of system is levied on the behalf in tax control for open system and commission, is avoided out The secondary typing of ticket data, while reduce taxpayer does tax cost, has saved the time of taxpayer, has also improved people from hall Member's does tax efficiency, reduces the pressure in hall.
The apparatus embodiments described above are merely exemplary, wherein described, module can as illustrated by the separation member It is physically separated with being or may not be, the component shown as module may or may not be physics mould Block, it can it is in one place, or may be distributed on multiple network modules.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, the computer readable recording medium include for Any mechanism of the readable form storage of computer (such as computer) or transmission information.For example, machine readable media includes only Read memory (ROM), random access memory (RAM), magnetic disk storage medium, optical storage media, flash medium, electricity, light, Sound or the transmitting signal (for example, carrier wave, infrared signal, digital signal etc.) of other forms etc., which includes Some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes respectively Method described in certain parts of a embodiment or embodiment.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the embodiment of the present application, rather than it is limited System;Although the application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: its It is still possible to modify the technical solutions described in the foregoing embodiments, or part of technical characteristic is equal Replacement;And these are modified or replaceed, each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution Spirit and scope.
It will be understood by those skilled in the art that the embodiment of the embodiment of the present invention can provide as method, apparatus (equipment) or Computer program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine soft The form of the embodiment of part and hardware aspect.Moreover, it wherein includes to calculate that the embodiment of the present invention, which can be used in one or more, Computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, the optical memory of machine usable program code Deng) on the form of computer program product implemented.
The embodiment of the present invention referring to according to the method for the embodiment of the present invention, device (equipment) and computer program product Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute In the dress for realizing the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram It sets.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.

Claims (14)

1. a kind of method to issue invoice, which is characterized in that the described method includes:
Whether the first invoice data file for judging that system transmission is levied on the behalf in commission is the data file issued;
If the first invoice data file is the data file that do not issue, judge whether the first invoice data file closes Method;
If the first invoice data file is legal, corresponding invoice is issued.
2. the method according to claim 1, wherein the first invoice number of system transmission is levied on the behalf in the judgement commission The step of according to file whether being the data file issued includes:
Obtain the corresponding first invoice data title of the first invoice data file that system transmission is levied on the behalf in commission;
Judge the data name of first invoice with the presence or absence of preset data title;
If so, the first invoice data file is the data file issued;
If it is not, then the first invoice data file is the data file that do not issue.
3. the method according to claim 1, wherein described judge whether the first invoice data file is legal The step of include:
The first invoice data file is subjected to parsing and generates bills data file;
Judge whether the bills data file is legal;
If the bills data file is legal, execute described in the step of issuing corresponding invoice.
If 4. the method according to claim 1, wherein legal in the first invoice data file, After the step of issuing corresponding invoice, the method also includes:
By the invoice according to export mode is preset, export to enterprise application system.
5. according to the method described in claim 4, it is characterized in that, described preset the invoice foundation derived from export mode Step, comprising:
Determine export data format and time interval;
By the invoice according to the export data format and the time interval, the second invoice data file is generated;
It determines export path, the second invoice data file is exported according to the export path to enterprise application system.
6. the method according to claim 1, wherein levying on the behalf the first invoice of system transmission in the judgement commission After the step of whether data file is the data file issued, the method also includes:
If the first invoice data file is the data file issued, terminate the process to issue invoice.
7. method according to claim 1 or 5, which is characterized in that the first invoice data file format and described Second invoice data file is XML format.
8. a kind of device to issue invoice, which is characterized in that described device include: first judgment module, the second judgment module with And the module that issues invoice;
Whether the first invoice data file that first judgment module judges that system transmission is levied on the behalf in commission is the data file issued, And judging result is sent to the second judgment module;
When the first judgment module judges the first invoice data file for the data file that do not issue, by judging result Be sent to the second judgment module, when second judgment module judging result be the first invoice data file it is legal, will Judging result is sent to the module that issues invoice, and the module that issues invoice issues corresponding invoice.
9. device according to claim 8, which is characterized in that the first judgment module includes: acquisition submodule, first Judging submodule, first determine submodule and the second determining submodule;
The acquisition submodule obtains the corresponding first invoice data title of the first invoice data file;
First judging submodule judges that the data name for first invoice that the acquisition submodule obtains whether there is Preset data title;Described first determines submodule, the judging result for first judging submodule be it is yes, then described the One invoice data file is the data file issued;Described second determines submodule, for first judging submodule Judging result be it is no, then the first invoice data file is the data file that do not issue.
10. device according to claim 8, which is characterized in that second judgment module includes: analyzing sub-module, Two judging submodules and implementation sub-module;
The received first invoice data file is carried out parsing and generates bills data file by the analyzing sub-module, will be described Bills data file is sent to the second judgment submodule;Second judgment submodule receives the institute that the analyzing sub-module is sent Bills data file is stated, judges whether the bills data file is legal;The implementation sub-module receives the second judgement Module send judging result, when the second judgment submodule judging result be the bills data file it is legal, then hold Corresponding invoice is issued described in row.
11. device according to claim 10, which is characterized in that described device further includes export module;
The invoice issued is sent to the export module by the invoice issuing module, by the invoice according to default export side Formula is exported to enterprise application system.
12. device according to claim 11, which is characterized in that the export module includes: that format determines submodule, life Submodule is determined at submodule and export path;
The format determines that submodule determines export data format and time interval;The format determines that submodule is led described Data format and the time interval are sent to the generation submodule out, and the generation submodule is according to the export data Format and the time interval generate the second invoice data file;The export path determines that submodule receives described second After invoice data file, determines export path, the second invoice data file is exported according to the export path to enterprise Application system.
13. device according to claim 8, which is characterized in that described device further includes ending module;
The ending module receives the judging result of the first judgment module, when the judging result of the first judgment module is The first invoice data file is the data file issued, and terminates to issue invoice.
14. a kind of device to issue invoice, which is characterized in that described device include commission levy on the behalf system, tax control counting system with And enterprise application system;
The tax control counting system receives the first invoice data file that system transmission is levied on the behalf in the commission;
The tax control counting system carries out discriminatory analysis to the first invoice data file, generates invoice, the invoice is sent out It send to enterprise application system;
The enterprise application system receives the invoice that the tax control counting system is sent.
CN201711206256.8A 2017-11-27 2017-11-27 A kind of method and device to issue invoice Pending CN109840812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711206256.8A CN109840812A (en) 2017-11-27 2017-11-27 A kind of method and device to issue invoice

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711206256.8A CN109840812A (en) 2017-11-27 2017-11-27 A kind of method and device to issue invoice

Publications (1)

Publication Number Publication Date
CN109840812A true CN109840812A (en) 2019-06-04

Family

ID=66878981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711206256.8A Pending CN109840812A (en) 2017-11-27 2017-11-27 A kind of method and device to issue invoice

Country Status (1)

Country Link
CN (1) CN109840812A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102903171A (en) * 2012-09-21 2013-01-30 山东电力集团公司物资供应公司 Self-service type intelligent entering checking invoice processing system and method
CN103532711A (en) * 2012-07-02 2014-01-22 航天信息股份有限公司 Encryption data transmission based real-time invoice authentication method and system
CN104715404A (en) * 2015-03-27 2015-06-17 北京圣世博泰科技股份有限公司 Method and device for issuing invoices
CN105096172A (en) * 2015-06-12 2015-11-25 北京京东尚科信息技术有限公司 Electronic invoice generating and processing method and system based on e-commerce platform
CN105631721A (en) * 2015-12-30 2016-06-01 北京瑞宏科技有限公司 Method and system for issuing electronic invoice based on electronic commerce cloud platform
CN105809854A (en) * 2014-12-29 2016-07-27 航天信息股份有限公司 Automatic invoicing system and automatic invoicing method
CN107025581A (en) * 2017-04-21 2017-08-08 百望电子发票数据服务有限公司 A kind of method and system issued invoice automatically
CN107133831A (en) * 2017-05-12 2017-09-05 百望电子发票数据服务有限公司 A kind of self-service method and system for issuing electronic invoice
CN107357773A (en) * 2017-07-12 2017-11-17 百望电子发票数据服务有限公司 A kind of generation method and system of PDF electronic invoices

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532711A (en) * 2012-07-02 2014-01-22 航天信息股份有限公司 Encryption data transmission based real-time invoice authentication method and system
CN102903171A (en) * 2012-09-21 2013-01-30 山东电力集团公司物资供应公司 Self-service type intelligent entering checking invoice processing system and method
CN105809854A (en) * 2014-12-29 2016-07-27 航天信息股份有限公司 Automatic invoicing system and automatic invoicing method
CN104715404A (en) * 2015-03-27 2015-06-17 北京圣世博泰科技股份有限公司 Method and device for issuing invoices
CN105096172A (en) * 2015-06-12 2015-11-25 北京京东尚科信息技术有限公司 Electronic invoice generating and processing method and system based on e-commerce platform
CN105631721A (en) * 2015-12-30 2016-06-01 北京瑞宏科技有限公司 Method and system for issuing electronic invoice based on electronic commerce cloud platform
CN107025581A (en) * 2017-04-21 2017-08-08 百望电子发票数据服务有限公司 A kind of method and system issued invoice automatically
CN107133831A (en) * 2017-05-12 2017-09-05 百望电子发票数据服务有限公司 A kind of self-service method and system for issuing electronic invoice
CN107357773A (en) * 2017-07-12 2017-11-17 百望电子发票数据服务有限公司 A kind of generation method and system of PDF electronic invoices

Similar Documents

Publication Publication Date Title
CN107409126A (en) System and method for protecting enterprise computing environment safety
CN107612938A (en) A kind of network user's anomaly detection method, device, equipment and storage medium
CN109978478A (en) Document electronic stamp method, mobile client and system based on Android platform
CN106971007B (en) Data processing and data analysis framework controlled by data structure
CN103777928A (en) Graph front-end system for bank foreground operation interface
CN104320677A (en) Audit server, a master control server and a video detection system
CN107808334A (en) A kind of method that accounting voucher is automatically generated from business paper
Zhou Opportunities and challenges of artificial intelligence in the application of taxation system
CN104200324A (en) Business knowledge management based configuration management method
Ye et al. Internal control of enterprise computer accounting information system in the age of big data
CN109840812A (en) A kind of method and device to issue invoice
CN111667243A (en) Business audit system based on ERP system
CN110334899A (en) A kind of enhanced operation audit method based on machine learning
CN109993421A (en) Apply the site safety risk recognition system and operating method in electricity power enterprise
CN104216986A (en) Device and method for improving data query efficiency through pre-operation according to data update period
CN107944844A (en) A kind of interface display method for office administration
Thoben et al. Real‐time Predictive Maintenance Based on Complex Event Processing
CN110759191B (en) Elevator control method based on 5G smart park
Kaneko et al. STAMP S&S: Layered Modeling for the complexed system in the society of AI/IoT
Mao et al. The influence of XBRL to audit and countermeasure research
KR102580835B1 (en) Security policy automation management system
CN116208429B (en) Security capability evaluation method and device of zero trust system architecture
Wang et al. Enterprise Intelligent Accounting System Structure and Intelligent Accounting Algorithm
Zhou Enterprise Financial Management Informatization under Cloud Computing Environment
CN110881032B (en) Identification method and device for unauthorized account operation

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

RJ01 Rejection of invention patent application after publication