support for raw html invoices