Repository navigation
Conversation
clstaudt
added this pull request to stack #608
October 18, 2026 20:21
An invoice went out without the seller's VAT number or tax number, or without the seller's or the client's address, and nobody was told: the PDF left the lines out, and the e-invoice XML still passed schema validation. An e-invoice for a contract without a term of payment broke EN16931 the same way. Before an invoice, deposit invoice, final invoice or reminder is created, Tuttle now checks these details and refuses with one message that names what to add. With an e-invoice profile on, the contract's term of payment is required too. An invoice outside the scope of VAT needs the tax number, since it may not show the VAT number. The e-invoice now states the address the PDF shows, which is the invoicing contact's when it has one. The demo user gets a tax number for its dollar invoices. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clstaudt
force-pushed
the
refuse-invoice-without-mandatory-details
branch
from
October 20, 2026 13:25
8f1e3a5 to
f218b6d
Compare
Contributor
Author
|
Review:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Invoices and their EN16931 XML could go out without the seller's VAT or tax number, without either party's address, and, with an e-invoice profile on, without payment terms. The XML still passed schema validation, so nothing looked wrong.
馃 Generated with Claude Code