The Australian teenager convicted of a drug charge in Indonesia is due to arrive back in Australia later this morning.

On Sunday the 14-year-old left the immigration detention centre where he has been held for most of the past two months.

Before he could be officially released to the immigration officials, he had to complete paperwork at the Kerobokan Prison where Schapelle Corby and the Bali Nine have been held.

He was then sent to the Immigration Office at Denpasar's international airport.

He is due to arrive at Sydney Airport just before 11:00am AEDT.

The teenager was arrested in Bali's Kuta district in early October for marijuana possession.

He was charged under an article of Indonesian law that carries up to two years in jail.

Prosecutors had requested he be sentenced for three months behind bars, but Justice Amer Simanjuntak gave the boy two months instead.

And had the Indonesian justice minister not intervened, the boy would have spent most of his sentence in Kerobokan prison.

The boy's lawyer, Muhammad Rifan, says his client is happy to be heading back to Australia.