Hi, This is a standard error, and there are two ways to deal with it that you must communicate with the finance department.
1. Opening the posting period in General Ledger Setup makes Undo Shipment available to you. (Financial statements are subject to change.)

2. Invoice this month, then use the Cancel function to cancel the invoice. (An invoice and credit memo will be generated)

Hope this helps.
Thanks.
ZHU