“The concerned foreign national is suspected to have done business by selling her e-book and putting up consultation fees on traveling to Bali, which means she can be subject to sanctions according to the 2011 Immigration Law,” the statement also said, explaining that those actions mean Gray has violated the purpose of her stay permit.
It also says what you wrote, but that's not the official reason for kicking her (of course, it may be why they investigate her in first place and the reason for prosecution, that's open for interpretation but I don't know the details)