Zum Inhalt springen

API reference / Quittio \ Country \ DE \ Profiles \ XRechnung

XRechnung30Cvd

final class in quittio/country-de · extends XRechnung30 · implements ExtendsCodeLists

Quittio\Country\DE\Profiles\XRechnung\XRechnung30Cvd · Source

XRechnung CVD 0.9: XRechnung 3.0 for the procurement of road vehicles under the Clean Vehicles Directive (EU) 2019/1161. It requires the contract (BT-12) and tender or lot reference (BT-17) and at least one line that states the vehicle category as item classification (BT-158, scheme CVD) and the vehicle type as item attribute "cva" (BT-160, BT-161), see BR-DE-CVD-01 to 06-b. Choose it explicitly with ->profile('xrechnung-cvd'); the automatic format choice never does.

Constants#

ConstantValueDescription
ATTRIBUTE'cva'Name (BT-160) of the item attribute with the vehicle type.
ATTRIBUTE_VALUES['clean', 'zero-emission', 'other']Values (BT-161) of the item attribute cva (BR-DE-CVD-05).
CLASSIFICATION_SCHEME'CVD'Scheme identifier (BT-158-1) of the vehicle category.
SPECIFICATION_ID'urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#compliant#urn:xeinkauf.de:kosit:xrechnung:cvd_0.9'
VEHICLE_CATEGORIES['M1', 'M2', 'M3', 'N1', 'N2', 'N3']Vehicle categories M1 to N3 (BR-DE-CVD-04).

Methods#

MethodDescription
->additionalCodes()The scheme CVD of the item classification (BR-TMP-CVD-01: UNTDID 7143 plus CVD).
->afRelationship()
->defaultBusinessProcess()
->embeddedFilename()
->isEn16931Compliant()
->key()
->level()
->name()
->requiredBusinessTerms()
->rules()
->specificationId()
->supportsStandard()
->supportsSyntax()Whether the profile is an XML-only CIUS that is not embedded into PDFs by default.
->syntaxes()
->xmpConformanceLevel()
->xmpDescription()
->xmpVersion()The XRechnung version as fx:Version, as ZUGFeRD 2.x prescribes for the level XRECHNUNG.

additionalCodes()#

public function additionalCodes(string $codeList): array

The scheme CVD of the item classification (BR-TMP-CVD-01: UNTDID 7143 plus CVD).

ParameterTypeDescription
$codeListstring
Returns
array

afRelationship()#

public function afRelationship(): ?string

inherited from XRechnung30

Returns
?string

defaultBusinessProcess()#

public function defaultBusinessProcess(): ?string

inherited from XRechnung30

Returns
?string

embeddedFilename()#

public function embeddedFilename(): ?string

inherited from XRechnung30

Returns
?string

isEn16931Compliant()#

public function isEn16931Compliant(): bool

inherited from XRechnung30

Returns
bool

key()#

public function key(): string
Returns
string

level()#

public function level(): ProfileLevel

inherited from XRechnung30

Returns
ProfileLevel

name()#

public function name(): string
Returns
string

requiredBusinessTerms()#

public function requiredBusinessTerms(): array

inherited from XRechnung30

Returns
array

rules()#

public function rules(): array

inherited from XRechnung30

Returns
array

specificationId()#

public function specificationId(
    StandardVersion $version = \Quittio\Core\Standards\StandardVersion::En16931_2017,
): string
ParameterTypeDescription
$versionStandardVersion = \Quittio\Core\Standards\StandardVersion::En16931_2017
Returns
string

supportsStandard()#

public function supportsStandard(StandardVersion $version): bool

inherited from XRechnung30

ParameterTypeDescription
$versionStandardVersion
Returns
bool

supportsSyntax()#

public function supportsSyntax(Syntax $syntax): bool

inherited from XRechnung30

Whether the profile is an XML-only CIUS that is not embedded into PDFs by default.

ParameterTypeDescription
$syntaxSyntax
Returns
bool

syntaxes()#

public function syntaxes(): array

inherited from XRechnung30

Returns
array

xmpConformanceLevel()#

public function xmpConformanceLevel(): ?string

inherited from XRechnung30

Returns
?string

xmpDescription()#

public function xmpDescription(): string

inherited from XRechnung30

Returns
string

xmpVersion()#

public function xmpVersion(): string

inherited from XRechnung30

The XRechnung version as fx:Version, as ZUGFeRD 2.x prescribes for the level XRECHNUNG.

Returns
string

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