UNPKG

facturapi-es6

Version:

FacturAPI makes it easy for developers to generate valid Invoices in Mexico (known as Factura Electrónica or CFDI).

24 lines (23 loc) • 515 B
import { enums } from "./enums"; import { Base } from "./base"; export declare type Product = { description: string; product_key: string; price: number; sku?: string; unit_name?: string; unit_key?: string; tax_included?: boolean; taxes?: Tax[]; local_taxes?: LocalTax[]; } & Base; export declare type Tax = { withholding: boolean; type: enums.TaxType; rate: number; }; export declare type LocalTax = { withholding: boolean; type: string; rate: number; };