Ahmed Bouhuolia d5ba54fe5e feat(sdk-ts): add JSON, CSV, XLSX, and PDF support to report functions
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>
2026-03-08 05:56:16 +02:00
2026-03-05 23:37:54 +02:00

Bigcapital

Simple, smart online accounting software for small and medium businesses.

twitter

Bigcapital Cloud

What's Bigcapital?

Bigcapital is a smart and open-source accounting and inventory software, Bigcapital keeps all business finances in right place and automates accounting processes to give the business powerful and intelligent financial statements and reports to help in making decisions.

Getting Started

We've got serveral options on dev and prod depending on your need to get started quickly with Bigcapital.

Self-hosted

Bigcapital is available open-source under AGPL license. You can host it on your own servers using Docker.

Docker

To get started with self-hosted with Docker and Docker Compose, take a look at the Docker guide.

Development

Local Setup

To get started locally, we have a guide to help you.

Gitpod

  • Click the Gitpod button below to open this project in development mode.
  • This will open and configure the workspace in your browser with all the necessary dependencies.

Open in Gitpod

Headless Accounting

You can integrate Bigcapital API with your system to organize your transactions in double-entry system to get the best financial reports.

Run in Postman

Resources

Changelog

Please see Releases for more information what has changed recently.

Contact us

Meet our sales team for any commercial inquiries.

Book us with Cal.com

Recognition

Featured on Hacker News

Contributors

Thanks goes to these wonderful people (emoji key):

Ahmed Bouhuolia
Ahmed Bouhuolia

💻
Ameir Abdeldayem
Ameir Abdeldayem

🐛
ElforJani13
ElforJani13

💻
Lars Scheibling
Lars Scheibling

🐛
Suhaib Affan
Suhaib Affan

💻
Kalliopi Pliogka
Kalliopi Pliogka

🐛
Robert Koch
Robert Koch

💻
Casper Schuijt
Casper Schuijt

🐛
ANasouf
ANasouf

💻
Ragnar Laud
Ragnar Laud

🐛
Asena
Asena

🐛
Ben Snyder
Ben Snyder

💻
Vederis Leunardus
Vederis Leunardus

💻
Chris Cantrell
Chris Cantrell

🐛
Denis
Denis

🐛
Sachin Mittal
Sachin Mittal

🐛
Camilo Oviedo
Camilo Oviedo

💻
Mantey
Mantey

🐛
Daniel Lo Nigro
Daniel Lo Nigro

🐛 💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Languages
TypeScript 97%
SCSS 1.9%
Shell 0.5%
HTML 0.3%
JavaScript 0.2%