From bc331f767c934b24ef6ea8a5501349130078b420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eivind=20Bergst=C3=B8l?= Date: Tue, 10 Jan 2023 10:09:03 +0100 Subject: [PATCH] Update to latest peppol validation rules for 3.15.0 November 2022 release --- validation/pom.xml | 4 ++-- .../invoice3/validation/DefaultPeppolBilling3Validation.java | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/validation/pom.xml b/validation/pom.xml index 3e63599..868e54f 100644 --- a/validation/pom.xml +++ b/validation/pom.xml @@ -21,12 +21,12 @@ com.helger.commons ph-commons - 11.0.0 + 11.0.1 com.helger.phive.rules phive-rules-peppol - 2.1.16 + 2.1.18 compile diff --git a/validation/src/main/java/peppol/bis/invoice3/validation/DefaultPeppolBilling3Validation.java b/validation/src/main/java/peppol/bis/invoice3/validation/DefaultPeppolBilling3Validation.java index f51d3a3..c6afa35 100644 --- a/validation/src/main/java/peppol/bis/invoice3/validation/DefaultPeppolBilling3Validation.java +++ b/validation/src/main/java/peppol/bis/invoice3/validation/DefaultPeppolBilling3Validation.java @@ -26,6 +26,7 @@ import com.helger.phive.engine.source.ValidationSourceXML; import com.helger.phive.peppol.PeppolValidation; import com.helger.phive.peppol.PeppolValidation3_14_0; +import com.helger.phive.peppol.PeppolValidation3_15_0; import org.eaxy.Document; import peppol.bis.invoice3.domain.BillingCommon; import peppol.bis.invoice3.domain.CreditNote; @@ -46,9 +47,9 @@ public class DefaultPeppolBilling3Validation implements PeppolBilling3Validation { if (vesid_invoice == null) - DefaultPeppolBilling3Validation.setVesid_invoice(PeppolValidation3_14_0.VID_OPENPEPPOL_INVOICE_UBL_V3); + DefaultPeppolBilling3Validation.setVesid_invoice(PeppolValidation3_15_0.VID_OPENPEPPOL_INVOICE_UBL_V3); if (vesid_creditNote == null) - DefaultPeppolBilling3Validation.setVesid_creditNote(PeppolValidation3_14_0.VID_OPENPEPPOL_CREDIT_NOTE_UBL_V3); + DefaultPeppolBilling3Validation.setVesid_creditNote(PeppolValidation3_15_0.VID_OPENPEPPOL_CREDIT_NOTE_UBL_V3); } @Override