Giter Club home page Giter Club logo

validation-tools's People

Contributors

oriol avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

validation-tools's Issues

Duplicate entries in OpenPEPPOL CodeLists

CodeList TransportHandlingUnit:
The units "BO", "BQ", "BV" are contained twice.

CodeList Language:
The language "az" is contained twice.

Please remove the duplicate entries. thanks

OP-T10-R007 is missing support for "GTIN"

E.g. example file Use Case 2_ExampleFile_PEPPOL BIS.xml is using the scheme "GTIN" in

InvoiceLine[ID="2"]/cac:Item/cac:StandardItemIdentification/cbc:ID/@schemeID

Is it a bug in the examples or is the scheme "GTIN" missing in the OpenPEPPOL codelist for CommodityCode??

BII2-T01-R014 contains an invalid XPath

(xs:decimal(cbc:LineExtensionAmount)) = (round(xs:decimal(sum(/ubl:Order/cac:OrderLine/cac:LineItem/cbc:LineExtensionAmount)) * 10 * 10) div 100)

--> Cannot find a matching 1-argument function named decimal()

using Saxon HE 9.6.0-6

Error in template

Siw:
I have now gone through the new VA for invoice, and found one error, and that is for rule
[BII2-T10-R058]-Invoice total without VAT MUST be equal to the sum of VAT category taxable amounts

The rule it self is working as expected, but it is placed under the wrong template, so it will never fire. Should be placed under the /ubl:Invoice template I guess.

Problems with the new validation package on AIX.

Hello
We have tried to run the new 3.1 PEPPOL schematrons on our system (AIX 5.3 wpar on 7.1 lpar). We found a problem in "BIIRULES-UBL-T10.xsl" that fails on this rule:
"[BII2-T10-R058]-Invoice total without VAT MUST be equal to the sum of VAT category taxable amounts; "
When we run the same validation on the same document on Windows and Linux we get no errors.
We have tried different versions of Saxon9 and Java on all environments with the same result:

  • Ok on Linux and Windows,
  • Not OK on AIX.

Does anybody have any idea about what the problem might be.

You can find the testfile here:
https://joinup.ec.europa.eu/community/pid/topic/problems-new-validation-package-aix

UBL Mapping for BII2-T01-R014 contains an XPath error

The expression (xs:decimal(cbc:LineExtensionAmount)) = (round(sum((xs:decimal(/ubl:Order/cac:OrderLine/cac:LineItem/cbc:LineExtensionAmount)) * 10 * 10) div 100) has one opening bracket too much after sum. It should be:

(xs:decimal(cbc:LineExtensionAmount)) = (round(sum(xs:decimal(/ubl:Order/cac:OrderLine/cac:LineItem/cbc:LineExtensionAmount)) * 10 * 10) div 100)

OpenPEPPOL CodeList refers to StandardItemIdentifier but only CommodityCode is present

The OpenPEPPOL CVA sheet refers to the code list StandardItemIdentifier for the XPaths cac:Item/cac:StandardItemIdentification/cbc:ID/@schemeID and cac:Item/cac:StandardItemIdentification/cbc:ID but there is no such sheet in the ODS files.
But instead there is a sheet called CommodityCode in the ODS file which seem to match (from my point of view at least for the first one).

So if this is a typo, please either rename the sheet CommodityCode to StandardItemIdentifier or change the name in the CVA sheet. Thanks.

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.