validation-tools's People
validation-tools's Issues
UBL Mapping for BII2-T19-R006 contains illegal special chars
BII2-T19-R006 contains the masked "<" character "<" whereas all other rules have the "<" character contained as-is.
Replacing "<" with "<" does the trick!
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 CVA reference is invalid
The fields G45 and G49 in the OpenPEPPOL CodeList CVA sheet refers to the non-existing code list "currencyCodeList" but it should be "CurrencyCodeList".
Thanks
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.
BII2-T19-R026 has a minor typo
Orderable quantitites
should be Orderable quantities
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.