In Magento Backend, when looking at an invoice details, it is possible to get a pdf version in clicking the "print" button.
Is there a way to get this pdf invoice using a php script?
invoicepdfPHP
In Magento Backend, when looking at an invoice details, it is possible to get a pdf version in clicking the "print" button.
Is there a way to get this pdf invoice using a php script?
Best Answer
You can use:
where
$invoice
is the invoice object.