Skip to content

playhousehosting/generate.invoice.workers.dev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate an Invoice PDF using Cloudflare Workers

The open-source PDF generation service powering Lazy Invoice (code), an open-source website for quickly generating PDF invoices on the fly. Powered by Cloudflare Workers.

Example PDF →

API

Requests are made as GET against http://generate.invoice.workers.dev. To customize the PDF, set at least the query params company, customer, description, amount, and total, for example:

https://generate.invoice.workers.dev/
  ?company=Ginza Natsuno \n4F Marunouchi 1-5-1 \nChiyoda-ku, Tokyo, Japan
  &customer=Sukiyabashi Jiro \n2-15, Ginza 4-chome \nCity Chuo, Tokyo, Japan
  &description=4 pairs of rounded red sandalwood chopsticks
  &amount=4 × ¥8,000 per pair
  &total=¥32,000

View this example PDF

About

Open-source tool for generate PDF invoices with Cloudflare Workers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%