1
0
Rihards Gailums a608de41ad Step 7: register-to-BPMN transcoder tool
Adds tools/register-transcoder — a Python tool that reads a published Valsts
Kase accounting-process register (.xlsx/.xlsm) and emits BPMN process
skeletons. For a given sub-process it produces one userTask per register
step, swimlanes from the RACI columns (placing each step in its Responsible
actor's lane), sequence flows reconstructed from the register's own
predecessor/successor step references, and synthesised start/end events per
entry and exit step. Output is an isExecutable=false skeleton — the
deterministic first pass of the transcription pipeline; refinement into a
Level 4 executable package is the human/AI-assisted second pass that produced
the curated FG3-1/FG3-4/FG3-5 packages. Includes a README and sample-output
skeletons emitted from the FG3 register for sub-processes 3.5.2 and 3.5.3.
2026-05-19 21:38:45 +00:00

vk-gramatvediba

UAPF workspace for the Valsts Kase / Vienotais pakalpojumu centrs (VPC) accounting processes — a transcription of the six published accounting function groups (FG1–FG6) into the Unified Algorithmic Process Format.

Built for the Latvian AI regulatory sandbox proof-of-concept. It demonstrates algorithmising a real, published public-sector process description as version-controlled, machine-executable, auditable UAPF packages.

Conformance

This workspace targets UAPF specification v2.2.0 (https://github.com/UAPFormat/UAPF-specification). It follows the normative folder structure (enterprise/, domains/, processes/), the package layout (uapf.yaml plus cornerstone folders), and the includes-based composition rule — higher levels reference lower levels and executable artifacts are never copied.

Layout

Path Level Contents
enterprise/enterprise.yaml L0 Enterprise index — references every domain and package
domains/ L1 Domain compositions (the accounting domain)
processes/ L2–L4 Function-group, sub-process and atomic executable packages
tools/ Workspace tooling (package archive build, transcription)
docs/ Conventions and proof-of-concept documentation

See docs/conventions.md for how the VK function groups map onto UAPF levels.

Source material

The packages here are transcribed from the Valsts Kase publication Grāmatvedības uzskaites procesu apraksts (created 2024-06-03, updated 2026-03-27): six process schemas and six process registers. The transcription preserves step identity, responsibility (RACI), the systems used, and SLAs; it does not alter the documented process. Where a schema and its register disagree, the discrepancy is recorded rather than silently resolved.

Status

FG3 build. The workspace structure, the L0 enterprise index, the L1 accounting domain and the six L2 function-group packages are in place. FG3 is composed down to its six L4 sub-process packages, and FG3-1 (Rēķina/ kredītrēķina saņemšana) is built out as an executable L4 package with BPMN and DMN. FG2 and FG4–FG6 detailing and the FG3-2…FG3-6 executable builds follow in subsequent steps.

Scope note

This proof-of-concept validates methodology and auditability — that a public-sector process can be expressed as conformant, executable, traceable UAPF, and run with a complete audit chain. Accounting bookkeeping is not, in itself, a high-risk AI use case under the EU AI Act; the sandbox value is the algorithmisation and audit method, not the domain.

Description
No description provided
Readme 142 KiB
Languages
Python 100%