This repository was archived by the owner on Oct 19, 2026. It is now read-only.
Repository navigation
[Bug]: xRechnung/ZUGFeRD export missing TaxExemptionReason and unsupported VATEX codes - #29930
Merged
Jesper Schulz-Wedde (JesperSchulz) merged 1 commit intoMay 6, 2026
Merged
Conversation
Miljan Milosavljević (miljance)
requested a review
from Dmitry Chadayev (dmc-dk)
April 10, 2026 19:51
… rule fixes **VATEX Implementation:** - Export dynamic VATEX code and tax exemption reason from VAT Posting Setup - Support 'Not Subject to VAT' (Category O) via VAT Clause integration - Added comprehensive test coverage for XRechnung and ZUGFeRD with all VATEX codes **EN16931 & BR-DE Compliance Fixes:** - BR-O-02: Skip Seller/Buyer VAT ID only when ALL invoice lines are category 'O' (fixed critical bug: previously skipped if ANY line was 'O', breaking mixed invoices) - BR-O-05: Remove tax percent from line-level 'O' category elements - BR-DE-14: Always include tax percent at document level **Code Architecture:** - Split tax category insertion into line-level and document-level procedures - Separated AllowanceCharge handling by context (6-param line-level, 11-param document-level) - Thread document language code to GetVATClauseInfo for localized exemption descriptions - Add IsTaxCategoryNotSubjectToVAT() helper to centralise the 'O' value **Files Changed:** - XRechnung: Export logic refactored for UBL compliance - ZUGFeRD: CII format aligned with EN16931 requirements - Tests: Added VATEX scenarios for all supported exemption categories
Contributor
|
Processing this PR. The branch is now locked 🔒 Please don't push updates unless otherwise agreed. |
Milica Đukić (djukicmilica)
approved these changes
Apr 15, 2026
Contributor
|
Compilation fails with: I cannot seem to find that 'PEPPOL VAT Helper'. Did I somehow revert something? |
Contributor
Ah, this BCApps PR is still pending... Time to get that merged! |
Jesper Schulz-Wedde (JesperSchulz)
merged commit May 6, 2026
c56db41
into
microsoft:main
14 checks passed
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Important: Depending on : microsoft/BCApps#7640
Summary
VATEX Implementation:
EN16931 & BR-DE Compliance Fixes:
Code Architecture:
Files Changed:
Work Item(s)
Fixes #29863
Fixes AB#630660