[29x] Bug 650434 The Non-Deductible VAT Amount is currently not taken into account in the VAT return Austria - #11579
Conversation
|
Good Sense Reviewer - Round 1Recommendation: Request ChangesWhat this PR doesThe change adds handling for Non-Deductible Amount in the VAT Statement AT export and adds a purchase invoice regression test for KZ062. That covers one needed branch, but the amount calculation still ignores Non-Deductible Base, Full Amount, and Full Base, while parallel VAT statement calculation code handles all four non-deductible amount types. Problem-solution fitFit: Partial The reported problem covers non-deductible base and amount values, including the full base and full amount variants. The diff fixes only the non-deductible amount path, so some configured VAT statement lines can still produce missing or incomplete export values. SuggestionsS1 (🔴 High): Handle all non-deductible amount types Risk assessment and necessityRisk: The changed code feeds the Austrian VAT statement FDF and XML export. If an amount type is still not calculated, the tax return output can omit values that are present in posted VAT entries. The regression surface is limited to VAT statement lines for this report, but the area is financially sensitive. Necessity: The change is needed because the export should include non-deductible VAT values when the statement line is configured for them. The scope is too small as written because the same calculation point must handle all related amount types, not only the VAT amount case.
|
Bug 650434: [29.x][all-e]The Non-Deductible Base/Amount and Full Base/Amount types are currently not taken into account in the VAT return Austria (Report 11110) in the Austrian version.
Fixes AB#650434
Issue-
The Non-Deductible Base/Amount and Full Base/Amount types are currently not taken into account in the VAT return Austria (Report 11110) in the Austrian version.
Cause-
The condition for Non-Deductible VAT amount was not added during the amount calculations
Solution-
Added condition for Non-Deductible VAT amount during the amount calculations.