ConnectingEurope / eInvoicing-EN16931

Validation artefacts for the European eInvoicing standard EN 16931
Other
138 stars 54 forks source link

Some tests are not applied for CreditNote type #164

Closed jarekglapski closed 5 years ago

jarekglapski commented 5 years ago

Some tests, like: [UBL-SR-05]-Payment terms shall occur maximum once and many more are not applied for CreditNote type, because the corresponding template matches only an Invoice: <xsl:template match="/ubl:Invoice" mode="M11" priority="1006">

According to specs, at least some of them (ex: [UBL-SR-05]) should apply to CreditNotes as well. I believe, all of them are "warnings", but perhaps it is worth to be refactored anyway.

oriol commented 5 years ago

The context has been changed to value="/ubl:Invoice | /cn:CreditNote" so this is resolved.