#11596 [Main]Customer Direct Debit Payment Slip – SEPA File Generation Fails and Credit Memo Is Processed Incorrectly When Invoice and Credit Memo Exist for the Same Customer in the French version.
Fixes SEPA Direct Debit export and customer payment slip posting in the French version when invoices and credit memos exist for the same customer. Credit memos are now correctly netted against invoices instead of being posted separately as refunds.
- 5files
- 3AL files
- 3objects
Pull request · merged into main (BC30) on 2026-11-03 by Shikhverma · 5 files (+262 -22), 3 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Corrected settlement amount calculation to properly subtract credit memos from invoices based on document type
- Fixed SEPA export validation to handle invoice and credit memo combinations under the same collection
- Ensured correct direct debit mandate and bank account retrieval for combined invoice and credit memo scenarios
- Added test cases for SEPA Direct Debit functionality and payment management with credit memos
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 10837 “Payment Management FR”, PaymentManagementFR (FR layer): modified
- Codeunit 10838 “PaymentMgt Subscribers FR”, PaymentManagementFR (FR layer): modified
- Report 10849 “Suggest Cust. Payments”, PaymentManagementFR (FR layer): modified
Also merged into
- #13609 into
releases/29.xon 2026-11-16
Context
- Work items: AB#644993
- Labels: Team: Finance
- Systems: finance
- From the description: “Fixed SEPA customer payment slip processing for credit memo scenarios by correcting posting document type and amount handling.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Create Payment Slips [FR] — possibly related: Covers creating payment slips and SEPA file generation for French localization, directly relevant to the SEPA Direct Debit Payment Slip bug… (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).