import { Invoice } from '../types/invoice.types';
import fs from 'fs';

/**
 * Loads invoice data from a JSON file
 */
export function loadInvoiceData(jsonPath: string): Invoice {
  const data = fs.readFileSync(jsonPath, 'utf8');
  return JSON.parse(data);
} 