Skip to content

Ask for the remaining balance in a final invoice's reminder and QR code - #606

Open
clstaudt wants to merge 1 commit into
keep-settled-depositsfrom
final-invoice-reminder-balance
Open

clstaudt wants to merge 1 commit into
keep-settled-depositsfrom
final-invoice-reminder-balance

Conversation

@clstaudt

@clstaudt clstaudt commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

A reminder copies its invoice's items, so a reminder for a final invoice asked for the whole contract price plus the fee, not what the deposits left. Paying through it left the deposits outstanding, and the final invoice's payment QR code also asked for the full price.

  • Reminder: restates the final's settlement: full price, deposits deducted, then its fee. Its balance due is the final's plus the fee, in the PDF, the invoice view and the QR code.
  • QR code: asks for the balance due, and is left out when nothing is due.
  • Paying: paying any document of a final invoice's reminder chain marks its deposits paid.

馃 Generated with Claude Code

@clstaudt
clstaudt added this pull request to stack #608 October 18, 2026 12:11
@clstaudt
clstaudt force-pushed the final-invoice-reminder-balance branch from a83ea7d to 557c7d3 Compare October 18, 2026 20:21
A reminder copies the items of the invoice it chases. For a final
invoice these state the full contract price, so its reminder asked for
the whole price plus the fee instead of what the deposits left. Paying
through such a reminder left the deposits unpaid, and the payment QR
code of a final invoice also asked for the full price.

A reminder for a final invoice now restates the final's settlement: the
full price, the deposits deducted, then its fee. The model gives it the
final's deductions, so its remaining balance, its PDF, the invoice view
and the QR code agree. The QR code asks for the remaining balance, and
is left out when nothing is due. Paying any document of a final
invoice's reminder chain marks the deposits paid. Loading a reminder now
loads its whole chain, which also lets the invoice list show a second
reminder under its invoice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@clstaudt
clstaudt force-pushed the final-invoice-reminder-balance branch from 557c7d3 to a414a39 Compare October 20, 2026 13:25

This branch has not been deployed

No deployments
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