Invoice templates generated from HTML/CSS
- install deps
yarn
- run
yarn watch-static
this will show default invoice with example data
User data contains fields for setting invoicer details, billed client, work activity...
- copy
src/dataset/userdata.example.ts
content over new filesrc/dataset/userdata.local.ts
which should be kept locally - customize
userdata.local.ts
with custom data - change reference in
App.tsx
to point towarduserdata.local.ts
instead ofuserdata.example.ts
- relaunch
To be filled manually at each new invoice generated:
- invoice number: 001, 002, ...
- billed days in the month: usually between 20 - 22 working days depending on the month, substracted with any days off (like public or personal holidays)
Automatically generated:
- invoice date adjusted from current date
TODO
a calendar is provided to help figuring out how many working days are in current month
Template files contains static data like template labels requiring translation.
Default template files template.dataset.en.ts
, template.dataset.fr.ts
respectively support english and french, and are set to match freelance activity with unique client, monthly billed service, VAT excluded.
- avoid any code changes by storing local data in browser and
- provice built-in calendar to select worked days and auto-fill working days in invoice month
- exonéré en franchise de base
- ou assujetis mais exonéré (par ex: facturation hors UE)
- conditions de paiement
- escompte paiement anticipé
- pénalités retard paiment