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

#11023 BE's PEPPOL "escompte" compensation

Belgian PEPPOL invoices and credit memos keep the payment discount AllowanceCharge so VAT uses the discounted base. They add a compensating AllowanceCharge, an extra TaxSubtotal and ChargeTotalAmount so totals show the full amount as BE practice requires. Analogous changes were made in BaseApp and a test app was added.

Pull request · merged into main (BC30) on 2026-09-10 by mynjj · 13 files (+663 -32), 11 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • New PeppolBE codeunits for escompte, monetary info and payment info
  • Discount AllowanceCharge kept; an additional compensating charge restores the displayed totals
  • PEPPOL Tax Info Provider interface and PEPPOL30 xmlports extended to support the compensation
  • Analogous changes in the deprecated BaseApp PEPPOL Management code
  • Test app.json added for PeppolBE tests, which were expanded
  • Behaviour changes for users or extensions.

AL objects touched

Also merged into

  • #11038 into releases/29.x on 2026-09-11

Context

  • Work items: AB#648845
  • Labels: AL: Apps (W1), Team: Finance
  • Systems: integration, sales

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

  • Use e-documents in sales — possibly related: Documents e-documents and PEPPOL format for sales invoices and credit memos (model-linked)

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