> 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.33/guide/esempi/gestione-acconto.md).

# Gestione acconto

#### Esempio:&#x20;

*Registrazione di un preventivo per un importo di 1000€ con acconto di 300€ e successivo saldo pari a 700€*

Creare un **preventivo** e inserire le seguenti righe:

1. Una o più righe per un importo pari ai **1000€**
2. Una riga con importo pari a **300€** che fa riferimento all'**acconto**
3. Una riga con importo pari a **-300€** che fa riferimento alla **detrazione** dell'acconto

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZJeLg23eVDvrCv74U7-887967055%2Fuploads%2F2lSsh5b757dplX4NwfQq%2Ffile.png?alt=media)

Successivamente creare una **fattura** **di** **vendita** importando la riga dell'acconto con l'importo di **300€** dal preventivo.

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZJeLg23eVDvrCv74U7-887967055%2Fuploads%2FaNmQRSKdjlryuALtcqDK%2Ffile.png?alt=media)

Infine creare una nuova **fattura** importando le **due** righe rimaste:

1. Riga del preventivo con l'importo totale del preventivo pari a **1000€**
2. Riga del preventivo con l'importo pari a **-300€** che fa riferimento alla detrazione dell'acconto

![](https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZJeLg23eVDvrCv74U7-887967055%2Fuploads%2F16XFmEWcSiIwPnivQO67%2Ffile.png?alt=media)


---

# 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 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.4.33/guide/esempi/gestione-acconto.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.
