It's possible that the invoice template created was not set as a default. That's why it looks different from the onscreen invoice. Let's go to Custom Form Style and set it as default from there.
In your QuickBooks Online, click the Gear icon and select Custom Form Style.
In the Customer form styles list, find the created invoice template.