UNPKG

invoice-craft

Version:

Customizable, browser-first invoice PDF generator library with modern TypeScript API

8 lines (7 loc) 197 B
import type { InvoiceData } from "./types"; export declare function calculateTotals(invoice: InvoiceData): { subtotal: number; totalTax: number; discount: number; total: number; };