I'm glad to connect to, @MCL202223. I'm here to provide details on the invoicing process and help you manage them inside QuickBooks Online (QBO).
Since QBO keeps track of all the transactions entered, know that the option to void an invoice automatically isn't available inside the program. Therefore, you must manually void the transaction to zero out the invoice amount. Now, if you want to set restrictions to prevent entering transactions beyond that specific date, you'll want to close your books. For more details, please see this page: Close your books in QuickBooks Online.
Additionally, here are some articles to help you create personalize sales forms and keep track of what you entered inside QBO:
Count me in if you have other questions about invoices inside QuickBooks or need assistance performing specific tasks inside the program. I'll be here willing to extend a helping hand. Keep safe.