Nebenbuch Implementation β Master Task List β
Phase 1: Foundation (Documentation Only) β β
- [x] Schema docs:
change_eventswith nullable FKs in all 4 schemas (incl. passenger_profile, reseller, allotment, tour_offering, ticket, crew_duty_log, boarding_event) - [x] NestJS docs:
tax-engine.md,period-lock.md,storno-workflow.md,datev-integration.md - [x] ADR
adr-002-financial-ledger-strategy.mdupdated - [x] Implementation plan finalized with all user feedback
Phase 2: GoBD-Compliance β
- [ ] Hasura Migration:
change_eventstables (4 schemas, nullable FKs, CHECK constraint) - [ ] Hasura Migration:
commerce.ledger_period_locks,invoice_cancellations,reconciliation_* - [ ] NestJS:
CommerceModule(period-lock, storno counter-document, audit handlers per entity incl. offering-audit) - [ ] NestJS:
BackofficeModule(costing-sheet, config, passenger DSGVO audit) - [ ] NestJS:
OperationsModule(expense GOBD, crew-duty COMPLIANCE, boarding audit) - [ ] Register all modules in
app.module.ts
Phase 3: Tax Engine β
- [ ] Shared tax types: enum, Valibot schemas, margin/vat calculators (dynamic tax rate)
- [ ] NestJS:
TaxResolverService(Backoffice β determines if FREMD exists β strategy) - [ ] NestJS:
TaxCalculatorService(Commerce β calculates Β§ 25 Abs. 5 specific values). Drittland taxRate=0 edge case)
Phase 4: DATEV Integration (Dual-Format) β
- [ ] DATEV XML online export (Einzelbelege mit BelegLink)
- [ ] DATEV-Format CSV export (Buchungsstapel inkl. VSt-Abzugsverbot Konto 3220)
- [ ] BWA/SuSa Reconciliation Upload & Parser FunktionalitΓ€t
- [ ] Unit tests