diff --git a/.gitignore b/.gitignore index 9192b90..b55d0d3 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ dist_*/ # custom test/output .serena +assets/schematron diff --git a/assets/schematron/EN16931-CII-v1.3.14.meta.json b/assets/schematron/EN16931-CII-v1.3.14.meta.json index a3c7855..5f0bc30 100644 --- a/assets/schematron/EN16931-CII-v1.3.14.meta.json +++ b/assets/schematron/EN16931-CII-v1.3.14.meta.json @@ -3,5 +3,5 @@ "version": "1.3.14", "url": "https://github.com/ConnectingEurope/eInvoicing-EN16931/raw/master/cii/schematron/EN16931-CII-validation.sch", "format": "CII", - "downloadDate": "2025-08-12T05:01:07.919Z" + "downloadDate": "2025-08-12T05:13:30.667Z" } \ No newline at end of file diff --git a/assets/schematron/EN16931-EDIFACT-v1.3.14.meta.json b/assets/schematron/EN16931-EDIFACT-v1.3.14.meta.json index 7780287..a5284f6 100644 --- a/assets/schematron/EN16931-EDIFACT-v1.3.14.meta.json +++ b/assets/schematron/EN16931-EDIFACT-v1.3.14.meta.json @@ -3,5 +3,5 @@ "version": "1.3.14", "url": "https://github.com/ConnectingEurope/eInvoicing-EN16931/raw/master/edifact/schematron/EN16931-EDIFACT-validation.sch", "format": "CII", - "downloadDate": "2025-08-12T05:01:08.258Z" + "downloadDate": "2025-08-12T05:13:31.017Z" } \ No newline at end of file diff --git a/assets/schematron/EN16931-UBL-v1.3.14.meta.json b/assets/schematron/EN16931-UBL-v1.3.14.meta.json index debb71c..13c5720 100644 --- a/assets/schematron/EN16931-UBL-v1.3.14.meta.json +++ b/assets/schematron/EN16931-UBL-v1.3.14.meta.json @@ -3,5 +3,5 @@ "version": "1.3.14", "url": "https://github.com/ConnectingEurope/eInvoicing-EN16931/raw/master/ubl/schematron/EN16931-UBL-validation.sch", "format": "UBL", - "downloadDate": "2025-08-12T05:01:07.598Z" + "downloadDate": "2025-08-12T05:13:30.323Z" } \ No newline at end of file diff --git a/assets/schematron/PEPPOL-EN16931-UBL-v3.0.17.meta.json b/assets/schematron/PEPPOL-EN16931-UBL-v3.0.17.meta.json index 0f71da0..0ea3fa9 100644 --- a/assets/schematron/PEPPOL-EN16931-UBL-v3.0.17.meta.json +++ b/assets/schematron/PEPPOL-EN16931-UBL-v3.0.17.meta.json @@ -3,5 +3,5 @@ "version": "3.0.17", "url": "https://github.com/OpenPEPPOL/peppol-bis-invoice-3/raw/master/rules/sch/PEPPOL-EN16931-UBL.sch", "format": "UBL", - "downloadDate": "2025-08-12T05:01:08.635Z" + "downloadDate": "2025-08-12T05:13:31.420Z" } \ No newline at end of file diff --git a/ts/formats/validation/schematron.downloader.ts b/ts/formats/validation/schematron.downloader.ts index 1928d62..4f75b07 100644 --- a/ts/formats/validation/schematron.downloader.ts +++ b/ts/formats/validation/schematron.downloader.ts @@ -44,14 +44,14 @@ export const SCHEMATRON_SOURCES: Record = { { name: 'XRechnung-UBL', version: '3.0.2', - url: 'https://github.com/itplr-kosit/xrechnung-schematron/raw/master/src/schematron/ubl-invoice/XRechnung-UBL-3.0.sch', + url: 'https://github.com/itplr-kosit/xrechnung-schematron/raw/master/src/validation/schematron/ubl/XRechnung-UBL-validation.sch', description: 'XRechnung CIUS validation for UBL', format: 'UBL' }, { name: 'XRechnung-CII', version: '3.0.2', - url: 'https://github.com/itplr-kosit/xrechnung-schematron/raw/master/src/schematron/cii/XRechnung-CII-3.0.sch', + url: 'https://github.com/itplr-kosit/xrechnung-schematron/raw/master/src/validation/schematron/cii/XRechnung-CII-validation.sch', description: 'XRechnung CIUS validation for CII', format: 'CII' } @@ -61,22 +61,15 @@ export const SCHEMATRON_SOURCES: Record = { name: 'PEPPOL-EN16931-UBL', version: '3.0.17', url: 'https://github.com/OpenPEPPOL/peppol-bis-invoice-3/raw/master/rules/sch/PEPPOL-EN16931-UBL.sch', - description: 'PEPPOL BIS Billing 3.0 validation rules', + description: 'PEPPOL BIS Billing 3.0 validation rules for UBL', format: 'UBL' }, { - name: 'PEPPOL-T10', + name: 'PEPPOL-EN16931-CII', version: '3.0.17', - url: 'https://github.com/OpenPEPPOL/peppol-bis-invoice-3/raw/master/rules/sch/UBL-T10.sch', - description: 'PEPPOL Transaction 10 (Invoice) validation', - format: 'UBL' - }, - { - name: 'PEPPOL-T14', - version: '3.0.17', - url: 'https://github.com/OpenPEPPOL/peppol-bis-invoice-3/raw/master/rules/sch/UBL-T14.sch', - description: 'PEPPOL Transaction 14 (Credit Note) validation', - format: 'UBL' + url: 'https://github.com/OpenPEPPOL/peppol-bis-invoice-3/raw/master/rules/sch/PEPPOL-EN16931-CII.sch', + description: 'PEPPOL BIS Billing 3.0 validation rules for CII', + format: 'CII' } ] };