Section 22 Data minimization

Section 22 of Thailand's PDPA limits collection of personal data to what is necessary for the controller's lawful purpose. This page covers what assessors test, the evidence that passes, and what meeting the rule costs in money and effort.

On this page

Thailand PDPA section 22 data minimization: what it asks before you collect

Section 22 of the Thailand PDPA limits a controller to collecting personal data only to the extent necessary for its lawful purpose, so a form that asks for more fields than that purpose needs is the problem this section targets. The rule governs collection only. Storage and deletion questions are separate and should be reviewed on their own. Start with the intake points you own, such as sign-up forms, onboarding workflows, support tickets and vendor questionnaires. For each field, ask one plain question: would the stated purpose fail without it? If the answer is no, the field should not be collected, or it should be optional with a documented reason.

The exposure is an administrative fine of up to 3,000,000 baht for a controller that violates or fails to comply with section 22, set out in section 83. Fines of this kind are imposed through the expert committee under section 90, so confirm with counsel how that process would apply to your organization. The rule is hard in practice for two reasons. Purpose statements are often vague, such as 'service improvement' or 'business operations', which makes it difficult to judge whether any given field is necessary. Forms are also copied from older systems, so fields that once served a purpose stay in place after the purpose has ended. Before you audit fields, write one specific purpose statement per form and map each field to it.

Treat the English text as a working reference only. The Ministry's English version of the PDPA is labeled an unofficial translation, so check the wording of section 22 against the Thai Gazette text before you rely on it for legal decisions, including decisions to remove or keep a field. Ask counsel to confirm the Thai wording and any PDPC notifications that touch collection, because many operational details are set in notifications issued under the Act. Record the version you checked and the date, so your evidence file shows which text your collection decisions were based on. Unofficial English translation of the PDPA hosted by MDES

Which collection points and teams the section 22 necessity test covers

Personal data enters a controller's systems through many channels, and each one needs its own necessity check under Section 22. This section groups the collection points and teams that usually hold a share of those decisions, so scoping starts with an inventory of where data arrives. The shared question is whether each field serves a stated lawful purpose at the point it is collected.

Web and mobile forms

Forms are the most common collection point, and each field needs a stated purpose before it goes live. The scoping decision is whether a field is collected once at sign-up and reused, or re-collected in every later workflow such as checkout, support and marketing. Check each form template, validation rule and hidden field, including fields that autofill from device or browser data. Each re-collection adds a separate necessity question under Section 22.

APIs and integrations

Every API endpoint and integration moves personal data to another system, and each payload is a separate collection or disclosure path. The scoping decision is whether the receiving system needs the full record or only the fields its purpose requires. Review field-level mappings, default sync jobs and webhook payloads, because integrations often send fields that nobody reviewed when they were built. Confirm who owns each mapping and whether a change request is needed before a new field is added.

Call center and paper intake

Phone calls and paper forms collect personal data outside normal system logic, so they are often missing from data maps. The scoping decision is whether agents record only what the call purpose needs, or whether free-text notes, call recordings and scanned attachments collect more than that purpose justifies. Check call scripts, CRM note fields, recording retention and the storage location of scanned forms, and confirm who can read each one. Paper intake is easy to overlook because it sits in filing cabinets and scanning queues.

HR and vendor onboarding

Employee and supplier onboarding gathers identity, banking and background data, often before anyone confirms the role or contract needs them. The scoping decision is whether a field is required for every hire or vendor, or only for specific roles, contracts or risk tiers. Review onboarding forms, background check requests, copies of identity documents and vendor due diligence questionnaires. Confirm which fields the controller collects itself and which a third party collects on its behalf, since both fall under the test.

Analytics and AI pipelines

Analytics warehouses, feature stores and AI training or retrieval pipelines often copy personal data from production systems in bulk. The scoping decision is whether a pipeline needs identifiable records at all, or whether it can run on aggregated, pseudonymized or truncated data. Check extraction jobs, dataset snapshots, prompt logs and vector stores, and record the purpose each dataset serves. Copies made for experimentation are collection events too, and they often outlive the purpose they were made for.

Sector-specific laws under Section 3

Section 3 of the PDPA says that a sector-specific law governing personal data applies, and the Act's collection, use, disclosure and data subject rights provisions still apply alongside it. The scoping decision is which collection fields and retention periods come from the sector law, and which must still pass the Section 22 necessity test. Map each sector rule to the processing it covers, then test the remaining fields separately. Use the unofficial English translation as a working reference and check the Thai Gazette text for legal reliance.

PDPA English text

How the necessity test runs from purpose to field

The test starts with a purpose the controller has written down and can name under the Act, such as delivering a service the person requested. Each field on the form is then checked against that purpose, one at a time. A field the purpose does not need is removed, and a field that is useful but not required is made optional so the person can leave it blank. A necessary field is kept, and its purpose and lawful basis are recorded beside it. Each kept field then gets a validation control so excess or malformed input is caught at entry. When a form or purpose changes, the whole check runs again.

Decision path from documented purpose to re-running the check on change.

How assessors test Thailand PDPA Section 22 data minimization

This table compares six tests an assessor may run on Section 22 data minimization, with the evidence each test asks for and the gaps that appear most often. Read each row as a test you can rehearse before a review, starting with the collection points that touch personal data. Thailand has no certification path for Section 22, so the reviewer may be a customer's assessor, internal audit or counsel, and the organization should confirm who is reviewing and agree the scope before preparing evidence.

Test approachEvidence requestedCommon findings
Sample collection points against the documented purposeInventory of forms, apps, APIs and call scripts that collect personal data, each linked to its documented purpose and notice.Collection points missing from the inventory, or collecting data for a purpose the notice never states.
Walk through a live form or API payloadScreen captures, a test submission and the raw request body, with each field annotated against the purpose note.Payloads carry fields the form never displays, such as hidden or default values sent to a third party.
Check whether optional fields are justifiedWritten justification for each optional field, showing the purpose it serves and what happens if the data subject leaves it blank.Fields shown as optional in the interface but required by the backend, or optional fields with no stated purpose.
Review change records when a field was addedChange tickets, pull requests or version history showing who added the field, when, why and whether the notice was updated.Fields added during a sprint with no privacy review, or added before the purpose note was revised.
Compare a purpose note with what is collectedPurpose statement, data element list and retention note for each process, dated and approved by the process owner.Purpose notes listing broad categories such as customer data while the form collects national ID or birth date.
Track findings to closureFindings register with severity, named owner, remediation record and the date each Section 22 gap was closed.Unowned gaps with no fix record. Section 83 sets an administrative fine of up to 3,000,000 baht for non-compliance with Section 22.

Implementing the necessity test in six steps

Section 22 asks controllers to collect only what is necessary for a lawful purpose. These six steps turn that test into an owned inventory, a field register, an approved schema version and a re-review process, so the limit is enforced in the product and kept current as forms change.

  1. Inventory every personal data collection point

    Start with a complete list of every place the organization collects personal data: web and mobile forms, APIs and webhooks, call center scripts, paper forms, file imports, analytics tags and feeds from vendors or partners. The product owner for each system works with engineering to record its name, its accountable owner, the data subjects involved and the fields it gathers. The output is a collection point inventory. The step is done when business owners have signed off on it and engineering confirms that no known collection point is missing.

  2. Document the lawful purpose for each

    For each collection point, legal or compliance staff write down the specific purpose the data serves and the basis that allows it, such as consent under section 19 or an exception under section 24. Each purpose must be stated clearly enough to match the privacy notice given under section 23 and the purpose limit in section 21. Broad wording such as improving services should be split into specific purposes that can be tested. The output is a purpose register. The step is done when every collection point links to at least one recorded purpose and basis.

  3. Map each field to its purpose

    Take each field in the inventory and record which purpose needs it. A field that supports a stated purpose stays in scope, and a field that supports no purpose is flagged for review. Engineering and the data owner check the mapping together, because the fields a form actually sends often differ from what the team believes it collects. The output is a field register listing each field, its collection point, its purpose and its sensitivity. The step is done when the privacy lead has reviewed every row and no field lacks a purpose.

  4. Remove or make optional unneeded fields

    Take every field that no purpose supports and decide whether to delete it, stop collecting it, or make it optional with a clear reason shown to the person. Fields that would reveal sensitive categories under section 26 need separate justification, an explicit consent or a listed exception, so they receive the strictest review. Record each decision in the register with the approver's name and the decision date. The output is a revised field list. The step is done when every removed or optional field has a documented decision.

  5. Enforce the approved field list in the build

    Turn the revised field list into an approved schema version and store it in version control with a version number. Engineers configure the form, API and database schemas to accept only approved fields, and reject unknown or extra fields at the server, where a browser or client cannot bypass the check. Validation failures are logged for review. The output is the approved schema version and the test results that prove it. The step is done when tests submit extra fields to each endpoint and confirm the rejection is recorded.

  6. Set re-review triggers for every change

    Define the events that send a collection point back through steps one to five. These include a new or changed form, field, API endpoint, vendor integration or data source, and any new purpose for data already held. Each trigger is written into the change process so a ticket cannot close until the privacy lead confirms whether re-review is needed. A re-review produces an updated field register and a new approved schema version. The step is done when every trigger has a named owner and each collection point has a scheduled review.

Evidence that shows section 22 data minimization is working

Section 22 is tested by showing that each collection point asks only for fields a controller can justify. The six artifacts below link a field to its purpose, prove the approved schema is enforced, and record who changed it and why. None of the open-source tools here decides whether a field is necessary; that judgment belongs to the controller's documented review.

Field-level data register

A field-level register lists every personal data field each form or API collects, the purpose it serves under the notice given to the data subject, and the lawful basis relied on. It is the first document a reviewer should ask for, because it turns Section 22 from a principle into a per-field question. Check that each field has an owner, a purpose that matches the Section 21 notice, and a removal date or review trigger. Fields without a stated purpose are the first candidates for deletion.

Approved form and API schemas

The approved form and API schemas define the exact fields a collection point may accept, with each field's type, whether it is required, and the version in force on a given date. Ask for the schema files, the approval sign-off for each version, and the history showing which field was added, removed or made optional. A schema that allows extra keys, or accepts free-text fields with no stated purpose, undermines the register even when the register is complete. Keep the schemas in source control so the active version can be reconstructed for any past collection.

Necessity review records

Every change to a field, form or endpoint needs a written necessity review stating why the field serves the controller's lawful purpose, what breaks without it, and who approved it. Keep these records in XWiki, which keeps every page change under version control, recording what changed, when and by whom. Reviewers can compare any two versions and roll back to an earlier one. XWiki stores the review, but the necessity decision stays with the accountable owner.

XWiki version control article

Validation test results

Tests should send requests containing fields outside the approved schema and confirm that the form or API rejects them, logging each rejection. Ask for the test cases, the schema version each run used, the results and the fixes for any failures. Include negative tests for hidden fields, extra JSON keys and data submitted for a purpose that was never notified. A passing run proves the control only for the schema version it tested, so each schema release needs its own run.

Collection form access records

The people who can change a collection form are part of the evidence. Where form specifications are kept in BookStack (MIT licensed), editing rights are set by role at the shelf, book, chapter or page level, and permissions can be overridden per role. Export the role assignments and the page change history, then confirm that only named privacy and product owners can publish changes to live collection forms. Any editor outside that list is a finding to close before the next assessment.

BookStack roles docs

Cross-framework assessment tracking

Section 22 evidence rarely sits in one place, so track it in CISO Assistant. The tool ships more than 200 frameworks, including GDPR, and runs audits and assessments against them with automatic mapping between frameworks, which an assessor should verify before relying on it. Record each Section 22 control with its evidence and review date. Licensed under AGPL-3.0-only, the tool needs legal review before you modify it and offer the modified version to others.

CISO Assistant README

What section 22 data minimization costs to meet

This table compares the cost components of meeting section 22 data minimization, showing who is paid for each, whether it is one-time or recurring, and what moves the cost. Read the rows in order: much of the effort lands early in the field inventory and schema work, then recurs each time a form, app or collection point changes. Ask any implementation partner for a written scope and quote that prices each of these components separately.

Cost componentOne-time or recurringWhat drives itHow to keep it down
Field inventory and necessity review (your legal and product staff, plus any partner)One-time, then a refresh whenever collection points changeNumber of collection points (web forms, apps, call scripts, paper intake, vendor feeds) and fields at eachKeep one register and tie each field to a purpose already notified to data subjects. Retire fields no purpose needs.
Schema and validation engineering (your developers or a partner)One-time build, then recurring change workNumber of data types, required versus optional fields, and how often forms are editedReuse a shared field library and block unneeded fields at the schema layer before storage.
Evidence upkeep (your compliance and data owners)Recurring, with every form or field changeFrequency of form changes, number of owners who edit collection points, and retention periodsKeep the field register under version control and review each change against its stated purpose on a fixed schedule.
External review or testing (optional, set by a written scope)Optional, one-time per review cycleWhether an outside reviewer tests collection flows and data stores, and how many systems are in scopeName the collection points in the written scope and agree any retest date before work starts.
Auditor or reviewer time (paid to the independent assessor)Recurring, per assessment cycleSampling depth the reviewer chooses, number of collection points sampled, and documentation qualityPrepare a sample-ready pack for each collection point so follow-up requests do not extend the engagement.
Software licenses for self-hosted tools (your procurement team)License spend removed for those tools, plus any paid support you buyChoice of tools, version and hosting modelConfirm the license terms for your version and hosting model with counsel before deployment.

Who does what: your team, an implementation partner and the reviewer

Your organization owns the lawful purpose of each processing activity, decides which fields are necessary for that purpose, and approves every change to either. Section 22 turns on whether each item of personal data is necessary for the controller's lawful purpose, so this judgment cannot be handed to a vendor. Your privacy, legal and business owners sign off on the reasoning, and your records show who approved what and when.

  • Purpose statements: Your privacy lead writes and maintains the lawful purpose for each system and links it to the notice given to data subjects.
  • Field decisions: Data owners decide which fields each form, API and report may collect, and record why each field is needed.
  • Change approval: Every new field, new source or new use goes through a named approver before it reaches production.
  • Retention and deletion: Your team sets how long collected fields are kept and who runs deletion.
  • Penalty exposure: Section 83 sets an administrative fine of up to 3,000,000 baht for a controller that violates section 22, so executive sign-off on the program matters.

Check that every purpose and field decision has a named owner and an approval record before you ask a partner to build anything.

Where section 22 programs usually fall short and how to close each gap

Most Section 22 gaps trace back to one weakness: the controller cannot show in writing why each field is collected and who approved it. The six cards below cover where that weakness appears, from purpose statements to live database schemas. Section 83 sets an administrative fine of up to 3,000,000 baht for a controller that breaches section 22, so each fix should leave a record.

Purposes stated as broad labels

A purpose such as improve service cannot be tested for necessity, so almost any field can be justified under it. Section 22 limits collection to what is necessary for the controller's lawful purpose, and a label that broad gives an assessor nothing to check fields against. Illustrative: a signup form that asks for date of birth under 'improve service' passes only if a named activity needs that field. Assign the product owner to rewrite each purpose as a specific activity and list the fields that activity requires.

Legacy fields with no owner

Fields copied from old paper or PDF forms often survive every redesign, and nobody remembers why they exist. A field with no named owner cannot be defended, reviewed or removed, so the controller cannot show necessity for it. Compare the production form against the original source and record which purpose each field serves. Assign the data owner to build a field register with one owner and one purpose per field, and to remove any field no one can justify.

Optional fields required in the backend

The form may show a field as optional while the API, database or a validation rule still rejects an empty value. Users then enter something they were never required to give, such as a placeholder phone number, and the stored record holds data the controller did not need. Test each optional field by submitting it blank through the form and directly through the API, then record what the backend stores. Assign the platform engineer to align validation rules with the form so that optional means optional in every layer.

No change trigger for new data

New forms, marketing pages and AI features often add fields without passing a privacy review, so the live field list drifts from the approved one. A release that adds a field should trigger a necessity check before it reaches production. Illustrative: an AI assistant that stores full chat transcripts adds data the original review never considered. Assign the change manager to add a data field checkpoint to the release checklist, with sign-off from the privacy lead before the change ships.

Evidence that lives in conversation

Staff may give a clear verbal explanation of why a field is needed, yet nothing appears in writing. An assessor or regulator cannot test an explanation that was never recorded, and it disappears when the person who gave it leaves. Keep the necessity assessment for each purpose on a version-controlled page, so changes and their authors stay visible over time. Assign the compliance lead to store each assessment in a controlled wiki page and link it to the field register.

XWiki version control blog

No check against the approved schema

The approved field list and the live database can diverge without anyone noticing, because approval happens once while the schema keeps changing. A one-time approval says little about the system as it runs months later. Compare the live schema, form definitions and API fields against the approved list on a set schedule, and keep each result. Assign the security engineer to run this comparison, record every difference, and send any unapproved field to its owner for a decision through the change process.

Questions buyers ask about section 22 data minimization

How much effort does section 22 data minimization take, and what drives it?

Effort depends mainly on how many systems collect personal data, how many purposes each one serves, and how much existing collection has never been tied to a stated need. A team with a few forms and one CRM will spend far less time than one with many applications, vendor feeds and legacy databases. The work has three parts: mapping each data field to a purpose, removing or narrowing fields the purpose does not need, and recording each decision so it can be shown later. Most of the cost is staff time from purpose owners, engineers and counsel, plus change work on forms, APIs, exports and retention jobs. Ask any quote to list the systems in scope, the number of collection points, and whether the work includes code changes or only a review. The exposure is material: section 83 of the Act sets an administrative fine of up to 3,000,000 baht for a controller that violates or fails to comply with section 22.

How long does section 22 data minimization take, and what sets the timeline?

The duration depends on the number of systems in scope, the state of existing data inventories, and how quickly purpose owners respond. Work that starts with a current inventory and named owners moves faster than work that begins with discovery. Changes to production systems need testing and release windows, which often set the pace once the review is done. Legal review adds time when counsel must check each purpose against the notice given to data subjects under section 23. Ask for a written timeline with milestones for inventory, purpose review, system changes and evidence. Also ask which dependencies the plan assumes, such as system access and staff availability, and what changes if those slip. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

What does section 22 data minimization need from our internal team?

It needs three groups. Purpose owners, usually business leads for processes such as hiring, sales or claims, must state why each field is needed. Engineers must find where each field is collected, stored, shared and deleted, then change forms, APIs, exports and retention jobs. Legal or privacy counsel must confirm the lawful purpose and check that the notice given under section 23 matches what is actually collected. One accountable person, often the privacy lead or a data protection officer where one is appointed, should own the decisions and sign-off. Purpose owners are usually the slowest group, because many fields were added for convenience and never tied to a stated need. Agree time commitments with each group before work starts, and name a backup for each role.

Can our team do section 22 data minimization without an implementation partner?

Yes, a team can do the work in-house if it has the people, time and authority to change systems. Many teams start with a data inventory and purpose review in a spreadsheet or wiki. Wiki tools such as XWiki keep version history for each page, showing what changed, when and by whom, which helps record purpose decisions. Outside help is most useful when the inventory spans many systems, engineering capacity is limited, or the team lacks counsel for the purpose review. Be clear about roles: the organization owns its controls and decisions, an implementation partner prepares systems and evidence, and only an independent auditor or certification body issues reports or certificates. Whichever route you choose, counsel still needs to sign off on the legal reading of each purpose.

What should a section 22 partner deliver in writing before work starts?

The written scope should name the systems, business processes and collection points in scope, along with the deliverables and how each one is accepted. Ask for a data inventory listing each field, its collection point, its stated purpose and its owner, plus a list of fields recommended for removal or narrowing. Ask for change records for each modified form, API or export, including test results and rollback notes. Ask for a decision log showing who approved each purpose and when, kept in a location the organization controls. Ask for a retention and deletion schedule for each field, a timeline with milestones, and a list of assumptions. The document should also state that the partner prepares evidence, while the organization owns the decisions and counsel provides the legal reading.

Does Thailand offer a certification for section 22 data minimization?

Thailand has no certification for section 22 that this page can confirm, so do not assume one exists. Confirm the position with your Thai counsel before relying on any claim. Section 22 is a duty on controllers to limit collection to what is necessary for their lawful purpose, and the evidence for it is usually internal: an inventory, purpose records, change records and retention rules that an auditor or regulator can review. If a Thai regulator or accredited body issues a scheme that touches the Act, confirm its scope, issuer and current status directly with that body. Be cautious of any vendor that says a PDPA certificate covers section 22 without naming the issuing body and the scope of the certificate.

How does the Thai Gazette text relate to the unofficial translation of section 22?

The Thai Gazette text is the version to rely on for legal reading, and the English version is a working reference. The Personal Data Protection Act B.E. 2562 (2019) was published in the Government Gazette on 27 May 2019, according to the unofficial English translation hosted by Thailand's Ministry of Digital Economy and Society. The Ministry labels that English text as unofficial, so use it to understand section 22 and find related sections, then check the Thai wording before making legal decisions. Translation can change the meaning of terms such as 'necessary' or 'lawful purpose', so ask counsel to read the Thai text. Record which version your team reviewed and the date, so the decision log shows what was relied on.

How DeployOpen scopes and prepares section 22 evidence

DeployOpen works on Section 22 Data minimization as a scoped implementation and evidence engagement inside your own infrastructure. We help define which personal data fields and collection points your self-hosted platforms need for the lawful purpose, then document and configure the controls that evidence that limit. The organization owns its controls and the purpose decision, and only independent assessors issue reports or certificates.

How we scope

  • The written scope lists each platform, data store and form that collects personal data for Section 22.
  • Scope also names the controller's lawful purpose for each system, which the organization confirms with its legal counsel.
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we build

  • Field-level review of forms, APIs and exports to flag attributes collected beyond the stated purpose.
  • Configuration of optional fields, default values and retention settings in self-hosted platforms, hardened inside your infrastructure.
  • Access roles limited so staff see only the personal data their duties require, with audit logging enabled.

How we hand over

  • A written evidence pack mapping each collection point to its stated purpose and the controls that limit it.
  • Version history for policy and form documents, for example in XWiki, if the client selects it.
  • Handover notes for the compliance team on what to re-check when a new purpose or field is added.

How we support

  • Retainers can cover upgrades, periodic re-review of collection points and retesting after platform changes.
  • Ask whether the retainer covers re-review when Section 22 guidance or PDPC notifications change.
  • Independent assessors or certification bodies issue any report or certificate; DeployOpen prepares the evidence for them.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.