UNPKG

@accounter/server

Version:

13 lines (12 loc) 583 B
import { pcnGenerator } from '../../../../../pcn874-generator/src/index.js'; import type { RawVatReportRecord } from './vat-report.helper.js'; type GeneratorParameters = Parameters<typeof pcnGenerator>; type Transaction = GeneratorParameters[1][number]; export type ExtendedPCNTransaction = Omit<Transaction, 'totalVat'> & Required<Pick<Transaction, 'totalVat'>> & { isProperty: boolean; }; export declare const generatePcnFromCharges: (vatRecords: RawVatReportRecord[], vatNumber: string, reportMonth: string) => { reportContent: string; fileName: string; }; export {};