> 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-es/reglas-edicion-masiva-y-enriquecimiento/how-to-use-conditions-if-in-rules/rule-condition-is-not-a-valid-gtin-number.md).

# Encuentra GTIN e EAN no válidos

Encuentra artículos con un valor GTIN o EAN no válido.

utilizza **`No es un Numero GTIN válido`** para encontrar Articoli con un GTIN oppure EAN no válido:

* **se** `GTIN` **`No es un Numero GTIN válido`** selecciona los Articoli con un GTIN no válido.
* **se** `ean` **`No es un Numero GTIN válido`** selecciona los Articoli con un EAN no válido.

{% hint style="info" %}

#### ¿Por qué es importante?

Algunos canales, incluido Amazon, requieren un GTIN oppure EAN.
{% endhint %}

{% hint style="info" %}

#### Requisito

In **Instalación > Editar mapeo**, asigna el Campo como un Campo GTIN oppure EAN. Esta condición solo funciona con esos tipos de Campo.
{% endhint %}

Los GTIN válidos contienen 8, 12, 13 oppure 14 dígitos. Channable también valida el [dígito de control](#check-digits).

<details>

<summary>Dígitos de control</summary>

El ultimo dígito de un Numero de código de barras es un [dígito de control](https://www.gs1.org/services/check-digit-calculator). Confirma que el Numero del código de barras está compuesto correctamente.

todo identificador numérico GS1 de longitud fija utiliza un dígito de control para confirmar su integridad. El identificador de componentes o piezas (CPID) e el identificador global de activos individuales (GIAI) no utilizan ninguno. El Numero global de modelo (GMN) utiliza dos caracteres de control en su lugar.

</details>

***

### Ejemplo de uso para GTIN no válidos

utilizza esta condición para evitar que los identificadores de producto no válidos lleguen a un canal:

* **escludi los Articoli no válidos:** Seleziona la condición **`No es un Numero GTIN válido`** y allora utiliza la acción **`escludi Articolo(s)`**  para escludi los Articoli con valores no válidos en `GTIN` .
* **Revisa los valores no válidos:** Seleziona la condición **`No es un Numero GTIN válido`** y allora utiliza la acción **`Establecer valor`**  para establecer un Campo personalizado con el valor `invalid GTIN`  para los Articoli con valores no válidos en `ean` .


---

# 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-es/reglas-edicion-masiva-y-enriquecimiento/how-to-use-conditions-if-in-rules/rule-condition-is-not-a-valid-gtin-number.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.
