Sentence:  Outside salesmen deduct all expenses attributable to <WSD>earning</WSD> a salary , commission , or other compensation . 
Meaning of the word marked with <WSD> tags:  earn on some commercial or business transaction; earn as salary or wages