> 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.4.48/moduli-acquistabili/fatturazione-programmata-contratti.md).

# Fatturazione programmata contratti

Guida al modulo aggiuntivo Fatturazione programmata contratti in OpenSTAManager

{% hint style="info" %}
Il modulo **Fatturazione programmata contratti** permette di pianificare la rateizzazione di un contratto impostando l'emissione automatica di una fattura di vendita e invio via email della copia di cortesia al cliente.
{% endhint %}

Dopo aver installato il modulo è possibile andare a definire la pianificazione della fatturazione dei contratti esistenti, oppure [creare un nuovo contratto](https://docs.openstamanager.com/2.4.48/openstamanager/modules/vendite/contratti.md#creazione).

Per pianificare la fatturazione è sufficiente accedere al plugin Ricorrenza fatturazione, dal contratto scelto.

<figure><img src="https://966958917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBZsjjMPIXBBaW8bd80O7%2Fuploads%2FtRyTJOxXNIzc5qXT6DTc%2Fimmagine.png?alt=media&amp;token=783061f6-6f03-40f1-b2d2-df8798bbbe1e" alt=""><figcaption></figcaption></figure>

Da qui sarà possibile definire la ricorrenza di fatturazione, la data di inizio e l'importo che dovrà avere ogni rata.

<figure><img src="https://966958917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBZsjjMPIXBBaW8bd80O7%2Fuploads%2F8N7Yr4N0dJFYCKR5EanF%2Fimmagine.png?alt=media&amp;token=bb412d49-e5f8-42d6-ab91-656594fde533" alt=""><figcaption></figcaption></figure>

Ora, se lo stato del contratto è "In lavorazione", sarà possibile visualizzare le rate da fatturare dal modulo **Fatturazione contratti**.

<figure><img src="https://966958917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBZsjjMPIXBBaW8bd80O7%2Fuploads%2Fpev9LK4XAo8ec4vkaclo%2Fimmagine.png?alt=media&amp;token=dc1b0832-bc4e-4ebf-a41c-2e076653e4e0" alt=""><figcaption></figcaption></figure>

Volendo fatturare le rate manualmente, sarà sufficiente selezionare le rate interessate e cliccare su Crea fattura. Da qui sarà possibile selezionare se accodare le rate selezionate a fatture della stessa anagrafica in stato Bozza, e modificare la data, il sezionale e il tipo di fattura.

<figure><img src="https://966958917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBZsjjMPIXBBaW8bd80O7%2Fuploads%2F8ox9S9snVef9LPbXg3J6%2Fimmagine.png?alt=media&amp;token=bd348eaa-285e-4e39-8099-63fc501317b2" alt=""><figcaption></figcaption></figure>

Cliccando su Crea fatture si procede alla fatturazione delle rate selezionate:

<figure><img src="https://966958917-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBZsjjMPIXBBaW8bd80O7%2Fuploads%2FVVZFBDRyMukFZ4Qc24cV%2Fimmagine.png?alt=media&amp;token=36c46224-8830-4859-803a-49f3f905660b" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
E' possibile procedere alla fatturazione automatica delle rate tramite uno script impostato in cron, che provvederà alla fatturazione come da configurazione, con possibilità di inviare copia di cortesia via mail ai clienti.
{% endhint %}


---

# 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.4.48/moduli-acquistabili/fatturazione-programmata-contratti.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.
