Invoices and certificates
The two documents people ask about most have their own pages. The invoice PDF API guide covers line items, tax and totals, long invoices and numbering. The certificate generator guide covers names, dates, signatures and making hundreds of certificates at once.
What each page shows you
- A real sample. The preview is page one of a PDF that CastPDF made from the starter template and its sample data.
- The data it needs. The exact JSON the template fills, so you can match it to the records you already keep.
- How to automate it. The steps from your app or your own code, with one request per document.
- The awkward cases. Long names, long tables, page breaks and currencies, and how the template handles each one.
You can make every one of these by hand first. Pick the template in the dashboard, fill in the simple form and press Generate PDF. When you are ready, the same template takes data from your app.
Which page should you read?
- You take payment on the spot and need proof of each sale: the receipt page.
- You send figures every week or month, and the tables run over several pages: the report page.
- You sell or hand out places at an event: the ticket page.
- You send the same agreement to every new client with their details filled in: the contract page.
Not listed? Most business documents are close cousins of these. Start from the closest template, or send your own HTML. You get 100 free PDFs a month to try it, and you don't need a card.