A kind of barcode scanning issues electronic invoice method
Technical field:
The invention belongs to electronic invoice applied technical field, it is related to a kind of barcode scanning and issues electronic invoice method, by that will purchase
The consumption information such as the commodity bought generate image in 2 D code and make out an invoice client and electronic invoice cloud platform center using setting, real
Now conveniently electronic invoice is issued.
Background technique:
Invoice refers in economic activity that the text signed and issued by selling direction purchaser, content includes providing production to buyer
Product or the title of service, quality, negotiated prices, the element that invoice has are to be paid according to agreed conditions by purchase direction seller
Money, it is necessary to include date and quantity, be the important documents of Accounting, refer to all entity and individual in purchasing and selling commodities, offer
Or receive service and be engaged in other business activities, the business voucher issued and collected, it is the original foundation of accounting,
And the important evidence that auditing authority, tax authority's taxation pay taxes with examination of law enforcement.The existing way of invoice is at this stage still with paper
Matter invoice is in the majority, has state tax authority is unified to print, and applies buying by taxpayer;With economic fast-developing economic activity
Become increasingly prosperous, the printing amount of paper invoice is increasing, leads to huge resource consumption;Traditional paper invoice circulation is inadequate
Convenient, the paper invoice issued such as shopping on the web needs to be delivered to purchaser by mailing way so that the business of businessman at
This is higher and higher;Paper invoice is since pattern is fixed as it can be seen that being easy to be copied, bought and sold and write out falsely;And electronic invoice
Appearance can solve the problems, such as to a certain extent above-mentioned, but general electronic invoice is issued and needs businessman in the market
One side completes on computers, while also consumer being needed to provide information on the spot, longer the time required to issuing electronic invoice, in businessman
It often will cause consumer when busy and be lined up the problem of issuing electronic invoice, therefore seek to design a kind of barcode scanning and issue electronics
Invoice printing method realizes that both parties' separation issues invoice, with good economic efficiency and social benefit.
Summary of the invention:
It is an object of the invention to overcome disadvantage of the existing technology, seeks to design a kind of barcode scanning and issue electronic invoice side
Method, by the way that the consumption information such as the commodity of purchase are generated image in 2 D code and utilize make out an invoice client and the electronic invoice cloud of setting
Platform center realizes that conveniently electronic invoice is issued.
Barcode scanning of the present invention, which is issued electronic invoice method and mainly issued in electronic invoice system device in barcode scanning, to be realized,
It is mainly comprised the steps that
(1), prestored information: by the title of taxpayer, bank account, bank of deposit, address and its all commodity managed
The information such as title, cargo price are pre-entered into the subscriber information server at electronic invoice cloud platform center, and provide storage
Location information;
(2), image in 2 D code is generated: product name, cargo price, commodity amount and the merchandise discount that purchaser is bought
Etc. the storage location information input that provides in consumption information and step (1) into two-dimension code generator, two-dimension code generator is to institute
The information of input is encrypted and generates image in 2 D code;The two-dimension code generator is the electronics that can handle information
Equipment or software systems;
(3), barcode scanning pre-processes: consumer uses client scan step (2) life of making out an invoice that can identify image in 2 D code
At image in 2 D code, identification extract image in 2 D code carry information, consumer by invoice come back and contact method be input to
In client of making out an invoice, information and client system of making out an invoice that client of making out an invoice inputs the information extracted from two dimensional code, consumer
System characteristic information carries out encrypted signature and generates information request message of making out an invoice, wherein the information and consumption extracted from image in 2 D code
The information just inputted is information of making out an invoice;The client of making out an invoice is that can identify image in 2 D code and extract the electronics of internal information
Equipment or software systems, client of the making out an invoice information request message that will make out an invoice by internet are sent to electronic invoice cloud platform center
Processor of making out an invoice in;
(4), invoice issuing: the letter of making out an invoice generated in the processor receiving step (2) of making out an invoice at electronic invoice cloud platform center
Breath request message simultaneously carries out solution label to it, extracts information of making out an invoice and is written in required list of making out an invoice, and according to the storage in information of making out an invoice
Location information calls the information of taxpayer in subscriber information server to be written in required list of making out an invoice, and then calls the tax of the tax authority
It controls server the information such as invoice number, invoice codes, check code and ciphertext are written in invoice required list, finally it is signed
Chapter generates electronic invoice;The required list of making out an invoice is electronic invoice template, is used for the write-in, displaying, displaying of invoice information
Pattern and layout;
(5), invoice pushes: processor of making out an invoice is special according to FTP client FTP of making out an invoice is extracted from information request message of making out an invoice
Reference breath carries out rendering processing to the electronic invoice that step (4) generate, and generates the text that can be shown in FTP client FTP of making out an invoice
Part format invoice, and file format invoice is sent to client of making out an invoice;Processor of making out an invoice can also be consumed according in information of making out an invoice
The contact method just provided is sent to consumer with multimedia message or E-mail mode.
It include electronic invoice cloud platform center, two the present invention relates to the main structure that barcode scanning issues electronic invoice system device
Dimension code generator, client of making out an invoice, identify that acquiring unit, encrypted signature unit, solution are signed a bill at make out an invoice processor and tax control server
Member, processing unit of making out an invoice, render processing unit subscriber information server;Client of making out an invoice and electronic invoice cloud platform center telecommunications
Number connection, client of making out an invoice are internally provided with identification acquiring unit and encrypted signature unit, and identification acquiring unit can identify two
It ties up the image in 2 D code generated in code generator and extracts the information of image in 2 D code carrying, encrypted signature unit is to information of making out an invoice
Carry out the information request message of making out an invoice that processing generates encryption;Processor of making out an invoice is arranged in electronic invoice cloud platform central interior, opens
Ticket processor is internally provided with solution member of signing a bill and makes out an invoice processing unit and render processing unit, and processor of making out an invoice reception is made out an invoice client
The information request message of making out an invoice sent, which enters solution member of signing a bill, to carry out verifying signature, decryption and extraction and makes out an invoice information, makes out an invoice and handles list
Metacall tax control server will make out an invoice the information such as information, invoice number, invoice codes, check code and ciphertext write-in invoice required list
In and carry out stamped signature to generate electronic invoice, render processing unit can show electronic invoice generation in FTP client FTP of making out an invoice
The file format invoice shown, and file format invoice is sent to client of making out an invoice;Subscriber information server setting is sent out in electronics
In ticket cloud platform center, to store taxpayer's information.
The present invention is in use, the consumption information such as the product name that consumer buys, unit price and quantity are passed through two dimension by businessman
Code generator generates image in 2 D code and is sent to consumer by way of paper image or Email, and consumer uses tool
Electronic invoice can be issued by having the electronic equipments such as the mobile phone for client functionality of making out an invoice to scan the two-dimensional code input invoice new line.
Compared with prior art, the present invention its image in 2 D code discrimination generated is high, makes out an invoice and respond rapidly, realize dealing
Both sides separation make out an invoice, it is convenient and efficient, make out an invoice it is legal effectively have a wide range of application, application environment close friend.
Detailed description of the invention:
Fig. 1 is the working principle of the invention flow diagram.
Fig. 2 is the principle structure schematic block diagram that barcode scanning of the present invention issues electronic invoice device.
Specific embodiment:
The invention will be further described by way of example and in conjunction with the accompanying drawings.
Embodiment 1:
The barcode scanning that the present embodiment is related to is issued electronic invoice method and is mainly issued in electronic invoice system device in fact in barcode scanning
It is existing, it mainly comprises the steps that
(1), prestored information: by the title of taxpayer, bank account, bank of deposit, address and its all commodity managed
The information such as title, cargo price are pre-entered into the subscriber information server 11 at electronic invoice cloud platform center 1, and are provided and deposited
Store up location information;
(2), image in 2 D code is generated: product name, cargo price, commodity amount and the merchandise discount that purchaser is bought
Etc. the storage location information input that provides in consumption information and step (1) into two-dimension code generator 2, two-dimension code generator 2 is right
The information inputted is encrypted and generates image in 2 D code;The two-dimension code generator 2 can be handled information
Electronic equipment or software systems;
(3), barcode scanning pre-processes: consumer is raw using 3 scanning step of client (2) of making out an invoice that can identify image in 2 D code
At image in 2 D code, identification extract image in 2 D code carry information, consumer by invoice come back and contact method be input to
In client of making out an invoice 3, the information that client of making out an invoice 3 inputs the information extracted from two dimensional code, consumer and client 3 of making out an invoice
System features information carries out encrypted signature generation and makes out an invoice information request message, wherein the information extracted from image in 2 D code and disappearing
The information of Fei Fang input is information of making out an invoice;The client 3 of making out an invoice is that can identify image in 2 D code and extract internal information
Electronic equipment or software systems, client of the making out an invoice information request message that will make out an invoice by internet are sent to electronic invoice cloud platform
In the processor of making out an invoice at center 1;
(4), invoice issuing: what is generated in 4 receiving step of processor (2) of making out an invoice at electronic invoice cloud platform center 1 makes out an invoice
Information request message simultaneously carries out solution label to it, extracts information of making out an invoice and is written in required list of making out an invoice, and according to depositing in information of making out an invoice
Storage location information calls the information of taxpayer in subscriber information server to be written in required list of making out an invoice, and then calls the tax authority
Tax control server 5 by the information such as invoice number, invoice codes, check code and ciphertext be written invoice required list in, finally to its into
Row stamped signature generates electronic invoice;The required list of making out an invoice is electronic invoice template, be used for the write-in of invoice information, displaying,
Show pattern and layout;
(5), invoice pushes: processor 5 of making out an invoice from information request message of making out an invoice according to extracting 3 system of client of making out an invoice
The electronic invoice that characteristic information generates step (4) carries out rendering processing, what generation can be shown in 3 system of client of making out an invoice
File format invoice, and file format invoice is sent to client 3 of making out an invoice;Making out an invoice processor 4 can also be according in information of making out an invoice
The contact method that consumer provides is sent to consumer with multimedia message or E-mail mode.
The present embodiment is related to barcode scanning to issue the main structure of electronic invoice device including electronic invoice cloud platform center 1, two
Dimension code generator 2, client of making out an invoice 3, make out an invoice processor 4 and tax control server 5, identification acquiring unit 6, encrypted signature unit 7,
Solution is signed a bill first 8, processing unit 9 of making out an invoice, 10 subscriber information server 11 of render processing unit;Client of making out an invoice 3 and electronic invoice
The connection of 1 electric signal of cloud platform center, client of making out an invoice 3 are internally provided with identification acquiring unit 6 and encrypted signature unit 7, identification
Acquiring unit can identify the image in 2 D code generated in two-dimension code generator 2 and extract the information of image in 2 D code carrying, sign
Name encryption unit 7 carries out the information request message of making out an invoice that processing generates encryption to information of making out an invoice;Processor 4 of making out an invoice is arranged in electronics
Inside invoice cloud platform center 1, processor 4 of making out an invoice is internally provided with solution member 8 of signing a bill and makes out an invoice processing unit 9 and render processing unit
10, processor 4 of making out an invoice reception make out an invoice the information request message of making out an invoice that client 3 is sent enter solution sign a bill member 8 carry out verifying signature,
Decryption and extraction are made out an invoice information, processing unit 8 of making out an invoice call tax control server 5 will make out an invoice information, invoice number, invoice codes,
In the information such as check code and ciphertext write-in invoice required list and stamped signature is carried out to generate electronic invoice, and render processing unit 10 will be electric
Sub- invoice generates the file format invoice that can be shown in FTP client FTP of making out an invoice, and file format invoice is sent to and is made out an invoice
Client;Subscriber information server 11 is arranged in electronic invoice cloud platform center 1, to store taxpayer's information.
The present embodiment is in use, the consumption information such as product name, unit price and quantity that businessman buys consumer pass through two
Dimension code generator 2 generates image in 2 D code and is sent to consumer by way of paper image or Email, and consumer makes
Electronic invoice can be issued by scanning the two-dimensional code input invoice new line with electronic equipments such as the mobile phones with 3 function of client of making out an invoice.