Skip to content

API reference / Quittio \ Core \ Reading

ExtractedXml

final readonly class in quittio/core

Quittio\Core\Reading\ExtractedXml · Source

The invoice XML found in a hybrid PDF, with the file specification it came from.

Properties#

PropertyTypeDescription
$filename readonlystring
$findings readonlylist<ValidationMessage>observations of the extractor (e.g. several candidates)
$relationship readonlystring|null/AFRelationship of the file specification (e.g. "Alternative", "Data")
$xml readonlystring

Methods#

MethodDescription
->__construct()

__construct()#

public function __construct(
    string $filename,
    string $xml,
    string|null $relationship = null,
    list<ValidationMessage> $findings = [],
)
ParameterTypeDescription
$filenamestring
$xmlstring
$relationshipstring|null = null/AFRelationship of the file specification (e.g. "Alternative", "Data")
$findingslist<ValidationMessage> = []observations of the extractor (e.g. several candidates)

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.