Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation Error due to empty elements #710

Open
hypfvieh opened this issue Jan 28, 2025 · 1 comment
Open

Validation Error due to empty elements #710

hypfvieh opened this issue Jan 28, 2025 · 1 comment

Comments

@hypfvieh
Copy link
Contributor

When creating an invoice with Profile EN16931 and adding allowance-charges to it, will create empty <ram:reason /> elements due to wrong bracket placement in if statement at https://github.com/ZUGFeRD/mustangproject/blob/master/library/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRD2PullProvider.java#L280

The created document will then cause warnings in validator due to those empty elements.

@langfr
Copy link
Contributor

langfr commented Jan 28, 2025

Created PR #712 for correction .

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

No branches or pull requests

2 participants