EmbeddedXmlExtractor
in
Extracts the embedded invoice XML from a hybrid PDF (ZUGFeRD/Factur-X, XRechnung in PDF).
Table of Contents
Methods
- extract() : array{0: string, 1: string}|null
Methods
extract()
public
extract(string $pdf) : array{0: string, 1: string}|null
Parameters
- $pdf : string
Return values
array{0: string, 1: string}|null —file name and XML content, or null if none is embedded