diff --git a/src/QUI/ERP/Output/OutputTemplate.php b/src/QUI/ERP/Output/OutputTemplate.php
index 9e2d441f71c67ffe7059bd53dbabcdaf1666b631..50169877f53bacfef8adafbb39ef7f87929669c0 100644
--- a/src/QUI/ERP/Output/OutputTemplate.php
+++ b/src/QUI/ERP/Output/OutputTemplate.php
@@ -105,6 +105,14 @@ public function __construct(
         $this->Entity     = $this->OutputProvider::getEntity($entityId);
     }
 
+    /**
+     * @return mixed
+     */
+    public function getEntity()
+    {
+        return $this->Entity;
+    }
+
     /**
      * Render the html
      *
@@ -113,7 +121,9 @@ public function __construct(
      */
     public function getHTML($preview = false)
     {
-        $templateData = $this->OutputProvider::getTemplateData($this->entityId);
+        $templateData                    = $this->OutputProvider::getTemplateData($this->entityId);
+        $templateData['erpOutputEntity'] = $this->Entity;
+
         $this->Engine->assign($templateData);
         $this->preview = $preview;