milosev.com
  • Home
    • List all categories
    • Sitemap
  • Downloads
    • WebSphere
    • Hitachi902
    • Hospital
    • Kryptonite
    • OCR
    • APK
  • About me
    • Gallery
      • Italy2022
      • Côte d'Azur 2024
    • Curriculum vitae
      • Resume
      • Lebenslauf
    • Social networks
      • Facebook
      • Twitter
      • LinkedIn
      • Xing
      • GitHub
      • Google Maps
      • Sports tracker
    • Adventures planning
  1. You are here:  
  2. Home

Validation of XML Files for Electronic Invoicing

Details
Written by: Stanko Milosev
Category: Downloads
Published: 09 November 2024
Last Updated: 17 November 2024
Hits: 1779
First, a bit of background.

Electronic invoicing (also called e-invoicing or einvoicing) is a form of electronic billing.

Under EU Directive 2014/55/EU on electronic invoicing in public procurement, the EU commissioned the development of a "European standard on electronic invoicing" - European Union, Directive 2014/55/EU on Electronic Invoicing in Public Procurement, 16 April 2014, Article 3

EN 16931-2 Electronic invoicing - Part 2: List of syntaxes that comply with EN 16931-1 describes the syntaxes that can be used to represent an electronic invoice: UBL 2.1 - Universal business language version 2.1 and CII 16B - Cross Industry Invoice in XML Schemas 16B XML files.

The official Schematron eInvoicing-EN16931 artefacts for CEN/TC 434 are here

The abreviation EN16931 stands for EN - abbreviated EN, from the German name Europäische Norm ("European Norm") and it was developed by European Committee for Standardization (CEN, French: Comité Européen de Normalisation)

---

The problem is that .NET natively supports neither Schematron validation nor XSLT (Extensible Stylesheet Language Transformations) 2.0

In my list of articles I gave a few examples of how Electronic Invoicing XML documents can be validated in .NET. The result is my application for document validation.

Another way to test if XML documents comply with EN16931 standard is by using KoSIT Validator. Here is an example using KoSIT Validator 1.5.0 and Validator Configuration 2024-06-20 compatible with XRechnung 3.0.x:

java" -jar "\validator-1.5.0-distribution\validationtool-1.5.0-standalone.jar" -s "\validator-configuration-xrechnung_3.0.2_2024-06-20\scenarios.xml" -r "\validator-configuration-xrechnung_3.0.2_2024-06-20" "eInvoice.xml" -h -o \output
Without TPL library download exe from here source code from here. If you need XML files good and wrong for tests, download from here.

With TPL library download from here , source from here

Source you can also find on GitHub

Reminder

Details
Written by: Stanko Milosev
Category: Downloads
Published: 16 May 2023
Last Updated: 16 May 2023
Hits: 1004
Small app to remind me to do workout every 30 min. Here is the exe, and here is the source.

Just another real time tracking app

Details
Written by: Stanko Milosev
Category: Downloads
Published: 22 May 2022
Last Updated: 22 May 2022
Hits: 1767
This is my example of using GPS in Android device, this application will every user defined seconds (default 30) save a file with GPS longitude/latitude as a JSON node.

Please note that it was only tested with Huawei P30 lite, and Android 10, also please note that the files will never be deleted, you have to delete them manually. Files are located somewhere in \Android\data\com.milosev.justanotherrealtimetrackingapp\files\locations.

Source code download from here, APK from here, GitHub here.

Android application package (APK)

Details
Written by: Stanko Milosev
Category: Downloads
Published: 17 August 2015
Last Updated: 17 August 2015
Hits: 13272

Example of WebView in google android. Tutorial I was following from this web site. APK download from here. Source you can see here.

  1. OCR
  2. Kryptonite
  3. Goods
  4. Hitachi902

Subcategories

C#

Azure

ASP.NET

JavaScript

Software Development Philosophy

MS SQL

IBM WebSphere MQ

MySQL

Joomla

Delphi

PHP

Windows

Life

Lazarus

Downloads

Android

CSS

Chrome

HTML

Linux

Eclipse

Page 137 of 166

  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141