# Generar la factura

Ahora vamos a generar la factura correspondiente a la fase 1. Para ello accedemos a la certificación de la fase 1. Accedemos a la certificación haciendo "**clic"**.

<figure><img src="/files/0W9vUWy7aMtvZNyBSiB1" alt=""><figcaption><p>Imagen. Accedemos a la certificación haciendo “clic”.</p></figcaption></figure>

Una vez dentro de la certificación, en la parte superior derecha de la pestaña "**Datos**", tenemos la "**Factura**". Podemos buscar y seleccionar una factura ya existente, o podemos crearla pegándole al botón **\[+]**.&#x20;

<figure><img src="/files/kWy8WCdTvMrhvoEhKrLp" alt=""><figcaption><p> Una vez dentro pulsamos en “<strong>[+]</strong>” para generar la factura.</p></figcaption></figure>

Si pegamos al botón \[+] podemos elegir entre:

* Crear una factura proforma&#x20;
* Crear una factura de venta&#x20;

así como también:

* Crearla "A partir del importe certificado" introducido manualmente.
* Crearla usando los "Valores procedentes del cálculo por fases".

Nosotros cogeremos esta segunda opción.

<figure><img src="/files/jTgL3rlMzx3j5q6KOpZK" alt=""><figcaption><p>Creando la factura de venta que asociaremos a la certificación</p></figcaption></figure>

Trowel creará una factura en la que aparecerán tantas líneas como capítulos tengan importe certificado, y asignará el precio equivalente a la certificación total de ese capítulo. En nuestro ejemplo, tenemos un capítulo y el importe certificado es 11.741,69. Introducimos nº factura, empresa, fecha y descripción. Añadimos los impuestos que correspondan, en nuestro caso vamos a indicar un 10% de impuestos, y guardamos.

<figure><img src="/files/6uc8LvqSXiTvurDa8Cpt" alt=""><figcaption><p>Factura de venta autogenerada.</p></figcaption></figure>

Al pulsar en "Guardar" vemos que la factura ya está asociada a la certificación. Pulsando en el "ojo" podemos acceder al detalle de la factura.&#x20;

<figure><img src="/files/Q9m02IQJXvGZsROX7mST" alt=""><figcaption><p>Factura de venta asociada a la certificación creada.</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://academy.trowelapp.com/certificaciones/generar-la-factura.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
