https://github.com/mrowa44/ip-box-report-generator
IP Box monthly reports generator
https://github.com/mrowa44/ip-box-report-generator
Last synced: about 1 year ago
JSON representation
IP Box monthly reports generator
- Host: GitHub
- URL: https://github.com/mrowa44/ip-box-report-generator
- Owner: mrowa44
- Created: 2022-03-29T15:44:11.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-14T21:46:26.000Z (over 2 years ago)
- Last Synced: 2025-01-30T01:28:05.834Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 85.9 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# IP BOX report generator
This script generates IP BOX reports in PDF format based on supplied array of
data.
# How to use
1. Clone the repo
2. Edit [config.js](/config.js) file so it generates `PAGES` array with items of
structure like:
```js
{
meetingsH: 8,
ratePerH: 10,
rateCurrency: 'USD',
contractDate: '01.01.2019',
hWorkedMonth: 168,
contractorLine1: 'John Doe',
contractorLine2: 'Street Address',
contractorLine3: 'Tax ID: 123',
clientLine1: 'Client Name',
clientLine2: 'Client Address',
clientLine3: 'Tax ID: 123',
invoiceMonth: 'Styczeń 2019',
additionalRowTitle: 'This is optional (like zwrot kosztu podróży)',
additionalRowValue: '123 (also optional)',
}
```
3. Run `node index.js`
4. The files will get generated into output/ directory
# Preview
[Example output file](/example.pdf)