Please note that all element names are inhereted from EN16931 and naming use the term invoice, but this covers both invoice and credit notes. The tag names are correct according to the UBL Credit note schema
Schematron file containing rules according to ISO Schematron.