@accounter/server
Version:
Accounter GraphQL server
9 lines (8 loc) • 473 B
TypeScript
import { ReportEntry } from '../types/index.js';
/**
* Parses report entries from the content for a specific section
* @param content - The full report content
* @param section - The section to parse ('profitAndLoss', 'taxAdjustment', or 'balanceSheet')
* @returns Array of ReportEntry objects, with filler records filtered out
*/
export declare function parseReportEntries(content: string, section: 'profitAndLoss' | 'taxAdjustment' | 'balanceSheet'): ReportEntry[];