Quittio 0.3 API

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|null

defaultBusinessProcess()

Business process identifier (BT-23) set by default, if any.

public defaultBusinessProcess() : string|null
Return values
string|null

embeddedFilename()

File name of the embedded XML in a hybrid PDF, null if the profile is XML only.

public embeddedFilename() : string|null
Return values
string|null

isEn16931Compliant()

Whether the profile produces an invoice compliant with EN 16931 (MINIMUM and BASIC WL do not).

public isEn16931Compliant() : bool
Return values
bool

requiredBusinessTerms()

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>

supportsSyntax()

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
bool
On this page

Search results