Coder Social home page Coder Social logo

itplr-kosit / validator-configuration-bis Goto Github PK

View Code? Open in Web Editor NEW
4.0 8.0 1.0 1.7 MB

Validator Configuration Peppol BIS Billing 3.0 [MIRROR OF GitLab]

Home Page: https://projekte.kosit.org/peppol/validator-configuration-bis

License: Apache License 2.0

XSLT 100.00%
xml schematron peppol peppol-bis kosit-validator validation validator xml-schema einvoice e-invoice

validator-configuration-bis's Introduction

Validator Configuration for Peppol Billing BIS 3.0

This is a special configuration of the KoSIT Validator.

If you think you have found a bug, please contact us.

Existing issues can be found at our issue tracker.

You can find packaged releases on our GitLab project.

This validator uses the latest Peppol BIS 2023-11 rules.

This is the "November 2023" release announced on 2023-11-28.

It is valid per 2024-02-26 00:00 CEST.

The next Peppol update is foreseen in May 2024.

Please note: this configuration uses validation artefacts published by OpenPeppol (OpenPeppol - GitHub). Please use the Peppol Service desk to report any issues related to the validation. KoSIT is offering this configuration of the KoSIT Validator, but excludes any liability.

Getting started

Prerequisites

Required tools:

  • curl
  • unzip

As a prerequisite you need the KoSIT Validator to run it.

# download validator
curl -L "https://github.com/itplr-kosit/validator/releases/download/v1.4.2/validator-1.4.2-distribution.zip" --output validator.zip

# unzip the validator (ensure the target directory "bin" is empty before unzipping)
unzip validator.zip -d bin/

Running the validator

Required tools:

  • Java 1.8 or Java 11 - Java 17 does not seem to work

Verify all examples files (test-files/good/*.xml) and produced HTML output to directory result-reports/ - all of them should be valid:

java -jar bin/validationtool-1.4.2-java8-standalone.jar -s scenarios.xml -h -o result-reports/ test-files/good/ubl/*.xml

Note: eventually you need to explicitly use "%JAVA_HOME%\bin\java" on Windows

Validator 1.4.2 help:

usage: check-tool  -s <scenario-config-file> [OPTIONS] [FILE]...
 -?,--help                                 Displays this help
 -c,--check-assertions <assertions-file>   Check the result using defined
                                           assertions
 -D,--daemon                               Starts a daemon listing for
                                           validation requests
 -d,--debug                                Prints some more debug
                                           information
 -G,--disable-gui                          Disables the GUI of the daemon
                                           mode
 -H,--host <arg>                           The hostname / IP address to
                                           bind the daemon. Default is
                                           localhost
 -h,--html                                 Extract and save any html
                                           content within  result as a
                          separate file
 -l,--log-level <arg>                      Enables a certain log level for
                                           debugging purposes
  -m, --memory-stats    Prints some memory stats
 -o,--output-directory <arg>               Defines the out directory for
                                           results. Defaults to cwd
 -P,--port <arg>                           The port to bind the daemon.
                                           Default is 8080
 -p,--print                                Prints the check result to
                                           stdout
 -r,--repository <arg>                     Directory containing scenario
                                           content
    --report-postfix <arg>                 Postfix of the generated report
                                           name
    --report-prefix <arg>                  Prefix of the generated report
                                           name
 -s,--scenarios <arg>                      Location of scenarios.xml e.g.
 -T,--threads <arg>                        Number of threads processing
                                           validation requests
 -X,--debug-logging                        Enables full debug log. Alias
                                           for -l debug

Building a release

Required tools:

  • zip
zip -r -9 validation-configuration-bis-3.0.16.zip README.md scenarios.xml resources/*

validator-configuration-bis's People

Contributors

phax avatar rkottmann avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

redfish

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.