Skip to content

Commit

Permalink
Merge pull request #6 from digipost/peppol_3.15.0
Browse files Browse the repository at this point in the history
Update to latest peppol validation rules for 3.15.0 November 2022 release
  • Loading branch information
eivinhb authored Jan 10, 2023
2 parents c1f6aad + bc331f7 commit 3c09080
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-commons</artifactId>
<version>11.0.0</version>
<version>11.0.1</version>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
<artifactId>phive-rules-peppol</artifactId>
<version>2.1.16</version>
<version>2.1.18</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit 3c09080

Please sign in to comment.