If create the document date incorrect and no post the shipment/received yet.

Click the calendar icon or update correct document date directly. 

Please note, system will base on document date to calculate the invoice due date.