Skip to content

Commit

Permalink
update validation-lib, support XRechnung v2.2.0, v2.1.1.,v1.2.2 removed
Browse files Browse the repository at this point in the history
  • Loading branch information
landrix committed Sep 12, 2022
1 parent 3dbb654 commit 08441ec
Show file tree
Hide file tree
Showing 11 changed files with 162 additions and 300 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ Samples/Win32
Samples/Win64
SaxonHE-Unmanaged
Distribution/validator
Distribution/validator-configuration-122
Distribution/validator-configuration-211
Distribution/validator-configuration-220
Distribution/visualization
Distribution/java
Schema
Expand Down
15 changes: 10 additions & 5 deletions Distribution/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# XRechnung Validierung

Das Skript installtools.ps1 mit PowerShell ausführen, um die Tools zu installieren bzw. zu aktualisieren.
Das Skript installtools.ps1 mit PowerShell ausfuehren, um die Tools zu installieren bzw. zu aktualisieren.

## Historie

- 12.09.2022 Update\
validator-configuration-xrechnung_2.2.0_2022-07-15.zip\
xrechnung-2.2.0-xrechnung-visualization-2022-07-31.zip\
jdk8u292-b10_openj9-0.26.0/OpenJDK8U-jre_x64_windows_openj9_8u292b10_openj9-0.26.0.zip

- 05.04.2022 Update xrechnung-2.1.1-xrechnung-visualization-2021-11-15 validator-configuration-xrechnung_2.1.1_2021-11-15

- 01.10.2021 Update validationtool-1.4.2 validator-configuration-xrechnung_2.1.1_2021-07-31 xrechnung-2.1.1-xrechnung-visualization-2021-07-31
Expand All @@ -24,10 +29,10 @@ https://adoptopenjdk.net

## Versionen

https://github.com/itplr-kosit/validator/releases/tag/v1.4.1
https://github.com/itplr-kosit/validator/releases/tag/v1.4.2

https://github.com/itplr-kosit/validator-configuration-xrechnung/releases/tag/release-2020-12-31
https://github.com/itplr-kosit/validator-configuration-xrechnung/releases/tag/release-2022-07-15

https://github.com/itplr-kosit/xrechnung-visualization/releases/tag/v2020-12-31
https://github.com/itplr-kosit/xrechnung-visualization/releases/tag/v2022-07-31

https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u265-b01/OpenJDK8U-jre_x64_windows_hotspot_8u265b01.zip
https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10_openj9-0.26.0/OpenJDK8U-jre_x64_windows_openj9_8u292b10_openj9-0.26.0.zip
30 changes: 9 additions & 21 deletions Distribution/installtools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,8 @@ If (Test-Path validator){
Remove-Item validator -Recurse
}

If (Test-Path validator-configuration-122){
Remove-Item validator-configuration-122 -Recurse
}

If (Test-Path validator-configuration-200){
Remove-Item validator-configuration-200 -Recurse
}
If (Test-Path validator-configuration-211){
Remove-Item validator-configuration-211 -Recurse
If (Test-Path validator-configuration-220){
Remove-Item validator-configuration-220 -Recurse
}

If (Test-Path visualization){
Expand All @@ -22,27 +15,22 @@ If (Test-Path java){
}

Invoke-WebRequest -Uri https://github.com/itplr-kosit/validator/releases/download/v1.4.2/validator-1.4.2-distribution.zip -OutFile validator.zip
Invoke-WebRequest -Uri https://github.com/itplr-kosit/validator-configuration-xrechnung/releases/download/release-2019-12-30/validator-configuration-xrechnung_1.2.2_2019-12-30.zip -OutFile validator-configuration-122.zip
Invoke-WebRequest -Uri https://github.com/itplr-kosit/validator-configuration-xrechnung/releases/download/release-2021-11-15/validator-configuration-xrechnung_2.1.1_2021-11-15.zip -OutFile validator-configuration-211.zip
Invoke-WebRequest -Uri https://github.com/itplr-kosit/xrechnung-visualization/releases/download/v2021-11-15/xrechnung-2.1.1-xrechnung-visualization-2021-11-15.zip -OutFile visualization.zip
Invoke-WebRequest -Uri https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u265-b01/OpenJDK8U-jre_x64_windows_hotspot_8u265b01.zip -OutFile jre.zip
Invoke-WebRequest -Uri https://github.com/itplr-kosit/validator-configuration-xrechnung/releases/download/release-2022-07-15/validator-configuration-xrechnung_2.2.0_2022-07-15.zip -OutFile validator-configuration-220.zip
Invoke-WebRequest -Uri https://github.com/itplr-kosit/xrechnung-visualization/releases/download/v2022-07-31/xrechnung-2.2.0-xrechnung-visualization-2022-07-31.zip -OutFile visualization.zip
Invoke-WebRequest -Uri https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10_openj9-0.26.0/OpenJDK8U-jre_x64_windows_openj9_8u292b10_openj9-0.26.0.zip -OutFile jre.zip

Expand-Archive validator.zip
Expand-Archive validator-configuration-122.zip
Expand-Archive validator-configuration-211.zip
Expand-Archive validator-configuration-220.zip
Expand-Archive visualization.zip
Expand-Archive jre.zip
Move-Item .\jre\jdk8u265-b01-jre .\java
Move-Item .\jre\jdk8u292-b10-jre .\java
Remove-Item jre -Recurse

If (Test-Path validator.zip){
Remove-Item validator.zip
}
If (Test-Path validator-configuration-122.zip){
Remove-Item validator-configuration-122.zip
}
If (Test-Path validator-configuration-211.zip){
Remove-Item validator-configuration-211.zip
If (Test-Path validator-configuration-220.zip){
Remove-Item validator-configuration-220.zip
}
If (Test-Path visualization.zip){
Remove-Item visualization.zip
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Erstellen von Rechnungen im

- XRechnung-UBL-Format (Universal Business Language)
- XRechnung-CII-Format (Cross Industrie Invoice ZUGFeRD 2.1.1)
- XRechnung-CII-Format (Cross Industrie Invoice)

## TODO

Expand All @@ -22,8 +22,7 @@ https://github.com/itplr-kosit/validator-configuration-xrechnung/issues/41

Aktuelle XRechnung-Versionen

- 1.2.2 (Gültigkeitszeitraum 01.07.2020 - 31.12.2020)
- 2.1.1 (Gültigkeitszeitraum 01.02.2022 - 31.07.2022)
- 2.2.0

## Weitere Informationen zu XRechnung

Expand Down
Loading

0 comments on commit 08441ec

Please sign in to comment.