When entering an Expense, have a field for an invoice number and then have TS recognize when a duplicate invoice number has been entered.