How yusufj12/core-accounting-system works
CoreAccountingSystem is a bilingual, multi-company accounting and tax-workpaper product for tax-consulting firms. The main workflow is staff or client use of the web workspace to manage company accounting data, enter and review journals, then produce financial reports and tax workpapers for export. Separate capabilities include imports, fixed assets, inventory closing, opening balances, audit, and firm/user administration. The README documents the web/API/PostgreSQL architecture and tenant RLS; sampled sources show journal review persistence, report calculations, and export formatting. Several feature-to-API connections are not shown in the excerpts, so those links are dashed and unverified.
Main entry points: CoreAccountingDbContext.cs Entity Framework context · Program.cs API host · FinancialReportEngine.cs Financial report engine · JournalReviewEndpoints.cs Journal entry and review
Components 20
Web workspace
- Accounting workspace
frontend/src/app - API client
frontend/src/lib/api.ts
API and access
- API host
backend/src/CoreAccounting.Api/Program.cs - Identity and tenant context
backend/src/CoreAccounting.Api/Security - Authentication and profiles
backend/src/CoreAccounting.Api/Endpoints/AuthEndpoints.cs - Company and user administration
backend/src/CoreAccounting.Api/Endpoints/CompanyEndpoints.cs
Accounting operations
- Journal entry and review
backend/src/CoreAccounting.Api/Endpoints/JournalReviewEndpoints.cs - Accounts and master data
backend/src/CoreAccounting.Api/Endpoints/AccountEndpoints.cs - Opening balances and periods
backend/src/CoreAccounting.Api/Endpoints/OpeningBalanceEndpoints.cs - Accounting imports
backend/src/CoreAccounting.Api/Endpoints/ImportEndpoints.cs - Assets and inventory closing
backend/src/CoreAccounting.Api/Endpoints/FixedAssetEndpoints.cs - Worksheets and audit
backend/src/CoreAccounting.Api/Endpoints/WorksheetEndpoints.cs
Reporting and tax
- Reports and exports API
backend/src/CoreAccounting.Api/Endpoints/ReportEndpoints.cs - Financial report engine
backend/src/CoreAccounting.Infrastructure/Services/FinancialReportEngine.cs - Tax workpapers
backend/src/CoreAccounting.Api/Endpoints/TaxWorksheetEndpoints.cs - Document export services
backend/src/CoreAccounting.Infrastructure/Services
Tenant data
- Accounting domain entities
backend/src/CoreAccounting.Domain/Entities - Entity Framework context
backend/src/CoreAccounting.Infrastructure/Persistence/CoreAccountingDbContext.cs - PostgreSQL tenant store
Other components
- Firm or client user
Connections 20
- Firm or client user → Accounting workspace: uses
README.md - Accounting workspace → API client: requests data
- API client → API host: calls API
README.md - API host → Identity and tenant context: configures access
backend/src/CoreAccounting.Api/Program.cs - API host → Entity Framework context: initializes store
backend/src/CoreAccounting.Api/Program.cs - Journal entry and review → Entity Framework context: reads and writes
backend/src/CoreAccounting.Api/Endpoints/JournalReviewEndpoints.cs - Journal entry and review → Accounting domain entities: uses journal entities
backend/src/CoreAccounting.Api/Endpoints/JournalReviewEndpoints.cs - Financial report engine → Entity Framework context: queries balances
backend/src/CoreAccounting.Infrastructure/Services/FinancialReportEngine.cs - Financial report engine → Accounting domain entities: calculates account rollups
backend/src/CoreAccounting.Infrastructure/Services/FinancialReportEngine.cs - Entity Framework context → PostgreSQL tenant store: persists tenant data
README.md - Reports and exports API → Financial report engine: invokes reports
- Reports and exports API → Document export services: returns exports
- Tax workpapers → Document export services: exports workpapers
- Accounts and master data → Entity Framework context: stores master data
- Opening balances and periods → Entity Framework context: stores period data
- Accounting imports → Entity Framework context: imports records
- Assets and inventory closing → Entity Framework context: stores adjustments
- Worksheets and audit → Entity Framework context: stores worksheet data
- Company and user administration → Entity Framework context: stores access data
- Authentication and profiles → Identity and tenant context: establishes identity