# Why does the Audit Trail show deleted Invoices for users who do not have delete permissions?

KB457

### Overview

If you are looking at your Audit trail report, you may notice some “delete” entries for Sales invoices from users who do not possess the Permissions required to delete Invoices.

This can be quite concerning, especially if you don’t know what the Invoice represented or why it was deleted. Thankfully, this does not mean that a user has found a work-around to their permissions, and instead represents a harmless system process.

### Reason

When a Receipt is created but not fully allocated to Invoices, Accentis will automatically create an over-allocation credit Invoice to represent the excess. However, this Invoice is intrinsically linked to the Receipt – if that over-allocation no longer exists, that Invoice must also no longer exist.

Therefore, if a user edits a Receipt that is linked to an over-allocation credit Invoice, Accentis will delete the existing credit Invoice, and create a new one to represent any remaining over-allocation amount. This means that while the user may not be permitted to delete Invoices, and while it was technically a fail-safe delete from Accentis itself, the delete occurred due to an action by that user, and so it will appear as an “Invoice delete” by that user in the Audit trail.

### Did you find this article helpful?

If this article is missing information, ambiguous, or didn’t give you clear instructions, let us know and we will make it better! Please email us and quote the KB# in the top left of this article to let us know why it didn’t help you out and we will point you in the direction of additional information.

Last edit 19/03/24