regenerateInvoice(voidedInvoiceId, fees) now takes per-fee units and unit amounts (zero units drops a fee); amounts and taxes are recomputed at each fee's own rate and the invoice rollups are rebuilt from the fees. Without fees the old copy behaviour is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>