ZUGFeRD / ZUV

ZUgferd validator using Verapdf
Apache License 2.0
25 stars 5 forks source link

AssociatedDocumentLineDocument is incorrectly expected with BASIC profile #41

Open jlkDE opened 4 years ago

jlkDE commented 4 years ago

Hi,

when validating an BASIC invoice built with konik, the error Element 'ram:AssociatedDocumentLineDocument' must occur exactly 1 times. is shown. I openend Issue https://github.com/konik-io/konik/issues/89, where the konik team stated that AssociatedDocumentLineDocument should not exist in Basic Profile according to the ZUGFeRD specification.

My XML, the validation report and the specifiation reference are included in this issue.

jstaerk commented 4 years ago

In zf2 it's required as of and including basic (not in basic wl nor minimum) and in zf1 there is a mismatch between the schematron file (where it is required) and the spec (where it is not required for basic), I'll try to get a statement what's correct