Invoice Date in Accounting Integration Settings is by default set to the Posting Date which is the date the ship doc's status was changed to Shipped. If you want to use the Ship Doc Date instead, check - Use Ship Doc's Date as Invoice Date (by default Ship Doc's Posting Date is used.)