add tax category code for free export ("G") and add it to "with exemp… #599
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.
When a Product is used with
setTaxCategoryCode('G')
("Free export item, tax not charged")setTaxExemptionReason("Steuer nicht erhoben aufgrund von Export außerhalb der EU")
i still get the following validation error:This happens because
ZUGFeRD2PullProvider
sets<ram:ExemptionReason>
only if thecategoryCode
is set insideCATEGORY_CODES_WITH_EXEMPTION_REASON
. So i added "G" there.Source of the screenshot:
Factur-X 1.0.07_Technical_Appendix_Profile_EN16931.pdf
downloaded from https://www.ferd-net.de/standards/zugferd-version-archive/zugferd-2.3.2.html