Instead of only able to select a specific due date for the sales and invoice, we have built a feature that allows you to select different variations of dates of a month.
Go to Company Settings > General Setup > Payment Term > choose a payment term and click edit > select a suitable option for your payment term > Save
X day(s) after a certain day
Date of a month
Last date of a month