Countries
Table of Contents
Namespaces
- Capabilities
Interfaces
- CountryPack
- Everything that differs between countries.
- CountryResolver
- Selects the country packs for an invoice.
- Exporter
- Country specific export format (e.g. DATEV for Germany, FEC for France). Country packs only
declare which exporters they provide (CountryPack::exporters()); Quittio runs none of them,
applications may.
Classes
- AbstractCountryPack
- Base class with neutral defaults, so that country packs only override what differs.
- CorrectionPolicy
- Default handling of cancellations and corrections in a country, and the titles of these
documents. Quittio::cancellation() takes the cancellation strategy and the titles
"cancellation" and "cancellation_self_billed"; the title "self_billed" is the title of
self-billed invoices in PDF and HTML (InvoiceTitle::policyTitle()); the Managed layer takes
the correction strategy and the title "correction".
- CountryDefaults
- Defaults of a country.
- CountryGeneric
- 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.
- CountryRegistry
- Installed country packs.
- DefaultCountryResolver
- The seller's country (BT-40) determines the leading pack. The buyer's country (BT-55)
adds rules for cross-border invoices. Without an installed pack, a generic pack is used.
- DunningLaw
- Statutory late payment rules (EU late payment directive plus national law).
- LegalTextCatalog
- Legal and informational texts of a country pack per locale.
- MandatoryField
- A value that must appear in the PDF (checked by the mandatory field guard).
- MandatoryFieldList
- Values that must be output in the PDF for one invoice.
- NumberingRules
- Requirements for invoice numbering in a country. The Managed layer applies the default
pattern, the default reset and the allowed resets.
- ResolvedCountries
- Leading pack (seller side) and, for cross-border invoices, the buyer's pack.
- RetentionRule
- Retention period for invoices.
- VatTerritory
- The EU VAT territory (Art. 5 to 7 of Directive 2006/112/EC) as far as it can be told from
a country code and a postcode.