A simple browser-based editor for a fixed DLRG invoice layout.
- Upload a PDF invoice
- Preview the generated output in the browser
- Edit the first line on page 2
- Rebuild the invoice so the page 2 account block is moved into page 1
- Download the changed PDF
Everything runs locally in your browser using bundled dependencies from this repository. No files are uploaded to a server.
index.html- single-page app shellstyle.css- responsive UI stylingscript.js- PDF parsing, preview, and export logicvendor/- bundled browser copies ofpdf.jsandpdf-lib
Open index.html in a modern browser, or serve the folder with any static file server.
- The editor is tailored to one specific invoice template.
- It expects a two-page PDF with the account details on page 2.
- Unsupported or ambiguous layouts are rejected instead of generating a guessed result.