Skip to content

ad-si/invoice-maker

Repository files navigation

Invoice Maker

Generate beautiful invoices from a simple data record.

Example invoice

Features

  • Simple, yet Powerful
    • Write invoices as simple .typ or .yaml files
    • No need to install anything but Typst
    • Support for cancellations, discounts, and taxes
  • Multilingual
    • Integrated support for English, French, and German
    • Easy to add more languages by adding a translation dictionary (Check out this example: custom-language.typ)
  • Customizable
    • User your own banner image
    • Customize the colors and fonts
  • Elegant
    • Modern design with a focus on readability
    • PDFs with a professional look
  • Stable
    • Visual regression tests to ensure consistent output
  • Free and Open Source
    • ISC License

Installation & Usage

  1. Download the invoice-maker.typ file
  2. Create a new invoice.typ file. E.g. based on one of the examples below:
  3. Run typst to generate the invoice:
    typst compile invoice.typ
  4. Use the generated invoice.pdf file 🎉

HTML Export

Invoice Maker can also be exported as HTML. Either set the target: "html" parameter on invoice.with(...), or pass --input invoice-format=html on the command line:

typst compile --features html --format html \
  --input invoice-format=html \
  invoice.typ

Development

Run Tests:

make test

Legacy Version

Invoice Maker was originally implemented with TypeScript and Pandoc as seen in ./typescript_pandoc.

This version is still in maintenance mode, but will not receive new features.

About

Generate beautiful invoices from simple Typst or YAML data records

Topics

Resources

License

Stars

170 stars

Watchers

1 watching

Forks

Contributors