King's lawyer, Kathryn Penrose, said King had tried to find work while he was on the benefit and his offending was not in the most serious range.
Judge Grant Fraser said King had simply been hoping he wouldn't get caught.
"Fraud like this is easy to commit and you need to understand that your offending involved offending against all taxpayers who work hard to pay tax.
"People who defraud the system effectively offend against every honest taxpayer."
The Ministry of Business, Innovation and Employment has confirmed that it is investigating claims that King was managing a business, Tern Anchors, without the consent of the Official Assignee. It is understood the Official Assignee plans to object to King's automatic discharge from bankruptcy next month.
King had denied that he was operating as the manager of Tern. "I'm not a manager, I'm an employee. I have a contract as a salesperson, the company is owned and run by the directors. I have no access to any financials whatsoever."
The company's directors did not want to comment.
Judge Fraser sentenced King to 200 hours' community work.
The ministry said he was facing the consequences of lying and would have to pay back the $6,812 that he stole.