-
Notifications
You must be signed in to change notification settings - Fork 51
Reading PDF Documents
HorstOeko edited this page Jan 3, 2025
·
5 revisions
- Nothing found
Important
This part of the documentation still needs to be revised, but it shows the possibilities.
Reading invoice data from a PDF is similar: you just need to use the ZugferdDocumentPdfReader
class instead of ZugferdDocumentReader
:
use horstoeko\zugferd\ZugferdDocumentPdfReader;
$document = ZugferdDocumentPdfReader::readAndGuessFromFile(dirname(__FILE__) . "/xml/factur-x.pdf");
The further reading of the invoice data is then identical with Reading XML documents