Zum Inhalt springen

API reference / Quittio \ Core \ Validation \ Rules

FieldMatrixRule

final class in quittio/core · implements Rule

Quittio\Core\Validation\Rules\FieldMatrixRule · Source

Mandatory and allowed fields of the selected profile (level L2), derived from the mapping attributes of the data model and the profile's additional requirements.

Constants#

ConstantValueDescription
CODES['QUITTIO-PROFILE-REQUIRED', 'QUITTIO-PROFILE-NOT-ALLOWED', 'QUITTIO-PROFILE-EXTENDED-ONLY', 'QUITTIO-PROFILE-XRECHNUNG-EXTENSION-ONLY', 'QUITTIO-PROFILE-SUBLIN …The codes of the findings this rule reports.

Methods#

MethodDescription
->check()
->code()
->level()

check()#

public function check(InvoiceData $invoice, ValidationContext $context): iterable
ParameterTypeDescription
$invoiceInvoiceData
$contextValidationContext
Returns
iterable

code()#

public function code(): string
Returns
string

level()#

public function level(): ValidationLevel
Returns
ValidationLevel

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