From 81dc18d73148b7e5d794d33f2fa6666fb2d6af0e Mon Sep 17 00:00:00 2001 From: jstaerk Date: Sat, 21 Nov 2020 12:15:21 +0100 Subject: [PATCH] change XR guideline ID to 1.2.2 --- History.md | 2 +- library/src/main/java/org/mustangproject/ZUGFeRD/Profiles.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/History.md b/History.md index 3ebdbe97..d5537074 100644 --- a/History.md +++ b/History.md @@ -12,7 +12,7 @@ - have fax numbers only in appropriate profiles, i.e., extended - do not list tax numbers for shiptotradeparties - do not expect dueDate for corrected invoices -- XR test now includes guideline ID #172 +- XR test now includes guideline ID (of XRechnung 1.2.2) #172 - BigDecimal specific refactoring PR #192 Thanks to weclapp-dev - Preserving metadata PR #193 Thanks to mr-stephan - support zero-rated goods: confirm that VAT category code switches from S to Z on 0%VAT diff --git a/library/src/main/java/org/mustangproject/ZUGFeRD/Profiles.java b/library/src/main/java/org/mustangproject/ZUGFeRD/Profiles.java index a2930b31..7221a333 100644 --- a/library/src/main/java/org/mustangproject/ZUGFeRD/Profiles.java +++ b/library/src/main/java/org/mustangproject/ZUGFeRD/Profiles.java @@ -33,7 +33,7 @@ public class Profiles { {"BASIC", new Profile("BASIC", "urn:cen.eu:en16931:2017#compliant#urn:factur-x.eu:1p0:basic")}, {"EN16931", new Profile("EN16931", "urn:cen.eu:en16931:2017")}, {"EXTENDED", new Profile("EXTENDED", "urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended")}, - {"XRECHNUNG", new Profile("XRECHNUNG", "urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.0")} + {"XRECHNUNG", new Profile("XRECHNUNG", "urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_1.2")} }).collect(Collectors.toMap(data -> (String) data[0], data -> (Profile) data[1])); static Map zf1Map = Stream.of(new Object[][]{