diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java b/mustang/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java index c9323b34..8b400e88 100644 --- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java +++ b/mustang/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java @@ -630,7 +630,7 @@ public class ZUGFeRDExporter { AmountType grossChargeAmount = xmlFactory.createAmountType(); grossChargeAmount.setCurrencyID(trans.getInvoiceCurrency()); - grossChargeAmount.setValue(currencyFormat(currentItem.getPrice())); + grossChargeAmount.setValue(priceFormat(currentItem.getPrice())); grossTradePrice.getChargeAmount().add(grossChargeAmount); tradeAgreement.getGrossPriceProductTradePrice().add(grossTradePrice); @@ -642,7 +642,7 @@ public class ZUGFeRDExporter { AmountType netChargeAmount = xmlFactory.createAmountType(); netChargeAmount.setCurrencyID(trans.getInvoiceCurrency()); - netChargeAmount.setValue(currencyFormat(currentItem.getPrice())); + netChargeAmount.setValue(priceFormat(currentItem.getPrice())); netTradePrice.getChargeAmount().add(netChargeAmount); tradeAgreement.getNetPriceProductTradePrice().add(netTradePrice);