Quittio next API

AbstractCountryPack
in package
implements CountryPack, ProvidesFormats

AbstractYes

Base class with neutral defaults, so that country packs only override what differs.

Table of Contents

Interfaces

CountryPack
Everything that differs between countries.
ProvidesFormats
A country pack that brings output formats, e.g. a national e-invoice format, with their aliases and the serializers of their syntaxes. Quittio::registerCountry() registers them.

Methods

addressFormatter()  : AddressFormatter
Default: international address format.
buyerCountryRules()  : array<int, Rule>
Default: no rules.
correctionPolicy()  : CorrectionPolicy
Default: CorrectionPolicy with credit notes for cancellations.
defaults()  : CountryDefaults
Default: neutral CountryDefaults.
dunningLaw()  : DunningLaw
Default: the EU late payment directive (8 points above the reference rate for businesses, 40.00 flat rate), see DunningLaw.
exporters()  : array<int, Exporter>
Default: no exporters.
formatAliases()  : array<string, string>
Default: no aliases.
formatRules()  : array<int, FormatRule>
Default: no format rules; the generic automatic choice applies.
formats()  : array<int, OutputFormat>
Default: no own formats.
legalTexts()  : LegalTextCatalog
Default: an empty catalog.
letterLayouts()  : array<string, LetterLayout>
Default: the free layout only.
mandatoryOutput()  : MandatoryFieldList
Default: nothing beyond EN 16931.
numberingRules()  : NumberingRules
Default: pattern INV-{Y}-{seq:4}, reset yearly, see NumberingRules.
paymentQr()  : PaymentQrGenerator|null
Default: none; the EPC GiroCode is used for the type "girocode".
profiles()  : array<int, Profile>
Default: no profiles.
readers()  : array<int, FormatReader>
Default: no readers.
retention()  : RetentionRule
Default: 10 years from the end of the calendar year.
rules()  : array<int, Rule>
Default: no rules.
serializers()  : array<int, XmlSerializer>
Default: no serializers; CII and UBL are built in.
taxPresets()  : TaxPresetCollection
Default: no presets.
translationPath()  : string|null
Default: no translations.

Methods

dunningLaw()

Default: the EU late payment directive (8 points above the reference rate for businesses, 40.00 flat rate), see DunningLaw.

public dunningLaw() : DunningLaw
Return values
DunningLaw

formatAliases()

Default: no aliases.

public formatAliases() : array<string, string>
Return values
array<string, string>

translationPath()

Default: no translations.

public translationPath() : string|null
Return values
string|null
On this page

Search results