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.