Commission received in advance is unearned income. Unearned income is defined as income not due but recieved. Till the time, it accrue, this will be shown as liability in the balance sheet.