web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Help understanding an error when Posting a Sales Credit Memo

(6) ShareShare
ReportReport
Posted on by 68
I was walking through steps to reverse a posted sales invoice in our sandbox and one of the methods I used was creating a Sales Credit Memo by using the Get Posted Document Lines to Reverse action.  The invoice I chose was fully paid, the get lines dialog let me select all the lines from the invoice, but when I post it I get the following error
 
There is no Cust. Ledger Entry within the filter. Filters: Customer No.: VER, Document Type: Invoice, Document No.: XXXXXXX, Open: Yes
 
If I take the similar action with a fully paid purchase invoice I don't encounter a similar error.
 
What Criteria does the original document have to meet for the Copy Document/Get Posted Document Lines to Reverse actions?  When is it better to use one over the other? Why is the behavior different between Posted Purchase & Sales Invoices in similar states?
I have the same question (0)
  • Verified answer
    Andrés Arias Profile Picture
    5,168 Super User 2026 Season 1 on at
    Hello,

    When you use the option to Get Posted Document Lines to reverse, Business Central tries to apply automatically against the Invoice. As the Invoice is already paid, it gives the error.
     
    In that case, you could register the credit note without settling the Invoice. Check that the fields are not complete.

     
    I hope you can help.
     
    Regards,
     
    Andres
  • Verified answer
    Sohail Ahmed Profile Picture
    11,173 Super User 2026 Season 1 on at
    You're encountering this error because when you use "Get Posted Document Lines to Reverse" on a fully paid sales invoice, Business Central attempts to automatically apply the credit memo to the original invoice — but it only applies to open entries. Since the invoice is fully paid (i.e., not open), there's no open Cust. Ledger Entry for BC to apply the credit against, hence the error:
     
    > "There is no Cust. Ledger Entry within the filter..."
     
     
     
    ✔️ How to handle this:
     
    To reverse a fully paid invoice, you can still post the Sales Credit Memo, but make sure not to apply it during posting:
     
    Open the Sales Credit Memo.
     
    On the header, uncheck or leave empty the "Applies-to Doc. Type" and "Applies-to Doc. No." fields (in the "Invoicing" FastTab).
     
    Post the credit memo without applying.
     
    If needed, manually apply it later (or leave it unapplied depending on your finance process).
     
     
    🔄 Difference from Purchase Side:
     
    On the purchase side, the application behavior works slightly differently — it doesn't throw an error the same way when reversing paid invoices. That's partly due to how vendor ledger entries are handled and the more flexible posting behavior of purchase credits.
     
     
    ---
     
    ✅ Summary:
     
    Use "Get Posted Document Lines to Reverse" only if:
     
    The original document is still open (not fully paid).
     
    You intend to automatically apply the credit to that document.
     
     
    For fully paid documents, use the same feature, but make sure no application happens during posting.
     
    ✅ Mark this answer as verified if it helps you.
     
     
  • Verified answer
    Jainam M. Kothari Profile Picture
    15,960 Super User 2026 Season 1 on at
    Hello,
     
    In Dynamics 365 Business Central, when reversing a fully paid sales invoice using the Get Posted Document Lines to Reverse action, the system throws an error because it tries to apply the credit memo to an already closed customer ledger entry—unlike purchase invoices, which don’t enforce this automatic application.
     
    To avoid this, use the Copy Document method for more flexibility, especially with fully paid invoices, as it doesn’t require open ledger entries.
     
    Use Get Posted Document Lines to Reverse when the original document is still open and you want automatic application of specific lines.

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,012 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 986 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 659 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans