Thank you for your reply. The error I get:
Fatal error: Call to undefined method DOMText::getAttribute() in wp-content\plugins\woocommerce-pdf-invoices-packing-slips\lib\dompdf\include\cellmap.cls.php on line 437
With ‘Output to HTML’ checkbox ticked, I can see the HTML invoice is indeed created.
Any idea what’s wrong?