A kind of barcode scanning issues electronic invoice methodTechnical 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 purchaseThe 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, realNow 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 buyerProduct or the title of service, quality, negotiated prices, the element that invoice has are to be paid according to agreed conditions by purchase direction sellerMoney, 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, offerOr 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 paperMatter invoice is in the majority, has state tax authority is unified to print, and applies buying by taxpayer;With economic fast-developing economic activityBecome increasingly prosperous, the printing amount of paper invoice is increasing, leads to huge resource consumption;Traditional paper invoice circulation is inadequateConvenient, 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 atThis 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 invoiceAppearance can solve the problems, such as to a certain extent above-mentioned, but general electronic invoice is issued and needs businessman in the marketOne side completes on computers, while also consumer being needed to provide information on the spot, longer the time required to issuing electronic invoice, in businessmanIt 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 electronicsInvoice 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 sideMethod, 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 settingPlatform 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 managedThe information such as title, cargo price are pre-entered into the subscriber information server at electronic invoice cloud platform center, and provide storageLocation information;
(2), image in 2 D code is generated: product name, cargo price, commodity amount and the merchandise discount that purchaser is boughtEtc. the storage location information input that provides in consumption information and step (1) into two-dimension code generator, two-dimension code generator is to instituteThe information of input is encrypted and generates image in 2 D code;The two-dimension code generator is the electronics that can handle informationEquipment 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 codeAt image in 2 D code, identification extract image in 2 D code carry information, consumer by invoice come back and contact method be input toIn 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, consumerSystem 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 codeThe 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 informationEquipment 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 centerProcessor 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 centerBreath 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 invoiceLocation 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 authorityIt controls server the information such as invoice number, invoice codes, check code and ciphertext are written in invoice required list, finally it is signedChapter 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 informationPattern 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 invoiceReference 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 invoicePart 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 invoiceThe 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 deviceDimension 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 serverMember, 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 telecommunicationsNumber connection, client of making out an invoice are internally provided with identification acquiring unit and encrypted signature unit, and identification acquiring unit can identify twoIt 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 invoiceCarry 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, opensTicket 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 clientThe 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 listMetacall 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 listIn 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 invoiceThe 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 electronicsIn 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 businessmanCode generator generates image in 2 D code and is sent to consumer by way of paper image or Email, and consumer uses toolElectronic 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 dealingBoth 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 scanningIt 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 managedThe 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 depositedStore up location information;
(2), image in 2 D code is generated: product name, cargo price, commodity amount and the merchandise discount that purchaser is boughtEtc. 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 rightThe information inputted is encrypted and generates image in 2 D code;The two-dimension code generator 2 can be handled informationElectronic 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 codeAt image in 2 D code, identification extract image in 2 D code carry information, consumer by invoice come back and contact method be input toIn 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 invoiceSystem 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 disappearingThe 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 informationElectronic 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 platformIn 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 invoiceInformation 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 invoiceStorage 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 authorityTax 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 intoRow 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 invoiceThe 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 invoiceFile 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 invoiceThe 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, twoDimension 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 invoiceThe 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, identificationAcquiring 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, signName 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 electronicsInside 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 unit10, 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 electricSub- 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 invoiceClient;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 twoDimension code generator 2 generates image in 2 D code and is sent to consumer by way of paper image or Email, and consumer makesElectronic 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.