Files
skr/changelog.md

59 lines
2.1 KiB
Markdown
Raw Normal View History

# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.1.0] - 2025-01-09
### Added
- SKR standard validation in postJournalEntry to ensure accounts match official SKR03/SKR04 data
- Module-level Maps for O(1) SKR standard lookups
- validateAccountsAgainstSKR method for checking account type and class compliance
- Smart validation that allows SKR04 class 8 custom accounts
- Warning logs for non-standard accounts and type/class mismatches
### Fixed
- Test isolation issues by adding timestamps to database names
- SKR04 test using correct account mappings (9xxx equity accounts)
### Changed
- Enhanced README with accurate API documentation and testing instructions
- Updated legal section to Task Venture Capital GmbH
## [1.0.0] - 2025-01-09
### Added
- Initial release of @fin.cx/skr module
- Complete SKR03 implementation (Process Structure Principle)
- Complete SKR04 implementation (Financial Classification Principle)
- Double-entry bookkeeping validation system
- MongoDB persistence layer using @push.rocks/smartdata
- Comprehensive account management (100+ predefined accounts per SKR standard)
- Transaction posting and reversal capabilities
- Journal entry support with multiple lines
- Financial reporting suite:
- Trial Balance generation
- Income Statement (P&L)
- Balance Sheet
- General Ledger
- Cash Flow Statement
- DATEV-compatible export formats
- Full TypeScript support with comprehensive type definitions
- API layer for external integration
- CSV import/export functionality
- VAT handling and cost center tracking
- Automatic balance calculations
- Period closing functionality
- Batch transaction processing
### Technical Features
- Type-safe database operations
- Indexed MongoDB collections for performance
- Transaction atomicity and consistency
- Comprehensive validation rules
- 4-digit account number validation
- Account class hierarchy (0-9)
- Support for custom accounts
- Real-time balance updates