Documentation and books - books.softwarehuset.com
Find a file
Nicolaj Hartmann 8096a19081 Audit v4: VAT calc, SAF-T compliance, security hardening, frontend quality
Backend (17 files):
- VAT: REP 25% deductibility (§42), EU reverse charge double-entry (IEUV/IEUY/IVY),
  IVY rate 0%→25%, VatReport Box C/D populated, Basis1 from real revenue
- SAF-T: correct OECD namespace, closing balance net calc, zero-amount fallback,
  credit note auto-numbering (§52)
- Security: BankingController CSRF state token + company auth check,
  attachment canonical path traversal check, discount 0-100% validation,
  deactivated product/customer update guard
- Quality: redact bank API logs, remove dead code (VatCalcService,
  PaymentMatchingService), CompanyAggregate IEmit interfaces, fix URL encoding

Frontend (15 files):
- Fix double "kr." in AmountText and Dashboard Statistic components
- Fix UserSettings Switch defaultChecked desync with Form state
- Remove dual useCompany/useCompanyStore pattern (Dashboard, Moms, Bank)
- Correct SKAT VAT deadline calculation per period type
- Add half-yearly/yearly VAT period options
- Guard console.error with import.meta.env.DEV
- Use shared formatDate in BankConnectionsTab
- Remove dead NONE vatCode check, purge 7 legacy VAT codes from type union
- Migrate S25→U25, K25→I25 across all pages

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 01:38:52 +01:00
.beads Close audit v3 issues (books-9te, books-8n5, books-i6l) 2026-02-06 01:15:57 +01:00
account-suggestions Initial commit: Books accounting system with EventFlow CQRS 2026-01-18 02:52:30 +01:00
backend Audit v4: VAT calc, SAF-T compliance, security hardening, frontend quality 2026-02-06 01:38:52 +01:00
frontend Audit v4: VAT calc, SAF-T compliance, security hardening, frontend quality 2026-02-06 01:38:52 +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.