# Fatture TD21 - TD27

{% hint style="info" %}
Le fatture di tipo TD21 (Autofattura per splafonamento) e TD27 (Fattura per autoconsumo o per cessioni gratuite senza rivalsa) sono fatture dove il \<CedentePrestatore> (fornitore) deve essere uguale al \<CessionarioCommittente>(cliente), ed entrambi coincideranno quindi con l'anagrafica dell'azienda.
{% endhint %}

Per poter selezionare come cliente la propria anagrafica azienda sarà necessario andare a modificare l'anagrafica andando ad aggiungere la tipologia "Cliente".

Si andrà quindi in Anagrafiche, si cliccherà sull'anagrafica azienda, e si scorrerà fino a Informazioni aggiuntive, dove si potrà aggiungere "Cliente" nel riquadro "Tipo di anagrafica".

<figure><img src="/files/dtHjgT1fAEPO8LgH9myG" alt=""><figcaption></figcaption></figure>

Si potrà ora salvare e andare ad emettere fattura in Vendite/fatture di vendita, cliccando sul tasto (+).

Andando qui a selezionare una tra le due tipologie di documento interessate (TD21 o TD27), si dovrà impostare come Cliente la nostra anagrafica azienda, e cliccare su Aggiungi.

<figure><img src="/files/nXRi1scqISQOfD5oShtM" alt=""><figcaption></figcaption></figure>

Si potranno ora inserire le righe e procedere all'emissione della fattura, che riporterà come cedente/prestatore e cessionario committente i dati anagrafici della nostra azienda.

<figure><img src="/files/MeZ8QlFjE8zDkdK4etDm" alt=""><figcaption></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://docs.openstamanager.com/2.7.3/guide/esempi/fatturazione-elettronica/fatture-td21-td27.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.
