← Back to Home

Dip Pdf GeneratorPython-based Document Information Generator System

An automated document engine designed to streamline BPOM regulatory compliance for cosmetic registration. By replacing manual document creation with centralized relational data mapping and asynchronous background processing, the platform automates the generation of structured Dokumen Informasi Produk (DIP). The system ensures real-time revision synchronization, reduces generation turnaround times to under five minutes, and cuts cloud subscription costs through secure internal document handling.

FlaskPHP (Laravel)PostgreSQLReactJSCeleryRedisFrankenPHPPusher

Description

The platform automates the generation of standardized PDF documents required for BPOM regulatory compliance and client communication.

The system was designed to generate Dokumen Informasi Produk (DIP), a structured set of regulatory documents required for cosmetic product registration in Indonesia. Each document package is dynamically generated based on product, brand, and formula data while following BPOM submission standards and document structures.

Previously, staff manually created and validated documents, making revision handling highly error-prone, especially when updating formulas, product names, or brand information across multiple sections and files. The new system eliminated manual cross-checking by implementing centralized relational data mapping, ensuring all dependent document sections automatically stay synchronized after revisions.

To improve operational efficiency, the platform also introduced an asynchronous queue-based PDF generation workflow, allowing users to continue other tasks while documents are processed in the background. This significantly reduced document turnaround time to under five minutes per generation cycle.

Additionally, the system removed the dependency on manual Google Drive uploads by integrating centralized internal document handling, reducing cloud subscription costs and minimizing risks related to external file sharing and data leakage.

Key Features

Dynamic Data Ingestion
Web-based interface built with Laravel featuring dynamic forms for structured product and brand data input.
Unified Data Core
Centralized engine that unifies data across internal systems, including formulations, raw materials, lab testing, and approval workflows.
Compliance-Driven PDF Engine
Python-based backend engine designed to programmatically generate BPOM-compliant PDF documents using predefined templates.
Asynchronous Queue Architecture
Queue-based system that handles batch PDF generation per section (BAB) across multiple brands and product lines simultaneously.
Real-time Event Notifications
Native integration with Pusher to provide instant, real-time alerts once background document generation is complete.
Dynamic Document Consolidation
Advanced PDF merging capability that consolidates multiple independent document sections into a single, cohesive file per product.
Secure-by-Design PDF Viewer
Built-in web viewer with restricted printing, downloading, copying, and browser shortcut protections to mitigate unauthorized distribution.
Dual-Target Compliance Delivery
Versatile distribution engine supporting both formal BPOM regulatory submissions and branded, client-facing documentation.

System Architecture

Source: https://raw.githubusercontent.com/virdiggg/virdiggg.github.io/refs/heads/main/public/images/dip/architecture-dip.drawio.pngPython-based Document Information Generator System System Architecture

Workflows

Project Note:Confidentiality Notice: Due to NDA and regulatory compliance (BPOM data privacy), specific organization, product, and brand names, also production credentials have been redacted. Screenshots demonstrate the staging environment with mocked data.

Screenshots

Python-based Document Information Generator System Screenshot 1
Python-based Document Information Generator System Screenshot 2
Python-based Document Information Generator System Screenshot 3
Python-based Document Information Generator System Screenshot 4