Short term rental prepaid for stay in following year when do you pickup rent?

If a short term guests prepays rent for a short term rental/ stay the following year when do pickup rent? Is the payment considered a deposit or rent received? Can you point me to any IRS guidance on this?