API reference / Quittio \ Country \ DE \ Rules
XRechnungRules
final class in quittio/country-de
Quittio\Country\DE\Rules\XRechnungRules · Source
Business rules of the CIUS XRechnung 3.0 (BR-DE-…), its extension (BR-DEX-…) and XRechnung CVD (BR-DE-CVD-…), checked on the data model.
Severity follows the flags of the official Schematron: "muss" rules (fatal) are errors, "soll" rules (warning) warnings and BR-DE-TMP-32 (information) an info. The official validation (KoSIT validator) remains authoritative.
Methods#
| Method | Description |
|---|---|
::all() | |
::hasServiceDate() | Delivery date, invoicing period or a line period on every line. |
all()#
public static function all(): list<Rule>- Returns
list<Rule>
hasServiceDate()#
public static function hasServiceDate(InvoiceData $invoice): boolDelivery date, invoicing period or a line period on every line.
| Parameter | Type | Description |
|---|---|---|
$invoice | InvoiceData |
- Returns
bool