import { InvoiceProvider } from '../enums'; import { TaxType } from '../enums/tax-type'; export interface InvoiceConfig { invoiceProvider?: InvoiceProvider; enableInvoice: boolean; officeId: string; tax: Tax; clientId: string | null; apiKey: string | null; webestOptions?: WebestOptions; } export interface Tax { taxType: TaxType; taxRate: number; } export interface WebestOptions { /** 公司門市編號 */ branchno: string; /** 交易認證碼 */ rid: string; /** 發出交易終端機序號 */ pid: string; /** 產品名 */ pname: string; }