Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document valid on https://kositvalidator.service-bw.de/ (1.4.2) not valid locally (neither 1.4.2 nor 1.5.0) #124

Open
gerrit-l opened this issue Nov 8, 2023 · 5 comments

Comments

@gerrit-l
Copy link

gerrit-l commented Nov 8, 2023

I tried to find examples for valid XRechnungen but can't remember where I got that example document I finally found from - it was from some bing search but bing can't tell me where it was from today.
After spending half a day to figure out how to use the validator it says:
"Konformitätsprüfung: Das geprüfte Dokument entspricht keinem zulässigen Dokumenttyp und ist damit nicht konform zu den formalen Vorgaben."
On the website https://kositvalidator.service-bw.de/ however, the exact same document is ok with a warning.
"Konformitätsprüfung: Das geprüfte Dokument enthält 0 Fehler / 1 Warnungen. Es ist nicht konform zu den formalen Vorgaben."
I tried both versions 1.5.0 and 1.4.2 locally.
I used the following command from cmd:
java -jar validationtool-1.5.0-java8-standalone.jar -s scenarios.xml -r <path-to-scenarios.xml> -h input\Testrechnung1.xml -o output

@gerrit-l
Copy link
Author

gerrit-l commented Nov 8, 2023

Testrechnung1.txt

@Lorenzschaef
Copy link

Lorenzschaef commented Dec 14, 2023

It looks like you are using a release of the scenario files that doesn't match de XRechnung version of your example file. The example file seems to be xrechnung 2.0, so you need to load the release that is compatible with that version. The newest release can only validate the newest version (right now that would be 3.0)

@bdewein
Copy link

bdewein commented Dec 14, 2023

Thanks @Lorenzschaef :) as you said, the validator-configuration-xrechnung defines in the scenarios.xml, which version of XRechnung is to be validated. Compatibilities are also indicated in the release notes (see https://github.com/itplr-kosit/validator-configuration-xrechnung/releases). A set of test files is provided in the XRechnung Testsuite. On https://xeinkauf.de/xrechnung/versionen-und-bundles/, an overview of current, upcoming, and outdated versions of XRechnung is given and bundles containing the XRechnung specification document and the supporting technical components are provided for download.

@gerrit-l
Copy link
Author

Thanks, it's working now. Would have been nice to include some basic how-to or documentation so that your're not dependent on external web sites that explain how to use it ;)

@bdewein
Copy link

bdewein commented Dec 19, 2023

Documentation on the validator-configuration-xrechnung can be found in the respective repository (https://github.com/itplr-kosit/validator-configuration-xrechnung) in /docs/usage.md.

More information on XRechnung and the technical components is also available on https://xeinkauf.de/xrechnung/ and https://xeinkauf.de/faq/xrechnung/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants