# compare_eu_gb, Twigmark docs

> Puts the EU and GB answers for the same plant, origin, commodity and date side by side and lists the differences: prohibited in one and not the other, an EU…

Canonical: https://twigmark.bulkhead.solutions/docs/compare_eu_gb

Puts the EU and GB answers for the same plant, origin, commodity and date side by side and lists the differences: prohibited in one and not the other, an EU derogation with no GB counterpart in this service, certificate need, number of special requirement entries, and the organisms named only in one side's requirement text. Call it when the same goods are sold into both markets, or when a supplier asks why GB treats them differently. Entries are numbered differently in the two texts, so it compares content, not point numbers. Organism names are pattern-read from the text; read both entries before relying on a difference.

## Input

| Field | Type | Required | Meaning |
| --- | --- | --- | --- |
| plant | string | yes | Latin genus or species, for example Citrus, Citrus sinensis, Petunia x hybrida or Prunus laurocerasus. Common names are not understood. |
| origin | string | yes | Country of origin: a 2-letter ISO code (UG, ZA, TR, KE, CN) or an English name (Uganda, South Africa, Türkiye). |
| commodity | plants_for_planting, fruit, cut_flowers, foliage, seeds, tubers_bulbs, wood, bark, grain, pollen, growing_medium, machinery | no | What is shipped. plants_for_planting includes cuttings, young plants and rooted material; foliage is cut branches and leaves. Strongly recommended: rows that name no plant apply by commodity and are only returned when you give it. |
| date | string | no | Date the goods enter, YYYY-MM-DD. Defaults to today. Texts are kept from 2025-01-26. |

## A real call

```json
{
  "plant": "Citrus sinensis",
  "origin": "ZA",
  "commodity": "fruit",
  "date": "2026-11-29"
}
```

## Its result, shortened

```json
{
  "plant": {
    "input": "Citrus sinensis",
    "genus": "Citrus",
    "species": "sinensis",
    "families_named_in_annexes": [],
    "known_to_annexes": true
  },
  "origin": {
    "code": "ZA",
    "name": "South Africa"
  },
  "commodity": "fruit",
  "cn_code": null,
  "date": "2026-11-29",
  "summary": "Certificate: EU yes, GB no.",
  "differences": [
    "Certificate: EU yes, GB no.",
    "Special requirement entries: EU 5, GB 0.",
    "Organisms named only in EU requirements: 2; only in GB: 0."
  ],
  "organisms": {
    "only_eu": [
      "Pseudocercospora angolensis",
      "Thaumatotibia leucotreta"
    ],
    "only_gb": [],
    "both": [],
    "note": "Organism names are read from the requirement text by pattern, not from a pest list; use them to see where the texts diverge, then read both entries."
  },
  "eu": {
    "version": {
      "text": "Consolidated text of Commission Implementing Regulation (EU) 2019/2072 applying from 2026-10-15",
      "applies_from": "2026-10-15",
      "celex": "02019R2072-20261015",
      "url": "https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:02019R2072-20261015",
      "note": "Newest stored version (data retrieved 2026-11-14). Amendments indexed but not yet consolidated are listed in pending_changes and by changes_since."
    },
    "prohibited": false,
    "prohibitions": [],
    "special_requirements": [
      {
        "ref": "Annex VII, point 57",
        "id": "VII:57",
        "match": "named",
        "origin_match": "applies",
        "description": "Fruits of Citrus L., Fortunella Swingle, Poncirus Raf., and their hybrids"
      },
      {
        "ref": "Annex VII, point 58",
        "id": "VII:58",
        "match": "named",
        "origin_match": "applies",
        "description": "Fruits of Citrus L., Fortunella Swingle, Poncirus Raf., Microcitrus Swingle, Naringi Adans., Swinglea Merr., and their hybrids"
      },
      {
        "ref": "Annex VII, point 59",
        "id": "VII:59",
        "match": "named",
        "origin_match": "applies",
        "description": "Fruits of Citrus L., Fortunella Swingle, Poncirus Raf., and their hybrids"
      },
      "... 2 more"
    ],
    "certificate": "yes"
  },
  "gb": {
    "version": {
      "text": "Commission Implementing Regulation (EU) 2019/2072 as it applies in Great Britain, version from 2026-10-15",
      "applies_from": "2026-10-15",
      "url": "https://www.legislation.gov.uk/eur/2019/2072/annex/VII/2026-10-15/data.xml",
      "note": "Newest stored version (data retrieved 2026-11-14). Amendments indexed but not yet consolidated are listed in pending_changes and by changes_since."
    },
    "prohibited": false,
    "prohibitions": [],
    "special_requirements": [],
    "certificate": "no"
  },
  "caveat": "Not phytosanitary advice. The exporting country's plant protection organisation certifies, and the border control post of the importing country decides; its decision is final.",
  "citation": "Source: EUR-Lex, Commission Implementing Regulation (EU) 2019/2072 and acts derogating from it, © European Union, reused under the EUR-Lex legal notice (consolidated texts CC BY 4.0). Changes made by Twigmark: amendment markers and footnote ...",
  "data_version": "2026-10-15+2026-10-15"
}
```

---

Automated and unreviewed. Twigmark reads EUR-Lex and legislation.gov.uk automatically and no person checks each answer. Data can be incomplete, late or wrong. Always verify against the official text linked with every answer before you act. Not legal, customs or phytosanitary advice. An answer is not a phytosanitary certificate or an official decision: the exporting country's plant protection organisation certifies, the border control post of the importing country decides, and only the official texts have legal force.

Twigmark is independent and not affiliated with the European Commission, Defra or any national plant protection organisation. Sources: EUR-Lex, © European Union, consolidated texts under CC BY 4.0; legislation.gov.uk, contains public sector information licensed under the Open Government Licence v3.0; GBIF Backbone Taxonomy, doi:10.15468/39omei, CC BY 4.0.
