The Court of Appeals in southern Sweden said the 46-year-old woman had been sentenced to prison for aggravated fraud and produced a medical certificate saying she was dying of cancer in an attempt to get out of the sentence, The Local.se and the Swedish news agency TT reported Monday.
The certificate was accepted by the Swedish Prison and Probation Service, but the ruse was discovered by the Social Insurance Agency.
Doctors said the certificate was not very convincing.
"You don't write that someone has three- to six months to live and you don't use the words 'sick with cancer,'" a doctor told the Metro newspaper.
The woman told the court she made the fake certificate because she was worried about prison life.
"I've never been to prison before and I didn't know what I had in store for me there," the woman said.
The court added two months to the woman's sentence for the forgery charge.
2014: The Year in Music [PHOTOS]