code change · fixIntegration & APIsofficial - Microsoftreviewed - checked by Opus

#9955 XRechnung – Invalid XML Generated When Invoice Discount Percentage Exceeds 2 Decimals

Fixed invalid XML generation in XRechnung when invoice discount percentage has more than 2 decimal places by reverting a previous regression.

Pull request · merged into main (BC30) on 2026-08-05 by dcenic · 2 files (+38 -26), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Corrects XML output for XRechnung e-invoices with discount percentages exceeding 2 decimals
  • Reverts a prior regression that caused invalid XML formatting
  • Includes updated test coverage for the corrected behavior
  • Affects German e-document integration module
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#645078
  • Labels: Team: Integrations
  • Systems: integration

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