Profit of home sale split between two years
I inherited my parents' home in 2021. The buyer split the payment for the home into two payments. We signed the contract in December 2022 when the buyer paid a large sum as a form of deposit, but we don't officially close until this year 2023. How is this calculated for taxes?