> For the complete documentation index, see [llms.txt](https://docs.openstamanager.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openstamanager.com/2.9.7/guide/esempi/fatturazione-elettronica/errori-frequenti.md).

# Errori frequenti

Raccolta di errori frequenti nella compilazione di fatture elettroniche degli utenti OpenSTAManager

{% hint style="danger" %}
Assenza di **dati obbligatori** nel documento
{% endhint %}

{% hint style="danger" %}
Indicazione del **codice destinatario** in lettere minuscole. Il sistema lo riconosce solo quando è composto da lettere **MAIUSCOLE** e/o numeri in cifra
{% endhint %}

{% hint style="danger" %}
Mettere i caratteri rappresentate il paese nell'inserimento della **Partita IVA**, selezionando la **nazione** il gestionale metterà in automatico i caratteri davanti alla **Partita** **IVA.**
{% endhint %}

{% hint style="danger" %}
Quando si inserisce un **CAP** verificare che sia corretto, di 5 cifre, nel caso fosse un **CAP** estero il gestionale fa un controllo sulla **nazione** della anagrafica e se è minore di 5 cifre lo sostituisce con 5 zeri(00000)
{% endhint %}

## **Come inserire la ritenuta d'acconto in fattura**

In fattura è possibile specificare la ritenuta d'acconto riga per riga durante l'inserimento o la modifica di una riga.

Se per alcuni clienti la ritenuta d'acconto deve essere sempre presente nei documenti, essa può essere impostata nell'anagrafica cliente, per cui verrà suggerita automaticamente all'inserimento delle righe nei documenti.

Per poter procedere alla corretta emissione di una fattura con ritenuta d'acconto si dovrà inoltre specificare la **Causale ritenuta d'acconto** in Impostazioni/Fatturazione elettronica, che andrà a compilare il campo \<CausalePagamento> in fattura elettronica.

<figure><img src="https://content.gitbook.com/content/DmQzkOGDOL4JJFhduzJ3/blobs/Nwa1CoPFStsWYa9TNGMn/immagine.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.openstamanager.com/2.9.7/guide/esempi/fatturazione-elettronica/errori-frequenti.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
