My personal project and infrastructure archive
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.
 
 
 
 
 
 
nomicon/infra/libkookie/overlays/kookie/invoice
Katharina Fey 5eff0ad3e9
libkookie: general refactoring after nixpkgs upgrade
3 years ago
..
README.md libkookie: init overlays 3 years ago
default.nix libkookie: general refactoring after nixpkgs upgrade 3 years ago
invoice.sh libkookie: init overlays 3 years ago
template.tex libkookie: init overlays 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