Skip to content

1.2.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 12:26
2011bdd

Keeps the original severities of the EN 16931 rules for documents that do not state XRechnung,
adds ValidationProfile.withoutSeverityOverrides() and attests the SBOMs of a release. See the
API reference for 1.2.0.

Fixed

  • A document that states only EN 16931 (BT-24 urn:cen.eu:en16931:2017) was checked with the
    severity overrides of the XRechnung scenario, so EN 16931 rules changed their severity: CII-SR-465
    was an error instead of a warning and rejected valid invoices, and BR-CL-21 was weakened and let
    invalid invoices pass. validate(byte[]), validate(String), validate(InputStream) and
    validate(byte[], ValidationProfile.Syntax) now keep the original severities of the EN 16931 rules for
    a document that does not state XRechnung. The XRechnung rules still report their findings as
    information; documents that state XRechnung keep the official scenarios and overrides. The CLI
    command validate is affected the same way.

Added

  • ValidationProfile.withoutSeverityOverrides() returns a profile with the original severities of
    its rules, without the severity overrides of a scenario (for example the customLevel entries of
    XRechnung). The facade uses it for documents that do not state XRechnung; use it with
    InvoiceValidator to run the rules of a CIUS on a document that does not state it.
  • Regression tests (PlainEn16931SeverityTest) with four control invoices for CII-SR-465 and
    BR-CL-21 in CII and UBL.

Changed

  • The SBOMs (*-cyclonedx.json) of a release now carry a build provenance attestation like the
    JARs, and the release dry-run checks that every module and the parent produce a valid CycloneDX
    SBOM before anything is deployed.

Verification

The JARs are published to Maven Central with GPG signatures. This release carries for every
module the SBOM (*-cyclonedx.json), the SHA-256 checksums of all files (SHA256SUMS), the
OWASP Dependency-Check report of the release build, the test evidence of the release run
(*-test-evidence.tar.gz, *-test-evidence.json, SHA256SUMS-test-evidence), and a build
provenance attestation of GitHub. The build is reproducible; see Verifying a release.