As long we are talking about small amounts i don't think it's a problem....
if you have big amounts to convert i think you consult a accountant.
Why would you do that? The government has no involvement whatsoever in the transaction. Everything is purely digital and you earned your money on yourself. Not like you set up an office and the government allowed you to do business or something.