A woman accused of stealing almost $163,000 from her boss was kept on staff after he uncovered the thefts but threatened to "ruin his reputation" when he reminded her about repaying it, a Perth court has heard.

A woman accused of stealing almost $163,000 from her boss was kept on staff after he uncovered the thefts but threatened to "ruin his reputation" when he reminded her about repaying it, a Perth court has heard.