Adding an order number on your invoice template is just a breeze. I've got the steps that you need to accomplish this goal.
You can add a custom field on your invoice template so you can enter the order number for your customer's reference. Know that this option is only available to the QuickBooks Online Essentials or Plus versions.
To do that:
Click on the Gear icon.
Tap on Custom form styles under Your Company.
Choose the template that you want to Edit or select on Invoice under New style if you want to start a new one.
Refer to the Content tab and click on the header portion of the sample template.
Under the Display column, click on Custom field.
Put a check mark to one of the custom field and enter OrderNumber.
Press on Done.
I've attached a sample snip on what your invoice should look like after the customization: