Commit Graph

7 Commits

Author SHA1 Message Date
Yaojia Wang
f319c6e772 Code fixed 2026-02-13 10:31:54 +01:00
Yaojia Wang
26d0c41203 feat: integrate invoice-master-poc-v2 inference API
Rewrite OcrService to match the actual inference API response format
(nested status/result structure with PascalCase/snake_case field names).
Register IOcrService in DI with typed HttpClient and Polly v8 resilience
(retry, timeout, circuit breaker via AddStandardResilienceHandler).

Key changes:
- Fix response model to match real API (InferenceApiResponse)
- Map correct field names (InvoiceNumber, InvoiceDueDate, OCR, Amount, etc.)
- Add extract_line_items=true for VAT summary extraction
- Copy stream before sending to avoid disposal conflicts with retries
- Add JsonException handling for malformed responses
- Remove sensitive data from error logs
- Add 35 unit tests covering field mapping, VAT parsing, error handling,
  decimal/date formats, and content type detection
2026-02-13 10:30:50 +01:00
Yaojia Wang
041e54196a chore: rewrite project Claude config for FiscalFlow
- Rewrite .claude/CLAUDE.md with project-specific context: tech stack
  (.NET 10, React 18), solution structure, build commands, architecture
  decisions (DDD, CQRS, Provider pattern), domain concepts
- Rewrite AGENTS.md with layer-specific agent routing mapped to
  FiscalFlow architecture layers
- Remove invoice-master-poc-v2 reference from settings.json
- Clean settings.local.json: remove 100+ irrelevant entries from
  another project and hardcoded database password
- Remove everything-claude-code framework files (commands, hooks,
  skills) now managed at user level
2026-02-12 23:25:50 +01:00
Yaojia Wang
15533285c6 Fix the skill 2026-02-04 23:30:06 +01:00
Invoice Master
fa996683c3 chore: update .gitignore for .NET 10 + React project
- Add comprehensive .NET/C# ignore patterns
- Add React/Vite/Node.js ignore patterns
- Remove obsolete Python-specific patterns
- Organize by technology stack
2026-02-04 23:24:12 +01:00
Invoice Master
ad6ce08e3e refactor: rename namespace to FiscalFlow and upgrade to .NET 10
- Rename InvoiceMaster.* to FiscalFlow.* namespace
- Upgrade from .NET 8 to .NET 10
- Update all NuGet packages to latest versions
- Update C# language version to 14.0
2026-02-04 23:18:59 +01:00
Invoice Master
05ea67144f feat: initial project setup
- Add .NET 8 backend with Clean Architecture
- Add React + Vite + TypeScript frontend
- Implement authentication with JWT
- Implement Azure Blob Storage client
- Implement OCR integration
- Implement supplier matching service
- Implement voucher generation
- Implement Fortnox provider
- Add unit and integration tests
- Add Docker Compose configuration
2026-02-04 20:14:34 +01:00