This function extracts all files from a PDF/A3 ZUGFeRD container a and places them in directory b. This is especially useful if the container contains other files in addition to the embedded XML.
Returns the number of extracted files or -1 if an error occurred.
Parameters
Parameter | Description |
|---|---|
a | The path and name of the PDF/A3 ZUGFeRD container. |
b | The path of the directory in which to extract. |
c | (optional) If true, the XML invoice file is not extracted into b. Default: false. |