Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erictapen/typst-invoice
A Typst template for generating invoices
https://github.com/erictapen/typst-invoice
Last synced: 26 days ago
JSON representation
A Typst template for generating invoices
- Host: GitHub
- URL: https://github.com/erictapen/typst-invoice
- Owner: erictapen
- Created: 2023-05-24T21:27:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-05T09:28:49.000Z (about 2 months ago)
- Last Synced: 2024-05-05T10:28:38.385Z (about 2 months ago)
- Language: Typst
- Size: 180 KB
- Stars: 23
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSES/GPL-3.0-or-later.txt
Lists
- awesome-typst - typst-invoice - Generate invoices from TOML files (Templates & Libraries / General)
README
# Typst invoice template
![](preview.png)
An template for writing invoices, which strives to be almost a copy of the [beautiful LaTex template by @mrzool](https://github.com/mrzool/invoice-boilerplate/).
The data for an individual invoice is stored in a TOML file (`invoice.toml`), so the important fields are easily identifiable and can even be produced by another program.
## Specifics
The entire template strives to work for the german region and locale, which is aquired through hacks, as Typst doesn't seem to have good support for locales yet. The reason for that is just that I personally needed it like this. You'll also find some other details that only fit my specific use case, e.g. the reference to the german § 19 UStG.
So it is very likely that you have to adapt the template to your use case. PRs that make the template usable by a wider audience are welcome.
## Building
For compiling the PDF file just run
```
typst compile invoice.typ invoice.pdf
```