domain_id filter, trim trailing spaces in Invoice note field