invoice-craft
Version:
Customizable, browser-first invoice PDF generator library with modern TypeScript API
21 lines (20 loc) • 451 B
TypeScript
export declare const defaultLabels: {
invoice: string;
date: string;
dueDate: string;
from: string;
to: string;
description: string;
quantity: string;
unitPrice: string;
tax: string;
total: string;
subtotal: string;
discount: string;
notes: string;
terms: string;
};
export type LabelsMap = {
[key: string]: string;
};
export declare function getLabels(customLabels?: LabelsMap): LabelsMap;