Skip to content

Make a 0-day payment term due on the invoice date - #612

Merged
clstaudt merged 1 commit into
mainfrom
zero-day-payment-term
Oct 23, 2026
Merged

clstaudt merged 1 commit into
mainfrom
zero-day-payment-term

Conversation

@clstaudt

@clstaudt clstaudt commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

The contract form saved a payment term of 0 days as no term, and the model derived a due date only from a nonzero term. An invoice payable on receipt never became overdue, offered no reminder, printed no due date, and its e-invoice had neither due date nor terms (BR-CO-25). A 0-day term now makes the invoice due on its date, in the model, the e-invoice and the app.

🤖 Generated with Claude Code

@clstaudt
clstaudt added this pull request to stack #614 October 18, 2026 12:12
The contract form turned a payment term of 0 days into no term when
saving and loading it, and the model derived a due date only from a
nonzero term. An invoice payable on receipt therefore never became
overdue, offered no reminder, printed no due date, and its e-invoice
carried neither a due date nor payment terms, which EN16931 requires
whenever an amount is due (BR-CO-25).

A term of 0 days now makes the invoice due on its date, in the model,
the e-invoice and the app. Only a contract without a term leaves its
invoices without a due date.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@clstaudt
clstaudt force-pushed the zero-day-payment-term branch from 1c005dd to b8056a7 Compare October 18, 2026 20:22
@clstaudt
clstaudt added this pull request to the merge queue Oct 23, 2026
Merged via the queue into main with commit b5b3991 Oct 23, 2026
4 checks passed
@clstaudt
clstaudt deleted the zero-day-payment-term branch October 23, 2026 15:12
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