From 8b48e2070c7e29ced1882c4586fde9f466933205 Mon Sep 17 00:00:00 2001 From: Adriann LERAY Date: Tue, 4 Feb 2025 09:25:24 +0100 Subject: [PATCH] feat: Add LineTotalAmount for BASICWL profile In the Factur-X 1.07.2 specifications the tag LineTotalAmount must be present not only for BASIC profile but also BASICWL profile. --- .../java/org/mustangproject/ZUGFeRD/ZUGFeRD2PullProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRD2PullProvider.java b/library/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRD2PullProvider.java index 6958bb61..99f8801b 100644 --- a/library/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRD2PullProvider.java +++ b/library/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRD2PullProvider.java @@ -859,7 +859,7 @@ public class ZUGFeRD2PullProvider implements IXMLProvider { final String chargesTotalLine = "" + currencyFormat(calc.getChargesForPercent(null)) + ""; xml += ""; - if ((getProfile() != Profiles.getByName("Minimum")) && (getProfile() != Profiles.getByName("BASICWL"))) { + if ((getProfile() != Profiles.getByName("Minimum"))) { xml += "" + currencyFormat(calc.getTotal()) + ""; xml += chargesTotalLine + allowanceTotalLine;