diff --git a/modules/edocument_ubl/template/2/CreditNote.xml b/modules/edocument_ubl/template/2/CreditNote.xml
index 0ac52dad14..cf89ca9f84 100644
--- a/modules/edocument_ubl/template/2/CreditNote.xml
+++ b/modules/edocument_ubl/template/2/CreditNote.xml
@@ -97,7 +97,7 @@ this repository contains the full copyright notices and license terms. -->
${line.description}
${line.product_name or line.summary}
-
+
${line.product.code}
diff --git a/modules/edocument_ubl/template/2/Invoice.xml b/modules/edocument_ubl/template/2/Invoice.xml
index 93e52b652a..1b1a2ed8e8 100644
--- a/modules/edocument_ubl/template/2/Invoice.xml
+++ b/modules/edocument_ubl/template/2/Invoice.xml
@@ -97,7 +97,7 @@ this repository contains the full copyright notices and license terms. -->
${line.description}
${line.product_name or line.summary}
-
+
${line.product.code}