# Denmark OIOUBL 2.1 Credit Note

Source: https://xmlvalid.com/schemas/dk-oioubl-credit-note

> A Danish OIOUBL 2.1 credit note (kreditnota), checked against the UBL 2.1 CreditNote schema and the OIOUBL Schematron.

OIOUBL is the Danish adaptation of UBL, sent through NemHandel. A credit note (kreditnota) uses the UBL CreditNote document with the CustomizationID OIOUBL-2.1.

- Type: XSD + Schematron
- Version: OIOUBL 2.1, Schematron 1.17.2
- Namespace: `urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2`
- Root element: `CreditNote`
- Publisher: Erhvervsstyrelsen (Danish Business Authority), NemHandel (Creative Commons, as the files state), source: https://nemhandel.dk/opdateringer-releases
- Rules: [OIOUBL 2.1 Credit Note rules (Denmark) 1.17.2](https://xmlvalid.com/rules/sets/dk-oioubl-credit-note)
- Validate against it: https://xmlvalid.com/validate?schema=dk-oioubl-credit-note

## Notes

- Rules run only when the document matches the schema. Documents over 50 MB are checked against the schema only.
- The rules are NemHandel's OIOUBL Schematron 1.17.2. Their own XSLT is turned into Schematron of the same meaning before they are compiled; the rule ids and levels (F- errors, W- warnings) are the ones their messages name.
- The example is from the test files of the OIOUBL Schematron package, as phive-rules keeps them.
