XSD Chamber of Commerce and Industry of Slovenia (GZS) · 2.0 (August 2020)

e-SLOG 2.0 validator

Slovenian e-invoice (e-SLOG 2.0)

The Slovenian e-invoice format, taken by the public sector through UJP and between businesses

Nothing is uploaded: the file is read and checked in your browser

About

e-SLOG 2.0 is the Slovenian e-invoice: EN 16931 in the structure of the UN/EDIFACT INVOIC D01B message, written as XML segment by segment, with a few national terms (the buyer's tax number, fiscal verification data, how the invoice is paid).

Suppliers of the public sector send it, or Peppol BIS, through UJP; e-invoices between Slovenian businesses become mandatory on 1 January 2028.

Good to know

  • The schema checks structure and data types. GZS publishes no business rules for e-SLOG 2.0: the code lists and the EN 16931 rules apply as the documentation describes them, and are not checked here.
  • GZS allows the published materials to be used free of charge for electronic commerce and the schemas not to be edited: both files are kept as published, including GZS's copy of the XML Signature schema with X509SerialNumber as a string.
  • The example is GZS's own sample of every business term (Annex C of the documentation).

Files

2 files · 77.2 KB · Download all (.zip)

The validator loads all of these with their folder structure, so includes and imports resolve as published

Example document

sample_eSLOG20_INVOIC_v200.xml · 25.1 KB · valid against this schema

In CI and from code

The same schema by its name, eslog-2.0, through the API.

npx @xmlvalid/cli validate "**/*.xml" --schema eslog-2.0
- uses: xmlvalid/validate-action@v1
  with:
    files: "**/*.xml"
    schema: eslog-2.0
    api-key: ${{ secrets.XMLVALID_API_KEY }}
curl https://xmlvalid.com/api/v1/validations \
  -H "Authorization: Bearer $XMLVALID_API_KEY" \
  -F document=@sample_eSLOG20_INVOIC_v200.xml \
  -F schema=eslog-2.0

Free accounts get 100 API validations a month. On Pro, a URL monitor can check a published document against this schema every hour and email you when it breaks. More CI setups