Articles 22 to 24 Consent

Articles 22 to 24 of Indonesia's PDP Law set how a controller must request consent, when consent is invalid, and how the controller proves it. This page explains what an assessor checks, the evidence that passes, and what the work costs.

On this page

What Indonesia's PDP Law Articles 22 to 24 require for consent

A controller that relies on consent for some processing must be able to show that the consent was valid. Articles 22 to 24 of Law No. 27 of 2022 allow consent to be written or recorded, electronic or non-electronic, but the request must be clear and in an understandable form. The law also treats consent that breaches these requirements as invalid. Processing that rests on invalid consent has no sound basis, so the controller carries the exposure for every record affected. The duty to prove consent sits with the controller, which means a privacy policy alone will not answer an assessor's question about any individual data subject.

In practice, the difficulty is usually in how consent is captured, not in how it is described. A privacy text can be accurate while the request itself is unclear, buried in a longer document, or bundled with unrelated terms. Teams should decide the consent capture design early: what the data subject sees, how the request is worded for each purpose, and what is stored at the moment of agreement. A useful record typically includes the identity of the data subject, the purpose or processing activity covered, the version of the wording shown, the time of the decision, the channel used, and any later withdrawal. Confirm with counsel which of these fields the supervisory agency expects, because the law sets the principle and the implementing detail may still develop.

Consent is one of six lawful bases in Article 20, so it is not always the right answer. Before building a consent flow, a controller should check each processing activity against the other bases and record the one it relies on. A consent flow built for processing that another basis already covers adds risk without adding protection. The primary text of the law is available from the JDIH Komdigi legal database, and counsel should confirm the reading against it before the consent design is finalized.

Which processing relies on consent under the Indonesia PDP Law

Consent is one of six lawful bases in Article 20, so the first scoping task is deciding which processing activities actually rely on it. Each decision below changes how much consent capture, recording and proof the controller must build, and each should be confirmed with Indonesian counsel before the consent design is fixed.

Consent versus other Article 20 bases

Before building any consent flow, map each processing activity to the lawful basis that supports it. Consent is only one of six bases in Article 20, so activities needed to perform a contract or meet a legal obligation may not need a consent screen at all. Record the chosen basis per activity, and confirm the mapping with counsel, because a wrong basis makes the consent work pointless for that activity.

Article 20 lawful bases
6
Law No. 27 of 2022 text

Consumer-facing forms and apps

Sign-up pages, checkout flows, marketing opt-ins and mobile apps are where consent is most often requested. Each form should present a clear request in understandable language, separate from unrelated terms, and offer a choice that is not bundled with the core service. Check every form version, because a changed field or wording can change what the user agreed to.

Employee and vendor data

Consent given by an employee or a vendor contact may not be freely given when the person depends on the organization for pay, access or contract outcomes. Payroll, access logs and vendor onboarding often rest on contract or legal obligation instead. Confirm with counsel whether consent is a valid basis for each workforce activity before collecting signatures that the organization may later be unable to rely on.

Processing by processors for the controller

When a processor collects or uses personal data on the controller's behalf, the controller still owns the consent and must be able to prove it. Confirm in the processor contract which party captures consent, where the records sit and how withdrawal reaches the processor's systems. Consent records held only by a processor are a weak position for proof during an assessment.

Reuse of consented data for new purposes

Data collected for one stated purpose may not be reused for a different purpose on the strength of the original consent. Analytics, model training, cross-selling and data sharing with partners are common reuse cases. Before any new use, check whether the original consent text covers it, whether a different lawful basis applies, and whether a new request is needed. Record each reuse decision in the processing register.

Consent withdrawal across systems

A withdrawal must stop the processing that depends on the consent, which is hard when data has spread into backups, exports, logs and downstream tools. Map every system that stores the consented data and define how each one receives a withdrawal. Consent logs should show when the withdrawal arrived and when each system acted on it, so the controller can show the timeline.

Consent rules
Article 22 to 24

How an assessor tests consent under the Indonesia PDP Law

This table sets out how an independent assessor or the supervisory agency would test each consent requirement, what evidence the controller should be ready to produce, and where consent programs commonly fail. The controller owns these controls; the assessor tests them and reaches the conclusion. Use it to check your consent design before a review starts.

Test areaWhat the assessor checks and the evidence requestedCommon findings
Request wording and clarityReads the consent text for each purpose and checks it is clear and in an understandable form. Requests the versions in use, the approval trail for wording, and the language shown to data subjects.Bundled purposes in one checkbox, legal jargon, or purposes that differ from what the processing record describes.
Form design across channelsTests web, mobile, paper, call-center and in-app flows. Requests screenshots or exports of each flow as it appeared on the test date and confirms consent is not pre-ticked or hidden behind other terms.Channels that were never reviewed, consent collected by staff scripts with no record, or a form that changed without a version update.
Timestamped and versioned consent recordsSamples consent records and checks each holds the data subject identifier, purpose, wording version, channel, date and time, and the method of capture. Confirms records are retained for as long as the processing continues.Records that overwrite earlier answers, missing timestamps, or no link to the wording the person actually saw.
Linkage to the record of processingMatches each consent purpose to a processing activity in the Article 31 register and confirms the lawful basis recorded there is consent. Looks for processing on consent that has no consent record behind it.Activities recorded as consent-based with no consent evidence, or consent gathered for purposes never entered in the register.
Withdrawal and changed purposesTests how a data subject withdraws consent, how quickly processing stops in downstream systems, and whether a new purpose triggers a fresh request. Requests withdrawal logs and the change approval record.Withdrawal available only by letter, processing continuing in analytics after withdrawal, or reuse of old consent for a new purpose.
Consent obtained through processorsChecks the contract or instruction that makes the processor collect consent for the controller, and requires the processor to pass records back. Requests processor-held consent records and an access path for the controller.Processors holding consent logs the controller cannot see, or consent taken under the processor's own wording.

Building consent capture and proof in six steps

This sequence turns the consent requirements of Articles 22 to 24 into a working capture flow and a proof record that the controller can produce on request. It runs under the controller's own legal review, so the wording, purposes and retention rules are set by the organization rather than by this outline.

  1. Map consent-based processing activities

    Start by listing every processing activity where the controller relies on consent rather than another lawful basis under Article 20. Work from the processing register, and for each activity record the purpose, the categories of personal data, the data subjects involved and the systems that collect the data. Consent is one of six lawful bases, so mark clearly which activities truly depend on it. The output is a consent inventory with one row per purpose, reviewed and signed off by the legal owner. The step is complete when every consent-dependent purpose appears in the inventory and no purpose is left on consent by default.

  2. Draft clear request text for each purpose

    For each purpose in the inventory, draft the consent request in plain language that a data subject can understand without legal training. The text should state what is being agreed to, what data is involved, and how the person can decline or withdraw, without bundling unrelated purposes into one request. Because the law treats consent that breaches its requirements as invalid, wording and presentation are part of the validity test, not decoration. Legal counsel approves each text, and the output is approved request text per purpose with a version number and approval date.

  3. Design the capture flow for written or recorded consent

    Design how the consent is obtained and captured, using either a written, electronic or recorded method that the controller can defend. The design should show the request text at the moment of choice, require an affirmative action rather than a pre-ticked option, and avoid making the service conditional on consent for purposes that do not need it. Product, security and legal owners review the flow together, and the output is a flow diagram with screen or form states and the capture method for each purpose. The step is done when the design has been tested against each approved request text.

  4. Record each consent event with version and timestamp

    Define a consent record schema that stores each consent event with the data subject identifier, the purpose, the approved text version, the capture method, the timestamp, the outcome (given, refused or withdrawn) and the channel used. Store records in an append-only or audit-logged system so that changes can be traced, and keep withdrawal events as their own entries rather than overwriting the original. The controller must be able to show proof of the consent obtained, so this record is the core evidence. The output is a documented schema, a storage location and a sample record set reviewed by the data owner.

  5. Link consent records to the processing activity

    Connect each consent record to the matching entry in the processing register and to the systems that rely on it, so that a consent withdrawal or a change of purpose can reach every downstream process. Build a lookup that answers which consents support a given activity and which activities a given consent covers. This linkage also supports rights requests and impact assessments that depend on the register. The output is a mapping table or query that the compliance team can run, and the step is complete when a test withdrawal updates or restricts the linked processing as designed.

  6. Test the flow and review the wording

    Test the full path from request to proof in a staging environment, including refusal, withdrawal, a changed purpose and a request to produce proof for one data subject. Check that the wording shown in the flow matches the approved text version, that the record captures the correct version and timestamp, and that the proof can be exported in a form the legal team can review. Repeat the wording review whenever the request text or a purpose changes. The output is a signed test record and a change log, and the sequence is complete when the controller's legal review confirms that the consent flow matches its approved wording.

Consent evidence that satisfies the Indonesia PDP Law

Under Articles 22 to 24, a controller must be able to show the consent it relied on, so assessors start from records rather than policy text. The cards below cover the artifacts that connect each consent to a processing activity, a request version and a timestamped record, along with the withdrawal, processor and testing evidence that keeps that chain current between reviews. Counsel should check each artifact against the law text before it is relied on.

Consent inventory by processing activity

A register that lists every processing activity relying on consent, the data categories involved, the purpose stated to the data subject and the channel used to collect it. An assessor typically picks a processing activity, then asks which consent covers it and whether the stated purpose matches what the system actually does. Review the inventory whenever a new feature, data field or third-party recipient is added, and confirm with counsel which activities truly need consent under Article 20 rather than another lawful basis.

Article 20 text

Versioned request text and channel screenshots

Each consent request as it appeared to the data subject, kept with a version number, effective date and the channel where it was shown, such as web form, mobile app, paper or call script. Assessors check that the request was clear, understandable and separate from unrelated terms, and that the text matches the record of what the person agreed to. Capture a new version whenever wording changes, and archive screenshots from each channel at release so older versions can be reproduced.

Timestamped consent records with identifiers

Each consent event stored with a unique identifier, the data subject reference, the processing activity, the request version it relates to, the time of the decision and the method of capture, whether written, recorded, electronic or non-electronic. Assessors sample individual records and ask whether the controller can show this specific person agreed to this specific request. Confirm that records cannot be silently edited, and that the storage system can produce a record on request within the timeline the controller sets internally.

Withdrawal and change logs

A log of every withdrawal, modification and renewal of consent, with the time, the actor, the reason where collected, and the downstream systems notified. Assessors test whether processing stopped after withdrawal, so they compare the log with processing logs for the same person. Verify that withdrawal is as easy to submit as consent was to give, and that the audit trail records administrator actions on consent settings. Nextcloud's admin_audit app can log additional event information to audit.log, which helps where a self-hosted application records consent-related administrator actions, though it must be configured and tested.

Processor instructions on consent

Written instructions given to each processor or sub-processor that handles consented data, covering what they may do with the data, how they must respond to withdrawal, and how they must return or delete records. Assessors ask whether the controller's instructions match the consent scope and whether processors confirm they have applied withdrawals. Review these instructions when a processor changes, when a new sub-processor is added and at each periodic review, and keep signed copies with the contract file.

Periodic sample tests of consent

A documented test in which the controller draws a sample of consent records and traces each one back to the request version, the capture event, the processing activity and any withdrawal. Assessors look for the test plan, the sample selection method, the results and the corrective actions taken for exceptions. Keep the test scripts and results current by repeating them on a set schedule and after material system changes, and record who performed and reviewed each test so the evidence is independent of the team that built the consent flow.

What consent compliance costs under the Indonesia PDP Law

This table breaks down the cost components of meeting the consent requirements in Articles 22 to 24, showing who is paid, whether each cost is one-time or recurring, what drives it, and what to request in a quote. No price or duration is stated because none has been published in the supplied facts, so each row names the figure to request from the vendor, counsel or auditor. Read it as a checklist for scoping a quote, with open-source tooling reducing license spend but not engineering effort.

Cost componentWho is paid and one-time or recurringWhat drives cost and what to ask for in a quote
Legal review of consent request wordingOutside counsel, one-time per wording change, recurring when notices changeNumber of languages, number of processing purposes, and whether consent or another Article 20 basis applies. Ask for a fixed fee per document and the cost of each revision.
Engineering for consent capture and recordsInternal engineers or an implementation partner, mostly one-time, with ongoing maintenanceNumber of collection points (web, app, paper, call center), and whether consent is stored as a versioned record with timestamps. Ask for the estimated days, the named deliverables and the acceptance tests.
Tooling or licenses for consent and audit loggingSoftware vendors, recurring (annual or per user), unless self-hosted open-source tooling is usedChoice of consent management platform versus self-hosted components, and the log retention period. Open-source tools such as Nextcloud, OpenBao and XWiki remove license spend but still need configuration and hosting. Ask for the license terms and the hosting assumptions.
Hosting and storage for consent recordsCloud or data center provider, recurringVolume of consent events, retention period and backup scope. Ask for storage and backup pricing by volume tier.
Evidence upkeep and records managementInternal compliance staff or partner, recurringFrequency of consent reviews, number of processing activities, and manual versus automated proof retrieval. Ask how much effort is needed to produce proof of a given consent on request.
External testing or review of consent flowsIndependent testers or reviewers, periodicScope of the consent journeys tested, the number of applications or channels, and whether retesting is included. Ask for a fixed-scope quote with the retest terms written out.
Auditor or assessor timeIndependent auditor or assessor, periodicWhether the assessment is a readiness review or a formal assessment, and the number of systems sampled. Ask the auditor for its fee basis and what evidence it will request in advance.

Which self-hosted tools can hold consent evidence

Articles 22 to 24 put the burden on the controller to show that consent was obtained and recorded properly. The tools below can each hold one part of that evidence: the event trail, the request text, the approved wording and the secrets that protect the system. None of them decides on its own whether consent is valid, so the controller still owns the consent design and the records it keeps.

Nextcloud admin_audit event log

Nextcloud's admin_audit app writes additional event information to audit.log in the data directory, or to a path set with logfile_audit. This can show who changed a consent form, shared a file holding consent records or altered an access setting, and when. Check which events your version records, confirm that the log path sits outside the web root, and decide how long the log is kept. The app logs events; it does not decide whether consent is valid or capture the consent itself.

Nextcloud logging docs

OpenBao audit device logs

OpenBao audit devices keep a detailed JSON log of every API request and response, including errors, with most sensitive values hashed with HMAC-SHA256. For consent systems, this shows which service or person read or changed the secrets and keys that protect consent records. Confirm that the audit device is enabled before data is stored, that logs go to durable storage, and that your team knows which fields remain unhashed. The audit log proves access, not the consent given by a data subject.

OpenBao audit docs

XWiki consent wording history

XWiki keeps every change to a page under version control, recording what changed, when and by whom. Users can compare any two versions and roll back to an earlier one. Store each consent request text, notice and purpose statement as a page so you can show which wording a data subject faced on a given date. Confirm that page history cannot be deleted by editors and that exports or backups keep the full history. The page history shows changes to wording, not whether each person saw or accepted it.

XWiki version control

BookStack approval permissions

BookStack assigns user abilities through roles, and permissions can be overridden per role at the shelf, book, chapter or page level. Use this to limit who can edit approved consent wording, for example by giving legal and privacy staff edit rights on the consent book and read-only access to everyone else. Test the setup with a non-admin account and confirm that the restrictions hold at page level. Role settings control who can edit wording, but they do not approve the wording or check that it is clear and understandable.

BookStack permissions docs

Who owns consent, who prepares evidence and who tests it

The organization is the controller and stays accountable for every consent decision. In-house teams decide which processing activities rely on consent rather than another lawful basis under Article 20, approve the wording of each request, and set how long consent records are kept. Legal and privacy staff own the content of the request, while product and security owners own the systems that capture and store it.

  • Decision ownership: Legal or privacy leads confirm that consent is the right basis for each activity and document that choice.
  • Request wording: Legal reviews the consent text so it is clear, understandable and specific to the purpose.
  • Record design: Product and platform owners decide which fields each record holds, such as who consented, what they saw, when, and through which channel.
  • Withdrawal and change handling: Operations staff define how a data subject withdraws consent and how that change reaches downstream systems.
  • Internal review: Compliance samples consent records on a schedule and tracks gaps to closure.

Before relying on any outside party, confirm internally who signs off on consent decisions and who can answer an assessor's questions about them.

Where consent programs usually fall short

Consent under Articles 22 to 24 is only useful if the controller can show it was valid, specific and still in force when challenged. The gaps below tend to appear where forms, records, systems and processors were set up separately, so each one is worth checking against the consent journey end to end.

Pre-ticked or bundled consent

A consent request is invalid if it is hidden inside general terms, pre-selected, or tied to a service that does not need the data. Review each consent screen as a data subject would see it: every purpose should have its own choice, and declining should not block unrelated features. Check that the default state of every checkbox is unselected, and keep a copy of each version of the form so you can show what was displayed on a given date.

Consent text that omits the purpose

Articles 22 to 24 require the request to be clear and in an understandable form, and a vague purpose such as improving services does not meet that bar on its own. Rewrite each consent statement to name the data processed, the specific purpose and who receives it. Test the wording with someone outside the product team, and confirm that the same text appears in the app, web form and any paper or call-center script.

Records without timestamps or versions

The controller must be able to prove the consent it obtained, so a yes or no value in a user profile is rarely enough. Each record should capture who consented, the purpose and text version shown, the method used, and the exact date and time. Confirm whether your database stores consent as an append-only history or overwrites the current value, because overwriting destroys the evidence of earlier choices.

Consent not linked to the processing record

Consent should map to a specific processing activity in the controller's record of processing, and to the lawful basis chosen for that activity. When these live in separate spreadsheets or tools, teams cannot tell which processing depends on consent and which would continue under another basis. Assign each consent purpose an identifier that appears in both the consent log and the processing register, and review the link whenever a new use of data is proposed.

Withdrawal not honored downstream

Withdrawal must be as manageable as giving consent, and a withdrawal recorded in the front end does nothing if marketing tools, analytics pipelines or partner feeds keep processing the data. Map every system that receives the data, define how each one learns of a withdrawal, and test the path end to end with a sample account. Keep a log of when each downstream system stopped processing, since that log is part of the evidence.

Processors holding proof the controller cannot retrieve

When a processor collects consent on the controller's behalf, the controller still carries the duty to prove it, so the records must be retrievable on request. Check the processor agreement for the obligation to return or provide consent logs, the retention period, and the format in which records can be exported. Test a retrieval exercise before a regulator or data subject asks for one.

Questions buyers ask about consent under the Indonesia PDP Law

How much effort does consent work take under the Indonesia PDP Law?

The effort depends on how many processing activities rely on consent and how many consent screens, forms and channels collect it. Most of the work is one-time design: mapping each consent-based activity, writing the request text, building the capture flow and defining what gets stored. Recurring work follows: reviewing wording when purposes change, handling withdrawals and keeping records complete. Ask any provider for a written estimate that lists each consent touchpoint and each system that stores consent records. No effort figure is supplied for this topic, so treat any number you hear without a written breakdown as unverified.

Can we run consent compliance in-house without outside help?

Yes, many organizations do this in-house, provided they have people who understand the law's consent requirements and the engineering capacity to change their systems. Outside help is most useful when consent is captured across several products, when legacy systems cannot store timestamped records, or when internal teams lack time. Whatever the split, the organization owns its consent practices. An implementation partner can prepare systems and evidence, and only an independent auditor or assessor issues reports or certificates.

What does consent work need from legal and engineering teams?

Legal teams must decide which processing relies on consent, which purposes each consent covers, and how the request should read so it is clear and understandable. Engineering teams must build capture flows that store written or recorded consent, with the purpose, version of the text, time and method of each acceptance, and a way to withdraw. Both teams should agree on the consent register early:

  • A list of consent-based processing activities and their purposes
  • The approved wording and its version history
  • The storage design for proof of consent, including retention
  • Withdrawal and change-of-purpose procedures
How long does consent compliance take to implement?

The timeline depends on scope: the number of processing activities, the number of systems that collect consent, and how much existing consent evidence can be reused. Teams with a small, well-documented set of activities usually move faster than those with many legacy platforms. No duration is supplied for this topic, so do not rely on a general figure. Ask for a written plan with milestones, the systems in scope, the dependencies on other teams, and the points where your own legal and technical reviews must happen.

Is consent always required before processing personal data in Indonesia?

No. Article 20 lists six lawful bases, and consent is one of them. A controller may rely on another basis where it fits the processing, so the first step is to decide, per activity, which basis applies and record that decision. When consent is the chosen basis, Articles 22 to 24 set how it must be requested and recorded, and consent that breaches those requirements is invalid. Choosing consent where another basis fits can add work without adding protection, so review the lawful basis analysis before building consent flows. Confirm the final basis choice with qualified legal counsel.

What will an auditor ask for to test consent controls?

An auditor will usually ask to see which processing relies on consent, the wording shown to people at each point of collection, and proof that each individual gave consent. Because the controller must be able to show proof, the core evidence is a set of timestamped consent records that link each acceptance to a specific text version and purpose. Auditors will also test withdrawals, look for consent gathered after a purpose changed, and check who can alter the records. Confirm with your chosen assessor which evidence format they accept, since assessment procedures vary by engagement.

Which self-hosted platforms can help produce consent evidence?

Self-hosted tools can keep parts of the evidence trail, but none of them replaces a consent capture design. Nextcloud's admin_audit app logs additional event information to audit.log, which can help show who accessed or changed consent-related files. XWiki keeps version history of each page, recording what changed, when and by whom, which suits approved consent wording. BookStack role-based permissions can limit who edits that wording. Confirm with each vendor which events are logged, and test whether the logs meet your retention and integrity needs. Consent records themselves still need a purpose-built store with timestamps.

How DeployOpen prepares consent systems and evidence

DeployOpen works on the consent side of Articles 22 to 24 by preparing the self-hosted systems that capture, store and report consent inside the client's own infrastructure. The organization still owns its consent policy and lawful basis decisions, and an independent assessor or the supervisory agency reaches any conclusion on compliance.

How we scope

  • Written scope lists which processing activities rely on consent and which rely on other Article 20 bases.
  • Scope names the platforms, data stores and teams whose consent records must be produced on request.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • Configure consent capture so requests are clear, understandable and separate from unrelated terms.
  • Set up timestamped, versioned records of each consent, its wording and any withdrawal.
  • Test that consent given under defective wording or missing fields is flagged rather than silently accepted.

How we hand over

  • Documentation maps each consent flow to its wording version, record location and retention setting.
  • Handover includes runbooks for exporting consent evidence for an assessor or a data subject inquiry.
  • Client teams receive a written list of open items, owners and the points they should confirm with counsel.

How we support

  • Ongoing support, upgrades and continuous testing of consent systems are available as retainers.
  • Retesting after changes to consent wording, forms or platform versions keeps evidence current.
  • Support does not replace the organization's legal review or an independent audit of its compliance.

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.