gros-bras-shared
Version:
This holds all shared files such as interfaces or helpers used by Gros Bras, both frontoffices and baackoffices, and backend etc...
16 lines (15 loc) • 487 B
TypeScript
import { IInvoiceAdditionalFees, IInvoiceRow } from '../interfaces';
interface IFormatedTotals {
total: IInvoiceAmount;
tva: IInvoiceAmount;
reduction: IInvoiceAmount;
other_reductions: IInvoiceAmount[];
tht: IInvoiceAmount;
ttc: IInvoiceAmount;
}
interface IInvoiceAmount {
value: number;
formated: string;
}
export declare const invoiceAmounts: (rows: IInvoiceRow[], additionalFees: IInvoiceAdditionalFees) => IFormatedTotals;
export {};