getEasScheme and getAllEasSchemes read a small built-in table of 21 Peppol
scheme codes, each with a name and, for a country-specific scheme, a country.
It does not cover every scheme in the Peppol code list: for a code it does not
carry, getEasScheme returns undefined. Several of its rows did not match
the published list. 6.1.0 aligns every row it carries with version 9.7.
What changes
| Code | Before 6.1.0 (name, country) |
From 6.1.0 (name, country) |
|---|---|---|
0190 |
"Dutch Chamber of Commerce (KVK)", NL |
"Dutch Organisation Identification Number (OIN)", NL |
0191 |
"Organisatie Identificatie Nummer (OIN)", NL |
"Estonian company code (registry code)", EE |
0192 |
"Danish SE-number (Erhvervsstyrelsen)", DK |
"Norwegian organisation number (Organisasjonsnummer)", NO |
0096 |
"Danish Chamber of Commerce (P-nummer)", DK |
"Danish Business Authority P-number", DK |
0201 |
"Italian Codice Destinatario", IT |
"Italian iPA office code (Codice Univoco Unità Organizzativa)", IT |
0209 |
"German Creditor Identifier (GS1)", DE |
"GS1 identification keys", no country |
0202, 0212, 0213 |
returned an entry | return undefined |
0202 is not in the code list, and 0212 and 0213 are marked removed there.
The Dutch Chamber of Commerce number is 0106, which this table does not list.
If your code reads getEasScheme(code)?.country, for example to pre-fill a
country, it now gets Estonia for 0191 and Norway for 0192.
New: schemeId
Every entry now carries schemeId, the scheme's symbolic name in the code
list: "EE:CC" for 0191, "NO:ORG" for 0192, "GLN" for 0088. The
field is optional on the EasScheme type, so code that builds its own
EasScheme objects still compiles.
What does not change
validate() does not use this table, so no validation verdict changes. The
CLI does not call these functions either, so it is not republished: CLI 0.14.1
stays current.