free
web stats

Fill the form & Get Installation Support

We don't monkey around your business.

GET IN TOUCH WITH US NOW





Magento 2: Add VAT and Company Number in footer of invoice and shipment PDF

In this article, I will guide you on, how to add VAT and Company Number in invoice and shipment PDF in Magento 2?

Follow the below steps:

You need to override two models in custom extension.

I assume you know about how to override model.

Step 1

Create di.xml file in your module’s etc folder and put below code in it

Step 2

Create new model file Pdfinvoice.php in your Model/Order folder and put below code in it.

Step 3

Create another new model file Pdfshipment.php in your Model/Order folder and put below code in it.