The bankrupt commits an offence if, in incurring any debt or liability, he or she obtains credit under false pretences or by means of any other fraud, and is liable on conviction on indictment to imprisonment for one year.