fixed appvwork issues and removed debug code
key_commit: Finished work on preventing the re-invoice from creating duplicate tax inquiry lines