Finance Overview
$12,450
Total Invoiced
$3,200
Pending Payments
14
Active Clients
82%
Paid Rate
My Company
Address Line
INVOICE
#INV-001 | Date: April 2, 2026
Bill To:
Client NameClient Address
| Description | Qty | Rate | Amount |
|---|
Notes: Please pay within 15 days of receiving this invoice. Thank you for your business!
Key Technical Features
Asynchronous DOM Syncing: The tool uses an
oninputevent listener strategy. As the user types in the sidebar, therender()function re-calculates the financial data and updates the HTML of the preview pane instantly.Vector-to-Bitmap Export: To bypass the inconsistencies of browser printing, it uses html2canvas to render the invoice as a 2x scaled image, which is then embedded into a jsPDF document. This preserves the exact font-rendering and spacing.
Recursive Item Injection: The "Add Item" feature allows for an unlimited number of line items, with the calculation engine automatically iterating through all input groups to find a cumulative subtotal.
Responsive Layout:
Desktop: Utilizes a sidebar-to-canvas split view.
Mobile: The sidebar becomes a scrollable form at the top, while the preview scales to the width of the screen using CSS.