validator/configurations/xrechnung/test/assertions.csv

4.6 KiB
Raw Blame History

1ubl001ubl002ubl003ubl004ubl005ubl006ubl007ubl008bin001cii001
2Report has status validrep:report/@valid = 'true'+---------
3Timestamp is todayformat-dateTime(rep:report/rep:timestamp, '[Y0001][M01][D01]') = format-date(current-date(),'[Y0001][M01][D01]')++++++++++
4Document hash matchesrep:report/rep:documentIdentification/rep:documentHash/rep:hashValue = 'TfvPbPcDevSv5anZIbgsyLioTLdzjnLTSXRhMsBlCIo='+---------
5Document reference matchescontains(rep:report/rep:documentIdentification/rep:documentReference, 'ubl001')+---------
6Scenario foundrep:report/rep:scenarioMatched+++++--+-+
7UBL Invoice scenario foundrep:report/rep:scenarioMatched/s:scenario/s:name = 'EN16931 CIUS XRechnung (UBL Invoice)'+++++-----
8UBL CreditNote scenario foundrep:report/rep:scenarioMatched/s:scenario/s:name = 'EN16931 CIUS XRechnung (UBL CreditNote)'-------+--
9CII Invoice scenario foundrep:report/rep:scenarioMatched/s:scenario/s:name = 'EN16931 CIUS XRechnung (CII)'---------+
10Document data foundrep:report/rep:scenarioMatched/rep:documentData/*+++++--+-+
11Schema validation performedrep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-xsd']+++++--+-+
12Schema validatation has status validrep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-xsd']/@valid = 'true'++++---+-+
13Schema validatation has error messagerep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-xsd']/rep:message[@level = 'error']----+-----
14Schema validatation has warning messagerep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-xsd']/rep:message[@level = 'warning']----------
15Schema validatation has information messagerep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-xsd']/rep:message[@level = 'information']----------
16Schema validatation has message with line numberrep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-xsd']/rep:message[@lineNumber]----+-----
17Schema validatation has message with column numberrep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-xsd']/rep:message[@columnNumber]----+-----
18First schematron validation performedrep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.1']++++---+-+
19First schematron validation has status validrep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.1']/@valid = 'true'+--+------
20First schematron validatation has error messagerep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.1']/rep:message[@level = 'error']-++----+-+
21First schematron validatation has warning messagerep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.1']/rep:message[@level = 'warning']-+-------+
22First schematron validatation has information messagerep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.1']/rep:message[@level = 'information']----------
23Schema validatation has message with xpath locationrep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.1']/rep:message[@xpathLocation]-++----+-+
24Second schematron validation performedrep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.2']++++---+-+
25Second schematron validation has status validrep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.2']/@valid = 'true'+++-------
26WFR validation step exists for no scenario found rep:report/rep:noScenarioMatched/rep:validationStepResult[@id = 'val-xml']-----++-+-
27WFR validation step for no scenario found has message (XML case)rep:report/rep:noScenarioMatched/rep:validationStepResult[@id = 'val-xml']/rep:message------+-+-
28Assessment recommends acceptancerep:report/rep:assessment/rep:accept+-+-------
29HTML explanation for acceptance existsrep:report/rep:assessment/rep:accept/rep:explanation/html:html[@data-report-type = 'report']+-+-------
30HTML explanation for acceptance recommends acceptancerep:report/rep:assessment/rep:accept/rep:explanation/html:html[@data-report-type = 'report']//*[contains(., 'Es wird empfohlen das Dokument anzunehmen')]+-+-------
31HTML explanation for rejection existsrep:report/rep:assessment/rep:reject/rep:explanation/html:html[@data-report-type = 'report']-+-+++++++
32HTML explanation for rejection recommends rejectionrep:report/rep:assessment/rep:reject/rep:explanation/html:html[@data-report-type = 'report']//*[contains(., 'Es wird empfohlen das Dokument zur<75>ckzuweisen')]-+-+++++++