> 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.8.3/guide/esempi/prezzo-di-vendita-automatico.md).

# Prezzo di vendita automatico

Come rendere un prezzo di vendita automatico in OpenSTAManager

Per fare in modo che il prezzo di vendita di un articolo di magazzino venga calcolato automaticamente si deve andare ad attribuirgli un **Coefficiente di vendita**.

Per poter attribuire un margine di ricavo fisso a un articolo, si deve accedere all'articolo interessato da Magazzino/Articoli e scorrere fino alle sezioni Acquisto e Vendita.

![](https://content.gitbook.com/content/2PiRYHiPQyyI5VSQPG8a/blobs/ZvI13SXby2ZErIPVnpaP/image.png)

![](https://content.gitbook.com/content/2PiRYHiPQyyI5VSQPG8a/blobs/yL32E8BVhxi4a4jOPsZg/image.png)

Andando a impostare un **Coefficiente di vendita** potremo vedere ora che il campo **Prezzo di vendita** verrà calcolato in modo automatico in base alle variazioni del prezzo di acquisto.

![](https://content.gitbook.com/content/2PiRYHiPQyyI5VSQPG8a/blobs/tqaFFdQNah41P3mCEtlZ/image.png)

![](https://content.gitbook.com/content/2PiRYHiPQyyI5VSQPG8a/blobs/on6PSMABVwfWvAyZMpnE/image.png)

Andando a inserire questo articolo in una nuova **Fattura di vendita** sarà possibile riscontrare il Prezzo unitario di vendita calcolato automaticamente dell'articolo, il **Guadagno unitario**, e il **Margine di guadagno**.

![](https://content.gitbook.com/content/2PiRYHiPQyyI5VSQPG8a/blobs/BxB3udQuVprPeiQ8C0YI/image.png)


---

# 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.8.3/guide/esempi/prezzo-di-vendita-automatico.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.
