Guide: what the draft Annex 22 requires of AI in GMPRead the guide

Receipt of starting materials

At each receipt, AI reads the delivery note, the supplier's labels and the certificate of analysis, compares them with the purchase order and the approved supplier information, and flags what doesn't match. The material stays in quarantine: warehouse staff decide and, to release it, quality control.

How it would work

A delivery of an excipient, from the loading dock to quarantine.

  • AI prepares
  • A person decides
  • Recorded in the trail
Illustrative example, not a real case

The process, documents and data in this walkthrough are fictitious. They show how the AI would work; your actual process may be different, and the system is designed around yours.

A delivery arrives

A pallet of an excipient arrives. AI receives the photos of the labels, the delivery note, the certificate of analysis and the purchase order.

What comes in

Purchase order

Material
Sample excipient, from the approved manufacturer
Quantity
200 kg

Supplier's delivery note

Material
Sample excipient
Quantity
200 kg in two drums
Batch
Batch A

Drum labels

Drum 1: batch A. Drum 2: batch B.

Certificate of analysis

Batch A: conforms. Doesn't include batch B.

Today and with AI

What changes at every receipt.

TodayWith AI

TodayThe delivery note is checked by hand against the order and the labels, container by container

With AIAI reads the documents and the labels and flags the differences

TodayA delivery with several batches can be recorded as one

With AIAI separates each batch of the delivery

TodayThe certificate of analysis is reviewed later, sometimes in another department

With AIIt is compared at the same receipt with the labels and the order

TodayThe check is documented by hand

With AIIt is recorded with the source of every data point

Which AI it uses and why

It reads and compares; it doesn't release.

Document reading
A language model reads the delivery note, the labels and the certificate, however each supplier lays them out.
Comparison
Fixed rules compare material, quantity and batch with the order and the approved supplier information.
Batches
Each batch is recorded separately, even when it arrives in the same delivery.
What it doesn't do
It doesn't release the material or decide whether a supplier is approved.

Regulatory fit

Where it sits in the draft Annex 22 and which regulations apply.

  1. CriticalIt decides something GMP: only with a static, deterministic model
  2. Non-criticalAI prepares and a person decides
  3. Outside GMPAnnex 22 doesn't apply directly

Accepting a delivery into quarantine is a GMP check, and here warehouse staff decide it; releasing the material is quality control's. The model compares and flags, so it is a non-critical use. EU GMP Chapter 5 requires each delivery to be checked for correspondence between the delivery note, the purchase order, the supplier's labels and the approved information, each batch to be handled separately and the material to stay in quarantine until it is released.

EU GMP Chapter 5, 5.5
Incoming materials are physically or administratively quarantined from receipt until they are released.
Chapter 5, 5.30
Each delivery is checked for integrity of the containers and for correspondence between the delivery note, the purchase order, the supplier's labels and the approved manufacturer and supplier information; the check is documented.
Chapter 5, 5.31
If one delivery is made up of different batches, each batch is handled separately for sampling, testing and release.
Chapter 5, 5.34
Only starting materials released by quality control and within their retest period are used.
Draft Annex 22
AI in non-critical uses, with qualified personnel responsible for the result.

See the Annex 22 guide

The seven pieces of evidence for this case

What we would deliver for this model.

01Intended use

Read the documents and labels of each delivery of starting materials and compare them with the order and the approved supplier. It doesn't accept or release.

02Level of autonomy

Compares and flags. The warehouse decides the receipt and quality control the release.

03Test data

Receipts already recorded, with their issues as the reference, from several suppliers and document layouts.

04Sources for every proposal

Each data point links to the document or label it comes from; anything that doesn't match is marked as pending.

05Version under change control

The model, its version, the comparison rules and the supplier information.

06Recorded oversight

The proposal and what the warehouse accepted, blocked or corrected.

07Monitoring in production

Corrections by supplier and by document type; if a supplier gets worse, it shows.

See what the seven pieces of evidence are

Frequently asked questions

About this use case.

  • No. AI compares the documents and labels with the order and the approved supplier and flags what doesn't match. Warehouse staff decide the receipt and the material stays in quarantine.

  • What EU GMP Chapter 5 requires: correspondence between the delivery note, the purchase order, the supplier's labels and the approved manufacturer and supplier information. It also separates each batch of the delivery.

  • No. Under Chapter 5, only materials released by quality control and within their retest period are used. AI prepares the receipt; release belongs to quality control.

Other use cases

The same way of working in other processes.

Automated visual inspection of injectables

A vision model checks every filled container, separates the defective ones and sends the ones it isn't sure about to a person.

GMPManufacturingComputer visionCritical

Deviation investigation and CAPA

AI finds the deviations in the history that describe the same problem and drafts an investigation with every source cited.

GMPQuality assuranceGenerative AINon-critical

Pharmacovigilance case intake

AI extracts the data from the report, checks whether the case is valid, proposes the MedDRA coding and looks for duplicates.

GVPPharmacovigilanceExtraction and codingOutside GMP

Laboratory equipment qualification

AI drafts the OQ protocol from the URS and the manufacturer's manual, with one test per requirement and the source of every criterion.

GMPQuality controlExtraction and draftingNon-critical

Process validation and ongoing verification

AI gathers batch data against the protocol's criteria, flags what drifts from the trend and drafts the report with its sources.

GMPQuality assuranceExtraction and trendsNon-critical

Tablet and blister inspection

A vision model checks every blister on the packaging line and separates incomplete ones or those with damaged tablets.

GMPManufacturingComputer visionCritical

Laboratory audit trail review

AI ranks the events of the chromatography data system's audit trail by priority, hiding none; the reviewer decides.

GMPQuality controlRules and anomaliesNon-critical

Inspection readiness

For a question from the inspector or a self inspection, AI finds the records that answer it and proposes a reply with its sources.

GMPQuality assuranceSearch with sourcesNon-critical

What we need from you

To plan the system with real data.

  • Delivery notes, labels and certificates from your suppliers
  • Access to purchase orders and approved supplier information
  • Your receipt procedure
  • Receipts already recorded, with their issues, for testing

Does it look like your process?

Tell us how you do it today and we'll tell you whether AI adds enough to justify validating it.