CN102456252B - Method and system for making invoice - Google Patents

Method and system for making invoice Download PDF

Info

Publication number
CN102456252B
CN102456252B CN201010515788.1A CN201010515788A CN102456252B CN 102456252 B CN102456252 B CN 102456252B CN 201010515788 A CN201010515788 A CN 201010515788A CN 102456252 B CN102456252 B CN 102456252B
Authority
CN
China
Prior art keywords
invoice
printed
terminal
self
electronic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010515788.1A
Other languages
Chinese (zh)
Other versions
CN102456252A (en
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 CN201010515788.1A priority Critical patent/CN102456252B/en
Publication of CN102456252A publication Critical patent/CN102456252A/en
Application granted granted Critical
Publication of CN102456252B publication Critical patent/CN102456252B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method and a system for making invoices. The method comprises the steps that each slave terminal transmits the terminal number of the slave terminal, the electronic invoice numbers of invoices to be printed and invoice surface information to a master terminal; the master terminal takes the electronic invoice numbers of the invoices to be printed as an invoice number range of one roll of invoices to be printed and transmits the invoice number range to the tax controller of the master terminal; the master terminal transmits the invoice surface information to the tax controller of the master terminal; the tax controller obtains tax control codes according to the electronic invoice numbers and the invoice surface information of the invoices to be printed; the master terminal transmits the tax control codes to the slave terminals corresponding to the terminal numbers; and the slave terminals print the electronic invoice numbers, the invoice surface information and the tax control codes of the invoices to be printed onto the invoices. By adopting the technical scheme, under the condition of only one tax controller, more than two slave terminals can print invoices at the same time.

Description

A kind of method and system of drawing a bill
Technical field
The present invention relates to invoice field, particularly relate to a kind of method and system of drawing a bill.
Background technology
In the larger places of consumption figure such as large-scale country fair, market, supermarkets, the invoice self-service terminal of some is usually set, for providing the self-service service issuing invoice to consumer, consumer only need to provide to it ticket information such as name of firm, article of consumption, the consumption amount of money, consumer's title and consumption time, self-aided terminal can go out corresponding invoice by automatic printing, with respect to manual manufacture invoice, the use of invoice self-service terminal, has shortened time of consumer's printed invoice greatly.
China has regulation below to invoice: on every invoice, must have tax control code as antifalsification label, for verifying the true and false of this invoice.Tax control code is by being arranged on the Design of Tax Controled Device in invoice self-service terminal according to the invoice number of every invoice and ticket information, utilize particular algorithm to calculate, only invoice number and the ticket information of the invoice number of preserving in tax control code and ticket information and actual invoice need be contrasted, can judge the true and false of this invoice.Therefore, the Design of Tax Controled Device is calculated the necessary conduct top secret of method of invoice tax control code, by country, specify special mechanism to preserve, and the Design of Tax Controled Device also must be subject to certain restrictions in use, the unit of making out an invoice, can only use one, in case the excessive accidents such as top secret leakage that may cause of consumption.
In some larger consumption places, because consumption figure is huge especially, therefore, the invoiced amount that need to open is also many especially, in this case, an invoice self-service terminal can not meet consumer demand far away, therefore many invoice self-service terminals need to be set in this place, to improve the efficiency issuing invoice, satisfy the demands of consumers.But, in prior art, a Design of Tax Controled Device is all installed in every invoice self-service terminal, if many invoice self-service terminals are set in a place, will inevitably introduce a plurality of the Design of Tax Controled Device, this has run counter to the use amount restriction of the Design of Tax Controled Device.In addition, because every invoice self-service terminal is all provided with volume invoice to be printed, this rolls up invoice to be printed self unique invoice number section to be printed, as this, roll up the set of the invoice number of all invoices to be printed in invoice to be printed, each invoice self-service terminal can only printed invoice number belongs to the invoice of self invoice number section to be printed, and can not print the invoice of other number section, for example, the invoice number section to be printed of the one volume invoice to be printed of No. 1 terminal installation is 1-100, the invoice number section to be printed of the one volume invoice to be printed of No. 2 terminal installations is 101-200, No. 1 terminal can only printed invoice invoice number between 1-100, No. 2 terminals can only printed invoice number at the invoice of 101-200, and can not print other invoices.Self-aided terminal is after providing the invoice number section of volume invoice to be printed to the Design of Tax Controled Device, the Design of Tax Controled Device must be in order, after having calculated successively the tax control code of volume invoice to be printed, could start to calculate the tax control code that next rolls up invoice to be printed, therefore, if only provide tax control code calculation services by a Design of Tax Controled Device for two above invoice self-service terminals, will inevitably cause the same time to only have an invoice self-service terminal works, the problem that other invoice self-service terminals cannot be worked, its effect with an invoice self-service terminal be only set provide the situation of printing invoice service identical, this has had a strong impact on the service efficiency of invoice self-service terminal, also greatly reduce the speed of printing invoice, brought very large inconvenience to consumer's printed invoice.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of method and system of drawing a bill, can be only with a Design of Tax Controled Device in the situation that, make two above from terminal while printed invoice.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of method of drawing a bill, and the method comprises:
Each sends to master terminal from terminal by the electronic invoice of the terminal number of self, invoice to be printed number and ticket information;
The invoice number section of described master terminal using the electronic invoice of described invoice to be printed number as volume invoice to be printed, imports the Design of Tax Controled Device of self into; Described master terminal imports described ticket information into the Design of Tax Controled Device of self; Described the Design of Tax Controled Device, according to the electronic invoice of described invoice to be printed number and ticket information, obtains tax control code;
Described master terminal by described tax control code send to described terminal number corresponding from terminal;
Described from terminal by the electronic invoice of described invoice to be printed number, ticket information and tax control code printing to invoice.
The invention has the beneficial effects as follows: in the present invention, due to the invoice number section of master terminal using the electronic invoice of invoice to be printed number as volume invoice to be printed, import the Design of Tax Controled Device of self into, therefore, the Design of Tax Controled Device calculates the tax control code of this invoice to be printed, can obtain the tax control code that this rolls up invoice to be printed, then just can start to calculate the tax control code that next rolls up invoice to be printed, like this, in the present invention, master terminal is by the method for the invoice number section using the electronic invoice of an invoice to be printed number as volume invoice to be printed, the Design of Tax Controled Device has been realized the continuous calculating from the multireel invoice tax control to be printed code of terminal from difference, thereby can make two above from terminal printed invoice simultaneously, in addition, the present invention utilizes master terminal and from the communication between terminal, only a Design of Tax Controled Device need be set on master terminal, can realize above-mentioned function, and therefore, the present invention can be only with a Design of Tax Controled Device in the situation that, make two above from terminal while printed invoice.
On the basis of technique scheme, the present invention can also do following improvement:
Further, the method further comprises: invoice number section to be printed is inputted in described the Design of Tax Controled Device;
The invoice number section of described master terminal using the electronic invoice of described invoice to be printed number as volume invoice to be printed, after importing the Design of Tax Controled Device of self into, described the Design of Tax Controled Device further judges whether the electronic invoice number of described invoice to be printed belongs to described invoice number section to be printed, if so, described master terminal imports described ticket information into the Design of Tax Controled Device of self; Described the Design of Tax Controled Device is according to the electronic invoice of described invoice to be printed number and ticket information, obtain tax control code, otherwise, the message report that described the Design of Tax Controled Device does not belong to described invoice number section to be printed by the electronic invoice of described invoice to be printed number is to described master terminal, described master terminal does not belong to the message of described invoice number section to be printed according to the electronic invoice of described invoice to be printed number, the message that this invoice can not be printed send to described terminal number corresponding from terminal.
Further, before the electronic invoice of the terminal number of self, invoice to be printed number and ticket information being sent to master terminal at each from terminal, the method further comprises: each is defined as the intrinsic invoice number of the invoice to be printed of self from terminal the electronic invoice number of the invoice to be printed of self.
Further, before each is defined as the intrinsic invoice number of the invoice to be printed of self from terminal the electronic invoice number of invoice to be printed of self, the method further comprises: at each, from terminal, invoice volume to be printed is installed, described invoice volume to be printed comprises an above invoice to be printed, and every invoice to be printed has unique intrinsic invoice number; The invoice volume to be printed that each is installed from terminal, the intrinsic invoice number of all invoices to be printed and sequencing to be printed thereof are inputted accordingly from terminal;
Each method of electronic invoice number that from terminal, the intrinsic invoice number of the invoice to be printed of self is defined as to the invoice to be printed of self is: each from terminal according to the intrinsic invoice number of invoice and the sequencing to be printed of all invoices to be printed printed, determine the invoice to be printed of self, and the intrinsic invoice number of the invoice to be printed of self is defined as to the electronic invoice number of the invoice to be printed of self.
Further, the intrinsic invoice number of invoice and the sequencing to be printed of all invoices to be printed at each, from terminal basis, printed, before determining the invoice to be printed of self, the method further comprises: the intrinsic invoice number of invoice and the sequencing to be printed of all invoices to be printed that each had been printed from terminal basis, judge whether the invoice volume to be printed of self installing is finished, if, send the message that invoice volume to be printed has been finished, otherwise, according to the sequencing to be printed of the intrinsic invoice number of the invoice of having printed and all invoices to be printed, determine the invoice to be printed of self.
Further, described ticket information comprises: name of firm, consumer's title, article of consumption, the consumption amount of money and consumption time.
In addition, the present invention also provides a kind of system of drawing a bill, and this system comprises master terminal and a plurality of from terminal, and described master terminal comprises master terminal memory controller and a Design of Tax Controled Device, wherein:
Described in each, from terminal, be used for, the electronic invoice of the terminal number of self, invoice to be printed number and ticket information are sent to described master terminal memory controller; By the electronic invoice of described invoice to be printed number, ticket information and tax control code printing to invoice;
Described master terminal memory controller is used for, and the invoice number section using the electronic invoice of described invoice to be printed number as volume invoice to be printed, imports described the Design of Tax Controled Device into; Import described ticket information into described the Design of Tax Controled Device; By described tax control code send to described terminal number corresponding from terminal;
Described the Design of Tax Controled Device is used for, and according to the electronic invoice of described invoice to be printed number and ticket information, obtains tax control code; Described tax control code is sent to described master terminal memory controller.
Further, described the Design of Tax Controled Device is further used for, and preserves invoice number section to be printed; Whether the electronic invoice number that judges described invoice to be printed belongs to described invoice number section to be printed; The message report that the electronic invoice of described invoice to be printed number is not belonged to described invoice number section to be printed is to described master terminal memory controller;
Described master terminal memory controller is further used for, and does not belong to the message of described invoice number section to be printed according to the electronic invoice of described invoice to be printed number, the message that this invoice can not be printed send to described terminal number corresponding from terminal.
Further, each is further used for from terminal, the intrinsic invoice number of the invoice to be printed of self is defined as to the electronic invoice number of the invoice to be printed of self.
Further, be further used for described in each from terminal, load invoice volume to be printed, described invoice volume to be printed comprises an above invoice to be printed, and every invoice to be printed has unique intrinsic invoice number; Preserve the intrinsic invoice number of all invoices to be printed in described invoice volume to be printed and sequencing to be printed thereof; According to the sequencing to be printed of the intrinsic invoice number of the invoice of having printed and all invoices to be printed, determine the invoice to be printed of self, and the intrinsic invoice number of the invoice to be printed of self is defined as to the electronic invoice number of the invoice to be printed of self.
Further, from terminal, be further used for described in each, according to the sequencing to be printed of the intrinsic invoice number of the invoice of having printed and all invoices to be printed, judge whether the invoice volume to be printed of self installing is finished; Send the message that invoice volume to be printed has been finished.
Further, described ticket information comprises: name of firm, consumer's title, article of consumption, the consumption amount of money and consumption time.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of method of drawing a bill provided by the invention;
Fig. 2 is the structural drawing of system of drawing a bill provided by the invention.
Embodiment
Below in conjunction with accompanying drawing, principle of the present invention and feature are described, example, only for explaining the present invention, is not intended to limit scope of the present invention.
Fig. 1 is the process flow diagram of method of drawing a bill provided by the invention.As shown in Figure 1, the method comprises:
Step 101: each sends to master terminal from terminal by the electronic invoice of the terminal number of self, invoice to be printed number and ticket information.
Here, the present invention includes the terminal network that plural invoice self-service terminal forms, in this network, an invoice self-service terminal is master terminal, all the other invoice self-service terminals are all from terminal, and a Design of Tax Controled Device is set on master terminal, and the Design of Tax Controled Device is not set terminal, therefore, by master terminal and all terminal networks forming from terminal, only include a Design of Tax Controled Device.
Each when the ready-to-print invoice, can receive the ticket information of invoice to be printed from terminal, and for example, the mode by trade company, consumer's input obtains ticket information, or by wired or wireless network, receives the ticket information of invoice to be printed.From terminal to master terminal, send the ticket information of invoice to be printed, for utilizing this ticket information to calculate the tax control code of this invoice to be printed for the Design of Tax Controled Device arranging on master terminal.
Invoice to be printed also has electronic invoice number, and this electronic invoice number has one-to-one relationship with this invoice to be printed, and no matter master terminal, still from terminal, can, according to this electronic invoice number, be determined this invoice to be printed.From terminal to master terminal, send the electronic invoice number of invoice to be printed, for utilizing this electronic invoice number to calculate the tax control code of this invoice to be printed for the Design of Tax Controled Device arranging on master terminal.
Every invoice all has unique intrinsic invoice number, this intrinsic invoice number is corresponding with electronic invoice number, or the two is identical, when after terminal prints to invoice to be printed by electronic invoice number, tax control code and ticket information, can, according to the corresponding relation of intrinsic invoice number and electronic invoice number, judge the true and false of this invoice.
In addition, each has self unique terminal number from terminal.From terminal to master terminal, send the terminal number of self, for obtaining after tax control code for master terminal, determine the terminal of returning of this tax control code.
Step 102: the invoice number section of master terminal using the electronic invoice of invoice to be printed number as volume invoice to be printed, import the Design of Tax Controled Device of self into; Master terminal imports ticket information into the Design of Tax Controled Device of self; The Design of Tax Controled Device, according to the electronic invoice of invoice to be printed number and ticket information, obtains tax control code.
Here, the invoice number section of master terminal using the electronic invoice of invoice to be printed number as volume invoice to be printed, import the Design of Tax Controled Device of self into, like this, the Design of Tax Controled Device calculates the tax control code of this invoice to be printed, can obtain the tax control code that this rolls up invoice to be printed, then just can calculate the tax control code that next rolls up invoice to be printed, be in the present invention, master terminal is by the method for the invoice number section using the electronic invoice of an invoice to be printed number as volume invoice to be printed, the Design of Tax Controled Device has been realized the continuous calculating from the multireel invoice tax control to be printed code of terminal from difference, thereby the present invention can make two above from terminal printed invoice simultaneously.
The Design of Tax Controled Device is according to the electronic invoice of invoice to be printed number and ticket information, can obtain tax control code, this tax control code is the antifalsification label of this invoice to be printed after printing, by reading this tax control code, can obtain electronic invoice number and the ticket information of this invoice, electronic invoice in itself and actual invoice number and ticket information are contrasted, can judge the true and false of this invoice.
Step 103: master terminal by tax control code send to terminal number corresponding from terminal.
Here, master terminal after obtaining tax control code, needs, according to the terminal number sending from terminal, to determine the terminal of returning of tax control code, then tax control code is turned back to accordingly from terminal.
Step 104: from terminal by the electronic invoice of invoice to be printed number, ticket information and tax control code printing to invoice.
Here, after terminal obtains the tax control code that master terminal returns, the information to be printed of invoice is complete, by the electronic invoice of invoice to be printed number, ticket information and tax control code printing to invoice.
From terminal by after the electronic invoice of invoice to be printed number, ticket information and tax control code printing are to invoice, can be according to electronic invoice number the corresponding relation with intrinsic invoice number, or by reading tax control code, judge the true and false of this invoice.
The method further comprises: by invoice number section input the Design of Tax Controled Device to be printed;
The invoice number section of master terminal using the electronic invoice of invoice to be printed number as volume invoice to be printed in step 102, after importing the Design of Tax Controled Device of self into, the Design of Tax Controled Device further judges whether the electronic invoice number of invoice to be printed belongs to invoice number section to be printed, if so, master terminal imports ticket information into the Design of Tax Controled Device of self; The Design of Tax Controled Device is according to the electronic invoice of invoice to be printed number and ticket information, obtain tax control code, otherwise, the message report that the Design of Tax Controled Device does not belong to invoice number section to be printed by the electronic invoice of invoice to be printed number is to master terminal, master terminal does not belong to the message of invoice number section to be printed according to the electronic invoice of invoice to be printed number, the message that this invoice can not be printed send to terminal number corresponding from terminal.
Here, by in advance the invoice number section of all invoices to be printed being inputted in the Design of Tax Controled Device, can make the Design of Tax Controled Device after receiving the electronic invoice number of invoice to be printed, one-to-one relationship according to electronic invoice number with invoice to be printed, judge whether this electronic invoice number belongs to the invoice number section of this invoice to be printed, if belonged to, illustrate that this invoice to be printed can be for printed invoice, thereby utilize electronic invoice number to calculate tax control code with ticket information, otherwise, if this electronic invoice number does not belong to the invoice number section of this invoice to be printed, the electronic invoice that explanation is sent from terminal number is wrong, this electronic invoice number corresponding invoice to be printed at present can not be for printing, therefore, the message report that the Design of Tax Controled Device does not belong to invoice number section to be printed by the electronic invoice of invoice to be printed number is to master terminal, master terminal does not belong to the message of invoice number section to be printed according to the electronic invoice of invoice to be printed number, the message that this invoice can not be printed send to terminal number corresponding from terminal, thereby make correspondingly from terminal, to abandon printing this electronic invoice number corresponding invoice, and provide in addition other electronic invoices number.
Before the electronic invoice of the terminal number of self, invoice to be printed number and ticket information being sent to master terminal at each from terminal, the method further comprises: each is defined as the intrinsic invoice number of the invoice to be printed of self from terminal the electronic invoice number of the invoice to be printed of self.
Here, because intrinsic invoice number and the electronic invoice number of every invoice to be printed is all unique, therefore, electronic invoice number that can be using intrinsic invoice number as this invoice to be printed, send it to master terminal, like this from terminal after obtaining the tax control code of this invoice, print to electronic invoice on invoice number just identical with intrinsic invoice number.
Before each is defined as the intrinsic invoice number of the invoice to be printed of self from terminal the electronic invoice number of invoice to be printed of self, the method further comprises: at each, from terminal, invoice volume to be printed is installed, invoice volume to be printed comprises an above invoice to be printed, and every invoice to be printed has unique intrinsic invoice number; The invoice volume to be printed that each is installed from terminal, the intrinsic invoice number of all invoices to be printed and sequencing to be printed thereof are inputted accordingly from terminal;
Each method of electronic invoice number that from terminal, the intrinsic invoice number of the invoice to be printed of self is defined as to the invoice to be printed of self is: each from terminal according to the intrinsic invoice number of invoice and the sequencing to be printed of all invoices to be printed printed, determine the invoice to be printed of self, and the intrinsic invoice number of the invoice to be printed of self is defined as to the electronic invoice number of the invoice to be printed of self.
Here, each is that electronic invoice number, tax control code and ticket information are printed to the invoice to be printed of self installing from terminal, therefore, each needs to install in advance a certain amount of invoice to be printed from terminal, one volume invoice to be printed is for example installed in advance, this invoice volume to be printed comprises an above invoice to be printed, and every invoice to be printed has unique intrinsic invoice number.With respect to printed invoice, on every invoice to be printed, only lack ticket information, tax control code and electronic invoice number.Because this invoice volume to be printed comprises an above invoice to be printed, therefore, these invoices to be printed have sequencing to be printed, this has determined that the electronic invoice number of all invoices to be printed is sent to the sequencing of master terminal, due to each, from terminal, the intrinsic invoice number of the invoice to be printed of self is defined as to the electronic invoice number of the invoice to be printed of self, therefore, from essence, the intrinsic invoice number of all invoices to be printed has just been determined the sequencing that is sent to master terminal, like this, the invoice volume to be printed that needs each to install from terminal in the present invention, the intrinsic invoice number of all invoices to be printed and sequencing to be printed thereof are inputted accordingly from terminal, make it when printing each invoice, all according to the order of appointment, determine the electronic invoice number of invoice to be printed, then the electronic invoice of this invoice to be printed number is sent to master terminal.
The intrinsic invoice number of invoice and the sequencing to be printed of all invoices to be printed that each had been printed from terminal basis, can determine next invoice to be printed, thereby the intrinsic invoice number of determining this invoice to be printed, then just can be defined as the intrinsic invoice number of this invoice to be printed the electronic invoice number of the invoice to be printed of self.
The intrinsic invoice number of invoice and the sequencing to be printed of all invoices to be printed at each, from terminal basis, printed, before determining the invoice to be printed of self, the method further comprises: the intrinsic invoice number of invoice and the sequencing to be printed of all invoices to be printed that each had been printed from terminal basis, judge whether the invoice volume to be printed of self installing is finished, if, send the message that invoice volume to be printed has been finished, otherwise, according to the sequencing to be printed of the intrinsic invoice number of the invoice of having printed and all invoices to be printed, determine the invoice to be printed of self.
Here, because each is provided with a certain amount of invoice to be printed terminal, if these invoices to be printed are finished, need to send the message that these invoices to be printed have been finished, prompting related personnel installs new invoice to be printed, meet the demand of printing invoice, therefore, in the present invention each from terminal before determining the invoice to be printed of self, need first according to the intrinsic invoice number of invoice and the sequencing to be printed of all invoices to be printed printed, judge whether the invoice volume to be printed of self installing is finished, if be finished, send the message that invoice volume to be printed is finished, this information can send to master terminal, also can be by other means, short message mode for example, lettergram mode etc., notify related personnel to add new invoice to be printed.
In the present invention, from terminal, send to the ticket information of master terminal to comprise: name of firm, consumer's title, article of consumption, the consumption amount of money and consumption time etc., certainly, can also comprise the information such as trade company's code, consumer identification code.
In the present invention, master terminal, except having above-mentioned functions, also can have from functions such as the above-mentioned reception ticket information of terminal and printed invoices.
Fig. 2 is the structural drawing of system of drawing a bill provided by the invention.As shown in Figure 2, this system comprises master terminal 201 and a plurality of from terminal 202, and master terminal 201 comprises master terminal memory controller 203 and a Design of Tax Controled Device 204, wherein:
Each from terminal 202 for, the electronic invoice of the terminal number of self, invoice to be printed number and ticket information are sent to master terminal memory controller 203; By the electronic invoice of invoice to be printed number, ticket information and tax control code printing to invoice;
Master terminal memory controller 203 for, the invoice number section using the electronic invoice of invoice to be printed number as volume invoice to be printed, imports the Design of Tax Controled Device 204 into; Import ticket information into the Design of Tax Controled Device 204; By tax control code send to terminal number corresponding from terminal 202;
The Design of Tax Controled Device 204 for, according to the electronic invoice of invoice to be printed number and ticket information, obtain tax control code; Tax control code is sent to master terminal memory controller 203.
As can be seen here, in the present invention, due to the invoice number section of master terminal memory controller using the electronic invoice of invoice to be printed number as volume invoice to be printed, import the Design of Tax Controled Device into, therefore, the Design of Tax Controled Device calculates the tax control code of this invoice to be printed, can obtain the tax control code that this rolls up invoice to be printed, then just can start to calculate the tax control code that next rolls up invoice to be printed, like this, in the present invention, master terminal memory controller is by the method for the invoice number section using the electronic invoice of an invoice to be printed number as volume invoice to be printed, the Design of Tax Controled Device has been realized the continuous calculating from the multireel invoice tax control to be printed code of terminal from difference, thereby can make two above from terminal printed invoice simultaneously, in addition, the present invention utilizes master terminal memory controller and from the communication between terminal, only a Design of Tax Controled Device need be set on master terminal, can realize above-mentioned function, therefore, the present invention can be only with a Design of Tax Controled Device in the situation that, make two above from terminal while printed invoice.
In the present invention, the Design of Tax Controled Device 204 is further used for, and preserves invoice number section to be printed; Whether the electronic invoice number that judges invoice to be printed belongs to invoice number section to be printed; The message report that the electronic invoice of invoice to be printed number is not belonged to invoice number section to be printed is to master terminal memory controller 203;
Master terminal memory controller 203 is further used for, and does not belong to the message of invoice number section to be printed according to the electronic invoice of invoice to be printed number, the message that this invoice can not be printed send to terminal number corresponding from terminal 202.
Here, the Design of Tax Controled Device can be used for judging whether the electronic invoice number of invoice to be printed belongs to invoice number section to be printed, if, the Design of Tax Controled Device is according to this electronic invoice number and ticket information, calculate tax control code, otherwise, judge that this electronic invoice number corresponding invoice to be printed can not be for printing, therefore, the message report that the electronic invoice of invoice to be printed number is not belonged to invoice number section to be printed is to master terminal memory controller, by master terminal memory controller, according to the electronic invoice of this invoice to be printed number, do not belonged to the message of invoice number section to be printed, the message that this invoice can not be printed send to terminal number corresponding from terminal, thereby make from terminal, to change electronic invoice number accordingly, or send miscue, related personnel is safeguarded in time.
In the present invention, each is further used for from terminal 202, the intrinsic invoice number of the invoice to be printed of self is defined as to the electronic invoice number of the invoice to be printed of self.
Here, because intrinsic invoice number and the electronic invoice number of every invoice to be printed has corresponding relation, or the two is identical, and, the intrinsic invoice number of every invoice to be printed and electronic invoice number all have one-to-one relationship with this invoice to be printed, therefore, in the present invention, each is further defined as the intrinsic invoice number of the invoice to be printed of self electronic invoice number of the invoice to be printed of self from terminal, thereby when needs printed invoice, the electronic invoice number identical with intrinsic invoice number sent to master terminal memory controller.
Each is further used for from terminal 202, loads invoice volume to be printed, and this invoice volume to be printed comprises an above invoice to be printed, and every invoice to be printed has unique intrinsic invoice number; Preserve the intrinsic invoice number of all invoices to be printed in invoice volume to be printed and sequencing to be printed thereof; According to the sequencing to be printed of the intrinsic invoice number of the invoice of having printed and all invoices to be printed, determine the invoice to be printed of self, and the intrinsic invoice number of the invoice to be printed of self is defined as to the electronic invoice number of the invoice to be printed of self.
Here, each is mounted with invoice volume to be printed from terminal, for supplying, from terminal, ticket information, tax control code and electronic invoice number is printed thereon.This invoice volume to be printed comprises an above invoice to be printed, and every invoice to be printed has unique intrinsic invoice number, because the invoice to be printed in this invoice volume to be printed is more than one, therefore, from terminal when printing, these invoices to be printed have one to accept the order of printing, accordingly, the intrinsic invoice number of these invoices to be printed also just has corresponding sequencing, intrinsic invoice number and the sequencing to be printed thereof of all invoices to be printed in this invoice volume to be printed are stored in from terminal, can make this from terminal when the ready-to-print invoice, can be according to the sequencing to be printed of the intrinsic invoice number of the invoice of having printed and all invoices to be printed, determine the invoice to be printed of self, so just the intrinsic invoice number of next invoice to be printed can be defined as to the electronic invoice number of the invoice to be printed of self, send it to master terminal memory controller.
Each is further used for from terminal 202, according to the sequencing to be printed of the intrinsic invoice number of the invoice of having printed and all invoices to be printed, judges whether the invoice volume to be printed of self installing is finished; Send the message that invoice volume to be printed has been finished.
Here, in the present invention, each from terminal when the ready-to-print invoice, can also be according to the intrinsic invoice number of invoice and the sequencing to be printed of all invoices to be printed printed, judge that whether the invoice volume to be printed of self installing is finished, if so, sends the message that invoice volume to be printed has been finished, prompting related personnel installs new invoice volume to be printed, for printing invoice.From terminal, send message that invoice volume to be printed has been finished to related personnel's mode, can be for note, mail, send the modes such as alarm bell, notice master terminal.
In the present invention, each sends to the ticket information of master terminal memory controller 203 to comprise from terminal 202: name of firm, consumer's title, article of consumption, the consumption amount of money and consumption time, certainly, also can comprise the information such as trade company's code, consumer identification code.
As can be seen here, the present invention has the following advantages:
(1) in the present invention, due to the invoice number section of master terminal using the electronic invoice of invoice to be printed number as volume invoice to be printed, import the Design of Tax Controled Device of self into, therefore, the Design of Tax Controled Device calculates the tax control code of this invoice to be printed, can obtain the tax control code that this rolls up invoice to be printed, then just can start to calculate the tax control code that next rolls up invoice to be printed, like this, in the present invention, master terminal is by the method for the invoice number section using the electronic invoice of an invoice to be printed number as volume invoice to be printed, the Design of Tax Controled Device has been realized the continuous calculating from the multireel invoice tax control to be printed code of terminal from difference, thereby can make two above from terminal printed invoice simultaneously, in addition, the present invention utilizes master terminal and from the communication between terminal, only a Design of Tax Controled Device need be set on master terminal, can realize above-mentioned function, and therefore, the present invention can be only with a Design of Tax Controled Device in the situation that, make two above from terminal while printed invoice.
(2) in the present invention, because the Design of Tax Controled Device can judge from the electronic invoice number of terminal transmission whether belong to the invoice number section to be printed of self storing, and when electronic invoice number does not belong to the invoice number section to be printed of self storage timely notice master terminal, thereby the message that master terminal can not be printed this invoice in time sends to corresponding to terminal, therefore, the present invention can effectively prevent that each is from the printing invoice mistake of terminal, thereby prevents the waste of invoice.
(3) in the present invention, owing to only a Design of Tax Controled Device need to being installed on master terminal, can make two above from terminal printed invoice simultaneously, therefore, with respect to prior art, the present invention has strictly observed the use restriction of the Design of Tax Controled Device, and has reduced the use amount of the Design of Tax Controled Device, reduced the cost of system, meanwhile, because system is only used a Design of Tax Controled Device, therefore, with respect to prior art, stability of the present invention and reliability improve.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (12)

1. a method of drawing a bill, is characterized in that, the method comprises:
Each sends to master terminal from terminal by the electronic invoice of the terminal number of self, invoice to be printed number and ticket information;
The invoice number section of described master terminal using the electronic invoice of described invoice to be printed number as volume invoice to be printed, imports the Design of Tax Controled Device of self into; Described master terminal imports described ticket information into the Design of Tax Controled Device of self; Described the Design of Tax Controled Device, according to the electronic invoice of described invoice to be printed number and ticket information, obtains tax control code;
Described master terminal by described tax control code send to described terminal number corresponding from terminal;
Described from terminal by the electronic invoice of described invoice to be printed number, ticket information and tax control code printing to invoice.
2. method according to claim 1, is characterized in that, the method further comprises: invoice number section to be printed is inputted in described the Design of Tax Controled Device;
The invoice number section of described master terminal using the electronic invoice of described invoice to be printed number as volume invoice to be printed, after importing the Design of Tax Controled Device of self into, described the Design of Tax Controled Device further judges whether the electronic invoice number of described invoice to be printed belongs to described invoice number section to be printed, if so, described master terminal imports described ticket information into the Design of Tax Controled Device of self; Described the Design of Tax Controled Device is according to the electronic invoice of described invoice to be printed number and ticket information, obtain tax control code, otherwise, the message report that described the Design of Tax Controled Device does not belong to described invoice number section to be printed by the electronic invoice of described invoice to be printed number is to described master terminal, described master terminal does not belong to the message of described invoice number section to be printed according to the electronic invoice of described invoice to be printed number, the message that this invoice can not be printed send to described terminal number corresponding from terminal.
3. method according to claim 1 and 2, it is characterized in that, before the electronic invoice of the terminal number of self, invoice to be printed number and ticket information being sent to master terminal at each from terminal, the method further comprises: each is defined as the intrinsic invoice number of the invoice to be printed of self from terminal the electronic invoice number of the invoice to be printed of self.
4. method according to claim 3, it is characterized in that, before each is defined as the intrinsic invoice number of the invoice to be printed of self from terminal the electronic invoice number of invoice to be printed of self, the method further comprises: at each, from terminal, invoice volume to be printed is installed, described invoice volume to be printed comprises an above invoice to be printed, and every invoice to be printed has unique intrinsic invoice number; The invoice volume to be printed that each is installed from terminal, the intrinsic invoice number of all invoices to be printed and sequencing to be printed thereof are inputted accordingly from terminal;
Each method of electronic invoice number that from terminal, the intrinsic invoice number of the invoice to be printed of self is defined as to the invoice to be printed of self is: each from terminal according to the intrinsic invoice number of invoice and the sequencing to be printed of all invoices to be printed printed, determine the invoice to be printed of self, and the intrinsic invoice number of the invoice to be printed of self is defined as to the electronic invoice number of the invoice to be printed of self.
5. method according to claim 4, it is characterized in that, the intrinsic invoice number of invoice and the sequencing to be printed of all invoices to be printed at each, from terminal basis, printed, before determining the invoice to be printed of self, the method further comprises: the intrinsic invoice number of invoice and the sequencing to be printed of all invoices to be printed that each had been printed from terminal basis, judge whether the invoice volume to be printed of self installing is finished, if, send the message that invoice volume to be printed has been finished, otherwise, according to the sequencing to be printed of the intrinsic invoice number of the invoice of having printed and all invoices to be printed, determine the invoice to be printed of self.
6. according to the method described in claim 1,2,4 or 5, it is characterized in that, described ticket information comprises: name of firm, consumer's title, article of consumption, the consumption amount of money and consumption time.
7. a system of drawing a bill, is characterized in that, this system comprises master terminal and a plurality of from terminal, and described master terminal comprises master terminal memory controller and a Design of Tax Controled Device, wherein:
Described in each, from terminal, be used for, the electronic invoice of the terminal number of self, invoice to be printed number and ticket information are sent to described master terminal memory controller; By the electronic invoice of described invoice to be printed number, ticket information and tax control code printing to invoice;
Described master terminal memory controller is used for, and the invoice number section using the electronic invoice of described invoice to be printed number as volume invoice to be printed, imports described the Design of Tax Controled Device into; Import described ticket information into described the Design of Tax Controled Device; By described tax control code send to described terminal number corresponding from terminal;
Described the Design of Tax Controled Device is used for, and according to the electronic invoice of described invoice to be printed number and ticket information, obtains tax control code; Described tax control code is sent to described master terminal memory controller.
8. system according to claim 7, is characterized in that,
Described the Design of Tax Controled Device is further used for, and preserves invoice number section to be printed; Whether the electronic invoice number that judges described invoice to be printed belongs to described invoice number section to be printed; The message report that the electronic invoice of described invoice to be printed number is not belonged to described invoice number section to be printed is to described master terminal memory controller;
Described master terminal memory controller is further used for, and does not belong to the message of described invoice number section to be printed according to the electronic invoice of described invoice to be printed number, the message that this invoice can not be printed send to described terminal number corresponding from terminal.
9. according to the system described in claim 7 or 8, it is characterized in that, each is further used for from terminal, the intrinsic invoice number of the invoice to be printed of self is defined as to the electronic invoice number of the invoice to be printed of self.
10. system according to claim 9, is characterized in that, is further used for described in each from terminal, loads invoice volume to be printed, and described invoice volume to be printed comprises an above invoice to be printed, and every invoice to be printed has unique intrinsic invoice number; Preserve the intrinsic invoice number of all invoices to be printed in described invoice volume to be printed and sequencing to be printed thereof; According to the sequencing to be printed of the intrinsic invoice number of the invoice of having printed and all invoices to be printed, determine the invoice to be printed of self, and the intrinsic invoice number of the invoice to be printed of self is defined as to the electronic invoice number of the invoice to be printed of self.
11. systems according to claim 10, it is characterized in that, described in each, from terminal, be further used for, according to the sequencing to be printed of the intrinsic invoice number of the invoice of having printed and all invoices to be printed, judge whether the invoice volume to be printed of self installing is finished; Send the message that invoice volume to be printed has been finished.
12. according to the system described in claim 7,8,10 or 11, it is characterized in that, described ticket information comprises: name of firm, consumer's title, article of consumption, the consumption amount of money and consumption time.
CN201010515788.1A 2010-10-15 2010-10-15 Method and system for making invoice Active CN102456252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010515788.1A CN102456252B (en) 2010-10-15 2010-10-15 Method and system for making invoice

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010515788.1A CN102456252B (en) 2010-10-15 2010-10-15 Method and system for making invoice

Publications (2)

Publication Number Publication Date
CN102456252A CN102456252A (en) 2012-05-16
CN102456252B true CN102456252B (en) 2014-03-19

Family

ID=46039405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010515788.1A Active CN102456252B (en) 2010-10-15 2010-10-15 Method and system for making invoice

Country Status (1)

Country Link
CN (1) CN102456252B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593922B (en) * 2012-08-17 2015-12-16 航天信息股份有限公司 Improve the method and system of network billing system client printing invoice speed
CN103761811B (en) * 2014-01-06 2015-11-25 武小毛 A kind of invoice generation method and device
CN103794136B (en) * 2014-02-18 2016-02-10 立德高科(北京)数码科技有限责任公司 The anti-counterfeiting mark that dot matrix and tax-control code are formed is carried out generating and knows method for distinguishing
JP7127506B2 (en) * 2018-11-19 2022-08-30 セイコーエプソン株式会社 PRINTING APPARATUS AND PRINTING APPARATUS CONTROL METHOD

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6015087A (en) * 1996-10-04 2000-01-18 First Data Corporation Apparatus and method for leasing documents of value
CN101140647A (en) * 2007-09-29 2008-03-12 中商流通生产力促进中心有限公司 Invoices processing method of network tax control system
CN101140684A (en) * 2007-09-11 2008-03-12 中商流通生产力促进中心有限公司 Tax control system based on network server
CN101483000A (en) * 2009-01-09 2009-07-15 北京工业大学 Tax control system based on wireless network tax controller
CN101751653A (en) * 2009-11-02 2010-06-23 浪潮齐鲁软件产业有限公司 Control system of one-supporting-more fiscal processor based on ARM7 processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6015087A (en) * 1996-10-04 2000-01-18 First Data Corporation Apparatus and method for leasing documents of value
CN101140684A (en) * 2007-09-11 2008-03-12 中商流通生产力促进中心有限公司 Tax control system based on network server
CN101140647A (en) * 2007-09-29 2008-03-12 中商流通生产力促进中心有限公司 Invoices processing method of network tax control system
CN101483000A (en) * 2009-01-09 2009-07-15 北京工业大学 Tax control system based on wireless network tax controller
CN101751653A (en) * 2009-11-02 2010-06-23 浪潮齐鲁软件产业有限公司 Control system of one-supporting-more fiscal processor based on ARM7 processor

Also Published As

Publication number Publication date
CN102456252A (en) 2012-05-16

Similar Documents

Publication Publication Date Title
CN102456252B (en) Method and system for making invoice
CN102687463B (en) The method of network system and control net system
KR101378008B1 (en) Method of remote metering of energy
CN104166901A (en) Fault urgent repair site auxiliary mobile platform based on distribution network
CN103259836A (en) Method and device for querying traffic information
CN102982626B (en) A kind of method of POS terminal transfer alarm and device
CN104680667A (en) Cloud print self-service platform and realizing method thereof
CN105303727A (en) Method and system for billing and charging of charging pile
CN202275498U (en) Prepaid meter reading system
CN201629004U (en) Human body induction self-help intelligent service unit
KR20180055515A (en) Cold water purifier capable of automatic ordering of water bottles and delivery method of the water bottles
CN201845193U (en) Unattended operation metering control system
CN104702428A (en) Method for determining work order dispatching modes and integrated alarm system
CN101908160A (en) Bank card management system and transaction counting and point using methods thereof
CN106257546A (en) The method of managing prepaid intelligent monitoring terminal and prepayment intelligent detection and control terminal
CN102024292A (en) Self-service copying machine
CN106355226A (en) LORA-based electronic tag system
CN103778722A (en) Entrance management system of electronic product
KR101189887B1 (en) Energy Management System
CN107067305A (en) Self-service borrow goes back umbrella method and system
CN103646430B (en) BRT rapid public transportation system automatic coin ticket machine self-diagnosing method
CN102147614B (en) Method for monitoring operating condition of monitoring terminal, monitoring terminal and monitoring system
CN202600964U (en) Intelligent public traffic system based on ZIGBEE Technology
CN102448034B (en) Management system for prepayment and meter reading by short messages
CN201910140U (en) Multi-stage parking data collection system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant