The starting point
Invoices had to be uploaded to a platform regularly. The manual upload ate time, and errors often showed up late.
What I did
I built a Node.js app that scans new PDF files for content, reads the sales channel from the invoice-number format, and uploads over SSH, with logging, error mail, and PM2 so it runs without someone watching.
- Automatic detection of new invoices on the local company network
- Recognize the sales channel from the invoice-number format
- SSH upload instead of a manual hand-off
- A log and an alert when something fails
The outcome
- Upload with no hands on
- Several invoices a day
- A clear record of what went out when
- If something fails, you get a mail
File to recipient as a job. On failure a mail, not a question weeks later. Built during ongoing support.
