You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Katharina Fey
5eff0ad3e9
|
3 years ago | |
---|---|---|
.. | ||
README.md | 3 years ago | |
default.nix | 3 years ago | |
invoice.sh | 3 years ago | |
template.tex | 3 years ago |
README.md
invoice
A tool that generates invoices with pandoc
, xelatex
and yaml
.
A descriptor file is required in order to make all of this work.
These are independent of the tooling and template and should be
client specific. Following is a small example of what it should
look like:
---
invoice-nr: 2019-1234
date: 2019-06-09
author: Alice Anonymous
city: Metropolis
from:
- Cyberstreet 69
- XX51F5 Metropolis
- alice.anonymous@mail.cyber
- + 69 (0) 13 37 13 12
ustid: Your Tax ID here
bank: Evil Bank (i.e. a bank)
bank_iban: Your IBAN
bank_bic: Your Bank BIC
to:
- Client Name
- Client Address
- ...
VAT: 19 # Depends on the country you live in
service:
- description: Looking cool
price: 255
details:
- Making all your other employees look silly
- Telling really bad jokes
- description: Being awesome
price: 615
details: Its in the title!
currency: EUR
lang: english
# Typography and layout
fontsize: 10pt
geometry: a4paper, left=43mm, right=43mm, top=51mm, bottom=17mm
---
Then point the script at this descriptor:
$ invoice clients/client_name.yml
This will then generate clients/client_name.pdf
as an invoice