# Data protection and compliance for Indonesian software

> UU PDP compliance for software in Indonesia: lawful basis, 3x24-hour breach notice, PSE registration, Dukcapil and BPJS integration, and AI data rules.

URL: https://www.matthewswong.com/en/indonesia/compliance/

- Author: Matthews Wong (https://www.matthewswong.com/en/about/)
- Researched on: 12 October 2026

> **Key takeaway:** Indonesia's Personal Data Protection Law, UU 27/2022, ended its two-year adjustment period on 17 October 2024. For software that means a lawful basis for every purpose, provable consent, 3 x 24-hour deadlines for access, correction and breach notice, PSE registration through OSS, and Dukcapil identity checks only under a signed cooperation agreement.

> **Research note and disclaimer.** Researched on 12 October 2026. Everything below summarises the official sources linked on this page as they stood on that date. Regulations, tax rates and provider fees in Indonesia change, sometimes with little notice. Check the linked source before you rely on any figure, and treat anything older than a few months as a starting point rather than the current rule. General information only, not tax, legal or financial advice. For a decision about your own business, consult a licensed tax consultant (konsultan pajak), a lawyer, or the provider directly.

## What you need to know

### What UU PDP asks of an application

Law 27 of 2022 applies to anyone processing personal data in Indonesia, and to processing abroad that has legal effect in Indonesia or concerns Indonesian citizens overseas (Article 2). Processing is defined broadly, from collection and analysis to transfer and deletion (Article 16). Every purpose needs one of the six bases in Article 20, and consent must be written or recorded, with the controller able to show proof of it (Articles 22 and 24).

The deadlines are short and measured in hours. Giving a subject access to their data and its processing trail, correcting inaccurate data, stopping processing after consent is withdrawn and restricting processing each carry a 3 x 24-hour limit (Articles 32, 30, 40 and 41). A personal data protection failure must be reported in writing within 3 x 24 hours to the affected subjects and to the supervisory agency (Article 46). Controllers must record all processing (Article 31), assess the impact of high-risk processing (Article 34), and appoint a data protection officer when any one of the Article 53 criteria applies. Administrative fines are capped at 2% of annual revenue or receipts (Article 57).

### Where enforcement stands in October 2026

The two-year adjustment period in Article 74 ran from promulgation on 17 October 2022 and ended on 17 October 2024. Administrative sanctions under Article 57 are imposed by the supervisory agency that Article 58 leaves to the President to establish. As of the research date, the sources checked here do not confirm that this agency has been formed; Hukumonline's reporting in October 2026 describes it as not yet operating.

Hukumonline reports that PP 33/2026, the implementing regulation for Law 27 of 2022, was enacted on 16 July 2026 and takes effect on 16 January 2027. On the research date its text was not yet listed on peraturan.go.id or JDIH BPK, so this page relies on the law itself and treats the regulation's details as unconfirmed.

### Registering as a private-scope electronic system operator

PP 71/2019 requires every electronic system operator to register before users start using the system (Article 6). Permenkominfo 5/2020 sets out who counts as a private-scope operator (PSE Lingkup Privat): platforms for commerce, financial transactions, paid digital content, communications, search and content, and personal data processing tied to electronic transactions. Registration goes through OSS, and the form asks for the personal data processed and where the system and data are managed, processed and stored. Foreign operators serving Indonesian users must register too.

An unregistered system can have its access blocked (Article 7 of the regulation). A private-scope operator may keep systems and data inside or outside Indonesia, provided ministries and law enforcement can still supervise and reach them (PP 71/2019, Article 21); public-scope operators must keep them in Indonesia unless the storage technology is unavailable at home (Article 20).

### Government integrations: Dukcapil and BPJS

The regulation describes no public Dukcapil endpoint. Permendagri 102/2019, amended by Permendagri 17/2023, grants access per user — Indonesian legal entities included — after a request to the Director General, a memorandum of understanding and a cooperation agreement. Web-service access runs over a closed network the user provides; companies with majority foreign ownership get only a match or no-match answer; and data received through the web service may be stored only after the data owner's consent is verified with NIK and biometrics. The 2023 amendment added a certified information-security standard, banned passing population data to third parties, and deleted the shared-platform (Platform Bersama) provisions.

For BPJS Ketenagakerjaan, the documented employer channels are SIPP Online and the Electronic Payment System (EPS): contribution codes come from EPS, SIPP Online or the Payment Reminder System and are paid through partner banks or virtual accounts. BPJS Kesehatan runs a Trust Mark programme that assesses partners integrating with its information systems against legal, technical and security requirements. Health data and biometrics are specific personal data under Article 4 of UU PDP, which puts both integrations on the Article 34 impact-assessment list.

### A security baseline the regulations point to

PP 71/2019 requires an audit trail of all electronic system activity (Article 22), security procedures against disruption and attack, and a first-opportunity report to law enforcement and the relevant ministry when a third party causes a serious failure (Article 24). BSSN Regulation 8/2020 turns that into an information security management system: operators self-assess their system as strategic, high or low, report the result to BSSN, and apply SNI ISO/IEC 27001 or BSSN standards according to that category.

UU PDP adds the duty to set security in proportion to the nature and risk of the data (Article 35) and to prevent unauthorised access (Article 39), and applies both duties to processors as well (Article 52). In engineering terms that means encryption in transit and at rest, tenant isolation enforced in the database rather than in application code, append-only audit logs that can answer an access request, least-privilege roles, and a vendor register, because a processor needs the controller's written approval before engaging another processor (Article 51).

### AI features and personal data

UU PDP has no chapter on AI, but four articles carry most of the weight. Analysis and transfer are processing (Article 16), so sending a record to a model provider needs a basis for that purpose. Automated decisions with legal or significant effect, and the use of new technology, are on the impact-assessment list (Article 34), and data subjects may object to decisions based solely on automated processing, including profiling (Article 10).

Inference abroad falls under Article 56: the recipient's country must offer equal or higher protection; failing that, adequate and binding safeguards; failing both, the subject's consent. The Constitutional Court rejected a challenge to that article in full on 19 January 2026 (Decision 137/PUU-XXIII/2025). The communications ministry's Circular 9/2023 on AI ethics asks AI operators to ensure personal data protection under the regulations and to set internal policies on data and AI ethics.

## UU PDP obligations mapped to engineering controls

| Obligation (article) | What the law says | Engineering control | Covered in |
| --- | --- | --- | --- |
| Lawful basis (Art. 20) | Each purpose needs one of six bases, from explicit consent to legitimate interests. | Record the basis per purpose in the processing register; a new purpose ships only once it has one. | UU PDP checklist for AI features |
| Consent and withdrawal (Arts. 22, 24, 40) | Consent is written or recorded and must be provable; processing stops within 3 x 24 hours of a withdrawal. | Append-only consent ledger (notice version, purpose, timestamp, channel) and a revocation event every consumer handles. | WhatsApp Business API guide |
| Access and correction (Arts. 30, 32) | Data and its processing trail are provided, and errors fixed, within 3 x 24 hours. | Per-subject export built from the audit log rather than hand-assembled queries. | ERP audit trail guide |
| Record of processing (Art. 31) | The controller records all processing activities. | Processing register kept in the repository and changed in the same pull request as the code. | UU PDP checklist for AI features |
| Security (Arts. 35, 39) | Security matches the nature and risk of the data, and unauthorised access is prevented. | Encryption in transit and at rest, database-enforced tenant isolation, least-privilege roles. | Postgres RLS guides |
| Breach notice (Art. 46) | Written notice within 3 x 24 hours to subjects and the agency: what was exposed, when and how, and the response. | Incident runbook with a notice template holding those three fields, and a deadline the on-call engineer can see. | UU PDP developer guide |
| Deletion (Arts. 43 to 45) | Delete when the purpose is met, consent is withdrawn or the subject asks, then tell the subject. | Retention jobs plus a deletion fan-out that reaches logs, caches, vendors and vector stores. | UU PDP checklist for AI features |
| Impact assessment (Art. 34) | Required for high-risk processing, including automated decisions, specific data, large scale and new technology. | An impact-assessment gate in design review for biometric, health and AI features. | NIK and Dukcapil e-KYC guide |
| Processors (Art. 51) | Processors act on the controller's instructions and need written approval before engaging another processor. | Vendor register with a data processing agreement for each vendor and sub-processor. | UU PDP developer guide |
| Transfer abroad (Art. 56) | Equal or higher protection in the recipient's country; failing that, binding safeguards; failing both, consent. | Data-flow inventory per vendor and region, including where model inference actually runs. | UU PDP checklist for AI features |

Articles refer to Law 27 of 2022 as published on JDIH BPK. The engineering controls are this site's mapping of each duty to code, not text from the law.

## Timeline

- **10 October 2019: PP 71/2019 on electronic systems takes effect.** Every electronic system operator must register before users start using the system, keep an audit trail and run security procedures; private-scope operators may store data abroad if supervision stays effective. Source: [JDIH BPK: PP No. 71 Tahun 2019 tentang Penyelenggaraan Sistem dan Transaksi Elektronik](https://peraturan.bpk.go.id/Details/122030/pp-no-71-tahun-2019)
- **24 November 2020: Permenkominfo 5/2020 sets the PSE Lingkup Privat rules.** Defines which platforms register through OSS, puts the personal data processed and its storage location on the form, and sets takedown windows of 1 x 24 hours, or 4 hours for urgent requests. Source: [JDIH Komdigi: Permenkominfo No. 5 Tahun 2020 tentang Penyelenggara Sistem Elektronik Lingkup Privat](https://jdih.komdigi.go.id/produk_hukum/view/id/759/t/peraturan+menteri+komunikasi+dan+informatika+nomor+5+tahun+2020)
- **20 July 2022: PSE Lingkup Privat registration deadline.** Permenkominfo 10/2021 tied the deadline to six months after risk-based OSS licensing took effect; the ministry set it at 20 July 2022, with access blocking for unregistered systems. Source: [Antara (news): Kominfo minta platform digital segera mendaftar](https://www.antaranews.com/berita/2953833/kominfo-minta-platform-digital-segera-mendaftar)
- **17 October 2022: UU 27/2022 on Personal Data Protection enacted.** Enacted and promulgated the same day, starting a two-year period for controllers, processors and other parties to bring their processing into line (Article 74). Source: [JDIH BPK: UU No. 27 Tahun 2022 tentang Pelindungan Data Pribadi](https://peraturan.bpk.go.id/Details/229798/uu-no-27-tahun-2022)
- **30 October 2023: Permendagri 17/2023 tightens Dukcapil data access.** Users of population data must hold a certified information-security standard and may not pass the data to third parties; the shared-platform provisions are deleted. Source: [JDIH BPK: Permendagri No. 17 Tahun 2023, amending Permendagri 102/2019 on access to population data](https://peraturan.bpk.go.id/Details/280636/permendagri-no-17-tahun-2023)
- **17 October 2024: UU PDP adjustment period ends.** Two years after promulgation, the Article 74 deadline for bringing personal data processing into line with the law passes. Source: [JDIH BPK: UU No. 27 Tahun 2022 tentang Pelindungan Data Pribadi](https://peraturan.bpk.go.id/Details/229798/uu-no-27-tahun-2022)
- **5 November 2024: Kominfo becomes Komdigi.** Perpres 174/2024 establishes the Ministry of Communication and Digital Affairs and revokes the Kominfo regulation; personal data protection is named in its remit, and the PSE portal and legal database now sit on komdigi.go.id. Source: [JDIH BPK: Perpres No. 174 Tahun 2024 tentang Kementerian Komunikasi dan Digital](https://peraturan.bpk.go.id/Details/306884)
- **30 July 2025: Court clarifies when a data protection officer is required.** Decision 151/PUU-XXII/2024 reads the Article 53 criteria as alternatives, so meeting any one of them obliges a controller or processor to appoint a data protection officer. Source: [Mahkamah Konstitusi: Putusan Nomor 151/PUU-XXII/2024](https://www.mkri.id/public/content/persidangan/putusan/putusan_mkri_12970_1753859809.pdf)
- **19 January 2026: Court rejects a challenge to the cross-border transfer rules.** Decision 137/PUU-XXIII/2025 rejects the petition against Article 56 in full, leaving its tiered test for transfers abroad unchanged. Source: [Mahkamah Konstitusi: Putusan Nomor 137/PUU-XXIII/2025](https://www.mkri.id/public/content/persidangan/putusan/putusan_mkri_13644_1768797987.pdf)
- **16 July 2026: Implementing regulation PP 33/2026 reported enacted.** Hukumonline reports it takes effect on 16 January 2027. The text was not yet on peraturan.go.id or JDIH BPK when this page was researched, so its details are unconfirmed here. Source: [Hukumonline (news): Pelindungan data pribadi dalam penegakan hukum di bawah PP 33/2026](https://www.hukumonline.com/berita/a/pelindungan-data-pribadi-dalam-penegakan-hukum-dan-konfigurasi-beracara-di-bawah-pp-33-2026-lt6ac4acd9db1bd/)

## Go deeper: the articles behind this guide

### UU PDP and consent

- [UU PDP No. 27/2022: The Developer's Compliance Guide for Indonesia's Data Protection Law](https://www.matthewswong.com/en/blog/uu-pdp-compliance-developer-guide-indonesia/): Read this when you want the engineering view of consent, encryption, row-level security and data subject requests in one place
- [Integrating the Official WhatsApp Business Cloud API in Indonesia](https://www.matthewswong.com/en/blog/whatsapp-business-api-integration-indonesia/): Read this when your notifications go out over WhatsApp and you need an opt-in record that holds up

### AI features

- [UU PDP Compliance Checklist for AI Features in Indonesia](https://www.matthewswong.com/en/blog/uu-pdp-ai-feature-compliance-checklist/): Read this when a feature sends customer records to a model provider, especially one outside Indonesia
- [AI Observability: How to Log, Trace, and Monitor LLM Applications](https://www.matthewswong.com/en/blog/ai-observability-llm-logging/): Read this when you log prompts and responses and need to treat those traces as personal data
- [Claude Code Zero Data Retention: What You Give Up](https://www.matthewswong.com/en/blog/claude-code-zero-data-retention-compliance/): Read this when your team runs an AI coding agent over code or data the vendor must not retain
- [Indonesia Grok Block: AI Image Moderation for Product Builders](https://www.matthewswong.com/en/blog/indonesia-grok-block-ai-moderation-lesson/): Read this when you ship image generation and need to know which controls Indonesian regulators asked for

### Identity and government integrations

- [Building e-KYC for Indonesian Fintech: NIK/Dukcapil Verification Done Right](https://www.matthewswong.com/en/blog/nik-ktp-dukcapil-verification-api-indonesia/): Read this when you are designing an e-KYC flow with NIK checks, liveness and face match
- [BPJS API Integration for Indonesian Developers: A Practical Guide](https://www.matthewswong.com/en/blog/bpjs-api-integration/): Read this when your HR, ERP or clinic system has to exchange data with BPJS
- [Indonesia's PDN (Pusat Data Nasional): What Developers Need to Know About Government Cloud Migration](https://www.matthewswong.com/en/blog/pusat-data-nasional-pdn-cloud-developer-guide/): Read this when you build for a government agency and need to know where its workloads may be hosted

### Security baseline

- [Multi-Tenant SaaS Architecture With Postgres RLS](https://www.matthewswong.com/en/blog/multi-tenant-saas-postgres-rls-indonesia/): Read this when you are deciding how strictly to isolate tenants in a small SaaS
- [PostgreSQL Row-Level Security for Multi-Tenant SaaS](https://www.matthewswong.com/en/blog/postgres-row-level-security-multitenant/): Read this when you are writing row-level security policies and want tests that prove isolation holds
- [Building an ERP Audit Trail and Activity Log: PostgreSQL, NestJS Interceptors, and React Activity Feed](https://www.matthewswong.com/en/blog/erp-audit-trail-activity-log/): Read this when you need an audit log that can say who changed a record, when, and what it looked like before
- [ERP Security and Permissions Design: RBAC Done Right](https://www.matthewswong.com/en/blog/erp-security-permissions-design/): Read this when you are designing roles around least privilege and separation of duties
- [Automated Secrets Rotation: A Strategy That Survives Audits](https://www.matthewswong.com/en/blog/automated-secrets-rotation-strategy/): Read this when credentials are long-lived and an audit is coming
- [restic vs BorgBackup: Encrypted, Deduplicated Backups](https://www.matthewswong.com/en/blog/restic-vs-borg-encrypted-backups/): Read this when your backups hold personal data and must be encrypted
- [Zero Trust Security Architecture for Cloud-Native Applications: A Practical Guide](https://www.matthewswong.com/en/blog/zero-trust-security-architecture-indonesia/): Read this when traffic between services inside your cluster is still trusted by default

## FAQ

### Does UU PDP apply to an app run from outside Indonesia?

Yes, in defined cases. Article 2 of Law 27 of 2022 covers processing outside Indonesia when it has legal effect in Indonesia or concerns Indonesian citizens abroad, and excludes only purely personal or household processing. Separately, Permenkominfo 5/2020 requires foreign operators that serve users in Indonesia, do business there or offer their systems there to register as private-scope electronic system operators.

### How quickly must a data breach be reported under UU PDP?

Article 46 requires written notice within 3 x 24 hours to the affected data subjects and to the supervisory agency. The notice must at least state which personal data was exposed, when and how it happened, and what the controller is doing to handle and recover from it. In certain cases the controller must also inform the public.

### Have the UU PDP implementing regulation and supervisory agency been set up?

Hukumonline reports that PP 33/2026, the implementing regulation, was enacted on 16 July 2026 and takes effect on 16 January 2027, but on 12 October 2026 its text was not yet listed on peraturan.go.id or JDIH BPK. The sources checked for this page do not confirm that the supervisory agency under Article 58 has been formed. The law's two-year adjustment period for controllers and processors ended on 17 October 2024.

### Can my startup call the Dukcapil API directly to check a NIK?

Not without an agreement. Under Permendagri 102/2019 as amended by Permendagri 17/2023, an Indonesian legal entity applies to the Director General of Dukcapil, signs a memorandum of understanding and a cooperation agreement, connects over a closed network and must hold a certified information-security standard. Companies with majority foreign ownership receive only a match or no-match result, and the parties may not pass population data to third parties, so check which agreement any verification vendor actually holds.

### When does UU PDP require a data protection officer?

Article 53 requires controllers and processors to appoint one when processing serves public services, when core activities need regular and systematic large-scale monitoring of personal data, or when core activities involve large-scale processing of specific personal data or data on criminal offences. In Decision 151/PUU-XXII/2024, read on 30 July 2025, the Constitutional Court held that these criteria are alternatives, so meeting any one of them triggers the duty.

## Sources

- [JDIH BPK: UU No. 27 Tahun 2022 tentang Pelindungan Data Pribadi](https://peraturan.bpk.go.id/Details/229798/uu-no-27-tahun-2022)
- [JDIH BPK: PP No. 71 Tahun 2019 tentang Penyelenggaraan Sistem dan Transaksi Elektronik](https://peraturan.bpk.go.id/Details/122030/pp-no-71-tahun-2019)
- [JDIH Komdigi: Permenkominfo No. 5 Tahun 2020 tentang Penyelenggara Sistem Elektronik Lingkup Privat](https://jdih.komdigi.go.id/produk_hukum/view/id/759/t/peraturan+menteri+komunikasi+dan+informatika+nomor+5+tahun+2020)
- [Komdigi: Pendaftaran PSE Lingkup Privat](https://pse.komdigi.go.id/)
- [JDIH BPK: Permendagri No. 102 Tahun 2019 tentang Pemberian Hak Akses dan Pemanfaatan Data Kependudukan](https://peraturan.bpk.go.id/Details/138595/permendagri-no-102-tahun-2019)
- [JDIH BPK: Permendagri No. 17 Tahun 2023, amending Permendagri 102/2019 on access to population data](https://peraturan.bpk.go.id/Details/280636/permendagri-no-17-tahun-2023)
- [JDIH BPK: Peraturan BSSN No. 8 Tahun 2020 tentang Sistem Pengamanan dalam Penyelenggaraan Sistem Elektronik](https://peraturan.bpk.go.id/Details/174285/peraturan-bssn-no-8-tahun-2020)
- [JDIH Komdigi: Surat Edaran Menkominfo No. 9 Tahun 2023 tentang Etika Kecerdasan Artifisial](https://jdih.komdigi.go.id/produk_hukum/view/id/883/t/surat+edaran+menteri+komunikasi+dan+informatika+nomor+9+tahun+2023)
- [BPJS Kesehatan: Trust Mark portal for integrated partners](https://dvlp.bpjs-kesehatan.go.id:8888/trust-mark/)
- [BPJS Ketenagakerjaan: paying contributions through EPS and its payment channels](https://www.bpjsketenagakerjaan.go.id/artikel/18917/artikel-bayar-iuran-bpjs-ketenagakerjaan-makin-mudah-dengan-eps-serta-kanal-pembayarannya.bpjs)

---

- HTML version: https://www.matthewswong.com/en/indonesia/compliance/
- Bahasa Indonesia: https://www.matthewswong.com/id/indonesia/compliance/
- Site index for agents: https://www.matthewswong.com/llms.txt
- Sitemap: https://www.matthewswong.com/sitemap.xml
- API description (OpenAPI): https://www.matthewswong.com/openapi.json
