Merge branch 'fix/void-refunded'

# Conflicts:
#	CHANGELOG.md
This commit is contained in:
2026-11-17 13:34:19 +02:00
9 changed files with 92 additions and 11 deletions
+9
View File
@@ -5,6 +5,15 @@ versions follow [Semantic Versioning](https://semver.org/).
## [Unreleased]
### Fixed
- **An invoice that was paid and then refunded can be voided** (planned as 2.0.2). Before, Void
was refused while any payment was recorded against the invoice, and the only way round it was to
remove the payment, which lost the record that money came in and went back. A payment now has
**Refund** (invoice page → Payments): it stays on record with its receipt, no longer counts as
paid, and the statement shows the refund going back out. Void is allowed when no payment on the
invoice is left unrefunded. Migration `20261118120000_payment_refunds` (two new columns).
Planned as 2.1.0 (crosscode-platform `docs/AGENT-1.0-PLAN.md`, phase 1d). **Before deploying, see
`deployment.md` → "Upgrading to 2.1"** (a new job-signing key).