Skip to content

Commit

Permalink
XRechnung 3.0.1 rules updated to reference EN 16931 rules 1.3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Feb 7, 2024
1 parent fd6be79 commit 743a97e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ I hope that with the introduction of PINT, the versioning problem will be solved

# News and noteworthy

* v3.1.7 - work in progress
* XRechnung 3.0.1 rules updated to reference EN 16931 rules 1.3.11 (was 1.3.10)
* v3.1.6 - 2023-11-30
* Added Peppol November 2023 release (Billing 3.0.16 and Upgrade 3.0.12)
* Moved Peppol 3.15.0 rules from `phive-rules-peppol` to `phive-rules-peppol-legacy`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,8 @@ public static void initXRechnung (@Nonnull final IValidationExecutorSetRegistry
UBL21NamespaceContext.getInstance ())));
}

// v3.0.1 (based on rule release 2.0.1)
// Uses CEN rules 1.3.10
// v3.0.1 (based on rule release 2.0.2)
// Uses CEN rules 1.3.11
{
final ICommonsMap <String, EErrorLevel> aCustomErrorLevels = new CommonsHashMap <> ();
aCustomErrorLevels.put ("BR-CL-23", EErrorLevel.WARN);
Expand All @@ -488,7 +488,7 @@ public static void initXRechnung (@Nonnull final IValidationExecutorSetRegistry
VID_XRECHNUNG_CII_301.getVersionString (),
bNotDeprecated,
ValidationExecutorXSD.create (CCIID16B.getXSDResource ()),
ValidationExecutorSchematron.createXSLT (EN16931Validation.INVOICE_CII_1310_XSLT,
ValidationExecutorSchematron.createXSLT (EN16931Validation.INVOICE_CII_1311_XSLT,
UBL21NamespaceContext.getInstance ())
.addCustomErrorLevels (aCustomErrorLevels),
ValidationExecutorSchematron.createXSLT (new ClassPathResource (sPrefix +
Expand All @@ -500,7 +500,7 @@ public static void initXRechnung (@Nonnull final IValidationExecutorSetRegistry
VID_XRECHNUNG_UBL_CREDITNOTE_301.getVersionString (),
bNotDeprecated,
ValidationExecutorXSD.create (UBL21Marshaller.getAllCreditNoteXSDs ()),
ValidationExecutorSchematron.createXSLT (EN16931Validation.INVOICE_UBL_1310_XSLT,
ValidationExecutorSchematron.createXSLT (EN16931Validation.INVOICE_UBL_1311_XSLT,
UBL21NamespaceContext.getInstance ())
.addCustomErrorLevels (aCustomErrorLevels),
ValidationExecutorSchematron.createXSLT (new ClassPathResource (sPrefix +
Expand All @@ -512,7 +512,7 @@ public static void initXRechnung (@Nonnull final IValidationExecutorSetRegistry
VID_XRECHNUNG_UBL_INVOICE_301.getVersionString (),
bNotDeprecated,
ValidationExecutorXSD.create (UBL21Marshaller.getAllInvoiceXSDs ()),
ValidationExecutorSchematron.createXSLT (EN16931Validation.INVOICE_UBL_1310_XSLT,
ValidationExecutorSchematron.createXSLT (EN16931Validation.INVOICE_UBL_1311_XSLT,
UBL21NamespaceContext.getInstance ())
.addCustomErrorLevels (aCustomErrorLevels),
ValidationExecutorSchematron.createXSLT (new ClassPathResource (sPrefix +
Expand Down

0 comments on commit 743a97e

Please sign in to comment.