-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from OpenPEPPOL/2021-fall-ReleaseCandidate
2021 fall release candidate
- Loading branch information
Showing
39 changed files
with
763 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Build and deploy non-master branch to test-docs | ||
on: | ||
push: | ||
branches-ignore: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build Spec | ||
run: bash ./build.sh | ||
|
||
- name: Deploy on S3 | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
run: | | ||
aws s3 sync --acl public-read --region eu-west-1 target/site ${{ secrets.AWS_S3_PATH }}/${GITHUB_REF#refs/heads/} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
# PEPPOL BIS Upgrade | ||
|
||
This repository is used for the PEPPOL BIS Upgrade project | ||
This repository is used for the PEPPOL BIS Upgrade project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
= Version 3.0.8 | ||
[horizontal] | ||
Release date:: 2021-11-15 | ||
|
||
== Changes to BIS document | ||
|
||
* BIS Order Agreement - editorial changes in the sub-numbering of a chapters for use cases. [POACC-401] | ||
* BIS Order Only - editorial update to section 6.10 regarding Tax total [POACC-413] | ||
* BIS Order Only, BIS Ordering, BIS Order Agreement - Editorial update to the description of tax usage on line level [POACC-440][POACC-441][POACC-442] | ||
|
||
== Changes to syntax | ||
|
||
* Catalogue transaction - Clarified description of the business term Cataloge identifier. Changed wording "positive referencing" to "uniquely referencing" [POACC-406]. | ||
* Order Response - Editorial update to cac:Party for SellerSupplierParty to be mandatory instead of optional [POACC-428] | ||
* Invoice Response - Removed trailing note left in description of DocumentReference/ID and DocumentReference/issueDate [POACC-447] | ||
* Duplicate tir identifiers in seller and buyer party legal information in order corrected by assignin new id's for Seller party legal information using tir01-p038 to tir01-p041. [POACC-414] | ||
|
||
== Changes to code lists and validation artefacts | ||
|
||
* Added rule (severity warning) for validation of format for Belgian organisation numbers (ICD:0208). Rule is planned to be changed to severity fatal in 2022 spring release. [POACC-408] | ||
|
||
* Added rule (severity warning) for validation of format for Italian identifiers (ICD:0201, 0210, 0211 and EAS 9906 and 9907). Rules are planned to be changed to severity fatal in 2022 spring release. [POACC-423] | ||
|
||
* Added transport handling unit (tir16-085) and packaging type (tir16-090) codes to align with CEF listing of codes. (O1, O2, O3, O4, O5, O6, O7, O8, O9, OG, OH, OI, OJ, OL, OM, ON, OP, OQ, OR, OS, OV, OW, OX, OY, OZ, P1, P3, P4, SX). [POACC-427] | ||
|
||
* Added UOM codes IUG, KWN, KWS, ODG, ODK, ODM, Q41, Q42, XZZ to aling with CEF listing of codes. [POACC-427] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<function name="u:addPIVA" as="xs:integer" xmlns="http://www.w3.org/1999/XSL/Transform"> | ||
<param name="arg" as="xs:string"/> | ||
<param name="pari" as="xs:integer"/> | ||
<variable name="tappo" select="if (not($arg castable as xsd:integer)) then 0 else 1"/> | ||
<variable name="mapper" select="if ($tappo = 0) then 0 else | ||
( if ($pari = 1) | ||
then ( xs:integer(substring('0246813579', ( xs:integer(substring($arg,1,1)) +1 ) ,1)) ) | ||
else ( xs:integer(substring($arg,1,1) ) ) | ||
)"/> | ||
<sequence select="if ($tappo = 0) then $mapper else ( xs:integer($mapper) + u:addPIVA(substring(xs:string($arg),2), (if($pari=0) then 1 else 0) ) )"/> | ||
</function> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<function name="u:checkCF" as="xs:boolean" xmlns="http://www.w3.org/1999/XSL/Transform"> | ||
<param name="arg" as="xs:string?"/> | ||
<sequence select=" | ||
if ( (string-length($arg) = 16) or (string-length($arg) = 11) ) | ||
then | ||
( | ||
if ((string-length($arg) = 16)) | ||
then | ||
( | ||
if (u:checkCF16($arg)) | ||
then | ||
( | ||
true() | ||
) | ||
else | ||
( | ||
false() | ||
) | ||
) | ||
else | ||
( | ||
if(($arg castable as xsd:integer)) then true() else false() | ||
) | ||
) | ||
else | ||
( | ||
false() | ||
) | ||
"/> | ||
</function> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<function name="u:checkCF16" as="xs:boolean" xmlns="http://www.w3.org/1999/XSL/Transform"> | ||
<param name="arg" as="xs:string?"/> | ||
<variable name="allowed-characters">ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz</variable> | ||
<sequence select=" | ||
if ( (string-length(translate(substring($arg,1,6), $allowed-characters, '')) = 0) and | ||
(substring($arg,7,2) castable as xsd:integer) and | ||
(string-length(translate(substring($arg,9,1), $allowed-characters, '')) = 0) and | ||
(substring($arg,10,2) castable as xsd:integer) and | ||
(substring($arg,12,3) castable as xsd:string) and | ||
(substring($arg,15,1) castable as xsd:integer) and | ||
(string-length(translate(substring($arg,16,1), $allowed-characters, '')) = 0) | ||
) | ||
then true() | ||
else false() | ||
"/> | ||
</function> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<function name="u:checkCodiceIPA" as="xs:boolean" xmlns="http://www.w3.org/1999/XSL/Transform"> | ||
<param name="arg" as="xs:string?"/> | ||
<variable name="allowed-characters">ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789</variable> | ||
<sequence select="if ( (string-length(translate($arg, $allowed-characters, '')) = 0) and (string-length($arg) = 6) ) then true() else false()"/> | ||
</function> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<function name="u:checkPIVA" as="xs:integer" xmlns="http://www.w3.org/1999/XSL/Transform"> | ||
<param name="arg" as="xs:string?"/> | ||
<sequence select=" | ||
if (not($arg castable as xsd:integer)) | ||
then 1 | ||
else ( u:addPIVA($arg,xs:integer(0)) mod 10 )"/> | ||
</function> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<function name="u:checkPIVAseIT" as="xs:boolean" xmlns="http://www.w3.org/1999/XSL/Transform"> | ||
<param name="arg" as="xs:string"/> | ||
<variable name="paese" select="substring($arg,1,2)"/> | ||
<variable name="codice" select="substring($arg,3)"/> | ||
<sequence select=" | ||
if ( $paese = 'IT' or $paese = 'it' ) | ||
then | ||
( | ||
if ( ( string-length($codice) = 11 ) and ( if (u:checkPIVA($codice)!=0) then false() else true() )) | ||
then | ||
( | ||
true() | ||
) | ||
else | ||
( | ||
false() | ||
) | ||
) | ||
else | ||
( | ||
true() | ||
) | ||
"/> | ||
</function> |
Oops, something went wrong.