itplr-kosit / validator-configuration-xrechnung

Configuration for validating documents against the German XRechnung standard using the KoSIT validation tool
https://xeinkauf.de/xrechnung/
Apache License 2.0
59 stars 16 forks source link

Currency Code check not compliant to spec #83

Closed SteinRobert closed 11 months ago

SteinRobert commented 1 year ago

I just checked the code list (Anhang B) for XRechnung 2.3.1 (https://xeinkauf.de/app/uploads/2023/02/231-XRechnung-2023-02-03.pdf). It says for currency codes this one is used: https://www.xrepository.de/details/urn:xoev-de:kosit:codeliste:currency-codes_3

I tried to validate documents with these currency codes (which should be present in version 3 of the code list):

SteinRobert commented 1 year ago

@bdewein do you have any idea what the problem is?

bdewein commented 1 year ago

@SteinRobert thanks for reporting!

Codelist values are validated by CEN validation artefacts, which are integrated into the XRechnung artefacts. The codes you mentioned are currently not included in the respective codelists. We filed an issue at https://github.com/ConnectingEurope/eInvoicing-EN16931/issues/356.

On a general note: Appendix B in the XRechnung Specification PDF is purely informative as codelists are published by different organizations and are subject to release cycles independent of XRechnung's, which can cause overlaps/delays in implementation.

SteinRobert commented 1 year ago

Thanks for clearing this up! We stumbled across this implementing tests for our XRechnung generation. We'll exclude these currencies from our tests for now then.