diff --git a/modules/edocument_ubl/template/2/CreditNote.xml b/modules/edocument_ubl/template/2/CreditNote.xml
index ee8cd8528c..5653958926 100644
--- a/modules/edocument_ubl/template/2/CreditNote.xml
+++ b/modules/edocument_ubl/template/2/CreditNote.xml
@@ -53,7 +53,7 @@ this repository contains the full copyright notices and license terms. -->
${this.invoice.payment_term.description}
${line.amount}
- ${line.maturity_date}
+ ${line.maturity_date}
${-amount}
diff --git a/modules/edocument_ubl/template/2/Invoice.xml b/modules/edocument_ubl/template/2/Invoice.xml
index c6bd542492..92b2f5001c 100644
--- a/modules/edocument_ubl/template/2/Invoice.xml
+++ b/modules/edocument_ubl/template/2/Invoice.xml
@@ -53,7 +53,7 @@ this repository contains the full copyright notices and license terms. -->
${this.invoice.payment_term.description}
${line.amount}
- ${line.maturity_date}
+ ${line.maturity_date}
${amount}