I need to add custom text below the Invoice No and before the Order No. I have tried with modifying insertDocumentNumber() method in vendor/magento/module-sales/Model/Order/Pdf/AbstractPdf.php
. I have printed it but it is overlapping on the Invoice No label. Any help will be appreciated.
Magento 2.1 Invoice PDF – How to Add Custom Text in Invoice PDF Header
magento-2.1
Best Answer
You need to edit just below three line in AbstractPdf.php
Replace line 391
Instead of
Replace line 397
instead of
Additional add after line no 621