Most accounting textbooks will teach that unearned revenue is a credit. This is because when revenue is earned, it is recorded as a credit. And, expenses are recorded as debits. So, when revenue is unearned, it is still a credit, but it is not yet earned.