Skip to content

Generate Invoices in different formats meeting the Finnish invoice requirements.

Notifications You must be signed in to change notification settings

leerikss/finigen

Repository files navigation

FIN Invoice Generator

Generates a PDF (and HTML) invoice meeting Finnish invoice requirements.
The invoice data is separated into YAML files, and the styling can be configured via Front-End code (HTML/CSS/JS/images).

Alt text

Install

Option 1: npm

npm install

Option 2: docker

docker build . -t finigen

Customize

Create a new folder named "in", copy the data/ and the template/ folders inside it, and customize the copied files to your liking. The in/ folder is git ignored.

mkdir -p in
cp -rf data in
cp -rf template in

Execute

Option 1 a: npm

npm start <invoice key>

Option 1 b: node

node App.js --invoice <invoice key>

Option 2: docker

docker run -e invoice=<invoice key> -v ./in:/app/in -v ./out:/app/out finigen

Mandatory arguments

--invoice <value> - must match an existing key in the ./in/data/invoices.yaml file

Output folder

The invoice files (HTML,PDF etc.) will be generated into a new folder named "out". The out/ folder is git ignored.

Credits

Links

About

Generate Invoices in different formats meeting the Finnish invoice requirements.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published