Skip to content

Show invoice allocations as native report rows and edit owned receipt metadata - #302

Merged
alexeygrigorev merged 22 commits into
mainfrom
fix/atomic-allocation-80cda44a
Nov 3, 2026
Merged

alexeygrigorev merged 22 commits into
mainfrom
fix/atomic-allocation-80cda44a

Conversation

@alexeygrigorev

@alexeygrigorev alexeygrigorev commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

A payment covering several invoices now appears as separate invoice rows in the bookkeeping table and native accountant CSV/Copy output. The stored payment, reconciliation and totals remain single. Each visible row uses its saved company, purpose, payment date, invoice VAT and linked PDF; its details link opens the original payment. Statement-only entries remain visible internally, with existing report exclusions preserved.

Allocation saves atomically update the parent, document claims and evidence references under CAS. Conflicting or inactive sources fail without partial writes; clearing allocations preserves operator-created evidence. The owner-aware receipt metadata endpoint similarly saves Company/What with ownership, idempotency and audit checks, preserving financial facts.

Validation: targeted allocation/concurrency, receipt metadata and table/export tests use synthetic fixtures; backend typecheck and full app/browser checks run at the current PR head. Final acceptance requires production deployment followed by operator allocation/metadata writes and live table/export readback.

@alexeygrigorev
alexeygrigorev force-pushed the fix/atomic-allocation-80cda44a branch from b34084f to 879cc4c Compare November 3, 2026 13:58
@alexeygrigorev
alexeygrigorev marked this pull request as draft November 3, 2026 14:08
@alexeygrigorev
alexeygrigorev marked this pull request as ready for review November 3, 2026 14:10
@alexeygrigorev
alexeygrigorev merged commit 1f8a8e0 into main Nov 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant