Overview of the invoice-detailed template
mainThe invoice-detailed template is a three-page progress-billing invoice designed for complex financial reporting. It features grouped line-item sections, section subtotals, and a carried-forward/brought-forward mechanism at the page 2/3 boundary. It also includes a stack for retainage and tax totals.
Important Implementation Note: When modifying this template, you must update the sections and their sums in a specific order to maintain mathematical integrity. The summary table, carried-forward figures, and totals must remain reconciled. The data chain is managed via data.json.