Skip to content

API reference / Quittio \ Core \ Pdf

EmbeddedXml

final readonly class in quittio/core

Quittio\Core\Pdf\EmbeddedXml · Source

Invoice XML to be embedded into a PDF/A-3 (ZUGFeRD/Factur-X, XRechnung in PDF).

Properties#

PropertyTypeDescription
$conformanceLevel readonly?string
$content readonlystring
$description readonlystring
$documentType readonlystring
$filename readonlystring
$relationship readonlystring
$version readonlystring

Methods#

MethodDescription
->__construct()

__construct()#

public function __construct(
    string $content,
    string $filename = 'factur-x.xml',
    string $relationship = 'Alternative',
    ?string $conformanceLevel = 'EN 16931',
    string $description = 'Factur-X/ZUGFeRD Invoice',
    string $documentType = 'INVOICE',
    string $version = '1.0',
)
ParameterTypeDescription
$contentstring
$filenamestring = 'factur-x.xml'
$relationshipstring = 'Alternative'
$conformanceLevel?string = 'EN 16931'
$descriptionstring = 'Factur-X/ZUGFeRD Invoice'
$documentTypestring = 'INVOICE'
$versionstring = '1.0'

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