Welcome aboard to the Community. Let me help you add invoice numbers in QuickBooks Online.
You can configure your settings to view and change your transaction numbers in the system. Once you enable the option, it'll add a separate field for you to input the invoice number.
Please follow the detailed steps below:
Click the Gear icon in the upper-right corner.
Select Account and Settings.
Go to Sales.
Below Sales form content, enable Custom transaction numbers.
Press Save, then hit Done.
For additional reference, you can use the following articles to learn more about invoices, like how to enter them and make payments in QuickBooks: