CN107357773A - A kind of generation method and system of PDF electronic invoices - Google Patents
A kind of generation method and system of PDF electronic invoices Download PDFInfo
- Publication number
- CN107357773A CN107357773A CN201710565828.5A CN201710565828A CN107357773A CN 107357773 A CN107357773 A CN 107357773A CN 201710565828 A CN201710565828 A CN 201710565828A CN 107357773 A CN107357773 A CN 107357773A
- Authority
- CN
- China
- Prior art keywords
- invoice
- pdf electronic
- information
- acroform
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/04—Billing or invoicing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Development Economics (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Finance (AREA)
- Economics (AREA)
- Accounting & Taxation (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of generation method and system of PDF electronic invoices, this method includes:Acquisition is made out an invoice data;The message file of the first PDF electronic invoices template and storage AcroForm items for information according to corresponding to utilizing data of making out an invoice, generates PDF electronic invoices;The present invention passes through according to the message file of the first PDF electronic invoices template and storage AcroForm items for information corresponding to data utilization of making out an invoice, generate PDF electronic invoices, the AcroForm items for information stored in message file can be utilized, the data that will make out an invoice are filled into the first PDF electronic invoice templates, generate PDF electronic invoices, make not including AcroForm items for information in the PDF electronic invoices of generation, reduce the X Object form datas in PDF electronic invoices, reduce the pdf document size of PDF electronic invoices, reduce the bandwidth of memory space and network transmission needed for PDF electronic invoices.
Description
Technical field
The present invention relates to PDF electronic invoices to generate applied technical field, more particularly to a kind of generation side of PDF electronic invoices
Method and system.
Background technology
It is the same with common invoice as the electronic invoice of information age product with the development of modern society's science and technology, use
The form of tax bureau's unified payment uses to businessman, and invoice number uses national Unified coding, using unified anti-counterfeiting technology, distribution
To businessman, the signature mechanism on electronic invoice with electronics tax office.
With electronic invoice large-scale popularization, the electronic invoice that user issues is more and more, and stores and transmit PDF electronics hair
Ticket needs higher space and bandwidth.In order to save memory space and transmission bandwidth, it is necessary to generate PDF using more excellent method
Electronic invoice, do not influence to reduce the pdf document size of generation on the premise of display effect.
In the prior art, common PDF electronic invoices generation method, which uses, utilizes PDF electronic invoices as shown in Figure 1
The mode that template carries out form filling generates, that is, the data inputted according to user, to needing to fill out in PDF electronic invoice templates
The AcroForm items for information for evidence of making up the number is filled.X Object lists are very big in the pdf document of the PDF electronic invoices of generation
The space of whole pdf document 50% is occupied, such as by taking common PDF electronic invoices as an example, general single page PDF electronic invoices about 43KB,
Wherein about 24KB is used by X Object lists.So that the pdf document of PDF electronic invoices is larger, substantial amounts of storage is wasted
Space and the bandwidth of network transmission.Therefore, the X Object form datas how reduced in the PDF electronic invoices of generation, reduce
The pdf document size of PDF electronic invoices, time and the bandwidth of the memory space and network transmission needed for PDF electronic invoices are reduced,
It is urgent problem now.
The content of the invention
It is an object of the invention to provide a kind of generation method and system of PDF electronic invoices, to reduce the PDF electronics of generation
X Object form datas in invoice, reduce the pdf document size of PDF electronic invoices.
In order to solve the above technical problems, the present invention provides a kind of generation method of PDF electronic invoices, including:
Acquisition is made out an invoice data;Wherein, the data of making out an invoice include make out an invoice request data, stamped signature pattern file and digital certificate
File;
The first PDF electronic invoices template and storage AcroForm items for information according to corresponding to utilizing the data of making out an invoice
Message file, generate PDF electronic invoices;Wherein, the AcroForm entries are not included in the first PDF electronic invoice templates
Information.
Optionally, the acquisition is made out an invoice data, including:
Made out an invoice described in reception request data;
The stamped signature pattern file and the digital certificate files according to corresponding to obtaining the request data of making out an invoice.
Optionally, the first PDF electronic invoices template and storage corresponding to data of being made out an invoice described in basis selection
The message file of AcroForm items for information, PDF electronic invoices are generated, including:
The first PDF electronic invoices template and described according to corresponding to obtaining the type of making out an invoice of the request data of making out an invoice
Message file;
The AcroForm items for information in described information file, the request data of making out an invoice is filled up to described
First PDF electronic invoice templates, and using the stamped signature pattern file and the digital certificate files to the first PDF electronics
Invoice template carries out stamped signature and digital signature, generates the PDF electronic invoices.
Optionally, described information file is specially XML format file.
Optionally, the stamped signature pattern file corresponding to request data of being made out an invoice described in basis acquisition and the numeral card
Before written matter, in addition to:
Legitimacy inspection is carried out to the request data of making out an invoice, judges whether to pass through inspection;
If it is not, then send miscue information;
If so, then perform the stamped signature pattern file and the numeral according to corresponding to obtaining made out an invoice request data
The step of certificate file.
Optionally, this method also includes:
The 2nd PDF electronic invoice templates corresponding to type of making out an invoice for request data of being made out an invoice described in acquisition are parsed,
Obtain the AcroForm items for information in the 2nd PDF electronic invoice templates;Wherein, the 2nd PDF electronic invoices
Template includes background patterns, word and the AcroForm items for information;
The AcroForm items for information is stored to described information file, and by the 2nd PDF electronic invoice templates
The AcroForm items for information removes, so as to generate the first PDF electronic invoice templates.
In addition, present invention also offers a kind of generation system of PDF electronic invoices, including:
Acquisition module, for obtaining data of making out an invoice;Wherein, the data of making out an invoice include make out an invoice request data, stamped signature pattern
File and digital certificate files;
Generation module, for the first PDF electronic invoices template and storage corresponding to data utilization of being made out an invoice according to
The message file of AcroForm items for information, generate PDF electronic invoices;Wherein, do not wrapped in the first PDF electronic invoice templates
Containing the AcroForm items for information.
Optionally, the acquisition module, including:
Receiving submodule, for receiving the request data of making out an invoice;
First acquisition submodule, for the stamped signature pattern file and institute corresponding to request data acquisition of being made out an invoice according to
State digital certificate files.
Optionally, the generation module, including:
Second acquisition submodule, for making out an invoice described first corresponding to type acquisition for request data of being made out an invoice according to
PDF electronic invoices template and described information file;
Submodule is generated, please by described make out an invoice for the AcroForm items for information in described information file
Ask data to be filled up to the first PDF electronic invoice templates, and utilize the stamped signature pattern file and the digital certificate files
Stamped signature and digital signature are carried out to the first PDF electronic invoices template, generate the PDF electronic invoices.
Optionally, the system also includes:
Parsing module, for the 2nd PDF electronic invoices corresponding to type of making out an invoice to request data of being made out an invoice described in acquisition
Template is parsed, and obtains the AcroForm items for information in the 2nd PDF electronic invoice templates;Wherein, described
Two PDF electronic invoices templates include background patterns, word and the AcroForm items for information;
Template generation module, for the AcroForm items for information to be stored to described information file, and by the 2nd PDF
The AcroForm items for information in electronic invoice template removes, so as to generate the first PDF electronic invoice templates
A kind of generation method of PDF electronic invoices provided by the present invention, including:Acquisition is made out an invoice data;Wherein, make out an invoice number
According to including request data of making out an invoice, stamped signature pattern file and digital certificate files;The first PDF electricity according to corresponding to utilizing data of making out an invoice
The message file of sub- invoice template and storage AcroForm items for information, generates PDF electronic invoices;Wherein, the first PDF electronics is sent out
AcroForm items for information is not included in ticket template.
It can be seen that the present invention can obtain the number needed for the first PDF electronic invoice templates of filling by obtaining data of making out an invoice
According to;By according to the first PDF electronic invoices template corresponding to data utilization and the information of storage AcroForm items for information of making out an invoice
File, PDF electronic invoices are generated, the AcroForm items for information stored in message file, the data that will make out an invoice filling can be utilized
To the first PDF electronic invoice templates, PDF electronic invoices are generated, so that not including AcroForm in the PDF electronic invoices of generation
Items for information, the X Object form datas in the PDF electronic invoices of generation are reduced, reduce the PDF texts of PDF electronic invoices
Part size, reduce time and the bandwidth of the memory space and network transmission needed for PDF electronic invoices, improve Consumer's Experience.
In addition, present invention also offers a kind of generation system of PDF electronic invoices, equally with above-mentioned beneficial effect.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is the schematic diagram of PDF electronic invoices template of the prior art;
A kind of flow chart of the generation method for PDF electronic invoices that Fig. 2 is provided by the embodiment of the present invention;
A kind of first PDF electronic invoice moulds of the generation method for PDF electronic invoices that Fig. 3 is provided by the embodiment of the present invention
The schematic diagram of plate;
A kind of signal of the PDF electronic invoices of the generation method for PDF electronic invoices that Fig. 4 is provided by the embodiment of the present invention
Figure;
A kind of structure chart of the generation system for PDF electronic invoices that Fig. 5 is provided by the embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
It refer to Fig. 2, a kind of flow chart of the generation method for PDF electronic invoices that Fig. 2 is provided by the embodiment of the present invention.
This method can include:
Step 101:Acquisition is made out an invoice data;Wherein, data of making out an invoice include make out an invoice request data, stamped signature pattern file and numeral
Certificate file.
It is understood that the purpose of this step is to obtain the data of making out an invoice needed for the first PDF electronic invoices of filling,
For the particular content for data of making out an invoice, make out an invoice request data, stamped signature pattern file and digital certificate files can be included, can also
Including other guide, the present embodiment does not do any restrictions to this.
It should be noted that the specific acquisition modes for data of being made out an invoice in this step, can be directly to receive what user sent
Request data of making out an invoice, stamped signature pattern file and the digital certificate files for the data, such as reception user transmission of making out an invoice, or receive
The request data of making out an invoice that user sends, the corresponding stamped signature pattern file obtained according to request data of making out an invoice from storage end and numeral
Certificate file, system can store what user sent by high in the clouds memory module as corresponding to the method that the present embodiment is provided
Stamped signature pattern file and digital certificate files, so as to avoid user from being required to send identical stamped signature pattern file and numeral every time
Certificate file.As long as the data of making out an invoice needed for the first PDF electronic invoice templates of filling can be obtained, for specific acquisition side
Formula, can voluntarily it be set according to practical scene and user's request by designer, the present embodiment does not do any restrictions to this.
Specifically, the step of this step can also include carrying out legitimacy inspection to the request data of making out an invoice of reception, such as right
Request data of making out an invoice carries out legitimacy inspection, judges whether to pass through inspection;If it is not, miscue information is then sent, to prompt to use
The request data of making out an invoice of family input is wrong;If so, then perform according to make out an invoice request data obtain corresponding to stamped signature pattern file and
The step of digital certificate files.
Step 102:The first PDF electronic invoices template and storage AcroForm entry letters according to corresponding to utilizing data of making out an invoice
The message file of breath, generate PDF electronic invoices;Wherein, AcroForm entries are not included in the first PDF electronic invoice templates to believe
Breath.
It is understood that the purpose of this step is in order in the message file by storing AcroForm items for information
AcroForm items for information, the request data of making out an invoice in data of making out an invoice is filled up to the corresponding position of the first PDF electronic invoice templates
Put, and stamped signature is carried out to the first PDF electronic invoices template using the stamped signature pattern file in data of making out an invoice and digital certificate files
And digital signature, generate PDF electronic invoices.So that using in the PDF electronic invoices of the first PDF electronic invoice template generations not
Include AcroForm items for information.
Wherein, can be by designer voluntarily for the specific form for the message file for storing AcroForm items for information
Set, such as can be XML format file, as long as AcroForm items for information that can be to be stored in use information file, this implementation
Example does not do any restrictions to this.
It should be noted that the message file of the first PDF electronic invoices template and storage AcroForm items for information can be with
The content sent for user;Can also be the content prestored, the system as corresponding to the method that the present embodiment is provided can be with
By high in the clouds memory module, the first PDF electronic invoices template and message file are stored.
That is, this step can be specially the first PDF according to corresponding to obtaining the type of making out an invoice for request data of making out an invoice
Electronic invoice template and file;AcroForm items for information in file, the request data that will make out an invoice are filled up to the first PDF electricity
Sub- invoice template, and stamped signature sum is carried out to the first PDF electronic invoices template using stamped signature pattern file and digital certificate files
Word is signed, and generates PDF electronic invoices.The type of making out an invoice for the request data that can such as be made out an invoice according to is got from high in the clouds memory module
The XML format file of first PDF electronic invoices template and storage AcroForm items for information, according in XML format file
The coordinate information that AcroForm items for information the provides request data that will make out an invoice is filled up to the first PDF electronic invoice templates, while profit
Stamped signature is carried out to the first PDF electronic invoices template with digital certificate files and stamped signature pattern file is got from high in the clouds memory module
And digital signature, ultimately generate PDF electronic invoices.As long as the first PDF electronic invoice templates according to corresponding to utilizing data of making out an invoice
With the message file of storage AcroForm items for information, PDF electronic invoices are generated, for the first PDF electronic invoices template and are deposited
The acquisition modes of the message file of AcroForm items for information are stored up, the present embodiment does not do any restrictions.
Wherein, the AcroForm items for information in message file, the request data that will make out an invoice are filled up to the first PDF electronics
Invoice template, the request data of making out an invoice that user sends directly can be filled up to the first PDF electronic invoice templates;Can also first by
The request data of making out an invoice that user sends is converted into storing form corresponding to the message file of AcroForm items for information, then will be corresponding
The request data of making out an invoice of form is filled up to the first PDF electronic invoice templates, such as can be according to the AcroForm in XML format file
Items for information, the request data of making out an invoice of XML format is filled up to the first PDF electronic invoice templates.The present embodiment is not appointed to this
What is limited.
Specifically, the generation for the first PDF electronic invoices template and the message file of storage AcroForm items for information
Mode, can be by being parsed to PDF electronic invoices template of the prior art, obtaining storage and include coordinate, font and right
The message file of AcroForm items for information in the PDF electronic invoice templates of neat mode and removal AcroForm items for information
PDF electronic invoices template (the first PDF electronic invoices template);Can also be that directly design does not include AcroForm items for information
The message file of AcroForm items for information corresponding to the first PDF electronic invoice templates of first PDF electronic invoices template and storage.
The present embodiment is unrestricted to this.
Corresponding, the method that the present embodiment is provided can also include:To the type of making out an invoice of the request data of making out an invoice of acquisition
Corresponding 2nd PDF electronic invoice templates are parsed, and obtain the AcroForm entries letter in the 2nd PDF electronic invoice templates
Breath;Wherein, the 2nd PDF electronic invoices template includes background patterns, word and AcroForm items for information;By AcroForm entries
Information is stored to message file, and the AcroForm items for information in the 2nd PDF electronic invoice templates is removed, so as to generate the
One PDF electronic invoice templates.
Such as being parsed using the 2nd PDF electronic invoice templates such as Fig. 1 of Adobe software development to reception,
The 2nd PDF electronic invoice templates are read using itext, get the AcroForm entries letter in the 2nd PDF electronic invoice templates
Breath, the AcroForm items for information got is stored in xml format, and removes the 2nd PDF electronic invoices using itext simultaneously
The first PDF electronic invoice templates as shown in Figure 3 after the generation optimization of AcroForm items for information in template, by depositing for generation
The XML format file and the storage of the first PDF electronic invoices template for storing up AcroForm items for information arrive high in the clouds memory module.
It is understood that the PDF electronic invoices of generation can be with as shown in figure 4, can be in the first PDF as shown in Figure 3
Filling is made out an invoice the stamped signature pattern file and digital certificate files in request data and Fig. 4 lower right corner in electronic invoice template, can be with
The Quick Response Code in Fig. 4 upper left corners is added in the first PDF electronic invoice templates as shown in Figure 3, it is, utilizing digital certificate
Before or after file is digitally signed to the first PDF electronic invoice templates, it can generate comprising the first PDF electronics now
The Quick Response Code of the information of invoice template, and the Quick Response Code is added in the first PDF electronic invoice templates.So that user can be with
The information of PDF electronic invoices is obtained by scanning the Quick Response Code.For the specific pattern of the PDF electronic invoices of generation, Ke Yiyou
Designer is voluntarily set according to practical scene and user's request, and the present embodiment does not do any restrictions to this.
In the present embodiment, the embodiment of the present invention can obtain the first PDF electronic invoice moulds of filling by obtaining data of making out an invoice
Data needed for plate;By according to the first PDF electronic invoices template corresponding to data utilization and the storage AcroForm entries of making out an invoice
The message file of information, PDF electronic invoices are generated, the AcroForm items for information stored in message file can be utilized, will be opened
Ticket data is filled into the first PDF electronic invoice templates, generates PDF electronic invoices, so that not wrapped in the PDF electronic invoices of generation
Items for information containing AcroForm, the X Object form datas in the PDF electronic invoices of generation are reduced, reduce PDF electronics
The pdf document size of invoice, reduce time and the bandwidth of the memory space and network transmission needed for PDF electronic invoices, improve
Consumer's Experience.
It refer to Fig. 5, a kind of structure chart of the generation system for PDF electronic invoices that Fig. 5 is provided by the embodiment of the present invention.
The system can include:
Acquisition module 100, for obtaining data of making out an invoice;Wherein, data of making out an invoice include make out an invoice request data, stamped signature pattern text
Part and digital certificate files;
Generation module 200, for according to the first PDF electronic invoices template and storage corresponding to data utilization of making out an invoice
The message file of AcroForm items for information, generate PDF electronic invoices;Wherein, do not include in the first PDF electronic invoice templates
AcroForm items for information.
Optionally, acquisition module 100, can include:
Receiving submodule, for receiving request data of making out an invoice;
First acquisition submodule, for according to stamped signature pattern file corresponding to request data acquisition and the digital certificate text of making out an invoice
Part.
Optionally, generation module 200, can include:
Second acquisition submodule, for the first PDF electronics hair corresponding to type acquisition of making out an invoice according to request data of making out an invoice
Ticket template and message file;
Submodule is generated, for the AcroForm items for information in message file, the request data that will make out an invoice is filled up to
First PDF electronic invoice templates, and the first PDF electronic invoices template is carried out using stamped signature pattern file and digital certificate files
Stamped signature and digital signature, generate PDF electronic invoices.
Optionally, the system can also include:
Parsing module, the 2nd PDF electronic invoice templates corresponding to type of making out an invoice for the request data of making out an invoice to acquisition
Parsed, obtain the AcroForm items for information in the 2nd PDF electronic invoice templates;Wherein, the 2nd PDF electronic invoice templates
Including background patterns, word and AcroForm items for information;
Template generation module, for AcroForm items for information to be stored to message file, and by the 2nd PDF electronic invoices
AcroForm items for information in template removes, so as to generate the first PDF electronic invoice templates.
Optionally, the system can also include:
High in the clouds memory module, for storing stamped signature pattern file, digital certificate files, the first PDF electronic invoices template, depositing
Store up the message file and PDF electronic invoices of AcroForm items for information.
In the present embodiment, the embodiment of the present invention obtains data of making out an invoice by acquisition module 100, can obtain filling first
Data needed for PDF electronic invoice templates;Sent out by the first PDF electronics according to corresponding to utilizing data of making out an invoice of generation module 200
The message file of ticket template and storage AcroForm items for information, generates PDF electronic invoices, can utilize and be stored in message file
AcroForm items for information, the data that will make out an invoice are filled into the first PDF electronic invoice templates, generate PDF electronic invoices so that
Do not include AcroForm items for information in the PDF electronic invoices of generation, reduce the X Object in the PDF electronic invoices of generation
Form data, the pdf document size of PDF electronic invoices is reduced, reduce memory space and network needed for PDF electronic invoices
The time of transmission and bandwidth, improve Consumer's Experience.
Each embodiment is described by the way of progressive in specification, and what each embodiment stressed is and other realities
Apply the difference of example, between each embodiment identical similar portion mutually referring to.For system disclosed in embodiment
Speech, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part illustration
.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description
And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software, the composition and step of each example are generally described according to function in the above description.These
Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty
Technical staff can realize described function using distinct methods to each specific application, but this realization should not
Think beyond the scope of this invention.
Directly it can be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor
Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The generation method and system of PDF electronic invoices provided by the present invention are described in detail above.Herein
Apply specific case to be set forth the principle and embodiment of the present invention, the explanation of above example is only intended to help
Understand the method and its core concept of the present invention.It should be pointed out that for those skilled in the art, do not taking off
On the premise of from the principle of the invention, some improvement and modification can also be carried out to the present invention, these are improved and modification also falls into this
In invention scope of the claims.
Claims (10)
- A kind of 1. generation method of PDF electronic invoices, it is characterised in that including:Acquisition is made out an invoice data;Wherein, the data of making out an invoice include make out an invoice request data, stamped signature pattern file and digital certificate text Part;The first PDF electronic invoices template and the information of storage AcroForm items for information according to corresponding to utilizing the data of making out an invoice File, generate PDF electronic invoices;Wherein, the AcroForm entries are not included in the first PDF electronic invoice templates to believe Breath.
- 2. the generation method of PDF electronic invoices according to claim 1, it is characterised in that described to obtain data of making out an invoice, bag Include:Made out an invoice described in reception request data;The stamped signature pattern file and the digital certificate files according to corresponding to obtaining the request data of making out an invoice.
- 3. the generation method of PDF electronic invoices according to claim 2, it is characterised in that number of being made out an invoice described in the basis According to the first PDF electronic invoices template corresponding to selection and the message file of storage AcroForm items for information, generation PDF electronics hairs Ticket, including:The first PDF electronic invoices template and described information according to corresponding to obtaining the type of making out an invoice of the request data of making out an invoice File;The AcroForm items for information in described information file, the request data of making out an invoice is filled up to described first PDF electronic invoice templates, and using the stamped signature pattern file and the digital certificate files to the first PDF electronic invoices Template carries out stamped signature and digital signature, generates the PDF electronic invoices.
- 4. the generation method of PDF electronic invoices according to claim 3, it is characterised in that described information file is specially XML format file.
- 5. the generation method of PDF electronic invoices according to claim 4, it is characterised in that being made out an invoice described in the basis please Before asking the stamped signature pattern file corresponding to data acquisition and the digital certificate files, in addition to:Legitimacy inspection is carried out to the request data of making out an invoice, judges whether to pass through inspection;If it is not, then send miscue information;If so, then perform the stamped signature pattern file and the digital certificate according to corresponding to obtaining made out an invoice request data The step of file.
- 6. the generation method of the PDF electronic invoices according to any one of claim 1 to 5, it is characterised in that also include:The 2nd PDF electronic invoice templates corresponding to type of making out an invoice for request data of being made out an invoice described in acquisition are parsed, obtained The AcroForm items for information in the 2nd PDF electronic invoice templates;Wherein, the 2nd PDF electronic invoice templates Including background patterns, word and the AcroForm items for information;The AcroForm items for information is stored to described information file, and by described in the 2nd PDF electronic invoice templates AcroForm items for information removes, so as to generate the first PDF electronic invoice templates.
- A kind of 7. generation system of PDF electronic invoices, it is characterised in that including:Acquisition module, for obtaining data of making out an invoice;Wherein, the data of making out an invoice include make out an invoice request data, stamped signature pattern file And digital certificate files;Generation module, for the first PDF electronic invoices template corresponding to data utilization and the storage AcroForm of being made out an invoice according to The message file of items for information, generate PDF electronic invoices;Wherein, do not include in the first PDF electronic invoice templates described AcroForm items for information.
- 8. the generation system of PDF electronic invoices according to claim 7, it is characterised in that the acquisition module, including:Receiving submodule, for receiving the request data of making out an invoice;First acquisition submodule, for the stamped signature pattern file and the number corresponding to request data acquisition of being made out an invoice according to Word certificate file.
- 9. the generation system of PDF electronic invoices according to claim 8, it is characterised in that the generation module, including:Second acquisition submodule, the first PDF electricity corresponding to type acquisition of making out an invoice for request data of being made out an invoice according to Sub- invoice template and described information file;Submodule is generated, for the AcroForm items for information in described information file, by the number of request of making out an invoice According to being filled up to the first PDF electronic invoice templates, and using the stamped signature pattern file and the digital certificate files to institute State the first PDF electronic invoices template and carry out stamped signature and digital signature, generate the PDF electronic invoices.
- 10. the generation system of the PDF electronic invoices according to any one of claim 7 to 9, it is characterised in that also include:Parsing module, for the 2nd PDF electronic invoice templates corresponding to type of making out an invoice to request data of being made out an invoice described in acquisition Parsed, obtain the AcroForm items for information in the 2nd PDF electronic invoice templates;Wherein, the 2nd PDF Electronic invoice template includes background patterns, word and the AcroForm items for information;Template generation module, for the AcroForm items for information to be stored to described information file, and by the 2nd PDF electronics The AcroForm items for information in invoice template removes, so as to generate the first PDF electronic invoice templates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710565828.5A CN107357773B (en) | 2017-07-12 | 2017-07-12 | PDF electronic invoice generation method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710565828.5A CN107357773B (en) | 2017-07-12 | 2017-07-12 | PDF electronic invoice generation method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107357773A true CN107357773A (en) | 2017-11-17 |
CN107357773B CN107357773B (en) | 2021-01-29 |
Family
ID=60292943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710565828.5A Active CN107357773B (en) | 2017-07-12 | 2017-07-12 | PDF electronic invoice generation method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107357773B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109840812A (en) * | 2017-11-27 | 2019-06-04 | 航天信息股份有限公司 | A kind of method and device to issue invoice |
CN110781179A (en) * | 2019-09-05 | 2020-02-11 | 北京中科云链信息技术有限公司 | E-ticket data query method |
CN111127124A (en) * | 2019-12-20 | 2020-05-08 | 深圳前海环融联易信息科技服务有限公司 | pdf electronic invoice display method and device and computer equipment |
CN111178029A (en) * | 2019-12-13 | 2020-05-19 | 航天信息股份有限公司 | General invoice template setting method and system |
CN111353831A (en) * | 2018-12-21 | 2020-06-30 | 航天信息股份有限公司 | Mobile billing method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1672158A (en) * | 2002-07-29 | 2005-09-21 | 信风通信有限公司 | Batch communication process using multiple transmission mediums |
CN105096172A (en) * | 2015-06-12 | 2015-11-25 | 北京京东尚科信息技术有限公司 | Electronic invoice generating and processing method and system based on e-commerce platform |
CN105809450A (en) * | 2014-12-31 | 2016-07-27 | 航天信息股份有限公司 | Electronic invoice generation and verification method and system |
CN106485556A (en) * | 2016-10-21 | 2017-03-08 | 百望股份有限公司 | A kind of electronic invoice generates system |
-
2017
- 2017-07-12 CN CN201710565828.5A patent/CN107357773B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1672158A (en) * | 2002-07-29 | 2005-09-21 | 信风通信有限公司 | Batch communication process using multiple transmission mediums |
CN105809450A (en) * | 2014-12-31 | 2016-07-27 | 航天信息股份有限公司 | Electronic invoice generation and verification method and system |
CN105096172A (en) * | 2015-06-12 | 2015-11-25 | 北京京东尚科信息技术有限公司 | Electronic invoice generating and processing method and system based on e-commerce platform |
CN106485556A (en) * | 2016-10-21 | 2017-03-08 | 百望股份有限公司 | A kind of electronic invoice generates system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109840812A (en) * | 2017-11-27 | 2019-06-04 | 航天信息股份有限公司 | A kind of method and device to issue invoice |
CN111353831A (en) * | 2018-12-21 | 2020-06-30 | 航天信息股份有限公司 | Mobile billing method and device, electronic equipment and storage medium |
CN110781179A (en) * | 2019-09-05 | 2020-02-11 | 北京中科云链信息技术有限公司 | E-ticket data query method |
CN111178029A (en) * | 2019-12-13 | 2020-05-19 | 航天信息股份有限公司 | General invoice template setting method and system |
CN111178029B (en) * | 2019-12-13 | 2023-12-12 | 航天信息股份有限公司 | General invoice template setting method and system |
CN111127124A (en) * | 2019-12-20 | 2020-05-08 | 深圳前海环融联易信息科技服务有限公司 | pdf electronic invoice display method and device and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107357773B (en) | 2021-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107357773A (en) | A kind of generation method and system of PDF electronic invoices | |
CN106980605B (en) | contract generation method and device | |
CN104376068B (en) | A kind of data exhibiting system and method based on dynamic statement template | |
CN108921627A (en) | A kind of method and system generating electronic invoice OFD layout files | |
CN109408783A (en) | Electronic document online editing method and system | |
CN105607897B (en) | Chip register code automatic generation method and its system | |
CN109829139A (en) | The method and apparatus that a kind of stream-oriented file of DOC/DOCX format is converted into the layout files of OFD format | |
CN102999852B (en) | The generation method of electronic ticket data and device | |
CN103019689A (en) | Universal object serialization realizing method | |
CN109977088A (en) | A kind of method that preset format file is converted to OFD format | |
CN111400387B (en) | Conversion method and device for import and export data, terminal equipment and storage medium | |
CN109324813A (en) | Electronic control system writes with a brush dipped in Chinese ink method, apparatus and computer media | |
WO2023098447A1 (en) | Method for converting layout data stream file into ofd file | |
CN109447820A (en) | Data processing method, device, computer equipment and storage medium | |
CN109614685A (en) | Construction based on BIM model is told somebody what one's real intentions are method, apparatus, equipment and mobile terminal | |
CN106293770A (en) | The general of a kind of table data leads table system and method | |
CN107194001A (en) | A kind of column storage format file rapid-combination method and its system | |
CN106502977B (en) | A kind of sheet disposal method and form system based on B/S framework | |
CN111563065B (en) | Document storage method and device and computer readable storage medium | |
CN102799809B (en) | Tamper-resistant system for electronic signature | |
CN114970487B (en) | Method for generating OFD electronic contract based on rich text | |
CN101739391A (en) | Method for generating electronic book with binary file format and electronic book generated by same | |
CN109597620A (en) | A kind of data processing method, device, equipment and storage medium | |
CN101971171A (en) | Method and apparatus for the page-by-page provision of an electronic document as a computer graphic | |
CN102437945B (en) | Method, device and architecture for introducing route and medium engine into Camel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100070 rooms 01 and 02, 10 / F, building 4, District 3, 186 South 4th Ring Road West, Fengtai District, Beijing Applicant after: GUOXIN ELECTRONIC BILL PLATFORM INFORMATION SERVICE Co.,Ltd. Address before: 100089 no.1-1303, 13th floor, No.87, Xisanhuan North Road, Haidian District, Beijing Applicant before: BEST WONDER ELECTRONIC INVOICE DATA SERVICE Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |