Example for embedding images into invoices
Explore the example of embedding images into invoice templates and outlines important considerations and limitations.
The following merge field example will return an image in the invoice PDF or Word file.
Example invoice template:
Returned example invoice file:
Considerations
When you embed images in addition to barcodes into invoice templates, pay attention to the following limitations.
-
A maximum of two images can be embedded into each template.
-
The maximum size of each image to be embedded cannot exceed 2 MB. If an oversized image is embedded into an invoice template, no PDF or Word files are generated.
-
Unstable network conditions might cause a timeout when fetching external images. In this situation, no PDF or Word files are generated.
-
If the URL of the external image to be embedded is invalid, no PDF or Word files are generated.