Quittio next API

CountryGeneric extends AbstractCountryPack
in package

FinalYes

Neutral pack for countries without an installed country pack: EN 16931 rules only and international formatting. A warning is issued when an invoice is validated with this pack.

Table of Contents

Methods

__construct()  : mixed
addressFormatter()  : AddressFormatter
Default: international address format.
buyerCountryRules()  : array<int, Rule>
Default: no rules.
code()  : string
ISO 3166-1 alpha-2 code, e.g. "DE".
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.
isGeneric()  : bool
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

__construct()

public __construct([string $code = 'XX' ]) : mixed
Parameters
$code : string = 'XX'

code()

ISO 3166-1 alpha-2 code, e.g. "DE".

public code() : string
Return values
string

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