From the GP teams comes help with troubleshooting SOP invoices in Work and History.
Symptoms
1) Error “This document has been removed from history”
2) Sop Invoice will not allow you to void it
3) Invoice will not post; invoice batch keeps going to batch recovery
What shoul…
— Read on community.dynamics.com/gp/b/dynamicsgp/posts/troubleshooting-sop-invoices-that-are-in-both-work-and-history