Documentation and books - books.softwarehuset.com
Find a file
Nicolaj Hartmann 1a0922b778 Audit v3: VAT alignment, security, encoding, UX, compliance
VAT System Alignment (LEGAL - Critical):
- Align frontend VAT codes with backend (S25→U25, K25→I25, etc.)
- Add missing codes: UEU, IVV, IVY, REP
- Fix output VAT account 5710→5611 to match StandardDanishAccounts
- Invoice posting now checks fiscal year status before allowing send
- Disallow custom invoice number override (always use auto-numbering)

Security:
- Fix open redirect in AuthController (validate returnUrl is local)
- Store seller CVR/name/address on invoice events (Momsloven §52)

Backend Compliance:
- Add description validation at posting (Bogføringsloven §7)
- SAF-T: add DefaultCurrencyCode, TaxAccountingBasis to header
- SAF-T: add TaxTable to MasterFiles with all VAT codes
- SAF-T: always write balance elements even when zero
- Add financial income account 9100 Renteindtægter

Danish Encoding (~25 fixes):
- Kassekladde: Bogført, Bogføring, Vælg, være, på, Tilføj, Differens
- AttachmentUpload: træk, Understøtter, påkrævet, Bogføringsloven
- keyboardShortcuts: Bogfør, Bogføring display name
- ShortcutsHelpModal: åbne
- DataTable: Genindlæs
- documentProcessing: være
- CloseFiscalYearWizard: årsafslutning

Bugs Fixed:
- Non-null assertion crashes in Kunder.tsx and Produkter.tsx (company!.id)
- StatusBadge typo "Succces"→"Succes"
- HTML entity ø in Kassekladde→proper UTF-8
- AmountText showSign prop was dead code (true || showSign)

UX Improvements:
- Add PageHeader to Bankafstemning and Dashboard loading/empty states
- Responsive columns in Bankafstemning (xs/sm/lg breakpoints)
- Disable misleading buttons: Settings preferences, Kontooversigt edit,
  Loenforstaelse export — with tooltips explaining status
- Add DemoDataDisclaimer to UserSettings
- Fix breadcrumb self-references on 3 pages
- Replace Dashboard fake progress bar with honest message
- Standardize date format DD-MM-YYYY in Bankafstemning and Ordrer
- Replace Input type="number" with InputNumber in Ordrer

Quality:
- Remove 8 redundant console.error statements
- Fix Kreditnotaer breadcrumb "Salg"→"Fakturering" for consistency

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 01:15:45 +01:00
.beads Audit v3: VAT alignment, security, encoding, UX, compliance 2026-02-06 01:15:45 +01:00
account-suggestions Initial commit: Books accounting system with EventFlow CQRS 2026-01-18 02:52:30 +01:00
backend Audit v3: VAT alignment, security, encoding, UX, compliance 2026-02-06 01:15:45 +01:00
frontend Audit v3: VAT alignment, security, encoding, UX, compliance 2026-02-06 01:15:45 +01:00
.gitattributes Add frontend components, API mutations, and project config 2026-01-30 22:20:03 +01:00
.gitignore Add frontend environment configuration for API URL injection 2026-01-18 03:12:45 +01:00
CLAUDE.md Add frontend components, API mutations, and project config 2026-01-30 22:20:03 +01:00
README.md Initial commit: Books accounting system with EventFlow CQRS 2026-01-18 02:52:30 +01:00

Books - Dansk Bogføringssystem

Et komplet bogføringssystem til danske virksomheder med support for regnskabsår, momsindberetning og SKAT-compliance.

Projektstruktur

books/
├── frontend/          # React/TypeScript frontend
│   ├── src/
│   │   ├── components/
│   │   ├── pages/
│   │   ├── stores/
│   │   ├── hooks/
│   │   ├── lib/
│   │   └── types/
│   ├── package.json
│   └── vite.config.ts
│
├── backend/           # .NET 8 Web API
│   ├── Books.Api/
│   │   ├── Controllers/
│   │   ├── Models/
│   │   ├── Services/
│   │   └── Program.cs
│   ├── Books.slnx
│   └── BACKEND_REQUIREMENTS.md
│
└── README.md

Teknologi Stack

Frontend

  • React 18 med TypeScript
  • Ant Design komponenter
  • Zustand state management
  • Vite build tool
  • Day.js til dato-håndtering

Backend

  • .NET 10 Web API
  • C# 14
  • Entity Framework Core
  • PostgreSQL database
  • JWT authentication
  • SLNX solution format

Kom i gang

Frontend

cd frontend
npm install
npm run dev

Backend

cd backend
dotnet restore
dotnet run --project Books.Api

Features

  • Regnskabsår (Fiscal Years) - opret, luk, lås
  • Regnskabsperioder - månedlig, kvartalsvis, halvårlig, årlig
  • Kontoplan med danske standardkonti
  • Hurtig bogføring interface
  • Årsafslutning med lukkeposter
  • Dynamiske åbningsbalancer
  • Momsindberetning
  • SKAT integration

Licens

Proprietary - Alle rettigheder forbeholdes.