Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-19 01:14:17 +00:00
co-authored by renee-png
parent bd2124174d
commit baadbbfa26
+11
View File
@@ -18,12 +18,23 @@ export interface InvoiceLineItem {
billable?: boolean;
}
export interface InvoiceSubsection {
key: string;
label: string;
billable: boolean;
items: InvoiceLineItem[];
subtotal: number;
}
export interface InvoiceCaseGroup {
caseNumber: string;
caseTitle: string;
practiceArea?: string | null;
items: InvoiceLineItem[];
subtotal: number;
/** Optional subsections (Billable Fees, Billable Expenses, Non-Billable Fees, Non-Billable Expenses).
* When provided, the renderer groups items by subsection with a header and subtotal. */
subsections?: InvoiceSubsection[];
}
export interface InvoicePdfInput {