Large scale validation of millions of UBL Invoices with XML Schema and Schematron

Track: Deploying XML, Large-Scale Architectures, Case Studies

Audience Level: High Level/Technical view

Time: Wednesday, November 16 16:00

Author: Mikkel Hippe Brun, Danish National IT and Telecom Agency

Author: Brian Nielsen, Danish National IT and Telecom Agency

Author: Christian Lanng, Ministry of Science, Technology and Innovation

Author: Bryan Rasmussen, Ministry of Science, Technology and Innovation

Keywords: UBL, Validation, Business Process, Case Studies, Data Interchange, E-business, ECommerce, EdiFact, OIOXML, Invoice, Billing, Ordering, Schematron

Abstract:

Since February 1st 2005, millions of invoices have been exchanged between the private sector and the public sector in Denmark. This paper focuses on real life problems, experiences and solutions with syntactical and semantical validation of millions of electronic invoices. Localization and documentation for regional and national use is a massive and important assignment. I.e. decisions on the use of identifiers have to be specified and local payment methods must be mapped to the international standard. The result is a message with many internal integrity constraints that cannot be validated with the UBL schemas alone. In order to provide even stronger validation, non-normative supplementary schemas have been developed. These schemas perform stronger validation based on decisions about the use of national identifiers for companies and persons. In addition to the use of XML schema – Schematron is used for the validation of internal referential integrity constraints. Experiences and theoretical considerations on the localization of international vocabularies are discussed.