Zum Inhalt springen

API reference / Quittio \ Core \ Reading

ReadResult

final readonly class in quittio/core

Quittio\Core\Reading\ReadResult · Source

Result of reading an e-invoice: the parsed data, the totals declared in the document (kept unchanged for comparison), findings and the raw input.

Properties#

PropertyTypeDescription
$data readonlyInvoiceData
$declaredTotals readonly?Totals
$declaredVatBreakdown readonlylist<VatBreakdown>
$embeddedFilename readonly?string
$findings readonlylist<ValidationMessage>
$profile readonly?string
$raw readonly?string
$specificationId readonly?string
$syntax readonlystring
$xml readonlystring

Methods#

MethodDescription
->__construct()
->hasFindings()

__construct()#

public function __construct(
    InvoiceData $data,
    string $syntax,
    ?string $specificationId,
    ?string $profile,
    ?Totals $declaredTotals,
    list<VatBreakdown> $declaredVatBreakdown,
    list<ValidationMessage> $findings,
    string $xml,
    ?string $raw = null,
    ?string $embeddedFilename = null,
)
ParameterTypeDescription
$dataInvoiceData
$syntaxstring
$specificationId?string
$profile?string
$declaredTotals?Totals
$declaredVatBreakdownlist<VatBreakdown>
$findingslist<ValidationMessage>
$xmlstring
$raw?string = null
$embeddedFilename?string = null

hasFindings()#

public function hasFindings(): bool
Returns
bool

Die Open-Core-Pakete stehen unter der MIT-Lizenz. Die rechtlichen Formulierungen der Länderpakete sind mit einer Steuerberatung abzustimmen.