Article 20 Lawful basis for processing

Article 20 requires a controller to have one of six lawful bases before processing personal data. This page explains each basis, how an assessor tests the choice, and the register evidence that passes.

On this page

What Article 20 asks a controller to have in place before processing

Article 20 of Law No. 27 of 2022 requires a controller to have a lawful basis before it processes personal data. For a compliance lead or engineer, the practical question is simple: for each processing activity, which of the law's bases allows it, and can you show that choice later? Consent is only one of the six bases the article lists. The others are performance of an agreement, a legal obligation, vital interests of the data subject, a task in the public interest or public service under law, and legitimate interests. Many teams default to consent because it feels safest, then discover that a consent request is the wrong tool for a payroll run or a fraud check. Processing with no recorded basis leaves the controller unable to justify the activity to the supervisory agency, and it weakens every later duty that depends on knowing why data is used.

The difficulty is that the basis is chosen per activity, not per company. A single organization may run a customer onboarding flow under a contract, a marketing mailing list under consent, a tax reporting feed under a legal obligation and an analytics model under legitimate interests, and each needs its own answer. The choice also has to hold up under scrutiny. Legitimate interests, for example, requires a judgment about whether the purpose is weighed against the data subject's expectations, and that judgment should be written down at the time it is made, not reconstructed after an incident. Vital interests is narrow. The elucidation ties it to serious medical care connected to the data subject's survival, so it does not cover convenience or general risk reduction.

Start by listing each processing activity from your register and naming the basis for each one in a dedicated field, with the reason and the date it was decided. Ask the business owner which legal or contractual obligation or service role the activity serves, then test whether consent is genuinely needed or whether another basis fits. Confirm with counsel how the article's wording applies to your sector, because supervisory interpretation and any implementing rules should be checked directly rather than assumed. Plan a periodic review, triggered by new purposes or new data sources, so that a basis chosen for one activity is not silently reused for another.

Which processing activities need a recorded lawful basis

Every processing activity that touches personal data inside Indonesia, or that affects people there, needs its own lawful basis on record. The cards below cover the scope decisions that change how many bases you record and how much analysis each one needs.

Activities in scope under Article 2

Article 2 reaches processing inside Indonesia and processing outside it whose effects land in Indonesia or on Indonesian citizens as data subjects abroad. Start from the location of the data subject and the effect of the activity, not from where your servers or legal entity sit. Check foreign group entities, global SaaS tools and offshore support teams that touch Indonesian records, because each can bring an activity into scope.

Law No. 27 of 2022 text

HR, customer, vendor and analytics data

Inventory each population separately: employees and job applicants, customers and prospects, vendor contacts, and users of product analytics. Each population usually has different purposes and a different lawful basis, so one blanket entry for "personal data" will not hold up. Product analytics and marketing identifiers are often missed because they are collected by SDKs or tags rather than by a team that owns a database.

Purpose splitting changes the count

One dataset can serve several purposes, and each purpose needs its own recorded basis. For example, (illustrative) a customer email address used to fulfill an order, send a service notice and run a marketing campaign may need three entries with three different bases. Splitting by purpose adds rows to the register, but it prevents a single basis from being stretched across uses it does not cover.

Processing by processors for the controller

When a vendor processes personal data on your instructions, the processing still belongs to your activity and must be covered by a basis you hold as controller. Record the processor, the activity it performs and the basis that covers it. Confirm with each processor which sub-processors and locations it uses, since these change the scope of your entry.

General and specific data categories

The law separates general personal data from specific personal data, and specific categories such as health and financial records carry stricter handling. Mark the category on each register entry before choosing a basis, because a basis that works for a contact name may not suffice for health information. Confirm the category list and handling rules against the Article 4 scoping page and the law text.

Full law PDF

Activities with no current owner

Legacy exports, shared spreadsheets, backups and logs often hold personal data without a documented purpose. Each one is still processing and needs an entry, a basis or a decision to delete. Ask system owners to confirm what each store contains, who reads it and why it still exists before you assign a basis.

How the six bases differ and when each one fits

Article 20 gives a controller six lawful bases, and consent is only one of them. The other five are performance of an agreement, legal obligation, vital interests of the data subject, a task in the public interest or public service under law, and legitimate interests. Choosing among them is an organizational decision made per processing activity, not a default that the privacy team applies across the company. A customer onboarding flow usually relies on performance of an agreement for the data the customer must supply to receive the service, while a marketing newsletter is a poor fit for that basis because the subscription is not needed to deliver the contract. Vital interests is the narrowest of the six. The elucidation illustrates it with processing needed for serious medical care tied to the data subject's survival. An operator who reads it as covering routine emergencies, duty-of-care checks or convenience has likely misjudged it. Confirm the wording against the official text before relying on any interpretation.

Legitimate interests and public task need the most careful documentation. Legitimate interests requires the controller to record why its interest is real, why the processing is necessary for it, and why the data subject's rights and expectations do not override it. That balancing reasoning should be written down before processing starts and stored with the processing register entry, so an assessor can see it. Public task applies only where a law assigns the task, so a company should name the specific statute or mandate it relies on, not a general sense of public benefit. Legal obligation requires the controller to identify the legal provision that compels the processing. In each case, ask legal counsel to confirm the basis and keep the reasoning on file.

A basis cannot be swapped silently. If the controller later wants to use data collected under consent for another basis, or to add a new purpose, the change must be assessed, recorded and, where the law requires, communicated to the data subject before the new processing begins. Build a change step into the register workflow so that any update to the basis field triggers a review by the privacy owner and legal counsel. Keep the previous basis and the date of change in the version history, so you can show what applied at each point in time.

How an assessor tests the lawful basis for each activity

This table sets out each test an assessor runs on the Article 20 lawful basis, the evidence requested and the findings that usually come up. Read it as a sequence: sample activities first, then trace each one to its recorded basis, then test whether that basis holds up against purpose and necessity.

TestWhat the assessor checksEvidence requestedCommon findings
Sampling of activitiesSelects a sample of processing activities across systems, departments and data categories, including legacy and outsourced onesFull processing register export, system inventory and the list of data flows used to build the sampleRegister omits systems that were never formally catalogued, so the sample misses the riskiest activities
Trace to recorded basisConfirms each sampled activity names one of the six Article 20 bases and that the entry is specific to that activityRegister entries with basis, purpose and data category fields, plus the policy or notice that describes the same activityA single blanket basis is applied to every activity, which shows no individual decision was made
Purpose fitChecks that the stated basis matches the purpose the data is actually used for, not only the purpose written in the noticePurpose statements, system configuration, and samples of how the data is queried or sharedData collected under contract is reused for marketing, so the original performance-of-agreement basis no longer covers the use
Consent mislabelingConfirms activities marked as consent-based have a consent record, and that activities without one are not labeled as consentConsent logs for the sampled activity and the register entry for the same activityConsent is recorded as the basis for activities that run without any consent capture, a common result of copying a template
Vital interests claimTests whether the claim is limited to situations tied to the data subject's survival and serious medical care, as the elucidation describesDocumented scenarios, the clinical or emergency context, and records showing when the basis was invokedVital interests is used for routine patient administration or analytics, which falls outside the survival-based illustration
Legitimate interests claimReviews whether the controller documented its interest, the necessity of the processing and the balance against data subject expectationsWritten balancing assessment, the interest stated, and the safeguards applied to the activityClaim is recorded with no balancing analysis, or the assessment was written after the processing had started
Legacy systemsChecks whether systems that predate the register have a basis recorded at allMigration records, older system owner interviews and the date each entry was added to the registerLegacy systems have no basis, or the basis was inherited from a retired process that no longer exists
Policy versus registerCompares the bases in privacy policy and internal policy against the register entries for the same activitiesPolicy documents with version history, the register with change history, and the approver for each changeBases are described in policy but absent from the register, so the organization cannot show which basis applies to a given activity

How to set up lawful basis records step by step

This sequence turns Article 20 from a legal idea into a documented, owned and reviewable record for each processing activity. Each step produces an artifact that the next step builds on, so an assessor or the supervisory agency can trace a basis back to its purpose and its owner.

  1. Inventory every personal data processing activity

    Start by listing every activity in which the organization collects, stores, uses, shares, or deletes personal data, including activities run by business units, vendors, and automated tools. Ask each department lead to name the systems, the data subjects involved, and the teams that touch the data. The output is a processing inventory with one row per activity, and the step is complete when department leads have signed off that nothing known is missing. Confirm with your legal team whether the inventory must also cover processing carried out by processors on your behalf.

  2. Assign a specific purpose to each activity

    For each row in the inventory, write the purpose in one or two sentences that describes what the processing achieves for the organization or the data subject, such as processing a customer payment or responding to a support request. A purpose that is vague or that covers several unrelated goals makes the basis decision impossible to defend later. The output is a purpose statement per activity, reviewed by the business owner who can explain why the data is needed. Keep purpose wording consistent with the privacy notice drafted later in the process.

  3. Select and justify one lawful basis per activity

    Test each purpose against the six bases in Article 20: consent, performance of an agreement, legal obligation, vital interests, public task, and legitimate interests. Choose the basis that fits the purpose most directly, and record in writing why the others do not apply. Where vital interests are considered, check the elucidation, which ties the basis to serious medical care and the data subject's survival. The output is a basis decision log with one entry per activity, showing the chosen basis, the reasoning, and the legal reviewer's sign-off.

  4. Record the basis in the processing register

    Transfer each approved decision into the processing register, which is the primary evidence that the controller has a lawful basis for each activity. Include the activity name, purpose, basis, categories of data, data subjects, and the system where the data sits. Use a tool with version history so that every change to a basis entry is traceable. The output is a populated register in which every activity has exactly one recorded basis, and a check confirms that no row is blank or contains more than one basis.

  5. Link each basis to notice and consent records

    Where the basis is consent, connect the register entry to the consent mechanism, its wording, and the record that shows how and when consent was given. Where the basis is another Article 20 ground, connect the entry to the privacy notice that tells the data subject about the processing. This link lets an assessor follow one activity from the register to the notice and to the evidence of consent without searching separate files. The output is a cross-reference for each activity that points to the notice version and, where relevant, the consent record.

  6. Assign an owner and review date to each entry

    Name one accountable owner for every register entry, usually the business manager who runs the activity, and set a review date for the entry. The owner is responsible for confirming that the purpose, the data categories, and the basis still match how the processing actually runs. The review date should follow the organization's own review policy, and you should confirm with counsel whether any review interval is needed under internal policy or sector rules. The output is an owner field and a review date on every row, with a check that both are filled in.

  7. Approve changes through a documented process

    Set a change procedure that requires a stated reason, a legal review, and a named approver before any basis, purpose, or data category is altered. Changes should be recorded with the date, the requester, and the approver so that the history of each basis can be reconstructed. Keep the approved register as the current version and archive prior versions. The output is an approved register and a change log, and the step is closed when a test change has passed through the workflow from request to approval to recorded update.

Decision path from processing activity to recorded basis

The path starts with a single processing activity and its stated purpose, which the controller must define before choosing a basis. The next hand-off checks whether consent applies, and if it does not, the controller tests the remaining bases under Article 20, including legal obligation, performance of an agreement, public task and vital interests. Legitimate interests and vital interests need a written justification before the basis is accepted. The last step is a register entry that names the chosen basis, an owner and a review date, so the basis can be produced to a supervisor on request.

Shows how one processing activity moves from purpose to a recorded Article 20 basis.

Evidence that passes an Article 20 review

An assessor reviewing Article 20 will look for one traceable chain: each processing activity names a basis, the reasoning behind that basis is written down, and the record changes only through documented decisions. The cards below cover the artifacts that make up that chain and the routine that keeps each one current between reviews.

Processing register with a basis field

The register is the central evidence. Each processing activity needs its own row showing the data categories, purpose, recipients and the single lawful basis relied on, from the six bases Article 20 lists. Check that every activity has a basis and that no row says consent by default. Review the register whenever a new system, vendor or purpose is added, and at least at each planned compliance review. Ask the owner to confirm that rows match what the systems actually do. A row without a basis is the first gap an assessor will flag.

Article 20 text

Basis justification memos

For legitimate interests and vital interests, a short memo should show why the basis fits and why less intrusive options were not enough. For legitimate interests, record the interest, the necessity test and the balance against the data subject's expectations. For vital interests, tie the processing to a serious medical situation affecting survival, as the elucidation describes. Store memos beside the register entry and refresh them when the purpose or data changes.

Version history of basis decisions

Basis decisions change over time, so the register and memos need a history showing what changed, when and by whom. A wiki with page version control can keep this trail, and a reviewer can compare any two versions. Confirm that old versions remain retrievable after an update and that deletions are logged. Export or snapshot the history at each review so the evidence survives platform upgrades.

XWiki version control

Links to notices and consent records

The basis for each activity must match what the data subject was told. Each register row should link to the privacy notice that describes that basis. Where the basis is consent, it should also link to the consent records that prove it. A mismatch, such as a notice citing consent for an activity recorded under a legal obligation, is a common review finding. Check these links at every notice update.

Owner sign-off and review logs

Each processing activity should name an accountable business owner who signs off the basis and confirms it still applies. Keep the sign-off date, the reviewer and the outcome in a log. Access to edit basis fields should follow role-based permissions so that only approved roles can change them, and page-level permissions can limit who edits memos. Set a review cycle per activity and record missed reviews as open items.

BookStack roles docs

Records of basis changes

When a controller moves an activity from one basis to another, such as from consent to a contract basis, the change itself is evidence. Record the old basis, the new basis, the reason, the date of change and how existing data subjects were informed. Assessors often ask how processing before the change was justified, so keep the earlier records. Confirm that a change triggers an update to the register, the memo and the notice together.

What meeting Article 20 costs in money and effort

This table lists each cost component of meeting the Article 20 lawful basis duty, who is paid for it, whether it is one-time or recurring, and what moves it up or down. Use it to structure a quote request, since no fixed figures for these components are supplied here. The main takeaway is that most of the recurring cost comes from keeping the basis register current, not from the first pass.

Cost componentOne-time or recurring, and who paysWhat drives it up or down
Internal legal and privacy time for basis decisionsOne-time for the first pass, then recurring as activities change. Paid by the organization through staff time.Number of processing activities, number of data subjects groups, and whether legitimate interests need a documented balancing test. Clear internal templates reduce it.
Engineering time to tag systems with basesOne-time for tagging existing systems, recurring for new ones. Paid by the organization or an implementation partner under a written scope.Number of systems holding personal data, how well inventories exist, and whether tags can be added to existing records or need new fields.
Register tooling or licensesRecurring if commercial software is used. Paid to the vendor. Self-hosted wiki and GRC tools can remove license spend, though hosting and administration remain.Choice between commercial and self-hosted tools, user count, and integration needs. Ask whether the tool supports version history and role-based edit rights.
Evidence upkeepRecurring. Paid by the organization for review cycles, version history and records of basis changes.Frequency of processing changes, review cadence set in policy, and how often basis decisions are revisited after product or vendor changes.
External legal or privacy review of justificationsOne-time for an initial review, recurring if re-reviewed. Paid to an outside lawyer or privacy adviser under a fixed scope.Complexity of legitimate interests and public task justifications, number of activities reviewed, and whether the review covers Indonesian legal interpretation.
Assessor sampling if an external review occursOccasional, tied to the assessment. Paid to the independent assessor or auditor, not to the implementation partner.Number of processing activities selected in the sample, and how well the register links each activity to its basis and evidence. Ask the assessor for its sampling approach before engagement.

Who owns the basis decision and who prepares the evidence

Your organization owns the lawful basis decision for each processing activity. Legal, privacy and the business owner of the activity should agree which of the six bases in Article 20 applies, record the reasoning, and have an accountable person sign off before processing starts. The controller remains responsible for the outcome whether or not an outside party helped prepare the record.

  • Basis selection: Confirm which basis applies to each activity, and where more than one could apply, document why the chosen one fits.
  • Sign-off: Name the person who approves each basis entry and the date of approval.
  • Review triggers: Set the events that reopen a decision, such as a new purpose, new recipient or change in data categories.
  • Consent overlap: Decide whether consent is the right basis at all, since Articles 22 to 24 add recording duties on top of Article 20.
  • Legal interpretation: Obtain Indonesian legal advice on contested points, particularly legitimate interests and public task.

Confirm with counsel that the sign-off authority in your governance matches the internal policy before the first register entry is approved.

Where organizations most often fall short on lawful basis

Most Article 20 problems come from treating the lawful basis as a one-time label instead of a decision that must be made, recorded and revisited for each processing activity. The cards below cover the gaps assessors and data subjects tend to find first, and the fix for each.

Consent used as the default

Many organizations ask for consent on every form and treat it as the basis for everything, even where a contract, a legal obligation or a public task already covers the processing. Article 20 lists six bases and consent is only one of them. Consent is also withdrawable, so relying on it for processing the organization must continue regardless creates a gap. For each activity, ask which basis fits before adding a consent step. Where consent is the right basis, it must be requested and recorded as described under Articles 22 to 24.

No basis recorded per activity

Teams often know informally why they process data but never write the basis down against each activity. When a regulator or a data subject asks, the answer depends on memory. The fix is a processing register with one row per activity that names the basis, the data categories, the purpose and the owner. Confirm that every system holding personal data appears in the register, including SaaS tools that staff added without central review.

XWiki version control

Legitimate interests without a balancing test

Legitimate interests is the most flexible basis and the easiest to claim without analysis. Organizations often write the phrase "legitimate interests" in a register entry without showing how the organization's interest was weighed against the rights and expectations of the data subject. For each activity relying on this basis, document the interest, the necessity of the processing, the data subject's reasonable expectations and the safeguards applied. Keep the assessment dated and signed so it can be reviewed when the processing changes.

Vital interests claimed too broadly

The elucidation to Article 20 ties vital interests to serious medical care and to the data subject's survival. Organizations sometimes cite it for routine customer records, emergency contacts collected at sign-up or general safety monitoring. Those uses rarely meet the test. Review each vital interests entry against the elucidation, and where the processing is ordinary business activity, select a different basis that fits, such as performance of an agreement or a legal obligation.

Bases not updated after purpose changes

A basis chosen for one purpose may not cover a new purpose added later, such as reusing customer contact details for marketing or feeding support tickets into model training. Changes often reach production through product teams without a privacy review. Add a trigger to change management so that any new purpose, new data category or new recipient prompts a fresh basis decision and a register update before go-live. Keep the previous version so the history of the basis can be shown.

Register not linked to notices

A register that says one basis while the privacy notice tells data subjects another creates a contradiction that is easy to spot. The notice content required under Article 21 should match the basis recorded for each activity, and the rights handling process should be able to find the activities affected by a request. Assign one owner to keep the register, notices and consent records aligned, and check the three against each other at each review cycle.

Article 20 questions buyers ask before hiring help

How much effort does it take to record lawful bases for a typical organization?

The effort depends mostly on how many processing activities the organization runs and how well those activities are already documented. A team that already keeps a list of systems, data categories and business owners can usually add a basis field to each entry with limited rework. A team that has no inventory first has to find out what personal data exists, where it sits and who uses it, which takes most of the time. Other drivers include the number of third parties involved, how many activities rely on more than one basis, and how many business units must confirm their answers. Ask any provider to state the work in terms of activities, interviews and review cycles, and to show how each item in the register is tied to a named owner.

Can our own team record lawful bases without outside help?

Yes, a capable internal team can record bases if it has time, a clear owner for the register and access to the people who run each process. The harder parts are usually not technical. They include deciding which basis fits each activity, which requires legal reading of Article 20 and the elucidation, and keeping the register current when systems change. Outside help is most useful when the team lacks that legal input, when there are many systems to inventory, or when it needs the register built into tooling that legal, security and engineering can all use. Whatever the choice, the organization keeps ownership of the decisions. An implementation partner can prepare the system and records, but it does not decide the legal basis for the organization.

How long does it take to record lawful bases across all processing?

The timeline depends on the number of processing activities in scope, so there is no fixed duration that applies to every organization. The work usually runs in stages: inventory, basis assignment, legal review, and then a process to keep the record up to date. Each stage moves at the pace of the people who must answer questions, so review cycles often take longer than the technical setup. Ask for a schedule that lists each stage, the number of activities it covers and the people who must sign off. Confirm the exact timeline during scoping, once the activities, systems and approvers are known.

What does recording lawful bases need from legal and engineering teams?

Legal and engineering have different jobs, and both are required. Legal or the privacy lead must confirm which of the six bases in Article 20 applies to each activity, document why, and identify when consent or another basis is the correct choice. Engineering must make sure the register is linked to the systems that process the data, that each entry has an owner, and that changes to a system trigger a review of its basis. Engineering also needs to keep the record in a controlled tool with version history and access permissions, so the organization can show how a basis was set and when it changed. Without both sides, the register often reflects a legal view that does not match how data actually moves.

Are consent records enough to show a lawful basis under Article 20?

No. Consent is only one of the six lawful bases in Article 20, so consent records cannot stand in for the basis decision for activities that rely on performance of an agreement, a legal obligation, vital interests, a public task or legitimate interests. For each activity, the organization needs a record that names the basis it relies on and the reason it applies. Consent records remain necessary for the activities that do use consent, and they are covered by separate obligations under the consent articles. A processing register that states the basis for every activity is the evidence that links the two together.

Will an auditor certify our compliance with Article 20?

No. Indonesia's data protection framework is administered by the agency the law establishes, and independent auditors do not issue a certification for Article 20 as a standalone item. An assessor, auditor or regulator tests whether the organization's record of lawful bases is complete, accurate and consistent with what it actually does. DeployOpen prepares the systems, records and evidence that support that testing, but it does not issue audit reports, attestations or certificates. The organization owns the lawful basis decisions, and any external review should be scoped in writing with the person or body that will carry it out.

How DeployOpen prepares lawful basis evidence

DeployOpen plans, implements and documents self-hosted platforms inside your own infrastructure, and prepares the processing register, system configuration and supporting evidence that your team uses to show the lawful basis for each processing activity. The work is scoped in writing before it starts. The agreed scope normally names the systems in scope, the processing activities to be recorded, the fields the register will hold for each activity, the roles that will approve and maintain entries, and the deliverables and dates. Because most engagements are fixed-scope, the quote follows from that written scope rather than from a standard package.

In practice, the register is built in a self-hosted wiki or documentation platform such as XWiki, where each change to a page is kept under version control, so you can show what changed, when and by whom. Access to the register is set through roles in a platform such as BookStack, so that only named owners can edit basis decisions while reviewers can read them. DeployOpen configures these settings, records the configuration, and runs a check that the logs and version history actually work as described. Where an organization wants a compliance tool to track the register against the Article 20 requirements, a platform such as CISO Assistant can hold the records, but the team must confirm which frameworks and fields it supports for Indonesian requirements before relying on it.

DeployOpen does not issue audit reports, attestations or certifications, and it does not decide your legal basis. Your organization owns each basis decision, including whether consent, a legal obligation, a contract or legitimate interests applies to a given activity, and it must be able to justify that choice to a regulator or auditor. Ask your legal counsel to review the basis recorded for each activity before the evidence is treated as final. Where an assessment is required by a customer, contract or supervisory authority, an independent assessor or certification body performs it, and DeployOpen can prepare the evidence that assessor will request.

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.