Actual behavior: link points to https://foo.bar/invoices/3 [where 3 is the invoice number without any padding, and invoice pattern is set to {$year}-{$counter} ]
I have been plugging away all night trying to get this functional, but I’m stuck as to why it is not linking to the invoice view correctly.
I spoke too soon. The email appears in my webmail client on a desktop system differently than it does on my mobile email client.
The desktop client shows the full/correct view url in as a text link.
The android gmail app’s email appears as a blue “view invoice” button which links as described in the original post.