Invoice and quote PDF kit
A JavaScript library and command line that checks invoice data, works out lines, tax, discounts and balances in exact cents, and writes a tidy PDF. Includes its own small PDF writer, so there's nothing else to install.
Stack: JavaScript (ES modules), Node.js 20+, no dependencies. Version: 1.0.0 (2026-11-17).
- Exact cent maths, per-line tax and proportional discounts
- Every data problem reported with where it is
- Letter and A4, multi-page tables with page numbers
- Same bytes for the same data, so it's easy to test
- Command line and library
- Tests and examples included
What it makes
These are the PDFs the kit writes from the two example files it ships with (examples/invoice.json and examples/quote.json), unedited.


Choose a licence
The same code under three licences. The licence you buy is written into the download.
Basic
Use the code in one project for your own business. Not for client work or products you sell.
$49 one-time
Buy BasicCommercial
Use the code in any number of projects for your own business and for your clients, including sites and apps you sell to a client.
$149 one-time
Buy CommercialExtended
Everything in Commercial, plus products you sell to many customers (such as a hosted service or an app), and every later version of the kit.
$399 one-time
Buy ExtendedNot Cayro's own code. Each kit is written separately for the marketplace, with no third-party dependencies, so there are no other licences to check.
Support: Source code kits: help with installing the kit only, within 3 business days. Custom changes aren't included.
Refunds: Templates, documents, kits and automations can be refunded until they are first downloaded, installed or applied. After that they can't be refunded. Set-up services can be refunded until the work starts.
Before you buy
What you get, how it reaches your workspace and what happens if it can't. No Cayro plan is needed to buy it.
Source code kits
- You receive
- The kit's source code with tests, docs and the licence you bought written in.
- How it's installed
- Download the zip and follow its README. It has no third-party dependencies.
- If it can't be done
- Templates, documents, kits and automations can be refunded until they are first downloaded, installed or applied. After that they can't be refunded. Set-up services can be refunded until the work starts.
- Support
- Source code kits: help with installing the kit only, within 3 business days. Custom changes aren't included.
- After you pay
- Paid options go through a secure Stripe checkout and are added to the workspace you chose as soon as Stripe confirms the payment. They're listed under Marketplace in that workspace, with your orders.
- Set-up help
- Not included. Everything here is set up by you in your own workspace, with the steps shown.
- Refunds
- Templates, documents, kits and automations can be refunded until they are first downloaded, installed or applied. After that they can't be refunded. Set-up services can be refunded until the work starts.
Goes well with
- Software
Website audit
Check the site you build for search, phones and accessibility.
From $19 per report