CN107357773B - PDF electronic invoice generation method and system - Google Patents

PDF electronic invoice generation method and system Download PDF

Info

Publication number
CN107357773B
CN107357773B CN201710565828.5A CN201710565828A CN107357773B CN 107357773 B CN107357773 B CN 107357773B CN 201710565828 A CN201710565828 A CN 201710565828A CN 107357773 B CN107357773 B CN 107357773B
Authority
CN
China
Prior art keywords
electronic invoice
pdf electronic
acroform
file
pdf
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710565828.5A
Other languages
Chinese (zh)
Other versions
CN107357773A (en
Inventor
喻俊
胡文彬
危明武
钟娜
刘祥涛
赵彦晖
孙淏添
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guoxin Electronic Bill Platform Information Service Co ltd
Original Assignee
Guoxin Electronic Bill Platform Information Service Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guoxin Electronic Bill Platform Information Service Co ltd filed Critical Guoxin Electronic Bill Platform Information Service Co ltd
Priority to CN201710565828.5A priority Critical patent/CN107357773B/en
Publication of CN107357773A publication Critical patent/CN107357773A/en
Application granted granted Critical
Publication of CN107357773B publication Critical patent/CN107357773B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/04Billing 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 method and a system for generating a PDF electronic invoice, wherein the method comprises the following steps: acquiring billing data; generating a PDF electronic invoice by utilizing a corresponding first PDF electronic invoice template and an information file for storing Acroform entry information according to invoicing data; according to the method, the corresponding first PDF electronic invoice template and the information file storing the Acroform entry information are used according to the invoicing data to generate the PDF electronic invoice, the first PDF electronic invoice template can be filled with the invoicing data by using the Acroform entry information stored in the information file to generate the PDF electronic invoice, so that the generated PDF electronic invoice does not contain the Acroform entry information, the X Object form data in the PDF electronic invoice is reduced, the PDF file size of the PDF electronic invoice is reduced, and the storage space and the network transmission bandwidth required by the PDF electronic invoice are reduced.

Description

PDF electronic invoice generation method and system
Technical Field
The invention relates to the technical field of PDF electronic invoice generation application, in particular to a method and a system for generating a PDF electronic invoice.
Background
With the development of modern society science and technology, the electronic invoice serving as a product in the information era is used by merchants in a form of uniform distribution of a tax bureau as a common invoice, the invoice number is uniformly coded nationwide, the invoice number is distributed to the merchants by adopting a uniform anti-counterfeiting technology, and the electronic invoice is attached with a signature mechanism of the electronic tax bureau.
With the popularization of electronic invoices in a large quantity, more and more electronic invoices are issued by users, and higher space and bandwidth are needed for storing and transmitting the PDF electronic invoices. In order to save storage space and transmission bandwidth, a better method is needed to generate the PDF electronic invoice, and the generated PDF file size is reduced on the premise of not affecting the display effect.
In the prior art, a common PDF electronic invoice generating method uses a form filling method using a PDF electronic invoice template shown in fig. 1, that is, AcroForm entry information that needs to be filled with data in the PDF electronic invoice template is filled according to data input by a user. The generated PDF file of the PDF electronic invoice has an X Object form that occupies 50% of the entire PDF file, for example, a common PDF electronic invoice, for which about 43KB is generally available in a single-page PDF electronic invoice, and about 24KB is available in the X Object form. The PDF file of the PDF electronic invoice is large, and a large amount of storage space and network transmission bandwidth are wasted. Therefore, how to reduce the X Object form data in the generated PDF electronic invoice, reduce the PDF file size of the PDF electronic invoice, and reduce the storage space and network transmission time and bandwidth required by the PDF electronic invoice is a problem which needs to be solved urgently today.
Disclosure of Invention
The invention aims to provide a method and a system for generating a PDF electronic invoice, which are used for reducing X Object form data in the generated PDF electronic invoice and reducing the PDF file size of the PDF electronic invoice.
In order to solve the technical problem, the invention provides a method for generating a PDF electronic invoice, which comprises the following steps:
acquiring billing data; the billing data comprises billing request data, signature pattern files and digital certificate files;
generating a PDF electronic invoice according to the invoicing data by using a corresponding first PDF electronic invoice template and an information file for storing Acroform entry information; wherein the Acroform entry information is not contained in the first PDF electronic invoice template.
Optionally, the acquiring billing data includes:
receiving the billing request data;
and acquiring the corresponding signature pattern file and the digital certificate file according to the billing request data.
Optionally, the selecting a corresponding first PDF electronic invoice template and an information file storing AcroForm entry information according to the invoicing data to generate a PDF electronic invoice includes:
acquiring the corresponding first PDF electronic invoice template and the corresponding information file according to the billing type of the billing request data;
and filling the invoicing request data into the first PDF electronic invoice template according to the Acroform entry information in the information file, and performing signature and digital signature on the first PDF electronic invoice template by using the signature pattern file and the digital certificate file to generate the PDF electronic invoice.
Optionally, the information file is specifically an XML format file.
Optionally, before acquiring the corresponding signature pattern file and the digital certificate file according to the billing request data, the method further includes:
carrying out validity check on the invoicing request data, and judging whether the invoicing request data passes the check;
if not, sending error prompt information;
and if so, executing the step of acquiring the corresponding signature pattern file and the digital certificate file according to the invoicing request data.
Optionally, the method further includes:
analyzing a second PDF electronic invoice template corresponding to the billing type of the obtained billing request data to obtain the Acroform item information in the second PDF electronic invoice template; the second PDF electronic invoice template comprises background patterns, characters and the Acroform item information;
and storing the Acroform item information to the information file, and removing the Acroform item information in a second PDF electronic invoice template, thereby generating the first PDF electronic invoice template.
In addition, the invention also provides a system for generating the PDF electronic invoice, which comprises the following components:
the acquisition module is used for acquiring billing data; the billing data comprises billing request data, signature pattern files and digital certificate files;
the generating module is used for generating a PDF electronic invoice according to the invoicing data by utilizing a corresponding first PDF electronic invoice template and an information file for storing AcroForm entry information; wherein the Acroform entry information is not contained in the first PDF electronic invoice template.
Optionally, the obtaining module includes:
the receiving submodule is used for receiving the billing request data;
and the first obtaining sub-module is used for obtaining the corresponding signature pattern file and the digital certificate file according to the billing request data.
Optionally, the generating module includes:
the second obtaining sub-module is used for obtaining the corresponding first PDF electronic invoice template and the corresponding information file according to the invoicing type of the invoicing request data;
and the generating submodule is used for filling the invoicing request data into the first PDF electronic invoice template according to the Acroform item information in the information file, and performing signature and digital signature on the first PDF electronic invoice template by using the signature pattern file and the digital certificate file to generate the PDF electronic invoice.
Optionally, the system further comprises:
the analysis module is used for analyzing a second PDF electronic invoice template corresponding to the invoicing type of the obtained invoicing request data to obtain the AcroForm entry information in the second PDF electronic invoice template; the second PDF electronic invoice template comprises background patterns, characters and the Acroform item information;
the template generating module is used for storing the Acroform item information to the information file and removing the Acroform item information in the second PDF electronic invoice template so as to generate the first PDF electronic invoice template
The invention provides a method for generating a PDF electronic invoice, which comprises the following steps: acquiring billing data; the billing data comprises billing request data, signature pattern files and digital certificate files; generating a PDF electronic invoice by utilizing a corresponding first PDF electronic invoice template and an information file for storing Acroform entry information according to invoicing data; and the first PDF electronic invoice template does not contain Acroform entry information.
Therefore, the data required for filling the first PDF electronic invoice template can be acquired by acquiring the invoicing data; the corresponding first PDF electronic invoice template and the information file storing the Acroform entry information are used according to the invoicing data to generate the PDF electronic invoice, the Acroform entry information stored in the information file can be used to fill the invoicing data into the first PDF electronic invoice template to generate the PDF electronic invoice, so that the generated PDF electronic invoice does not contain the Acroform entry information, the X Object form data in the generated PDF electronic invoice is reduced, the size of the PDF file of the PDF electronic invoice is reduced, the storage space and the network transmission time and bandwidth required by the PDF electronic invoice are reduced, and the user experience is improved. In addition, the invention also provides a generating system of the PDF electronic invoice, and the generating system has the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a diagram of a PDF electronic invoice template in the prior art;
fig. 2 is a flowchart of a method for generating a PDF electronic invoice according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a first PDF electronic invoice template of a method for generating a PDF electronic invoice according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a PDF electronic invoice of a method for generating a PDF electronic invoice according to an embodiment of the present invention;
fig. 5 is a structural diagram of a PDF electronic invoice generation system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for generating a PDF electronic invoice according to an embodiment of the present invention. The method can comprise the following steps:
step 101: acquiring billing data; the billing data comprises billing request data, signature pattern files and digital certificate files.
It is understood that the purpose of this step is to obtain the invoicing data required for filling the first PDF electronic invoice, and specific contents of the invoicing data may include invoicing request data, signature pattern file and digital certificate file, and may also include other contents, which is not limited in this embodiment.
It should be noted that, in this step, the specific obtaining manner of the billing data may be to directly receive billing data sent by the user, such as receiving billing request data, signature pattern file, and digital certificate file sent by the user, or to receive billing request data sent by the user, and obtain a corresponding signature pattern file and digital certificate file from the storage end according to the billing request data. As long as the invoicing data required for filling the first PDF electronic invoice template can be acquired, the specific acquisition mode can be set by a designer according to a practical scene and user requirements, and this embodiment does not have any limitation.
Specifically, the step may further include a step of performing validity check on the received billing request data, for example, performing validity check on the billing request data, and determining whether the received billing request data passes the check; if not, sending error prompt information to prompt that the ticket making request data input by the user is incorrect; if yes, the corresponding signature pattern file and the digital certificate file are obtained according to the invoicing request data.
Step 102: generating a PDF electronic invoice by utilizing a corresponding first PDF electronic invoice template and an information file for storing Acroform entry information according to invoicing data; and the first PDF electronic invoice template does not contain Acroform entry information.
It can be understood that the purpose of this step is to fill the billing request data in the billing data to the corresponding position of the first PDF electronic invoice template through the AcroForm entry information in the information file storing the AcroForm entry information, and to perform signature and digital signature on the first PDF electronic invoice template by using the signature pattern file and the digital certificate file in the billing data to generate the PDF electronic invoice. Therefore, the PDF electronic invoice generated by the first PDF electronic invoice template does not contain the AcroForm entry information.
The specific format of the information file storing the AcroForm entry information may be set by a designer, for example, the format may be an XML format file, as long as the AcroForm entry information stored in the information file can be used, which is not limited in this embodiment.
It should be noted that the first PDF electronic invoice template and the information file storing AcroForm entry information may be contents sent by the user; the first PDF electronic invoice template and the information file may be stored in the cloud storage module, for example, the system corresponding to the method provided in this embodiment may store the first PDF electronic invoice template and the information file.
That is, the step may specifically be to obtain a corresponding first PDF electronic invoice template and file according to the invoicing type of the invoicing request data; according to Acroform entry information in the file, the billing request data are filled in the first PDF electronic invoice template, and the first PDF electronic invoice template is signed and digitally signed by using the signature pattern file and the digital certificate file to generate the PDF electronic invoice. If the first PDF electronic invoice template and the XML format file storing the Acroform entry information can be acquired from the cloud storage module according to the billing type of the billing request data, the billing request data is filled in the first PDF electronic invoice template according to the coordinate information provided by the Acroform entry information in the XML format file, meanwhile, the first PDF electronic invoice template is signed and digitally signed by the digital certificate file and the signature pattern file acquired from the cloud storage module, and finally a PDF electronic invoice is generated. As long as the PDF electronic invoice is generated by using the corresponding first PDF electronic invoice template and the information file storing the AcroForm entry information according to the invoicing data, the embodiment does not impose any limitation on the manner of acquiring the first PDF electronic invoice template and the information file storing the AcroForm entry information.
According to AcroForm entry information in the information file, the billing request data are filled in the first PDF electronic invoice template, and the billing request data sent by a user can be directly filled in the first PDF electronic invoice template; or converting the billing request data sent by the user into a format corresponding to an information file storing AcroForm entry information, and filling the billing request data in the corresponding format into the first PDF electronic invoice template, for example, filling the billing request data in the XML format into the first PDF electronic invoice template according to the AcroForm entry information in the XML format file. The present embodiment does not set any limit to this.
Specifically, for the generation manner of the first PDF electronic invoice template and the information file storing the AcroForm entry information, the method may be to obtain the information file storing the AcroForm entry information in the PDF electronic invoice template containing coordinates, fonts and an alignment manner and the PDF electronic invoice template (the first PDF electronic invoice template) removing the AcroForm entry information by analyzing the PDF electronic invoice template in the prior art; or directly designing a first PDF electronic invoice template which does not contain Acroform entry information and an information file for storing the Acroform entry information corresponding to the first PDF electronic invoice template. The present embodiment is not limited to this.
Correspondingly, the method provided by the embodiment may further include: analyzing a second PDF electronic invoice template corresponding to the billing type of the obtained billing request data to obtain Acroform item information in the second PDF electronic invoice template; the second PDF electronic invoice template comprises background patterns, characters and Acroform entry information; and storing the Acroform item information to an information file, and removing the Acroform item information in the second PDF electronic invoice template, thereby generating the first PDF electronic invoice template.
If the received second PDF electronic invoice template manufactured by Adobe software and shown in fig. 1 can be analyzed, itext is used to read the second PDF electronic invoice template, AcroForm entry information in the second PDF electronic invoice template is acquired, the acquired AcroForm entry information is stored in an XML format, meanwhile, the AcroForm entry information in the second PDF electronic invoice template is removed by itext to generate an optimized first PDF electronic invoice template shown in fig. 3, and the generated XML format file storing the AcroForm entry information and the first PDF electronic invoice template are stored in a cloud storage module.
It is to be understood that the generated PDF electronic invoice may be as shown in fig. 4, the invoice request data and the signature pattern file and the digital certificate file in the lower right corner of fig. 4 may be filled in the first PDF electronic invoice template as shown in fig. 3, and the two-dimensional code in the upper left corner of fig. 4 may also be added in the first PDF electronic invoice template as shown in fig. 3, that is, before or after the first PDF electronic invoice template is digitally signed by the digital certificate file, the two-dimensional code including the information of the first PDF electronic invoice template at that time may be generated and added to the first PDF electronic invoice template. Therefore, the user can obtain the information of the PDF electronic invoice by scanning the two-dimensional code. The specific style of the generated PDF electronic invoice can be set by a designer according to a practical scene and user requirements, which is not limited in this embodiment.
In the embodiment, the data required for filling the first PDF electronic invoice template can be acquired by acquiring the invoicing data; the corresponding first PDF electronic invoice template and the information file storing the Acroform entry information are used according to the invoicing data to generate the PDF electronic invoice, the Acroform entry information stored in the information file can be used to fill the invoicing data into the first PDF electronic invoice template to generate the PDF electronic invoice, so that the generated PDF electronic invoice does not contain the Acroform entry information, the X Object form data in the generated PDF electronic invoice is reduced, the size of the PDF file of the PDF electronic invoice is reduced, the storage space and the network transmission time and bandwidth required by the PDF electronic invoice are reduced, and the user experience is improved.
Referring to fig. 5, fig. 5 is a structural diagram of a PDF electronic invoice generating system according to an embodiment of the present invention. The system may include:
an obtaining module 100, configured to obtain invoicing data; the billing data comprises billing request data, signature pattern files and digital certificate files;
the generation module 200 is used for generating a PDF electronic invoice according to the invoicing data by using a corresponding first PDF electronic invoice template and an information file for storing Acroform entry information; and the first PDF electronic invoice template does not contain Acroform entry information.
Optionally, the obtaining module 100 may include:
the receiving submodule is used for receiving the billing request data;
and the first obtaining submodule is used for obtaining the corresponding signature pattern file and the digital certificate file according to the invoicing request data.
Optionally, the generating module 200 may include:
the second obtaining submodule is used for obtaining a corresponding first PDF electronic invoice template and an information file according to the invoicing type of the invoicing request data;
and the generating submodule is used for filling the invoicing request data into the first PDF electronic invoice template according to the AcroForm entry information in the information file, and performing signature and digital signature on the first PDF electronic invoice template by using the signature pattern file and the digital certificate file to generate the PDF electronic invoice.
Optionally, the system may further include:
the analysis module is used for analyzing a second PDF electronic invoice template corresponding to the billing type of the obtained billing request data to obtain Acroform item information in the second PDF electronic invoice template; the second PDF electronic invoice template comprises background patterns, characters and Acroform entry information;
and the template generating module is used for storing the Acroform item information to the information file and removing the Acroform item information in the second PDF electronic invoice template so as to generate the first PDF electronic invoice template.
Optionally, the system may further include:
and the cloud storage module is used for storing the signature pattern file, the digital certificate file, the first PDF electronic invoice template, the information file for storing Acroform entry information and the PDF electronic invoice.
In this embodiment, in the embodiment of the present invention, the obtaining module 100 obtains the invoicing data, and may obtain data required for filling the first PDF electronic invoice template; the generation module 200 generates a PDF electronic invoice according to the invoicing data by using a corresponding first PDF electronic invoice template and an information file storing Acroform entry information, and the invoicing data can be filled in the first PDF electronic invoice template by using the Acroform entry information stored in the information file to generate the PDF electronic invoice, so that the generated PDF electronic invoice does not contain the Acroform entry information, the X Object form data in the generated PDF electronic invoice is reduced, the size of the PDF file of the PDF electronic invoice is reduced, the storage space and the network transmission time and bandwidth required by the PDF electronic invoice are reduced, and the user experience is improved.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The method and the system for generating the PDF electronic invoice provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (6)

1. A PDF electronic invoice generation method is characterized by comprising the following steps:
acquiring billing data; the billing data comprises billing request data, signature pattern files and digital certificate files;
generating a PDF electronic invoice according to the invoicing data by using a corresponding first PDF electronic invoice template and an information file for storing Acroform entry information; wherein the first PDF electronic invoice template does not contain the Acroform entry information;
the selecting a corresponding first PDF electronic invoice template and an information file storing Acroform entry information according to the invoicing data to generate a PDF electronic invoice comprises the following steps:
acquiring the corresponding first PDF electronic invoice template and the corresponding information file according to the billing type of the billing request data;
filling the invoicing request data into the first PDF electronic invoice template according to the Acroform item information in the information file, and performing signature and digital signature on the first PDF electronic invoice template by using the signature pattern file and the digital certificate file to generate the PDF electronic invoice;
further comprising:
analyzing a second PDF electronic invoice template corresponding to the billing type of the obtained billing request data to obtain the Acroform item information in the second PDF electronic invoice template; the second PDF electronic invoice template comprises background patterns, characters and the Acroform item information;
and storing the Acroform item information to the information file, and removing the Acroform item information in a second PDF electronic invoice template, thereby generating the first PDF electronic invoice template.
2. The method for generating the PDF electronic invoice according to claim 1, wherein the acquiring invoicing data comprises:
receiving the billing request data;
and acquiring the corresponding signature pattern file and the digital certificate file according to the billing request data.
3. The method for generating the PDF electronic invoice according to claim 2, wherein the information file is specifically an XML format file.
4. The method for generating a PDF electronic invoice according to claim 3, wherein before acquiring the corresponding signature pattern file and digital certificate file according to the invoice request data, the method further comprises:
carrying out validity check on the invoicing request data, and judging whether the invoicing request data passes the check;
if not, sending error prompt information;
and if so, executing the step of acquiring the corresponding signature pattern file and the digital certificate file according to the billing request data.
5. A PDF electronic invoice generation system is characterized by comprising:
the acquisition module is used for acquiring billing data; the billing data comprises billing request data, signature pattern files and digital certificate files;
the generating module is used for generating a PDF electronic invoice according to the invoicing data by utilizing a corresponding first PDF electronic invoice template and an information file for storing AcroForm entry information; wherein the first PDF electronic invoice template does not contain the Acroform entry information;
the generation module comprises:
the second obtaining sub-module is used for obtaining the corresponding first PDF electronic invoice template and the corresponding information file according to the invoicing type of the invoicing request data;
the generating submodule is used for filling the invoicing request data into the first PDF electronic invoice template according to the Acroform entry information in the information file, and performing signature and digital signature on the first PDF electronic invoice template by using the signature pattern file and the digital certificate file to generate the PDF electronic invoice;
further comprising:
analyzing a second PDF electronic invoice template corresponding to the billing type of the obtained billing request data to obtain the Acroform item information in the second PDF electronic invoice template; the second PDF electronic invoice template comprises background patterns, characters and the Acroform item information;
and storing the Acroform item information to the information file, and removing the Acroform item information in a second PDF electronic invoice template, thereby generating the first PDF electronic invoice template.
6. The system for generating the PDF electronic invoice of claim 5, wherein the obtaining module comprises:
the receiving submodule is used for receiving the billing request data;
and the first obtaining sub-module is used for obtaining the corresponding signature pattern file and the digital certificate file according to the billing request data.
CN201710565828.5A 2017-07-12 2017-07-12 PDF electronic invoice generation method and system Active CN107357773B (en)

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 CN107357773A (en) 2017-11-17
CN107357773B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
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
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

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN107357773A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
CN107357773B (en) PDF electronic invoice generation method and system
CN106484421B (en) A kind of method and system quickly generating api interface
CN108921627A (en) A kind of method and system generating electronic invoice OFD layout files
WO2023098447A1 (en) Method for converting layout data stream file into ofd file
CN113505580A (en) Method and device for analyzing table file
CN108319578B (en) Method for generating medium for data recording
CN103227877A (en) Image forming apparatus and image forming method
CN110941950A (en) Interface document generation method, device, server and storage medium
KR20140110777A (en) Information processing system, information processing apparatus, method of controlling an information processing apparatus, and program
CN113239310A (en) Page loading method and related device
CN105988814B (en) Interface generation method and device
CN110019970A (en) Inventory downloads template creation method, device, terminal and readable storage medium storing program for executing
CN109783782B (en) Method, equipment, storage medium and device for generating electronic contract template
CN109784873B (en) Working method and device of electronic contract signing platform
KR101516213B1 (en) Responsive Web Generating Method By Converting Document To Responsive Web
CN112581568B (en) Dynamic poster generation method, device, server and storage medium
CN110232164B (en) Internationalized processing method and device and computer storage medium
CN111488731A (en) File generation method and device, computer equipment and storage medium
CN109586979B (en) Message transmission method and device
CN115657899A (en) Icon processing method and device, electronic equipment and storage medium
CN109474643A (en) Data analysis method, device, equipment and storage medium
CN112487771B (en) Report generation method, report generation device and terminal
CN113297837A (en) PDF form information extraction method, device, equipment and storage medium
CN112784567A (en) Account-reporting realization method, equipment and medium
CN105808174B (en) Print command equipment, print system and print instruction method

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant