Payment Term configuration

31/10/2023 + 2 Months = 31/12/2023

Then you said you want to make the payment on day 20 of the month, so 20/12/2023.

Probably what you want is what is explained here: Fixed day payment terms - #25 by pokoli

Hope it helps!