diff --git a/README.md b/README.md index d9fe52c7..d236eea9 100644 --- a/README.md +++ b/README.md @@ -193,6 +193,7 @@ I hope that with the introduction of PINT, the versioning problem will be solved * v3.1.6 - 2023-11-29 * Added Peppol 2023 November 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` * v3.1.5 - 2023-11-10 * Added support for Peppol Reporting EUSR v1.1.4 and deprecated v1.1.3 * Added support for Czech ISDOC v6.0.2 and deprecated v6.0.1 [original Schematron had errors] diff --git a/phive-rules-peppol-legacy/src/main/java/com/helger/phive/peppol/legacy/PeppolLegacyValidation.java b/phive-rules-peppol-legacy/src/main/java/com/helger/phive/peppol/legacy/PeppolLegacyValidation.java index 00981948..952c71f2 100644 --- a/phive-rules-peppol-legacy/src/main/java/com/helger/phive/peppol/legacy/PeppolLegacyValidation.java +++ b/phive-rules-peppol-legacy/src/main/java/com/helger/phive/peppol/legacy/PeppolLegacyValidation.java @@ -72,6 +72,7 @@ public static void init (@Nonnull final IValidationExecutorSetRegistry getAllTestFiles () PeppolValidation3_14_0.VID_OPENPEPPOL_ORDER_RESPONSE_V3, PeppolValidation3_14_0.VID_OPENPEPPOL_PUNCH_OUT_V3, PeppolValidation3_14_0.VID_OPENPEPPOL_ORDER_AGREEMENT_V3, - PeppolValidation3_14_0.VID_OPENPEPPOL_INVOICE_MESSAGE_RESPONSE_V3, }) + PeppolValidation3_14_0.VID_OPENPEPPOL_INVOICE_MESSAGE_RESPONSE_V3, + + PeppolValidation3_15_0.VID_OPENPEPPOL_INVOICE_UBL_V3, + PeppolValidation3_15_0.VID_OPENPEPPOL_CREDIT_NOTE_UBL_V3, + PeppolValidation3_15_0.VID_OPENPEPPOL_INVOICE_CII_V3, + PeppolValidation3_15_0.VID_OPENPEPPOL_ORDER_V3, + PeppolValidation3_15_0.VID_OPENPEPPOL_DESPATCH_ADVICE_V3, + PeppolValidation3_15_0.VID_OPENPEPPOL_CATALOGUE_V3, + PeppolValidation3_15_0.VID_OPENPEPPOL_CATALOGUE_RESPONSE_V3, + PeppolValidation3_15_0.VID_OPENPEPPOL_MLR_V3, + PeppolValidation3_15_0.VID_OPENPEPPOL_ORDER_RESPONSE_V3, + PeppolValidation3_15_0.VID_OPENPEPPOL_PUNCH_OUT_V3, + PeppolValidation3_15_0.VID_OPENPEPPOL_ORDER_AGREEMENT_V3, + PeppolValidation3_15_0.VID_OPENPEPPOL_INVOICE_MESSAGE_RESPONSE_V3, + + }) for (final IReadableResource aRes : getAllMatchingTestFiles (aESID)) { assertTrue ("Not existing test file: " + aRes.getPath (), aRes.exists ()); @@ -1052,6 +1068,86 @@ public static ICommonsList getAllMatchingTestFiles "T111-uc008-Invoice is accepted by third party.xml")); } + // 3.15.0 + { + final String sPrefix = sPrefix0 + "openpeppol/3.15.0/"; + // https://github.com/OpenPEPPOL/peppol-bis-invoice-3/tree/master/rules/examples + if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_INVOICE_UBL_V3)) + return new CommonsArrayList <> (new FileSystemResource (sPrefix + "billing/Allowance-example.xml"), + new FileSystemResource (sPrefix + "billing/base-example.xml"), + new FileSystemResource (sPrefix + "billing/base-negative-inv-correction.xml"), + new FileSystemResource (sPrefix + "billing/vat-category-E.xml"), + new FileSystemResource (sPrefix + "billing/vat-category-O.xml"), + new FileSystemResource (sPrefix + "billing/Vat-category-S.xml"), + new FileSystemResource (sPrefix + "billing/vat-category-Z.xml")); + if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_CREDIT_NOTE_UBL_V3)) + return new CommonsArrayList <> (new FileSystemResource (sPrefix + "billing/base-creditnote-correction.xml")); + if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_INVOICE_CII_V3)) + return new CommonsArrayList <> (); + if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_ORDER_V3)) + return new CommonsArrayList <> (new FileSystemResource (sPrefix + "Order_Example.xml"), + new FileSystemResource (sPrefix + "Order use cases/UC1_Order.xml"), + new FileSystemResource (sPrefix + "Order use cases/UC2_Order.xml"), + new FileSystemResource (sPrefix + "Order use cases/UC3_Order.xml"), + new FileSystemResource (sPrefix + "Order use cases/UC4_Order.xml"), + new FileSystemResource (sPrefix + "Order use cases/UC5_Order.xml")); + if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_DESPATCH_ADVICE_V3)) + return new CommonsArrayList <> (new FileSystemResource (sPrefix + "DespatchAdvice_Example.xml"), + new FileSystemResource (sPrefix + + "Despatch Advice use cases/DespatchAdvice-BIS3_UseCase1.xml"), + new FileSystemResource (sPrefix + + "Despatch Advice use cases/DespatchAdvice-BIS3_UseCase2.xml"), + new FileSystemResource (sPrefix + + "Despatch Advice use cases/DespatchAdvice-BIS3_UseCase3.xml"), + new FileSystemResource (sPrefix + + "Despatch Advice use cases/DespatchAdvice-BIS3_UseCase4.xml"), + new FileSystemResource (sPrefix + + "Despatch Advice use cases/DespatchAdvice-BIS3_UseCase5.xml")); + if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_CATALOGUE_V3)) + return new CommonsArrayList <> (new FileSystemResource (sPrefix + "Catalogue_Example.xml")); + if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_CATALOGUE_RESPONSE_V3)) + return new CommonsArrayList <> (new FileSystemResource (sPrefix + "CatalogueResponse_Example.xml")); + if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_MLR_V3)) + return new CommonsArrayList <> (new FileSystemResource (sPrefix + "MessageLevelResponse_Example.xml")); + if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_ORDER_RESPONSE_V3)) + return new CommonsArrayList <> (new FileSystemResource (sPrefix + "OrderResponse_Example.xml"), + new FileSystemResource (sPrefix + + "Order-response use cases/UC1_Order_response.xml"), + new FileSystemResource (sPrefix + + "Order-response use cases/UC2_Order_response.xml"), + new FileSystemResource (sPrefix + + "Order-response use cases/UC3_Order_response.xml"), + new FileSystemResource (sPrefix + + "Order-response use cases/UC4_Order_response.xml"), + new FileSystemResource (sPrefix + + "Order-response use cases/UC5_Order_response.xml")); + if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_PUNCH_OUT_V3)) + return new CommonsArrayList <> (new FileSystemResource (sPrefix + "PunchOut_Example.xml")); + if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_ORDER_AGREEMENT_V3)) + return new CommonsArrayList <> (new FileSystemResource (sPrefix + "OrderAgreement_Example.xml")); + + final String sBase2 = sPrefix + "Invoice reponse use cases/"; + if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_INVOICE_MESSAGE_RESPONSE_V3)) + return new CommonsArrayList <> (new FileSystemResource (sPrefix + "InvoiceResponse_Example.xml"), + new FileSystemResource (sBase2 + "T111-uc001-Invoice in process.xml"), + new FileSystemResource (sBase2 + "T111-uc002a-Additional reference data.xml"), + new FileSystemResource (sBase2 + "T111-uc002b-In process but postponed.xml"), + new FileSystemResource (sBase2 + "T111-uc003-Invoice is accepted.xml"), + new FileSystemResource (sBase2 + "T111-uc004a-Invoice is rejected.xml"), + new FileSystemResource (sBase2 + "T111-uc004b-Rejected requesting reissue.xml"), + new FileSystemResource (sBase2 + + "T111-uc004c-Rejected requesting replacement.xml"), + new FileSystemResource (sBase2 + + "T111-uc005-Invoice is conditionally accepted.xml"), + new FileSystemResource (sBase2 + + "T111-uc006a-Under query missing information.xml"), + new FileSystemResource (sBase2 + "T111-uc006b-Missing PO.xml"), + new FileSystemResource (sBase2 + "T111-uc006c-Wrong detail partial credit.xml"), + new FileSystemResource (sBase2 + "T111-uc007-Payment has been initiated.xml"), + new FileSystemResource (sBase2 + + "T111-uc008-Invoice is accepted by third party.xml")); + } + throw new IllegalArgumentException ("Invalid VESID: " + aVESID); } } diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-1.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-1.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-1.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-1.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-2.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-2.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-2.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-2.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-3.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-3.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-3.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-3.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-4.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-4.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-4.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-4.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-5.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-5.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-5.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Cataloge wo response use cases/catalogue-wo-response-use-case-5.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/CatalogueResponse_Example.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/CatalogueResponse_Example.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/CatalogueResponse_Example.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/CatalogueResponse_Example.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Catalogue_Example.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Catalogue_Example.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Catalogue_Example.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Catalogue_Example.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase1.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase1.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase1.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase1.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase2.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase2.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase2.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase2.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase3.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase3.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase3.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase3.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase4.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase4.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase4.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase4.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase5.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase5.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase5.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Despatch Advice use cases/DespatchAdvice-BIS3_UseCase5.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/DespatchAdvice_Example.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/DespatchAdvice_Example.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/DespatchAdvice_Example.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/DespatchAdvice_Example.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc001-Invoice in process.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc001-Invoice in process.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc001-Invoice in process.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc001-Invoice in process.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc002a-Additional reference data.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc002a-Additional reference data.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc002a-Additional reference data.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc002a-Additional reference data.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc002b-In process but postponed.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc002b-In process but postponed.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc002b-In process but postponed.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc002b-In process but postponed.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc003-Invoice is accepted.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc003-Invoice is accepted.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc003-Invoice is accepted.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc003-Invoice is accepted.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc004a-Invoice is rejected.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc004a-Invoice is rejected.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc004a-Invoice is rejected.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc004a-Invoice is rejected.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc004b-Rejected requesting reissue.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc004b-Rejected requesting reissue.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc004b-Rejected requesting reissue.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc004b-Rejected requesting reissue.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc004c-Rejected requesting replacement.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc004c-Rejected requesting replacement.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc004c-Rejected requesting replacement.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc004c-Rejected requesting replacement.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc005-Invoice is conditionally accepted.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc005-Invoice is conditionally accepted.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc005-Invoice is conditionally accepted.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc005-Invoice is conditionally accepted.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc006a-Under query missing information.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc006a-Under query missing information.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc006a-Under query missing information.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc006a-Under query missing information.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc006b-Missing PO.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc006b-Missing PO.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc006b-Missing PO.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc006b-Missing PO.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc006c-Wrong detail partial credit.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc006c-Wrong detail partial credit.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc006c-Wrong detail partial credit.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc006c-Wrong detail partial credit.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc007-Payment has been initiated.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc007-Payment has been initiated.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc007-Payment has been initiated.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc007-Payment has been initiated.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc008-Invoice is accepted by third party.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc008-Invoice is accepted by third party.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc008-Invoice is accepted by third party.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Invoice reponse use cases/T111-uc008-Invoice is accepted by third party.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/InvoiceResponse_Example.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/InvoiceResponse_Example.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/InvoiceResponse_Example.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/InvoiceResponse_Example.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/MessageLevelResponse_Example.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/MessageLevelResponse_Example.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/MessageLevelResponse_Example.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/MessageLevelResponse_Example.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC1_Order.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC1_Order.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC1_Order.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC1_Order.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC2_Order.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC2_Order.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC2_Order.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC2_Order.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC3_Order.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC3_Order.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC3_Order.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC3_Order.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC4_Order.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC4_Order.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC4_Order.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC4_Order.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC5_Order.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC5_Order.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC5_Order.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order use cases/UC5_Order.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC1_Order_response.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC1_Order_response.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC1_Order_response.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC1_Order_response.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC2_Order_response.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC2_Order_response.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC2_Order_response.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC2_Order_response.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC3_Order_response.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC3_Order_response.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC3_Order_response.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC3_Order_response.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC4_Order_response.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC4_Order_response.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC4_Order_response.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC4_Order_response.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC5_Order_response.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC5_Order_response.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC5_Order_response.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order-response use cases/UC5_Order_response.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/OrderAgreement_Example.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/OrderAgreement_Example.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/OrderAgreement_Example.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/OrderAgreement_Example.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/OrderResponse_Example.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/OrderResponse_Example.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/OrderResponse_Example.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/OrderResponse_Example.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order_Example.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order_Example.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/Order_Example.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/Order_Example.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/PunchOut_Example.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/PunchOut_Example.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/PunchOut_Example.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/PunchOut_Example.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/Allowance-example.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/Allowance-example.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/Allowance-example.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/Allowance-example.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/Vat-category-S.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/Vat-category-S.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/Vat-category-S.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/Vat-category-S.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/base-creditnote-correction.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/base-creditnote-correction.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/base-creditnote-correction.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/base-creditnote-correction.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/base-example.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/base-example.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/base-example.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/base-example.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/base-negative-inv-correction.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/base-negative-inv-correction.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/base-negative-inv-correction.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/base-negative-inv-correction.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/vat-category-E.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/vat-category-E.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/vat-category-E.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/vat-category-E.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/vat-category-O.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/vat-category-O.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/vat-category-O.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/vat-category-O.xml diff --git a/phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/vat-category-Z.xml b/phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/vat-category-Z.xml similarity index 100% rename from phive-rules-peppol/src/test/resources/external/test-files/openpeppol/3.15.0/billing/vat-category-Z.xml rename to phive-rules-peppol-legacy/src/test/resources/external/test-files/openpeppol/3.15.0/billing/vat-category-Z.xml diff --git a/phive-rules-peppol/src/main/java/com/helger/phive/peppol/PeppolValidation.java b/phive-rules-peppol/src/main/java/com/helger/phive/peppol/PeppolValidation.java index 6f08a1b2..31385a65 100644 --- a/phive-rules-peppol/src/main/java/com/helger/phive/peppol/PeppolValidation.java +++ b/phive-rules-peppol/src/main/java/com/helger/phive/peppol/PeppolValidation.java @@ -69,13 +69,12 @@ private PeppolValidation () * @param aRegistry * The registry to add the artefacts. May not be null. */ - @SuppressWarnings ("deprecation") + // @SuppressWarnings ("deprecation") public static void initStandard (@Nonnull final IValidationExecutorSetRegistry aRegistry) { // For better error messages SchematronNamespaceBeautifier.addMappings (UBL21NamespaceContext.getInstance ()); - PeppolValidation3_15_0.init (aRegistry); PeppolValidation2023_05.init (aRegistry); PeppolValidation2023_11.init (aRegistry); PeppolValidationAUNZ.init (aRegistry); diff --git a/phive-rules-peppol/src/test/java/com/helger/phive/peppol/mock/CTestFiles.java b/phive-rules-peppol/src/test/java/com/helger/phive/peppol/mock/CTestFiles.java index 2e1a181e..7f6a4479 100644 --- a/phive-rules-peppol/src/test/java/com/helger/phive/peppol/mock/CTestFiles.java +++ b/phive-rules-peppol/src/test/java/com/helger/phive/peppol/mock/CTestFiles.java @@ -33,7 +33,6 @@ import com.helger.phive.peppol.PeppolValidation; import com.helger.phive.peppol.PeppolValidation2023_05; import com.helger.phive.peppol.PeppolValidation2023_11; -import com.helger.phive.peppol.PeppolValidation3_15_0; import com.helger.phive.peppol.PeppolValidationAUNZ; import com.helger.phive.peppol.PeppolValidationDirectory; import com.helger.phive.peppol.PeppolValidationJP; @@ -83,19 +82,6 @@ public static ICommonsList getAllTestFiles () PeppolValidationSG.VID_OPENPEPPOL_BIS3_SG_UBL_CREDIT_NOTE_2023_7, /* OpenPeppol */ - PeppolValidation3_15_0.VID_OPENPEPPOL_INVOICE_UBL_V3, - PeppolValidation3_15_0.VID_OPENPEPPOL_CREDIT_NOTE_UBL_V3, - PeppolValidation3_15_0.VID_OPENPEPPOL_INVOICE_CII_V3, - PeppolValidation3_15_0.VID_OPENPEPPOL_ORDER_V3, - PeppolValidation3_15_0.VID_OPENPEPPOL_DESPATCH_ADVICE_V3, - PeppolValidation3_15_0.VID_OPENPEPPOL_CATALOGUE_V3, - PeppolValidation3_15_0.VID_OPENPEPPOL_CATALOGUE_RESPONSE_V3, - PeppolValidation3_15_0.VID_OPENPEPPOL_MLR_V3, - PeppolValidation3_15_0.VID_OPENPEPPOL_ORDER_RESPONSE_V3, - PeppolValidation3_15_0.VID_OPENPEPPOL_PUNCH_OUT_V3, - PeppolValidation3_15_0.VID_OPENPEPPOL_ORDER_AGREEMENT_V3, - PeppolValidation3_15_0.VID_OPENPEPPOL_INVOICE_MESSAGE_RESPONSE_V3, - PeppolValidation2023_05.VID_OPENPEPPOL_INVOICE_UBL_V3, PeppolValidation2023_05.VID_OPENPEPPOL_CREDIT_NOTE_UBL_V3, // PeppolValidation2023_05.VID_OPENPEPPOL_INVOICE_CII_V3, @@ -294,86 +280,6 @@ public static ICommonsList getAllMatchingTestFiles return new CommonsArrayList <> (new FileSystemResource (sPrefix + "SG CN example 01 - Credit Note.xml")); } - // 3.15.0 - { - final String sPrefix = sPrefix0 + "openpeppol/3.15.0/"; - // https://github.com/OpenPEPPOL/peppol-bis-invoice-3/tree/master/rules/examples - if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_INVOICE_UBL_V3)) - return new CommonsArrayList <> (new FileSystemResource (sPrefix + "billing/Allowance-example.xml"), - new FileSystemResource (sPrefix + "billing/base-example.xml"), - new FileSystemResource (sPrefix + "billing/base-negative-inv-correction.xml"), - new FileSystemResource (sPrefix + "billing/vat-category-E.xml"), - new FileSystemResource (sPrefix + "billing/vat-category-O.xml"), - new FileSystemResource (sPrefix + "billing/Vat-category-S.xml"), - new FileSystemResource (sPrefix + "billing/vat-category-Z.xml")); - if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_CREDIT_NOTE_UBL_V3)) - return new CommonsArrayList <> (new FileSystemResource (sPrefix + "billing/base-creditnote-correction.xml")); - if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_INVOICE_CII_V3)) - return new CommonsArrayList <> (); - if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_ORDER_V3)) - return new CommonsArrayList <> (new FileSystemResource (sPrefix + "Order_Example.xml"), - new FileSystemResource (sPrefix + "Order use cases/UC1_Order.xml"), - new FileSystemResource (sPrefix + "Order use cases/UC2_Order.xml"), - new FileSystemResource (sPrefix + "Order use cases/UC3_Order.xml"), - new FileSystemResource (sPrefix + "Order use cases/UC4_Order.xml"), - new FileSystemResource (sPrefix + "Order use cases/UC5_Order.xml")); - if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_DESPATCH_ADVICE_V3)) - return new CommonsArrayList <> (new FileSystemResource (sPrefix + "DespatchAdvice_Example.xml"), - new FileSystemResource (sPrefix + - "Despatch Advice use cases/DespatchAdvice-BIS3_UseCase1.xml"), - new FileSystemResource (sPrefix + - "Despatch Advice use cases/DespatchAdvice-BIS3_UseCase2.xml"), - new FileSystemResource (sPrefix + - "Despatch Advice use cases/DespatchAdvice-BIS3_UseCase3.xml"), - new FileSystemResource (sPrefix + - "Despatch Advice use cases/DespatchAdvice-BIS3_UseCase4.xml"), - new FileSystemResource (sPrefix + - "Despatch Advice use cases/DespatchAdvice-BIS3_UseCase5.xml")); - if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_CATALOGUE_V3)) - return new CommonsArrayList <> (new FileSystemResource (sPrefix + "Catalogue_Example.xml")); - if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_CATALOGUE_RESPONSE_V3)) - return new CommonsArrayList <> (new FileSystemResource (sPrefix + "CatalogueResponse_Example.xml")); - if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_MLR_V3)) - return new CommonsArrayList <> (new FileSystemResource (sPrefix + "MessageLevelResponse_Example.xml")); - if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_ORDER_RESPONSE_V3)) - return new CommonsArrayList <> (new FileSystemResource (sPrefix + "OrderResponse_Example.xml"), - new FileSystemResource (sPrefix + - "Order-response use cases/UC1_Order_response.xml"), - new FileSystemResource (sPrefix + - "Order-response use cases/UC2_Order_response.xml"), - new FileSystemResource (sPrefix + - "Order-response use cases/UC3_Order_response.xml"), - new FileSystemResource (sPrefix + - "Order-response use cases/UC4_Order_response.xml"), - new FileSystemResource (sPrefix + - "Order-response use cases/UC5_Order_response.xml")); - if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_PUNCH_OUT_V3)) - return new CommonsArrayList <> (new FileSystemResource (sPrefix + "PunchOut_Example.xml")); - if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_ORDER_AGREEMENT_V3)) - return new CommonsArrayList <> (new FileSystemResource (sPrefix + "OrderAgreement_Example.xml")); - - final String sBase2 = sPrefix + "Invoice reponse use cases/"; - if (aVESID.equals (PeppolValidation3_15_0.VID_OPENPEPPOL_INVOICE_MESSAGE_RESPONSE_V3)) - return new CommonsArrayList <> (new FileSystemResource (sPrefix + "InvoiceResponse_Example.xml"), - new FileSystemResource (sBase2 + "T111-uc001-Invoice in process.xml"), - new FileSystemResource (sBase2 + "T111-uc002a-Additional reference data.xml"), - new FileSystemResource (sBase2 + "T111-uc002b-In process but postponed.xml"), - new FileSystemResource (sBase2 + "T111-uc003-Invoice is accepted.xml"), - new FileSystemResource (sBase2 + "T111-uc004a-Invoice is rejected.xml"), - new FileSystemResource (sBase2 + "T111-uc004b-Rejected requesting reissue.xml"), - new FileSystemResource (sBase2 + - "T111-uc004c-Rejected requesting replacement.xml"), - new FileSystemResource (sBase2 + - "T111-uc005-Invoice is conditionally accepted.xml"), - new FileSystemResource (sBase2 + - "T111-uc006a-Under query missing information.xml"), - new FileSystemResource (sBase2 + "T111-uc006b-Missing PO.xml"), - new FileSystemResource (sBase2 + "T111-uc006c-Wrong detail partial credit.xml"), - new FileSystemResource (sBase2 + "T111-uc007-Payment has been initiated.xml"), - new FileSystemResource (sBase2 + - "T111-uc008-Invoice is accepted by third party.xml")); - } - // 2023-05 { final String sPrefix = sPrefix0 + "openpeppol/2023.5/";