Hi I am trying to add total paid and total due lines on my Magento PDF Invoice. I have added these lines in the config file in sales/etc/config.xml.
I tried in order pdf i am not getting those fields
can some one pls share knowledge about how it will work
Best Answer
After some debugging i have done this functionality by default core code pdf.xml file format the below fields having total PDF lines to display
and etc/pdf xml file having
same format i have create module in custom module added pdf.xml file
next created model file and extends with \Magento\Sales\Model\Order\Pdf\Total\DefaultTotal every pdf totals must extends with DefaultTotal class only
my model class
This way i was done adding total due and total paid in to download pdf