Die Rechnung wird in einer Fremdwährung z.B. CHF (Schweitzer Franken)

gestellt. Auf dem PDF wir der korrekte Währungscode angegeben, das
ZUGFeRD-XML bekommt aber immer EUR.
So bekommt man anstelle einer 100,00 CHF Rechnung eine 100,00 EUR
Rechnung.
This commit is contained in:
dvo
2018-10-15 14:49:00 +02:00
parent c3afd34289
commit 4569dd088b

View File

@@ -88,6 +88,7 @@ class ZUGFeRDTransactionModelConverter {
ZUGFeRDTransactionModelConverter(IZUGFeRDExportableTransaction trans) { ZUGFeRDTransactionModelConverter(IZUGFeRDExportableTransaction trans) {
this.trans = trans; this.trans = trans;
totals = new Totals(); totals = new Totals();
this.currency = trans.getCurrency() != null ? trans.getCurrency(): currency;
} }