Skip to content

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#

MethodDescription
::all()
::hasServiceDate()Delivery date, invoicing period or a line period on every line.

all()#

public static function all(): list<Rule>

static

Returns
list<Rule>

hasServiceDate()#

public static function hasServiceDate(InvoiceData $invoice): bool

static

Delivery date, invoicing period or a line period on every line.

ParameterTypeDescription
$invoiceInvoiceData
Returns
bool

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