AbstractProfile
in package
implements
Profile
AbstractYes
Defaults shared by all profiles. Profiles override what differs.
Table of Contents
Interfaces
- Profile
- An e-invoice profile (CIUS or extension): which fields are allowed or mandatory, which identifier goes into BT-24 and which additional rules apply.
Methods
- afRelationship() : string|null
- AFRelationship of the embedded XML (Alternative or Data), null if the profile is XML only.
- defaultBusinessProcess() : string|null
- Business process identifier (BT-23) set by default, if any.
- embeddedFilename() : string|null
- File name of the embedded XML in a hybrid PDF, null if the profile is XML only.
- isEn16931Compliant() : bool
- Whether the profile produces an invoice compliant with EN 16931 (MINIMUM and BASIC WL do not).
- requiredBusinessTerms() : array<int, string>
- Additional business terms that are mandatory in this profile (on top of EN 16931).
- rules() : array<int, Rule>
- Additional validation rules of the profile.
- supportsStandard() : bool
- supportsSyntax() : bool
- Whether the profile is an XML-only CIUS that is not embedded into PDFs by default.
- syntaxes() : array<int, Syntax>
Methods
afRelationship()
AFRelationship of the embedded XML (Alternative or Data), null if the profile is XML only.
public
afRelationship() : string|null
Return values
string|nulldefaultBusinessProcess()
Business process identifier (BT-23) set by default, if any.
public
defaultBusinessProcess() : string|null
Return values
string|nullembeddedFilename()
File name of the embedded XML in a hybrid PDF, null if the profile is XML only.
public
embeddedFilename() : string|null
Return values
string|nullisEn16931Compliant()
Whether the profile produces an invoice compliant with EN 16931 (MINIMUM and BASIC WL do not).
public
isEn16931Compliant() : bool
Return values
boolrequiredBusinessTerms()
Additional business terms that are mandatory in this profile (on top of EN 16931).
public
requiredBusinessTerms() : array<int, string>
Return values
array<int, string>rules()
Additional validation rules of the profile.
public
rules() : array<int, Rule>
Return values
array<int, Rule>supportsStandard()
public
supportsStandard(StandardVersion $version) : bool
Parameters
- $version : StandardVersion
Return values
boolsupportsSyntax()
Whether the profile is an XML-only CIUS that is not embedded into PDFs by default.
public
supportsSyntax(Syntax $syntax) : bool
Parameters
- $syntax : Syntax
Return values
boolsyntaxes()
public
syntaxes() : array<int, Syntax>