The phrase you're looking for is "installment sale". They're discussed in IRS Pub 537 at
https://www.irs.gov/publications/p537.
Depreciation recapture is recaptured in the year of sale. See
https://www.irs.gov/publications/p537#en_US_2023_publink1000221670.
Capital gains are prorated based on when the payments are received (so spread out over the 12 years in your example).
Yes, interest is reported in the year received (so spread out over the 12 years in your example).
For capital gains vs. interest, they should probably run an amortization schedule so they can properly allocate the payments between the two.
As cash basis tax payers, they need to report based on when the payments are actually received. So if the buyer makes the December payment in January, they should adjust for that appropriately.