Skip to content

Tests der xrechnung-testsuite werden nicht bestanden (04.01, 04.02, 04.03, 04.04) #117

@Flohsamen

Description

@Flohsamen

Testfälle der itplr-kosit/xrechnung-testsuite werden mit Warnungen beendet:

04.01 | Sub invoice lines, payment means code 31, basis quantities
04.02 | Sub invoice lines, payment means code 59
04.03 | Construction invoice with sub invoice lines, order reference, billing reference, exemption reason
04.04 | Scaffolders' invoice with sub invoice lines

Alle Dateien erzeugen die Warnung:
[UBL-CR-646]-A UBL invoice should not include the InvoiceLine SubInvoiceLine

Der Testfall wird richtig erkannt:
Validating document using scenario EN16931 XRechnung Extension (UBL Invoice)

Hier die Ausgabe:


KoSIT Validator version 1.5.0
Loading scenarios from  XX/validator-configuration-xrechnung_3.0.2_2025-03-21/scenarios.xml
Using repository  XX/validator-configuration-xrechnung_3.0.2_2025-03-21/

2025-03-25 13:44:44 [INFO] Using resolving strategy STRICT_RELATIVE
2025-03-25 13:44:44 [DEBUG] Try to disable extern DTD access
2025-03-25 13:44:44 [DEBUG] Try to disable extern DTD access
2025-03-25 13:44:44 [INFO] Loading scenarios from XX/validator-configuration-xrechnung_3.0.2_2025-03-21/scenarios.xml
2025-03-25 13:44:44 [INFO] Loading scenario content from XX/validator-configuration-xrechnung_3.0.2_2025-03-21/
2025-03-25 13:44:45 [INFO] Loading XSLT script from  resources/ubl/2.1/xsl/EN16931-UBL-validation.xsl
2025-03-25 13:44:46 [INFO] Loading XSLT script from  resources/xrechnung/3.0.2/xsl/XRechnung-UBL-validation.xsl
2025-03-25 13:44:46 [WARN] Received warnings or errors while loading a xslt script resources/xrechnung/3.0.2/xsl/XRechnung-UBL-validation.xsl
2025-03-25 13:44:46 [WARN] A function that computes atomic values should use xsl:sequence rather than xsl:value-of At row 121 at pos 30
2025-03-25 13:44:46 [WARN] A function that computes atomic values should use xsl:sequence rather than xsl:value-of At row 48 at pos 30
2025-03-25 13:44:46 [INFO] Loading XSLT script from  resources/xrechnung-report.xsl
2025-03-25 13:44:46 [INFO] Loading XSLT script from  resources/ubl/2.1/xsl/EN16931-UBL-validation.xsl
2025-03-25 13:44:46 [INFO] Loading XSLT script from  resources/xrechnung/3.0.2/xsl/XRechnung-UBL-validation.xsl
2025-03-25 13:44:46 [WARN] Received warnings or errors while loading a xslt script resources/xrechnung/3.0.2/xsl/XRechnung-UBL-validation.xsl
2025-03-25 13:44:46 [WARN] A function that computes atomic values should use xsl:sequence rather than xsl:value-of At row 121 at pos 30
2025-03-25 13:44:46 [WARN] A function that computes atomic values should use xsl:sequence rather than xsl:value-of At row 48 at pos 30
2025-03-25 13:44:46 [INFO] Loading XSLT script from  resources/xrechnung-report.xsl
2025-03-25 13:44:46 [INFO] Loading XSLT script from  resources/ubl/2.1/xsl/EN16931-UBL-validation.xsl
2025-03-25 13:44:46 [INFO] Loading XSLT script from  resources/xrechnung/3.0.2/xsl/XRechnung-UBL-validation.xsl
2025-03-25 13:44:46 [WARN] Received warnings or errors while loading a xslt script resources/xrechnung/3.0.2/xsl/XRechnung-UBL-validation.xsl
2025-03-25 13:44:46 [WARN] A function that computes atomic values should use xsl:sequence rather than xsl:value-of At row 121 at pos 30
2025-03-25 13:44:46 [WARN] A function that computes atomic values should use xsl:sequence rather than xsl:value-of At row 48 at pos 30
2025-03-25 13:44:46 [INFO] Loading XSLT script from  resources/xrechnung-report.xsl
2025-03-25 13:44:46 [INFO] Loading XSLT script from  resources/cii/16b/xsl/EN16931-CII-validation.xsl
2025-03-25 13:44:47 [INFO] Loading XSLT script from  resources/xrechnung/3.0.2/xsl/XRechnung-CII-validation.xsl
2025-03-25 13:44:47 [WARN] Received warnings or errors while loading a xslt script resources/xrechnung/3.0.2/xsl/XRechnung-CII-validation.xsl
2025-03-25 13:44:47 [WARN] A function that computes atomic values should use xsl:sequence rather than xsl:value-of At row 125 at pos 30
2025-03-25 13:44:47 [WARN] A function that computes atomic values should use xsl:sequence rather than xsl:value-of At row 52 at pos 30
2025-03-25 13:44:47 [INFO] Loading XSLT script from  resources/xrechnung-report.xsl
2025-03-25 13:44:47 [INFO] Loading XSLT script from  resources/cii/16b/xsl/EN16931-CII-validation.xsl
2025-03-25 13:44:47 [INFO] Loading XSLT script from  resources/xrechnung/3.0.2/xsl/XRechnung-CII-validation.xsl
2025-03-25 13:44:47 [WARN] Received warnings or errors while loading a xslt script resources/xrechnung/3.0.2/xsl/XRechnung-CII-validation.xsl
2025-03-25 13:44:47 [WARN] A function that computes atomic values should use xsl:sequence rather than xsl:value-of At row 125 at pos 30
2025-03-25 13:44:47 [WARN] A function that computes atomic values should use xsl:sequence rather than xsl:value-of At row 52 at pos 30
2025-03-25 13:44:47 [INFO] Loading XSLT script from  resources/xrechnung-report.xsl
2025-03-25 13:44:47 [INFO] Loading XSLT script from  resources/ubl/2.1/xsl/EN16931-UBL-validation.xsl
2025-03-25 13:44:47 [INFO] Loading XSLT script from  resources/xrechnung-report.xsl
2025-03-25 13:44:47 [INFO] Loading XSLT script from  resources/ubl/2.1/xsl/EN16931-UBL-validation.xsl
2025-03-25 13:44:47 [INFO] Loading XSLT script from  resources/xrechnung-report.xsl
2025-03-25 13:44:47 [INFO] Loading XSLT script from  resources/cii/16b/xsl/EN16931-CII-validation.xsl
2025-03-25 13:44:48 [INFO] Loading XSLT script from  resources/xrechnung-report.xsl
2025-03-25 13:44:48 [INFO] Loading XSLT script from  resources/default-report.xsl
Loaded "Validator Configuration XRechnung 3.0.2" by Coordination Office for IT Standards (KoSIT) from 2025-03-24
The following scenarios are available:
  * EN16931 XRechnung (UBL Invoice)
  * EN16931 XRechnung Extension (UBL Invoice)
  * EN16931 XRechnung (UBL CreditNote)
  * EN16931 XRechnung (CII)
  * EN16931 XRechnung Extension (CII)
  * EN16931 (UBL Invoice)
  * EN16931 (UBL CreditNote)
  * EN16931 (CII)

2025-03-25 13:44:48 [INFO] Loaded scenarios for Validator Configuration XRechnung 3.0.2 by Coordination Office for IT Standards (KoSIT) from 2025-03-24.
2025-03-25 13:44:48 [INFO] The following scenarios are available:
EN16931 XRechnung (UBL Invoice)
EN16931 XRechnung Extension (UBL Invoice)
EN16931 XRechnung (UBL CreditNote)
EN16931 XRechnung (CII)
EN16931 XRechnung Extension (CII)
EN16931 (UBL Invoice)
EN16931 (UBL CreditNote)
EN16931 (CII)

2025-03-25 13:44:48 [DEBUG] Try to disable extern DTD access
2025-03-25 13:44:48 [INFO] Setup completed in 4328ms


Processing of 1 objects started
2025-03-25 13:44:48 [INFO] Checking content of /04.01a-INVOICE_ubl.xml
2025-03-25 13:44:48 [DEBUG] Step DocumentParseAction finished in 6ms
2025-03-25 13:44:48 [DEBUG] Step CreateDocumentIdentificationAction finished in 0ms
2025-03-25 13:44:48 [INFO] Scenario EN16931 XRechnung Extension (UBL Invoice) identified for /04.01a-INVOICE_ubl.xml
2025-03-25 13:44:48 [DEBUG] Step ScenarioSelectionAction finished in 11ms
2025-03-25 13:44:48 [DEBUG] Validating document using scenario EN16931 XRechnung Extension (UBL Invoice)
2025-03-25 13:44:48 [DEBUG] Try to disable extern DTD access
2025-03-25 13:44:48 [DEBUG] Step SchemaValidationAction finished in 5ms
2025-03-25 13:44:48 [DEBUG] Step SchematronValidationAction finished in 108ms
2025-03-25 13:44:48 [DEBUG] Step ValidateReportInputAction finished in 17ms
2025-03-25 13:44:48 [DEBUG] Step CreateReportAction finished in 52ms
2025-03-25 13:44:48 [DEBUG] Step ComputeAcceptanceAction finished in 0ms

Processing of 1 objects completed in 329ms
Results:

--------------------------------------------------------------------------------------------------------------------------------------------------------
|File                                                        |Schema |Schematron|Acceptance|Error/Description                                           |
|                                                            |   Y   |    N     |ACCEPTABLE|[UBL-CR-646]-A UBL invoice should not include the InvoiceLin|
|            04.01a-INVOICE_ubl.xml                          |       |          |          |e SubInvoiceLine                                            |
--------------------------------------------------------------------------------------------------------------------------------------------------------
Acceptable:  1  Rejected:  0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions