> For the complete documentation index, see [llms.txt](https://helpcenter.channable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-it/regole-modifica-in-blocco-e-arricchisci/come-usar-le-condizioni-si-nelle-regole/condizione-della-regla-gtin-o-ean-non-valido.md).

# Condizione della Regla: GTIN o EAN non valido

### Casi d'uso

* Individua ed escludi gli articoli con GTIN o EAN non validi (per alcuni canali, come Amazon, i GTIN o gli EAN sono obbligatori)

### esiste

Usa il **esiste** azione per verificare che i valori GTIN o EAN siano validi. Il formato GTIN corretto è di otto, dodici, tredici o quattordici cifre.

### non è valido

Usa il **non è valido** azione per verificare se il formato GTIN o EAN è corretto. Questa azione [calcola una cifra di controllo](https://www.gs1.org/services/check-digit-calculator) (che assicura che il codice a barre sia composto correttamente).

<figure><img src="https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/OY6JJIFuVUi0s1i42Uu8/360014391599" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
In **Configura > Modifica mappatura**, assicurati che il campo sia mappato correttamente e sia del tipo giusto, poiché queste azioni possono essere usate solo per i campi GTIN ed EAN.
{% endhint %}

<figure><img src="https://content.gitbook.com/content/u8whzIfip72Kvn3M1bsc/blobs/3mueuiG2h0GLzjfsBAgP/12336072381842" 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://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-it/regole-modifica-in-blocco-e-arricchisci/come-usar-le-condizioni-si-nelle-regole/condizione-della-regla-gtin-o-ean-non-valido.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.
