🔥 Just Launched! Werra Premium Template for HyväSee it in Action

How to Change PDF Invoice Logo in Magento 2

By Sanjay JethvaUpdated on May 22, 2025 3 min read

Earlier, I posted solutions to improve the default Magento 2 invoices:

1. How to Add Header and Footer to Magento 2 Invoice PDF

2. Override a Method of Abstract File of Magento 2 Invoice PDF

These were the programmatic methods to improve the default layout of the invoice pdf in Magento 2.

Today, I’ll give you a stepwise method to change PDF invoice logo in Magento 2 from the admin panel.

Using this method, you can advertise your brand using the logo in the pdf invoice and shipment.

Also, the default Magento 2 invoice can be monotonous. To stand out among the competitors and create your own identity in the niche, leave no stone unturned!

Steps to change PDF invoice logo in Magento 2:

Step 1: Log into Admin

First, log into your Magento 2 store’s admin panel.

Step 2: Go to Configuration > Sales

Navigate to Stores > Settings > Configuration and select Sales.

Step 3: Add Logo & Address

Expand the Invoice and Packing Slip Design and:

  • Upload the “Logo for PDF Print-outs
  • Upload the “Logo for HTML Print View
  • Enter the address to display it on the invoices and packing slips

and Save the configuration.

Steps-to-change-PDF-invoice-logo-in-Magento-2-1

That’s it.

After implementing the above steps, check the modified invoice:

custom-invoice

Also you can create barcode of invoice ID and add it to Magento 2 as it helps the customer to scan and get the order id using which it is easy to get order details.

You can also refer to the video tutorial to Change PDF Invoice Logo in Magento 2 from our Magento 2 video tutorial series:

I’d be happy to help.

Also, do not forget to share the post with the Magento community via social media.

Thank you.

Sanjay Jethva Full Image
Article bySanjay Jethva

Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe. His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.