> 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.8/openstamanager/modules/strumenti/tabelle/pagamenti.md).

# Pagamenti

Come gestire i pagamenti in OpenSTAManager

{% hint style="info" %}
Il modulo **Pagamenti** permette di creare e modificare i pagamenti presenti nel gestionale.
{% endhint %}

<figure><img src="https://content.gitbook.com/content/UCk5fx9YdTmkp59DWj7v/blobs/T5d9vawNThz52alccCgk/image.png" alt=""><figcaption></figcaption></figure>

## Creazione

Per creare un nuovo tipo di pagamento si dovrà cliccare sul tasto (+).

Andranno qui inseriti la descrizione e il codice modalità (fatturazione elettronica) del nuovo tipo di pagamento.

<figure><img src="https://content.gitbook.com/content/UCk5fx9YdTmkp59DWj7v/blobs/EhThOWfvWH8RxkIYAJVp/image.png" alt=""><figcaption></figcaption></figure>

## Modifica

Cliccando sul record da modificare si aprirà la schermata di dettaglio, da cui sarà possibile modificare:

* Descrizione
* Codice modalità (fatturazione elettronica)
* Conto predefinito per le vendite
* Conto predefinito per gli acquisti
* Descrizione riga
* Importo fisso
* Importo percentuale
* Rate
  * Percentuale
  * Scadenza
  * Giorno
  * Distanza in giorni

<figure><img src="https://content.gitbook.com/content/UCk5fx9YdTmkp59DWj7v/blobs/aaRa8TNdgWfk9rQ9EOOg/image.png" alt=""><figcaption></figcaption></figure>

#### ESEMPI:

Volendo aggiungere alle modalità di pagamento il **Bonifico 30/60/90gg d.f.f.m** si dovrà aggiungere un nuovo tipo di pagamento che riporterà 3 rate da 33%, 33% e 34% dell'importo complessivo, rispettivamente a 30, 60 e 90 giorni dalla data di emissione della fattura (da specificare nel campo **Distanza in giorni**).

Nel campo scadenza andrà riportato "Data fatturazione fine mese", così la data della scadenza generata verrà impostata alla fine del mese in cui cadrebbe la data calcolata in base alla **Distanza in giorni** impostata.

<figure><img src="https://content.gitbook.com/content/UCk5fx9YdTmkp59DWj7v/blobs/AdR6gmm84MaMydqxZsrk/image.png" alt=""><figcaption></figcaption></figure>

Selezionando questa modalità di pagamento in una fattura di vendita con data 10/02/2023  verranno quindi generate tre scadenze:

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

Volendo aggiungere alle modalità di pagamento il **Bonifico 30gg d.f.f.m + 10** si dovrà aggiungere un nuovo tipo di pagamento che riporterà una rata del 100% dell'importo complessivo, a 30 giorni dalla data di emissione della fattura (da specificare nel campo **Distanza in giorni**).

Nel campo scadenza andrà riportato "Data fatturazione fine mese (giorno fisso)", così la data della scadenza generata verrà impostata alla fine del mese in cui cadrebbe la data calcolata in base alla **Distanza in giorni** impostata.

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

Selezionando questa modalità di pagamento in una fattura di vendita con data 10/02/2023 verrà quindi generata la seguente scadenza:

<figure><img src="https://content.gitbook.com/content/UCk5fx9YdTmkp59DWj7v/blobs/ICIy5IyF9v3Y5HQdeW3D/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.8/openstamanager/modules/strumenti/tabelle/pagamenti.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.
