UNPKG

@openade/common

Version:

Common types, validators, and XML builders for Italian fiscal receipts

26 lines 694 B
import { ISODateTime } from './common'; export type LotteryType = 'INSTANT' | 'DEFERRED'; export interface LotteryCode { type: LotteryType; code: string; generatedAt: ISODateTime; documentNumber: string; customerFiscalCode?: string; } export interface DeferredLotteryFile { version: string; vatNumber: string; emissionPointId: string; periodFrom: string; periodTo: string; codes: LotteryCode[]; totalCodes: number; generatedAt: ISODateTime; } export interface LotteryTransmissionOutcome { transmissionId: string; outcomeCode: string; outcomeDescription: string; receivedAt: ISODateTime; } //# sourceMappingURL=lottery.d.ts.map