PSPDFKit-labs / pdfkit-invoice

Generate PDF Invoices with PDFKit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDFKit Invoices

Screenshot of an invoice PDF in the PSPDFKit for Web reader.

Prerequisites

Getting Started

This repository is an example of how to make PDF invoices with PDFKit.

There are two important fields in this this repository:

  • index.js is the main entry point. It defines the data structure used to create the invoices.
  • createInvoice.js exports a function that can be used to create invoice PDFs.

To get started, use the following commands:

git clone https://github.com/PSPDFKit-labs/pdfkit-invoice.git

npm install  # Install dependencies

npm start  # This will create an invoice.pdf file in the root of the project.

To learn more about this project, make sure to read the accompanying blog post

Contributing

Please ensure you have signed our CLA so that we can accept your contributions.

About

Generate PDF Invoices with PDFKit


Languages

Language:JavaScript 100.0%