[BitFactura — Base de Conocimientos](https://soporte.bitfactura.com/index.md) / [Facturas y documentos](https://soporte.bitfactura.com/facturas-y-documentos.md)

# [Factura con dos precios en dos monedas](https://soporte.bitfactura.com/38837446-factura-con-dos-precios-en-dos-monedas.md)

<p><span style="font-family: arial, sans-serif, tahoma; font-size: 12px; line-height: 17.142858505249px;">Para crear plantilla de factura con dos precios (en dos monedas) hay que crear nueva plantilla y:</span><br>
 </p>

<ol>
	<li>encontrar en ella el siguiente fragmento del código:</li>
</ol>

<p><span style="font-family: arial, sans-serif, tahoma; font-size: 12px; line-height: 17.142858505249px;">       <code>  &lt;tr class="inv_to_pay"&gt;    </code></span><br style="box-sizing: border-box; font-family: arial, sans-serif, tahoma; font-size: 12px; line-height: 17.142858505249px;">
<div style="position: relative;"><pre class="language-html" tabindex="0"><code class="language-html">            &lt;th width="10"&gt;{{tt "invoice.to_pay"}}:&lt;/th&gt;
            &lt;td&gt;{{outstanding}}&lt;/td&gt;
        &lt;/tr&gt;
        
        {{#if outstanding_in_words}}                
            &lt;tr class="inv_to_pay"&gt;
                &lt;th width="10"&gt;{{tt "invoice.in_words"}}:&lt;/th&gt;
                &lt;td&gt;{{{outstanding_in_words}}}&lt;/td&gt;
            &lt;/tr&gt;                    
        {{/if}}</code></pre></div><br>
 </p>

<ol>
	<li>y reemplazarlo con este: </li>
</ol>

<p><span style="font-family: arial, sans-serif, tahoma; font-size: 12px; line-height: 17.142858505249px;"><code>  &lt;tr class="inv_to_pay"&gt;    </code></span><br style="box-sizing: border-box; font-family: arial, sans-serif, tahoma; font-size: 12px; line-height: 17.142858505249px;">
<div style="position: relative;"><pre class="language-html" tabindex="0"><code class="language-html">            &lt;th width="10"&gt;{{tt "invoice.to_pay"}}:&lt;/th&gt;
            &lt;td&gt;{{outstanding}}&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td&gt;&lt;/td&gt;
            &lt;td&gt;{{outstanding_in_exchange_currency}}&lt;/td&gt;
          &lt;/tr&gt;        

          {{#if outstanding_in_words}}
          &lt;tr class="inv_to_pay"&gt;
            &lt;th width="10"&gt;{{tt "invoice.in_words"}}:&lt;/th&gt;
            &lt;td&gt;{{{outstanding_in_words}}}&lt;/td&gt;
          &lt;/tr&gt;                    
          {{/if}}

          {{#if outstanding_in_words_in_exchange_currency}}
          &lt;tr class="inv_to_pay"&gt;
            &lt;th width="10"&gt;&lt;/th&gt;
            &lt;td&gt;{{{outstanding_in_words_in_exchange_currency}}}&lt;/td&gt;
          &lt;/tr&gt;                    
          {{/if}}</code></pre></div><br style="box-sizing: border-box; font-family: arial, sans-serif, tahoma; font-size: 12px; line-height: 17.142858505249px;">
 </p>
