Most invoice templates need a predictable set of fields: customer details, invoice number, dates, item description, quantity, unit price, line total, subtotal, discount, tax amount, amount paid, and balance due. The source inputs should stay editable. The derived amounts should usually be read-only calculated outputs.
If the invoice has a fixed number of line-item rows, a PDF template can work well. If the number of line items changes dramatically from invoice to invoice, a dynamic document-generation system may be the better fit because fixed PDFs do not add pages or rows automatically.