mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-04-14 08:14:06 +00:00
Add multi-format support to SDK-TS report functions: - Add utility types: OpResponseBodyCsv, OpResponseBodyXlsx, OpResponseBodyPdf - Create modular report structure in src/reports/ directory - Implement 5 format functions for each of 18 reports: - Table format (existing): fetch*Table() - JSON format: fetch*Json() - CSV format: fetch*Csv() (returns Blob) - XLSX format: fetch*Xlsx() (returns Blob) - PDF format: fetch*Pdf() (returns Blob) Reports with multi-format support: 1. Balance Sheet 2. Trial Balance Sheet 3. Profit/Loss Sheet 4. Cashflow Statement 5. General Ledger 6. Journal 7. Receivable Aging Summary 8. Payable Aging Summary 9. Customer Balance Summary 10. Vendor Balance Summary 11. Transactions By Customers 12. Transactions By Vendors 13. Transactions By Reference 14. Sales By Items 15. Purchases By Items 16. Inventory Valuation 17. Inventory Item Details 18. Sales Tax Liability Summary Backward compatibility maintained via reports.ts re-export. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>