> 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-fr/regles-modification-groupee-et-enrichissement/comment-utiliser-les-conditions-si-dans-les-regles/condition-de-regle-gtin-ou-ean-non-valide.md).

# Condition de règle : GTIN ou EAN non valide

### Cas d'utilisation

* Détecter et exclure les produits avec des GTIN ou EAN non valides (pour certains canaux, comme Amazon, les GTIN ou EAN sont obligatoires)

### est valide

Utilisez le **est valide** action pour vérifier que les valeurs GTIN ou EAN sont valides. Le format GTIN correct est de huit, douze, treize ou quatorze chiffres.

### n'est pas valide

Utilisez le **n'est pas valide** action pour vérifier si le format GTIN ou EAN est correct. Cette action [calcule un chiffre de contrôle](https://www.gs1.org/services/check-digit-calculator) (qui permet de s'assurer que le code-barres est correctement constitué).

<figure><img src="/files/0f6726c55dc2ecff65f2e2b52238e456cdb776a8" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Dans **Installation > Modifier mapping**, assurez-vous que le champ est mappé correctement et qu'il s'agit du bon type, car ces actions ne peuvent être utilisées que pour les champs GTIN et EAN.
{% endhint %}

<figure><img src="/files/b3738045302626a05bcd22ae03f472c4e9ec34f5" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-fr/regles-modification-groupee-et-enrichissement/comment-utiliser-les-conditions-si-dans-les-regles/condition-de-regle-gtin-ou-ean-non-valide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
