code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#13482 [Master][all-e]Purchase Invoice Statistics Non-Deductible VAT Amount does not match VAT Entries and G/L Entries when Non-Deductible VAT is enabled.

Fixed a discrepancy where purchase invoice statistics showed different non-deductible VAT amounts than VAT entries and G/L entries by preserving document-allocated VAT amounts for manual entries and restricting recalculation to automatic journal VAT entries.

Pull request · merged into main (BC30) on 2026-11-09 by sanjmaurya · 3 files (+148 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Purchase invoice statistics now correctly matches VAT entries and G/L entries when non-deductible VAT is enabled
  • Non-deductible VAT allocations from document posting are preserved for manual VAT entries
  • Recalculation of non-deductible VAT is restricted to automatic journal entries only
  • Resolves rounding differences caused by line splitting and dimension changes
  • Regression tests added for purchase invoices, credit memos, and various VAT scenarios
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#657371
  • Labels: Team: Finance
  • Systems: finance
  • From the description: “Purchase Invoice Statistics Non-Deductible VAT Amount does not match VAT Entries and G/L Entries when Non-Deductible VAT is enabled.”

No source states these links: they share an object, a model read them, or a person found the same subject.

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).