A kind of barcode scanning issues electronic invoice method
Technical field:
The invention belongs to electronic invoice applied technical field, is related to a kind of barcode scanning and issues electronic invoice method, by purchasing
The consumption information such as the commodity that buys generate image in 2 D code and using make out an invoice client and the electronic invoice cloud platform center for arranging, real
Now conveniently electronic invoice is issued.
Background technology:
Invoice refers in economic activity that, by the text that direction purchaser signs and issues is sold, content includes providing product to buyer
The title of product or service, quality, negotiated prices, the key element that invoice possesses are paid by direction seller is bought according to agreed conditions
Money, it is necessary to comprising date and quantity, be the important documents of Accounting, refers to all entity and individual in purchasing and selling commodities, offer
Or receive service and be engaged in other business activities, the business voucher that issues and collect, 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 unification to print, by taxpayer's application purchase;With economic fast-developing economic activity
Become increasingly prosperous, the printing amount of paper invoice is increasing, causes huge resource consumption;Traditional paper invoice circulation is not enough
Convenient, the paper invoice that such as shopping on the web is issued needs to be delivered to purchaser by mailing way so that the business of businessman into
This more and more higher;Paper invoice is visible due to pattern fixation, situations such as easily copied, bought and sold and write out falsely;And electronic invoice
Go out to be now able to solve to a certain extent above-mentioned problem, but general electronic invoice on market is issued and needs businessman
One side completes on computers, while also needing to consumer provides information on the spot, longer the time required to issuing electronic invoice, in businessman
Often cause consumer to queue up when busy and issue the problem of 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 benefit and social benefit.
Content of the invention:
It is an object of the invention to the shortcoming for overcoming prior art to exist, seeks to design a kind of barcode scanning and issues electronic invoice side
Method, by generating image in 2 D code and using make out an invoice client and the electronic invoice cloud for arranging by consumption information such as the commodity of purchase
Platform center, realizes that conveniently electronic invoice is issued.
Barcode scanning according to the present invention is issued electronic invoice method and mainly issues realization in electronic invoice system device in barcode scanning,
Which mainly includes the following steps that:
(1), prestored information:By the title of taxpayer, bank account, bank of deposit, address and its all commodity that is managed
The information such as title, cargo price are pre-entered in the subscriber information server at electronic invoice cloud platform center, and provide storage
Positional information;
(2), image in 2 D code is generated:Trade name, cargo price, commodity amount and the merchandise discount that purchaser is bought
Etc. the storage location information input be given in consumption information and step (1) in 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 be processed information
Equipment or software systems;
(3), barcode scanning pretreatment:Consumer is raw using the client scan step (2) of making out an invoice that can recognize image in 2 D code
Into 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
Make out an invoice in client, information and client system of making out an invoice that the information that extracts from Quick Response Code, consumer are input into by client of making out an invoice
System characteristic information carries out encrypted signature and generates information request message of making out an invoice, the information of extraction and consumption wherein from image in 2 D code
The information of side's input is information of making out an invoice;The client of making out an invoice is the electronics for being capable of identify that image in 2 D code and extracting internal information
Equipment or software systems, client of making out an invoice information request message of making out an invoice are sent to electronic invoice cloud platform center by internet
Make out an invoice in processor;
(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 which, extracts information write of making out an invoice and makes out an invoice in required list, and according to the storage in the information of making out an invoice
Positional information is called the information of taxpayer in subscriber information server to write and is made out an invoice in required list, then calls the tax of the tax authority
Control server writes the information such as invoice number, invoice codes, check code and ciphertext in invoice required list, and finally which is signed
Chapter generates electronic invoice;The required list of making out an invoice for electronic invoice template, write which is used for invoice information, displayings, displaying
Pattern and layout;
(5), invoice is pushed: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 process to the electronic invoice that step (4) is generated, and generates the text that can show in FTP client FTP of making out an invoice
Part form invoice, and file format invoice is sent to client of making out an invoice;Processor of making out an invoice is consumed also dependent in the information of making out an invoice
The contact method that side provides is sent to consumer with multimedia message or E-mail mode.
The present invention relates to barcode scanning issue the agent structure of electronic invoice system device include electronic invoice cloud platform center, two
Dimension code generator, client of making out an invoice, make out an invoice processor and tax control server, identification acquiring unit, encrypted signature unit, solution are signed a bill
Unit, 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 is capable of identify that two
The image in 2 D code for generating the information for extracting image in 2 D code carrying in dimension code generator, encrypted signature unit is to the information of making out an invoice
Carry out processing the information request message of making out an invoice for generating encryption;Processor of making out an invoice is arranged on electronic invoice cloud platform central interior, opens
Ticket processor is internally provided with the solution unit that signs a bill and makes out an invoice processing unit and render processing unit, and processor of making out an invoice receives client of making out an invoice
The information request message of making out an invoice that sends enters the solution unit that signs a bill and carries out checking signature, decryption and extraction and make out an invoice information, and process of making out an invoice is single
Metacall tax control server will make out an invoice the information such as information, invoice number, invoice codes, check code and ciphertext write invoice required list
In and carry out stamped signature to generate electronic invoice, electronic invoice is generated and can be shown in FTP client FTP of making out an invoice by render processing unit
The file format invoice for showing, and file format invoice is sent to client of making out an invoice;Subscriber information server is arranged on electronics and sends out
In ticket cloud platform center, so as to storage taxpayer's information.
When the present invention is used, the consumption information such as trade name, unit price and quantity that consumer is bought by businessman is by two dimension
Code generator is generated image in 2 D code and is sent to consumer by way of paper image or Email, and consumer is using tool
There is the electronic equipments such as the mobile phone of client functionality of making out an invoice scanning Quick Response Code input invoice to issue electronic invoice by coming back.
Compared with prior art, the image in 2 D code discrimination which generates is high for the present invention, and response of making out an invoice is rapid, realizes dealing
Both sides' separation is made out an invoice, and convenient and swift, legal effective applied range of making out an invoice, applied environment are friendly.
Description of the drawings:
Fig. 1 is the operation principle FB(flow block) of the present invention.
Fig. 2 is the principle structure schematic block diagram that barcode scanning according to the present invention issues electronic invoice device.
Specific embodiment:
Below by embodiment and combine accompanying drawing the invention will be further described.
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
Existing, which mainly includes the following steps that:
(1), prestored information:By the title of taxpayer, bank account, bank of deposit, address and its all commodity that is managed
The information such as title, cargo price are pre-entered in the subscriber information server 11 at electronic invoice cloud platform center 1, and are given and are deposited
Storage positional information;
(2), image in 2 D code is generated:Trade name, cargo price, commodity amount and the merchandise discount that purchaser is bought
Etc. the storage location information input be given in consumption information and step (1) in two-dimension code generator 2, two-dimension code generator 2 pairs
The information being input into is encrypted and generates image in 2 D code;Information can be processed by the two-dimension code generator 2
Electronic equipment or software systems;
(3), barcode scanning pretreatment:Consumer is raw using 3 scanning step of the client (2) of making out an invoice that can recognize image in 2 D code
Into 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, information and client 3 of making out an invoice that the information that extracts from Quick Response Code, consumer are input into by client of making out an invoice 3
System features information carries out encrypted signature and generates making out an invoice information request message, the information extracted and disappears wherein from image in 2 D code
The information of Fei Fang inputs is information of making out an invoice;The client 3 of making out an invoice is to be capable of identify that image in 2 D code and extract internal information
Electronic equipment or software systems, client of making out an invoice information request message of making out an invoice are sent to electronic invoice cloud platform by internet
Center 1 is made out an invoice in processor;
(4), invoice issuing:Generated in 4 receiving step of the 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 which, extracts information write of making out an invoice and makes out an invoice in required list, and according to depositing in the information of making out an invoice
Storage positional information is called the information of taxpayer in subscriber information server to write and is made out an invoice in required list, then calls the tax authority
Tax control server 5 writes the information such as invoice number, invoice codes, check code and ciphertext in invoice required list, and finally which is entered
Row stamped signature generates electronic invoice;The required list of making out an invoice for electronic invoice template, write which is used for invoice information, displaying,
Show pattern and layout;
(5), invoice is pushed:Processor 5 make out an invoice according to extracting 3 system of client of making out an invoice from information request message of making out an invoice
Characteristic information carries out rendering process to the electronic invoice that step (4) is generated, and generation can show 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;During processor 4 make out an invoice also dependent on the 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 issues the agent structure of electronic invoice device includes 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 sign a bill unit 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 1 electric signal connection 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 is capable of identify that the image in 2 D code generated in two-dimension code generator 2 and extracts the information of image in 2 D code carrying, signs
Name 7 pairs of information of making out an invoice of ciphering unit carry out processing the information request message of making out an invoice for generating encryption;Processor 4 of making out an invoice is arranged on electronics
Inside invoice cloud platform center 1, processor 4 of making out an invoice is internally provided with the solution unit 8 that signs a bill and makes out an invoice processing unit 9 and render processing unit
10, processor 4 of making out an invoice receive the information request message of making out an invoice that client 3 sends of making out an invoice enter solution sign a bill unit 8 carry out checking 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 invoice required list and carry out stamped signature to generate electronic invoice, render processing unit 10 is by electricity
Sub- invoice generates the file format invoice that can show in FTP client FTP of making out an invoice, and file format invoice is sent to makes out an invoice
Client;Subscriber information server 11 is arranged in electronic invoice cloud platform center 1, so as to storage taxpayer's information.
When the present embodiment is used, the consumption information such as trade name, unit price and quantity that consumer is bought by businessman passes through two
Dimension code generator 2 is generated image in 2 D code and is sent to consumer by way of paper image or Email, and consumer makes
Electronic invoice is issued by being come back with the electronic equipments such as the mobile phone with 3 function of client of making out an invoice scanning Quick Response Code input invoice.