adjusts validation for discount (purchase invoices) and budget (TA)