When setting up a new standard invoice, the due date is calculated from the 

invoice date by the terms set up in the vendor master file.

 

The due date can be overwritten in the standard invoice entry screen and 

once saved, this date spread from the invoice date to the due date is what 

will be used when the standard invoices are generated.