import { PaymentItem } from '@rytass/payments'; import { InvoiceAwardType, InvoiceState } from './typings.cjs'; import { InvoiceAllowance } from './invoice-allowance.cjs'; export interface Invoice { readonly invoiceNumber: string; readonly issuedOn: Date; readonly allowances: InvoiceAllowance[]; readonly issuedAmount: number; readonly randomCode: string; readonly items: Item[]; state: InvoiceState; nowAmount: number; voidOn: Date | null; setVoid: () => void; awardType?: InvoiceAwardType; }