Hi everyone,
we found a recurrent error in the due date calculation when the invoice date is the 31st of the month.
The term of payment specified for the order is the following:

As you can see from the image below, the due date was not calculated at the end of the month in two cases:

They both have document date 31st of the month. Is this a bug?
Thank you
Camilla