Implemented invoicesDelete
Proper cleanup of generated items