Quittio 0.3 API

CodeList
in package

FinalYes

Access to the official code lists generated from the EN 16931 rules and, for Peppol, the Peppol BIS rules (resources/codelists/*.json, see tools/codelists/update.php).

Table of Contents

Constants

ALLOWANCE_REASONS  : string = 'allowance-reason-codes'
CHARGE_REASONS  : string = 'charge-reason-codes'
COUNTRIES  : string = 'country-codes'
CURRENCIES  : string = 'currency-codes'
EAS  : string = 'eas-codes'
ICD  : string = 'icd-schemes'
INVOICE_TYPES  : string = 'invoice-type-codes'
ITEM_CLASSIFICATIONS  : string = 'item-classification-schemes'
MIME_TYPES  : string = 'mime-codes'
NOTE_SUBJECTS  : string = 'note-subject-codes'
OBJECT_IDENTIFIERS  : string = 'object-identifier-schemes'
PAYMENT_MEANS  : string = 'payment-means-codes'
PEPPOL_EAS  : string = 'peppol-eas-codes'
The electronic address schemes Peppol accepts (PEPPOL-EN16931-CL008): EAS without EM and other letter codes.
UNITS  : string = 'unit-codes'
VAT_CATEGORIES  : string = 'vat-category-codes'
VATEX  : string = 'vatex-codes'

Methods

codes()  : array<int, string>
contains()  : bool

Constants

ALLOWANCE_REASONS

public string ALLOWANCE_REASONS = 'allowance-reason-codes'

CHARGE_REASONS

public string CHARGE_REASONS = 'charge-reason-codes'

COUNTRIES

public string COUNTRIES = 'country-codes'

CURRENCIES

public string CURRENCIES = 'currency-codes'

INVOICE_TYPES

public string INVOICE_TYPES = 'invoice-type-codes'

ITEM_CLASSIFICATIONS

public string ITEM_CLASSIFICATIONS = 'item-classification-schemes'

MIME_TYPES

public string MIME_TYPES = 'mime-codes'

NOTE_SUBJECTS

public string NOTE_SUBJECTS = 'note-subject-codes'

OBJECT_IDENTIFIERS

public string OBJECT_IDENTIFIERS = 'object-identifier-schemes'

PAYMENT_MEANS

public string PAYMENT_MEANS = 'payment-means-codes'

PEPPOL_EAS

The electronic address schemes Peppol accepts (PEPPOL-EN16931-CL008): EAS without EM and other letter codes.

public string PEPPOL_EAS = 'peppol-eas-codes'

UNITS

public string UNITS = 'unit-codes'

VAT_CATEGORIES

public string VAT_CATEGORIES = 'vat-category-codes'

VATEX

public string VATEX = 'vatex-codes'

Methods

codes()

public static codes(string $list) : array<int, string>
Parameters
$list : string
Return values
array<int, string>

contains()

public static contains(string $list, BackedEnum|RawCode|string $code) : bool
Parameters
$list : string
$code : BackedEnum|RawCode|string
Return values
bool
On this page

Search results