HTML invoicing app producing PDF invoices for freelancers. Configuration file allows entities to offer standard lines and rates for freelancers not used to providing invoices.
Find a file
Claude f39eed979a
Replace browser print with jsPDF Helvetica PDF generation
The browser print-to-PDF approach requires the user to manually toggle
"Background graphics" on and "Headers and footers" off — impossible to
control programmatically. Replace with direct jsPDF generation:

- Loads jsPDF 2.5.1 UMD from CDN
- buildPDF() draws the invoice programmatically using Helvetica (PDF
  built-in font, no embedding needed)
- Layout: sender/title header, navy rule, charge-to block with navy
  accent bar, line-items table (navy header, alternating rows, multi-
  line description wrapping, foreign-currency sub-row), totals with
  navy To-Pay bar — all in mm on A4
- PDF downloads directly as invoice-{no}.pdf with no dialog
- HTML preview overlay retained for review before download
- Replace "print-invoice" config key with "download-pdf"

https://claude.ai/code/session_015iyCBgoTXNNqaErR287U1u
2026-05-19 07:52:40 +00:00
app Replace browser print with jsPDF Helvetica PDF generation 2026-05-19 07:52:40 +00:00
docs/devdocs Add project specification for kbenestad/invoice 2026-05-19 00:54:22 +07:00
README.md Initial commit 2026-05-18 23:16:11 +07:00

invoice

HTML invoicing app producing PDF invoices for freelancers. Configuration file allows entities to offer standard lines and rates for freelancers not used to providing invoices.