code change · fixFinanceofficial - Microsoftreviewed - checked by Opus

#13805 [29.x][all-e]Purchase Invoice Statistics Non-Deductible VAT Amount does not match VAT Entries and G/L Entries when Non-Deductible VAT is enabled. - CopyInitial commit

Fixed a mismatch between the Non-Deductible VAT Amount in Purchase Invoice Statistics and the VAT and G/L entries created on posting. Purchase posting now keeps the document's allocated non-deductible VAT amounts for its VAT entries, and recalculation is limited to automatic journal VAT entries.

Pull request · merged into releases/29.x (BC29) on 2026-11-10 by sanjmaurya · 3 files (+148 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Manual VAT entries created by purchase posting now keep the document’s allocated non-deductible VAT, including rounding remainders
  • Recalculation is limited to automatic journal VAT entries, so existing journal behavior is kept
  • Splitting posting lines by dimensions or descriptions no longer changes the non-deductible VAT total
  • Credit memos already skipped this recalculation
  • Regression tests cover invoices, prices including VAT, credit memos and automatic journal calculations
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#658351
  • Labels: Team: Finance
  • Systems: finance
  • From the description: “Preserve the document’s allocated non-deductible VAT amounts for manual VAT entries generated by purchase posting.”

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).