Code development platform for open source projects from the European Union institutions 🔵 EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content

Country code of the buyer to obtain the currency code

Rule Definition

In each procedure where the currency code is not provided or it is not valid, the country code of the buyer is used to infer the currency code.


Additional Information

Rule elaboration

In every procedure where the currency code is not provided or it is not valid, the country code of the buyer is used to obtain the country through the NAL "Countries and territories".

Once the country has been established, the currency code associated with the country is obtained through the NAL "Currency".

When the currency code is not provided or it is not valid but can be inferred through the country code of the buyer per this rule, both the original value of the currency code and the inferred currency code are stored.

Ontology property involved:

http://data.europa.eu/a4g/ontology#hasCurrency

http://data.europa.eu/a4g/ontology#hasCountryCode

PPDS-ePO-AP involved:

http://data.europa.eu/gx2#hasInferedCurrencyCode

Links to the NAL:

https://op.europa.eu/en/web/eu-vocabularies/concept-scheme/-/resource?uri=http://publications.europa.eu/resource/authority/currency

https://op.europa.eu/en/web/eu-vocabularies/concept-scheme/-/resource?uri=http://publications.europa.eu/resource/authority/country

NAL stands for "Name authority list"

Rule source

(Provide URL to legal source, if applicable)

Rule implementation

(Provide only URIs of formal encodings of the rules for execution. These are typically URIs of SHACL rules or RML maps. Each URI should be provided on a new line with no additional information)

Implementation note

(Provide additional implementation information if needed)

Related rules

#21

#23

#46

#58

Related generic rule

(If the rule is a specialisation of a generic rule registered in this Rulebook, the URL of that generic rule is provided here.)

History note

(If applicable, add here a note about a previous state of the rule, before the Rulebook)

Edited by Enrique Jose Barcala Soto