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#
| Constant | Value | Description |
|---|---|---|
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#
| Method | Description |
|---|---|
->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): arrayThe scheme CVD of the item classification (BR-TMP-CVD-01: UNTDID 7143 plus CVD).
| Parameter | Type | Description |
|---|---|---|
$codeList | string |
- Returns
array
afRelationship()#
public function afRelationship(): ?string- Returns
?string
defaultBusinessProcess()#
public function defaultBusinessProcess(): ?string- Returns
?string
embeddedFilename()#
public function embeddedFilename(): ?string- Returns
?string
isEn16931Compliant()#
public function isEn16931Compliant(): bool- Returns
bool
key()#
public function key(): string- Returns
string
level()#
public function level(): ProfileLevel- Returns
ProfileLevel
name()#
public function name(): string- Returns
string
requiredBusinessTerms()#
public function requiredBusinessTerms(): array- Returns
array
rules()#
public function rules(): array- Returns
array
specificationId()#
public function specificationId(
StandardVersion $version = \Quittio\Core\Standards\StandardVersion::En16931_2017,
): string| Parameter | Type | Description |
|---|---|---|
$version | StandardVersion = \Quittio\Core\Standards\StandardVersion::En16931_2017 |
- Returns
string
supportsStandard()#
public function supportsStandard(StandardVersion $version): bool| Parameter | Type | Description |
|---|---|---|
$version | StandardVersion |
- Returns
bool
supportsSyntax()#
public function supportsSyntax(Syntax $syntax): boolWhether the profile is an XML-only CIUS that is not embedded into PDFs by default.
| Parameter | Type | Description |
|---|---|---|
$syntax | Syntax |
- Returns
bool
syntaxes()#
public function syntaxes(): array- Returns
array
xmpConformanceLevel()#
public function xmpConformanceLevel(): ?string- Returns
?string
xmpDescription()#
public function xmpDescription(): string- Returns
string
xmpVersion()#
public function xmpVersion(): stringThe XRechnung version as fx:Version, as ZUGFeRD 2.x prescribes for the level XRECHNUNG.
- Returns
string