Personal Data Protection Dossier (VN) API
Draft Vietnam’s personal-data processing impact and cross-border transfer dossiers (Law 91/2025, NĐ 356/2025) as DOCX / PDF, with a gap checklist.
Describe your organisation (organization: name, tax code, representative, data-protection contact, type enterprise / small / micro / startup / household / state_agency, role controller / processor / controller_processor), your processing activities (purpose, legal basis, data-subject groups and counts, basic and sensitive data categories using the keys listed by GET, sources, storage, retention, recipients, children’s data, automated decisions), any cross_border recipients and your security_measures. Only a description of the processing is sent; no personal data is needed and nothing is stored.
The API decides which dossiers apply under Luật Bảo vệ dữ liệu cá nhân 91/2025/QH15: the processing impact assessment (Điều 21, within 60 days of starting; small enterprises and start-ups may opt out for 5 years and household / micro businesses are exempt unless they process sensitive data, have 100,000+ data subjects or sell processing services) and the cross-border transfer impact assessment (Điều 20, no small-business exemption). It returns deadlines, update rules, a checklist of gaps (missing purpose, legal basis, retention, DPO, contract with foreign recipients…), a rule-based risk table and the fines of the Law and Nghị định 330/2026/NĐ-CP.
format=docx / pdf / zip builds the drafts following the section headings of Mẫu 10 (processing), Mẫu 09 (cross-border) and the filing notices Mẫu 02a / 01a of Nghị định 356/2025/NĐ-CP, addressed to A05 (Bộ Công an); choose one with document. They are drafts for review by your legal team.
Markdown · OpenAPI · Postman · llms.txt
Parameters
| Name | In | Type | Required | Default | |
|---|---|---|---|---|---|
organization | body | object | yes | { name, tax_code?, address?, representative?, title?, phone?, email?, dpo_name?, dpo_contact?, type, role, processing_service?, controller?, processors? }. | |
activities | body | array | yes | [{ name, purpose, legal_basis, data_subjects[], subjects_count, basic_data[], sensitive_data[], children?, sources?, storage, retention, recipients[], automated? }] (max 50). | |
cross_border | body | object | no | { recipients: [{ name, country, address?, role?, purpose? }], contract, purpose?, method?, safeguards?, on_behalf?, others? }. | |
security_measures | body | array | no | Technical and organisational measures. | |
start_date | body | string | no | Date processing started (60-day deadline); transfer_start_date for transfers. | |
document | body | string | no | all | all, dpia, cross_border, notice_dpia, notice_cross_border (comma-separated). |
format | body | string | no | json | json, docx, pdf or zip. |
Example
curl -X POST "https://apibox.io.vn/v1/vn-pdp-dossier" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"organization":{"name":"Công ty CP Ví Dụ Số","tax_code":"0109999999","representative":"Nguyễn Văn A","dpo_name":"Phòng Pháp chế","type":"small","role":"controller"},"activities":[{"name":"Quản lý khách hàng","purpose":"Cung cấp dịch vụ","legal_basis":"Sự đồng ý; thực hiện hợp đồng","data_subjects":["Khách hàng"],"subjects_count":5000,"basic_data":["name","phone_id_numbers","email"],"storage":"Máy chủ tại Việt Nam","retention":"5 năm"}],"cross_border":{"recipients":[{"name":"Nhà cung cấp email","country":"Singapore","role":"Bên xử lý"}],"contract":"DPA ký 01/03/2026"},"security_measures":["Mã hoá","Phân quyền, MFA","Sao lưu"],"start_date":"2026-11-01"}'const res = await fetch('https://apibox.io.vn/v1/vn-pdp-dossier', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"organization": {
"name": "Công ty CP Ví Dụ Số",
"tax_code": "0109999999",
"representative": "Nguyễn Văn A",
"dpo_name": "Phòng Pháp chế",
"type": "small",
"role": "controller"
},
"activities": [
{
"name": "Quản lý khách hàng",
"purpose": "Cung cấp dịch vụ",
"legal_basis": "Sự đồng ý; thực hiện hợp đồng",
"data_subjects": [
"Khách hàng"
],
"subjects_count": 5000,
"basic_data": [
"name",
"phone_id_numbers",
"email"
],
"storage": "Máy chủ tại Việt Nam",
"retention": "5 năm"
}
],
"cross_border": {
"recipients": [
{
"name": "Nhà cung cấp email",
"country": "Singapore",
"role": "Bên xử lý"
}
],
"contract": "DPA ký 01/03/2026"
},
"security_measures": [
"Mã hoá",
"Phân quyền, MFA",
"Sao lưu"
],
"start_date": "2026-11-01"
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://apibox.io.vn/v1/vn-pdp-dossier",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"organization": {"name": "Công ty CP Ví Dụ Số", "tax_code": "0109999999", "representative": "Nguyễn Văn A", "dpo_name": "Phòng Pháp chế", "type": "small", "role": "controller"}, "activities": [{"name": "Quản lý khách hàng", "purpose": "Cung cấp dịch vụ", "legal_basis": "Sự đồng ý; thực hiện hợp đồng", "data_subjects": ["Khách hàng"], "subjects_count": 5000, "basic_data": ["name", "phone_id_numbers", "email"], "storage": "Máy chủ tại Việt Nam", "retention": "5 năm"}], "cross_border": {"recipients": [{"name": "Nhà cung cấp email", "country": "Singapore", "role": "Bên xử lý"}], "contract": "DPA ký 01/03/2026"}, "security_measures": ["Mã hoá", "Phân quyền, MFA", "Sao lưu"], "start_date": "2026-11-01"},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-pdp-dossier');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"organization":{"name":"Công ty CP Ví Dụ Số","tax_code":"0109999999","representative":"Nguyễn Văn A","dpo_name":"Phòng Pháp chế","type":"small","role":"controller"},"activities":[{"name":"Quản lý khách hàng","purpose":"Cung cấp dịch vụ","legal_basis":"Sự đồng ý; thực hiện hợp đồng","data_subjects":["Khách hàng"],"subjects_count":5000,"basic_data":["name","phone_id_numbers","email"],"storage":"Máy chủ tại Việt Nam","retention":"5 năm"}],"cross_border":{"recipients":[{"name":"Nhà cung cấp email","country":"Singapore","role":"Bên xử lý"}],"contract":"DPA ký 01/03/2026"},"security_measures":["Mã hoá","Phân quyền, MFA","Sao lưu"],"start_date":"2026-11-01"}',
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));Response
{
"organization": {
"name": "Công ty CP Ví Dụ Số",
"type": "small",
"role": "controller",
"role_vi": "Bên kiểm soát dữ liệu cá nhân"
},
"applicability": {
"processing_impact_assessment": {
"required": false,
"basis": "Small enterprises and start-ups may choose not to apply Điều 21, 22 and 33.2 for 5 years from 01/01/2026 (Điều 38)."
},
"cross_border_impact_assessment": {
"required": true,
"basis": "Transfers abroad need the cross-border transfer impact assessment, filed within 60 days of the first transfer; the small-business exemption does not cover it (Điều 20, 38)."
},
"total_data_subjects": 5000,
"sensitive_data": false
},
"deadlines": {
"dpia": null,
"cross_border": "2026-12-31",
"submit_to": "Cục An ninh mạng và phòng, chống tội phạm sử dụng công nghệ cao (A05), Bộ Công an"
},
"documents": [
{
"document": "cross_border",
"file": "ho-so-danh-gia-chuyen-dlcn-xuyen-bien-gioi"
},
{
"document": "notice_cross_border",
"file": "thong-bao-gui-ho-so-mau-01a"
}
],
"checklist": [],
"risks": [
{
"risk": "Transfer of personal data abroad",
"level": "high",
"mitigation": "Transfer contract with protection clauses, recipient due diligence, encryption in transit"
},
"…"
],
"stored": false,
"disclaimer": "Reference template, not legal advice: have a lawyer review it and check the official text before signing or filing."
}
Use cases
- Prepare the DPIA a Vietnamese customer asks a SaaS vendor for
- Check whether a start-up must file a processing dossier
- Draft the cross-border dossier for cloud or e-mail providers abroad
- Run a quick data-protection gap analysis for clients
FAQ
Do small businesses need the dossiers?
Small enterprises and start-ups may skip the processing dossier for 5 years (from 1/1/2026) unless they process sensitive data, 100,000+ subjects or provide processing services; the cross-border dossier is still required.
Does the API store my data?
No. It receives only a description of your processing and builds the documents in memory.
Where are the dossiers filed?
With the Department of Cybersecurity and High-Tech Crime Prevention (A05), Ministry of Public Security, within 60 days of starting the processing or transfer.
Related APIs
JSON Validator
Check JSON syntax with exact line and column of errors, and validate data against a JSON Schema (draft 4, 7, 2019-09 or 2020-12).
{ }JSON Formatter
Pretty print JSON with 0-8 spaces or tabs, minify it, or sort object keys recursively. Syntax errors are reported with line and column.
CSVCSV to JSON
Convert CSV into an array of JSON objects using the header row, with delimiter auto-detection, number and boolean typing, and row-level errors.