Notifications
Announcements
No record found.
We have a scenario where a prepayment invoice of 1000 has been created, and the customer has paid 200 against it. Later, the customer places a new order worth 800. In this case, we add a new line on the sales order and remove the prepayment percentage from the original line (for which the previous prepayment invoice was created and partially paid).
To modify the original line, we generate a credit memo. At this point, I want the credit memo to be automatically applied to the original invoice. After the application, the invoice balance should become 0.00, and the credit memo should retain a balance of 200.
Currently, I am applying the credit memo manually to the invoice. I would like to know if there is a setting or toggle in Business Central that can automate this process.
Hi Peter, BC doesn't natively auto-apply credit memos to prepayment invoices, even when tied to the same sales order, because the ledger link isn't enforced at that level. That leaves manual application as the default workflow.
If you're looking to customize this, here are a few implementation paths:
OnAfterPostSalesCreditMemo
Codeunit 12 (Gen. Jnl.-Post Line)
ApplyCustLedgEntry
Microsoft hasn’t introduced this into core yet, but you can echo the need via the Ideas portal: Ideas
Helpful References: Credit memos and cancellation – Microsoft Learn Setting up and invoicing sales prepayments – D365 Training Apply credit memos to invoices – iSolutions Prepayment of Sales Orders – UseDynamics Applying posted credit memos – Kristen Hosman If you find this helpful, feel free to mark this as the suggested or verified answer. Cheers Jeffrey
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 3,229
Jainam M. Kothari 1,867 Super User 2025 Season 2
YUN ZHU 1,153 Super User 2025 Season 2