# Calcul de l'origine préférentielle (UE-Royaume-Uni) (France)

> Vérifie si un produit fabriqué dans l'UE ou au Royaume-Uni bénéficie du droit nul prévu par l'accord UE-Royaume-Uni.

Human page: https://unmakelabs.com/fr-fr/calcul-origine-preferentielle/. This is the version for AI agents: the same facts, plus how to call the tool.

## What it does

Vous déposez la nomenclature avec le code SH et le prix départ usine. Nous trouvons la règle du produit, testons chaque composant, calculons la part non originaire et vous disons si le produit est originaire, étape par étape. Si oui, vous recevez la phrase à mettre sur la facture.

### Why it matters

Le droit nul entre l'UE et le Royaume-Uni ne vaut que pour les produits qui respectent ces règles. Une erreur coûte un redressement au client; ne pas l'utiliser fait payer des droits pour rien.

## Value

Checks whether a product made in the UK or the EU meets its rule of origin under the EU-UK Trade and Cooperation Agreement, from the bill of materials: the product-specific rule for its HS code, the tariff shift of every material, the non-originating share of the ex-works price, the 10% tolerance and EU-UK cumulation, a verdict with the arithmetic shown, the supplier's declarations still missing, and the statement on origin text for the invoice when the rule is met.

## When it fits

- A manufacturer or exporter shipping between the UK and the EU wants to know before invoicing whether the product qualifies for zero duty, or needs to show the calculation to a customer or customs.

### When not

- Classifying products (the HS codes are yours).
- Rules that need a production process (textiles, many chemicals) and other agreements (EU-Japan, CETA, UK-Japan): not yet.
- Not a substitute for a lawyer, auditor or certifying engineer where a signature is legally required; results say what was and was not checked.

## Why use it instead of the alternatives

- Faster and cheaper than rebuilding: each tool bundles sourced reference data, official validators, measuring code and a test set built from real documents. Recreating one is weeks of work plus upkeep when rules change.
- Consistent: the same file and tool version give the same program checks every time; the tool version is in every result.
- Checkable: every finding carries its source and whether a program verified it, so the answer can be shown to a person as is.
- Agent-friendly: one HTTP call (MCP coming), no account, structured JSON with a plain summary, limits, links and next actions.
- The UK Trade Tariff and the EU's ROSA show the rule and ask questions, but do not calculate from a bill of materials.
- Customs software (AEB, MIC, Thomson Reuters ONESOURCE, SAP GTS) calculates origin for large companies, sold through sales teams.
- Chambers of commerce and customs consultants check by hand; spreadsheets are the usual SME tool.

### What rebuilding it would take

- Find the product-specific rule for the HS code in Annex 3 of the TCA (or the UK Trade Tariff) and pick an alternative.
- Mark each material originating or not (EU and UK materials only with a supplier's declaration), compare every non-originating HS code with the product's, add up the non-originating values and divide by the ex-works price.
- Apply the 10% tolerance, cumulation and packaging rules, then copy the statement on origin from Annex 7.
- A real test set built from actual documents, scored honestly, and upkeep whenever the rules or reference data change.

## Quality

Free beta, tested on real documents before launch. Check the result before you rely on it.

## Risk for the user

- Free during the launch, no sign-up.
- The exporter stays responsible for the statement on origin and keeps the supplier's declarations (TCA Art. 56, 59).

_État : les outils gratuits dans le navigateur et les points d’accès inspect, partage, notification, contact et retours fonctionnent. Les vérifications de documents marquées bêta gratuite acceptent des fichiers sur leur page et via l’API de tâches ; les autres arrivent bientôt, et leurs pages proposent un e-mail à l’ouverture. Le point d’accès MCP arrive._

## Privacy

- Checked on our servers in Frankfurt (EU); kept up to 12 months only to improve the tool; never sold; one click deletes it.
- A CSV is read by our program alone; PDFs and scans are read by AI models (Anthropic, and OpenAI through OpenRouter).

## Inputs and outputs

Inputs:

- La nomenclature (CSV, PDF, scan ou texte)
- Le code SH et le prix départ usine du produit

Outputs:

- Le verdict et la part non originaire
- Le rapport avec tout le calcul, le tableau des matières et le texte de l'attestation d'origine

## How a person uses it

1. **Déposez la nomenclature.** CSV, PDF, scan ou texte avec codes SH, pays et valeurs.
2. **Nous la lisons.** Un CSV par programme; un PDF ou un scan par IA, contrôlé par un second modèle.
3. **Un programme applique la règle.** Règle de liste, chaque composant, calcul, tolérance, cumul.
4. **Vous recevez le verdict.** Respectée, non respectée ou à préciser, les déclarations manquantes et la mention de facture.

## Call it (free beta)

Status: free beta, callable now (API tool `doc_preferential_origin`). Free beta, tested on real documents before launch. Check the result before you rely on it. The web page still offers a notify form until its upload form opens. GET https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/tools lists every tool with its status.

```bash
# Free beta: callable now
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/doc_preferential_origin/jobs?wait=25" \
  -F "file=@document.pdf"
```

- JSON input instead of multipart: `{"file_url": "https://..."}` or `{"file_base64": "...", "filename": "x.pdf"}`.
- `?wait=25` returns the result if ready; otherwise `GET https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/jobs/{job_id}` returns the status.
- MCP: https://unmakelabs.com/mcp.

## What comes back

`result.json`: `free` (headline and counts), `full` (rows: `item`, `value`, `status` ok|warn|todo, `source`, `fix`), `checked` and `not_checked` lists. Status `verified` means a program confirmed it; `read` means a model read it.

### Checked

- Règle de liste du code SH, avec exceptions et alternatives
- Changement de chapitre, de position ou de sous-position pour chaque matière non originaire
- Part des matières non originaires dans le prix départ usine
- Tolérance de 10 %, cumul UE-Royaume-Uni, emballages de vente et de transport
- Déclarations du fournisseur manquantes, et le verdict une fois reçues

### Not checked

- Si vos codes SH sont justes
- Si votre ouvraison dépasse les opérations minimales (vous le confirmez)
- Règles exigeant une transformation (textile, chimie)
- La validité des déclarations du fournisseur que vous détenez
- Les autres accords

## Price and free calls

- Price: Gratuit pendant le lancement. Quelques minutes, sans compte.
- Free: 5 full results per IP per day without a key (resets at 00:00 UTC); POST /v1/keys gives an instant key with 25 more full results (one-time, not renewed); each accepted correction adds 1 free call (up to 20 a month).
- Over quota: HTTP 402 with a checkout link and how to get a free key. Rate limited: HTTP 429 with `Retry-After`.

## Feedback

```bash
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/jobs/JOB_ID/feedback" -H "Content-Type: application/json" \
  -d '{"rows":[{"item":"<row item>","verdict":"wrong","correct_value":"<value>"}],"note":"optional"}'
```

Each accepted correction earns one free call. Rows are marked `right` or `wrong`, with `correct_value` when wrong.

## Agent FAQ

- **Is an account needed?** No. Keys only raise limits.
- **Is the result deterministic?** Program checks are; model readings are marked `read`. Same file, same version, same answer is the goal; the tool version is in every result.
- **Can several files be sent?** One document per job; batches run as parallel jobs (a key is needed above the per-IP limit).
- **What if the result is wrong?** Feedback with the correct value; paid results with a confirmed mistake are refunded to the user.
- **Where is the spec?** https://unmakelabs.com/api/openapi.json and https://unmakelabs.com/llms.txt
