I can see a sales invoice in the History but not in the Customer account or the Sales Invoices database

I have created this linked idea to help improve traceability of History.