"Financially and psychologically she was struggling and stressed."
Ms Pearson submitted community detention was a suitable sentence for her client so she could continue working and looking after her five children.
Ministry prosecutor Anitesh Govind submitted an appropriate sentence was imprisonment but home detention was suitable. He was seeking reparation for the full amount defrauded by Martin.
Judge Hastings said reparation needed to be "realistic" and it would take 109 years for Martin to pay back the total amount at $10 weekly.
He said the duration of the offending was an aggravating feature.
"When you were spoken to you said you did not want to lose your benefit ... this type of offending is manifestly easy to do. It can continue for long periods before being detected, increasing the community's losses."
There was an element of trust between the ministry and clients, which was reliant on "honesty and trust" and Martin had abused that trust, Judge Hastings said.
"This was not a victimless crime ... you violated that trust. You made every taxpayer in New Zealand a victim. They then have to pay more money into the system so deserving beneficiaries can be paid, as a result of your offending "
Martin was sentenced to five months' home detention, ordered to complete 250 hours' community work and pay reparation of $20,000 at $10 per week. Judge Hastings said the ministry could take civil action to recover the rest of the money.
"This was not passive offending. It was habitual and repetitive offending for financial gain at the community's expense committed over an extended period of time. This went on for years," the judge said.