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
65 stars 17 forks source link

unitCode="KTM" not valid? BR-CL-23 #72

Closed aronkankel closed 2 years ago

aronkankel commented 2 years ago

If I use unitCode="KTM" für BilledQuantity or BasisQuantity I get BR-CL-23:

[BR-CL-23]-Unit code MUST be coded according to the UN/ECE Recommendation 20 with Rec 21 extension

In UN/ECE are both "KTM" and "KMT" to use for "kilometre". https://www.xrepository.de/api/xrepository/urn:xoev-de:kosit:codeliste:rec20_2:technischerBestandteilGenericode

Why is "KTM" not supported?

P.S.: https://github.com/ConnectingEurope/eInvoicing-EN16931/blob/master/cii/xslt/EN16931-CII-validation.xslt doesn't cointain "KTM".

bdewein commented 2 years ago

we consider this fixed, please reopen, if this is still an issue with the newest version of XRechnung (2.2.0)