Skip to content

API reference / Quittio \ Core \ Validation \ Drivers

KositReportParser

final class in quittio/core

Quittio\Core\Validation\Drivers\KositReportParser · Source

Converts a KoSIT validator report (VARL) into validation messages.

Constants#

ConstantValueDescription
NS_REPORT'http://www.xoev.de/de/validator/varl/1'
NS_SCENARIOS'http://www.xoev.de/de/validator/framework/1/scenarios'

Methods#

MethodDescription
->parse()

parse()#

public function parse(
    string $report,
): array{accepted: bool, scenario: ?string, messages: list<ValidationMessage>}
ParameterTypeDescription
$reportstring
Returns
array{accepted: bool, scenario: ?string, messages: list<ValidationMessage>}

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