UNPKG

lbx-invoice

Version:

Provides functionality around generating invoices.

8 lines (7 loc) 338 B
import { BaseInvoice } from '../models'; /** * Gets the name of the customer from the given invoice. * @param invoice - The invoice to get the customers name from. * @returns The company name if the customer is a company or first name and last name otherwise. */ export declare function getCustomerName(invoice: BaseInvoice): string;