From 14d03dd929fa3a20e3afdfe9b7e132c8e8a0f81d Mon Sep 17 00:00:00 2001 From: Rihards Gailums Date: Tue, 19 May 2026 17:02:33 +0000 Subject: [PATCH] composition skeleton: L1 accounting domain + six L2 function-group packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Step 2 of the vk-gramatvediba build (absorbs the planned Step 3 — the enterprise index now references the domain, since the two are one coherent unit). - domains/gramatvediba/ — L1 domain package; includes the six FG packages - processes/fg1..fg6/ — six L2 function-group packages (composition stubs; FG3 carries its sub-process inventory and is taken to executable depth in later steps) - each package: uapf.yaml + metadata/ownership.yaml + metadata/lifecycle.yaml + README - enterprise/enterprise.yaml now references the L1 domain All 22 manifests and metadata files validate against the UAPF 2.2.0 schemas; all seven includes / enterprise references resolve. --- domains/.gitkeep | 0 domains/gramatvediba/README.md | 17 +++++++++++++++ domains/gramatvediba/metadata/lifecycle.yaml | 4 ++++ domains/gramatvediba/metadata/ownership.yaml | 8 +++++++ domains/gramatvediba/uapf.yaml | 22 ++++++++++++++++++++ enterprise/enterprise.yaml | 9 +++++--- processes/.gitkeep | 0 processes/fg1/README.md | 14 +++++++++++++ processes/fg1/metadata/lifecycle.yaml | 4 ++++ processes/fg1/metadata/ownership.yaml | 8 +++++++ processes/fg1/uapf.yaml | 16 ++++++++++++++ processes/fg2/README.md | 14 +++++++++++++ processes/fg2/metadata/lifecycle.yaml | 4 ++++ processes/fg2/metadata/ownership.yaml | 8 +++++++ processes/fg2/uapf.yaml | 16 ++++++++++++++ processes/fg3/README.md | 22 ++++++++++++++++++++ processes/fg3/metadata/lifecycle.yaml | 4 ++++ processes/fg3/metadata/ownership.yaml | 8 +++++++ processes/fg3/uapf.yaml | 16 ++++++++++++++ processes/fg4/README.md | 14 +++++++++++++ processes/fg4/metadata/lifecycle.yaml | 4 ++++ processes/fg4/metadata/ownership.yaml | 8 +++++++ processes/fg4/uapf.yaml | 16 ++++++++++++++ processes/fg5/README.md | 14 +++++++++++++ processes/fg5/metadata/lifecycle.yaml | 4 ++++ processes/fg5/metadata/ownership.yaml | 8 +++++++ processes/fg5/uapf.yaml | 16 ++++++++++++++ processes/fg6/README.md | 14 +++++++++++++ processes/fg6/metadata/lifecycle.yaml | 4 ++++ processes/fg6/metadata/ownership.yaml | 8 +++++++ processes/fg6/uapf.yaml | 16 ++++++++++++++ 31 files changed, 317 insertions(+), 3 deletions(-) delete mode 100644 domains/.gitkeep create mode 100644 domains/gramatvediba/README.md create mode 100644 domains/gramatvediba/metadata/lifecycle.yaml create mode 100644 domains/gramatvediba/metadata/ownership.yaml create mode 100644 domains/gramatvediba/uapf.yaml delete mode 100644 processes/.gitkeep create mode 100644 processes/fg1/README.md create mode 100644 processes/fg1/metadata/lifecycle.yaml create mode 100644 processes/fg1/metadata/ownership.yaml create mode 100644 processes/fg1/uapf.yaml create mode 100644 processes/fg2/README.md create mode 100644 processes/fg2/metadata/lifecycle.yaml create mode 100644 processes/fg2/metadata/ownership.yaml create mode 100644 processes/fg2/uapf.yaml create mode 100644 processes/fg3/README.md create mode 100644 processes/fg3/metadata/lifecycle.yaml create mode 100644 processes/fg3/metadata/ownership.yaml create mode 100644 processes/fg3/uapf.yaml create mode 100644 processes/fg4/README.md create mode 100644 processes/fg4/metadata/lifecycle.yaml create mode 100644 processes/fg4/metadata/ownership.yaml create mode 100644 processes/fg4/uapf.yaml create mode 100644 processes/fg5/README.md create mode 100644 processes/fg5/metadata/lifecycle.yaml create mode 100644 processes/fg5/metadata/ownership.yaml create mode 100644 processes/fg5/uapf.yaml create mode 100644 processes/fg6/README.md create mode 100644 processes/fg6/metadata/lifecycle.yaml create mode 100644 processes/fg6/metadata/ownership.yaml create mode 100644 processes/fg6/uapf.yaml diff --git a/domains/.gitkeep b/domains/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/domains/gramatvediba/README.md b/domains/gramatvediba/README.md new file mode 100644 index 0000000..cfdcc5c --- /dev/null +++ b/domains/gramatvediba/README.md @@ -0,0 +1,17 @@ +# Grāmatvedības uzskaite — accounting domain (L1) + +Level 1 domain package. Composes the six Valsts Kase / Vienotais pakalpojumu +centrs (VPC) accounting function groups via the manifest `includes` field. + +| FG | Function group | +|----|----------------| +| FG1 | Ilgtermiņa nefinanšu aktīvu un krājumu uzskaite | +| FG2 | Finanšu aktīvu uzskaite | +| FG3 | Saistību un izdevumu uzskaite | +| FG4 | Saistību par atlīdzību uzskaite | +| FG5 | Prasību un ieņēmumu uzskaite | +| FG6 | Pārskatu sagatavošana publiskošanai | + +Each function group is an L2 package under `processes/`. FG3 is taken to +executable (L4) depth in this proof-of-concept; the others are composition +stubs. diff --git a/domains/gramatvediba/metadata/lifecycle.yaml b/domains/gramatvediba/metadata/lifecycle.yaml new file mode 100644 index 0000000..78c04b2 --- /dev/null +++ b/domains/gramatvediba/metadata/lifecycle.yaml @@ -0,0 +1,4 @@ +kind: uapf.metadata.lifecycle +status: draft +created: "2026-05-19T00:00:00Z" +lastModified: "2026-05-19T00:00:00Z" diff --git a/domains/gramatvediba/metadata/ownership.yaml b/domains/gramatvediba/metadata/ownership.yaml new file mode 100644 index 0000000..e6b3569 --- /dev/null +++ b/domains/gramatvediba/metadata/ownership.yaml @@ -0,0 +1,8 @@ +kind: uapf.metadata.ownership +owners: + - type: organization + id: vpc + name: Vienotais pakalpojumu centrs (Valsts Kase) + role: owner +approvers: + - vpc.process-office diff --git a/domains/gramatvediba/uapf.yaml b/domains/gramatvediba/uapf.yaml new file mode 100644 index 0000000..c9c015f --- /dev/null +++ b/domains/gramatvediba/uapf.yaml @@ -0,0 +1,22 @@ +kind: uapf.package +id: vk.gramatvediba.domain +name: "Grāmatvedības uzskaite — accounting domain" +description: "Level 1 domain composing the six Valsts Kase / VPC accounting function groups (FG1-FG6)." +level: 1 +version: 0.1.0 +includes: + - ../../processes/fg1 + - ../../processes/fg2 + - ../../processes/fg3 + - ../../processes/fg4 + - ../../processes/fg5 + - ../../processes/fg6 +cornerstones: + bpmn: false + dmn: false + cmmn: false + resources: false +owners: + - type: team + id: vpc +lifecycle: draft diff --git a/enterprise/enterprise.yaml b/enterprise/enterprise.yaml index ed4cd67..d957f08 100644 --- a/enterprise/enterprise.yaml +++ b/enterprise/enterprise.yaml @@ -6,6 +6,9 @@ enterprise: description: >- Enterprise index for the Valsts Kase / Vienotais pakalpojumu centrs (VPC) accounting workspace — a UAPF transcription of the six published accounting - function groups (FG1–FG6). Domain and process packages are registered here - as they are added to the workspace. -packages: [] + function groups (FG1-FG6). +packages: + - ref: ../domains/gramatvediba + level: 1 + domain: gramatvediba + tags: [accounting, valsts-kase, vpc] diff --git a/processes/.gitkeep b/processes/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/processes/fg1/README.md b/processes/fg1/README.md new file mode 100644 index 0000000..4eb8ae0 --- /dev/null +++ b/processes/fg1/README.md @@ -0,0 +1,14 @@ +# FG1 — Ilgtermiņa nefinanšu aktīvu un krājumu uzskaite + +Function group 1 - accounting for long-term non-financial assets and inventory: recognition, post-recognition value and master-data changes, derecognition, and stocktaking. + +- **UAPF level:** L2 (function group) +- **Package id:** `vk.gramatvediba.fg1` +- **Source:** Valsts Kase *Grāmatvedības uzskaites procesu apraksts* — FG1 schema and process register. + +## Status + +Composition placeholder. Sub-process packages are not expanded in this +proof-of-concept, which takes FG3 to executable depth as the representative +function group. This package reserves the function-group identity and its +slot in the L0-L4 composition graph. diff --git a/processes/fg1/metadata/lifecycle.yaml b/processes/fg1/metadata/lifecycle.yaml new file mode 100644 index 0000000..78c04b2 --- /dev/null +++ b/processes/fg1/metadata/lifecycle.yaml @@ -0,0 +1,4 @@ +kind: uapf.metadata.lifecycle +status: draft +created: "2026-05-19T00:00:00Z" +lastModified: "2026-05-19T00:00:00Z" diff --git a/processes/fg1/metadata/ownership.yaml b/processes/fg1/metadata/ownership.yaml new file mode 100644 index 0000000..e6b3569 --- /dev/null +++ b/processes/fg1/metadata/ownership.yaml @@ -0,0 +1,8 @@ +kind: uapf.metadata.ownership +owners: + - type: organization + id: vpc + name: Vienotais pakalpojumu centrs (Valsts Kase) + role: owner +approvers: + - vpc.process-office diff --git a/processes/fg1/uapf.yaml b/processes/fg1/uapf.yaml new file mode 100644 index 0000000..fe51cbc --- /dev/null +++ b/processes/fg1/uapf.yaml @@ -0,0 +1,16 @@ +kind: uapf.package +id: vk.gramatvediba.fg1 +name: "FG1 — Ilgtermiņa nefinanšu aktīvu un krājumu uzskaite" +description: "Function group 1 - accounting for long-term non-financial assets and inventory: recognition, post-recognition value and master-data changes, derecognition, and stocktaking." +level: 2 +version: 0.1.0 +includes: [] +cornerstones: + bpmn: false + dmn: false + cmmn: false + resources: false +owners: + - type: team + id: vpc +lifecycle: draft diff --git a/processes/fg2/README.md b/processes/fg2/README.md new file mode 100644 index 0000000..253c91c --- /dev/null +++ b/processes/fg2/README.md @@ -0,0 +1,14 @@ +# FG2 — Finanšu aktīvu uzskaite + +Function group 2 - accounting for financial assets: cash and payments, transfers, foreign financial assistance, subsidies and grants, participations in related and associated companies, and financial instruments. + +- **UAPF level:** L2 (function group) +- **Package id:** `vk.gramatvediba.fg2` +- **Source:** Valsts Kase *Grāmatvedības uzskaites procesu apraksts* — FG2 schema and process register. + +## Status + +Composition placeholder. Sub-process packages are not expanded in this +proof-of-concept, which takes FG3 to executable depth as the representative +function group. This package reserves the function-group identity and its +slot in the L0-L4 composition graph. diff --git a/processes/fg2/metadata/lifecycle.yaml b/processes/fg2/metadata/lifecycle.yaml new file mode 100644 index 0000000..78c04b2 --- /dev/null +++ b/processes/fg2/metadata/lifecycle.yaml @@ -0,0 +1,4 @@ +kind: uapf.metadata.lifecycle +status: draft +created: "2026-05-19T00:00:00Z" +lastModified: "2026-05-19T00:00:00Z" diff --git a/processes/fg2/metadata/ownership.yaml b/processes/fg2/metadata/ownership.yaml new file mode 100644 index 0000000..e6b3569 --- /dev/null +++ b/processes/fg2/metadata/ownership.yaml @@ -0,0 +1,8 @@ +kind: uapf.metadata.ownership +owners: + - type: organization + id: vpc + name: Vienotais pakalpojumu centrs (Valsts Kase) + role: owner +approvers: + - vpc.process-office diff --git a/processes/fg2/uapf.yaml b/processes/fg2/uapf.yaml new file mode 100644 index 0000000..5a23954 --- /dev/null +++ b/processes/fg2/uapf.yaml @@ -0,0 +1,16 @@ +kind: uapf.package +id: vk.gramatvediba.fg2 +name: "FG2 — Finanšu aktīvu uzskaite" +description: "Function group 2 - accounting for financial assets: cash and payments, transfers, foreign financial assistance, subsidies and grants, participations in related and associated companies, and financial instruments." +level: 2 +version: 0.1.0 +includes: [] +cornerstones: + bpmn: false + dmn: false + cmmn: false + resources: false +owners: + - type: team + id: vpc +lifecycle: draft diff --git a/processes/fg3/README.md b/processes/fg3/README.md new file mode 100644 index 0000000..456865b --- /dev/null +++ b/processes/fg3/README.md @@ -0,0 +1,22 @@ +# FG3 — Saistību un izdevumu uzskaite + +Function group 3 - accounting for liabilities and expenses: supplier data and contract management, receipt and processing of invoices and supporting documents, and business-trip and economic settlements. + +- **UAPF level:** L2 (function group) +- **Package id:** `vk.gramatvediba.fg3` +- **Source:** Valsts Kase *Grāmatvedības uzskaites procesu apraksts* — FG3 schema and process register. + +## Status + +Composition placeholder. FG3 is the function group taken to executable +depth in this proof-of-concept. Its six sub-process packages and the FG3-1 +executable build are added in subsequent steps: + +| Sub-process | Title | +|-------------|-------| +| FG3-1 | Rēķina/kredītrēķina saņemšana par precēm/pakalpojumiem | +| FG3-2 | Iepirkuma līguma darbības izbeigšana | +| FG3-3 | Klienta datu pārvaldība | +| FG3-4 | Saimnieciskā norēķina veikšana | +| FG3-5 | Komandējuma norēķina veikšana | +| FG3-6 | Kopsavilkuma grāmatošana | diff --git a/processes/fg3/metadata/lifecycle.yaml b/processes/fg3/metadata/lifecycle.yaml new file mode 100644 index 0000000..78c04b2 --- /dev/null +++ b/processes/fg3/metadata/lifecycle.yaml @@ -0,0 +1,4 @@ +kind: uapf.metadata.lifecycle +status: draft +created: "2026-05-19T00:00:00Z" +lastModified: "2026-05-19T00:00:00Z" diff --git a/processes/fg3/metadata/ownership.yaml b/processes/fg3/metadata/ownership.yaml new file mode 100644 index 0000000..e6b3569 --- /dev/null +++ b/processes/fg3/metadata/ownership.yaml @@ -0,0 +1,8 @@ +kind: uapf.metadata.ownership +owners: + - type: organization + id: vpc + name: Vienotais pakalpojumu centrs (Valsts Kase) + role: owner +approvers: + - vpc.process-office diff --git a/processes/fg3/uapf.yaml b/processes/fg3/uapf.yaml new file mode 100644 index 0000000..e4d4514 --- /dev/null +++ b/processes/fg3/uapf.yaml @@ -0,0 +1,16 @@ +kind: uapf.package +id: vk.gramatvediba.fg3 +name: "FG3 — Saistību un izdevumu uzskaite" +description: "Function group 3 - accounting for liabilities and expenses: supplier data and contract management, receipt and processing of invoices and supporting documents, and business-trip and economic settlements." +level: 2 +version: 0.1.0 +includes: [] +cornerstones: + bpmn: false + dmn: false + cmmn: false + resources: false +owners: + - type: team + id: vpc +lifecycle: draft diff --git a/processes/fg4/README.md b/processes/fg4/README.md new file mode 100644 index 0000000..cedacbe --- /dev/null +++ b/processes/fg4/README.md @@ -0,0 +1,14 @@ +# FG4 — Saistību par atlīdzību uzskaite + +Function group 4 - accounting for remuneration liabilities: calculation of remuneration and processing of the information it requires. + +- **UAPF level:** L2 (function group) +- **Package id:** `vk.gramatvediba.fg4` +- **Source:** Valsts Kase *Grāmatvedības uzskaites procesu apraksts* — FG4 schema and process register. + +## Status + +Composition placeholder. Sub-process packages are not expanded in this +proof-of-concept, which takes FG3 to executable depth as the representative +function group. This package reserves the function-group identity and its +slot in the L0-L4 composition graph. diff --git a/processes/fg4/metadata/lifecycle.yaml b/processes/fg4/metadata/lifecycle.yaml new file mode 100644 index 0000000..78c04b2 --- /dev/null +++ b/processes/fg4/metadata/lifecycle.yaml @@ -0,0 +1,4 @@ +kind: uapf.metadata.lifecycle +status: draft +created: "2026-05-19T00:00:00Z" +lastModified: "2026-05-19T00:00:00Z" diff --git a/processes/fg4/metadata/ownership.yaml b/processes/fg4/metadata/ownership.yaml new file mode 100644 index 0000000..e6b3569 --- /dev/null +++ b/processes/fg4/metadata/ownership.yaml @@ -0,0 +1,8 @@ +kind: uapf.metadata.ownership +owners: + - type: organization + id: vpc + name: Vienotais pakalpojumu centrs (Valsts Kase) + role: owner +approvers: + - vpc.process-office diff --git a/processes/fg4/uapf.yaml b/processes/fg4/uapf.yaml new file mode 100644 index 0000000..b526997 --- /dev/null +++ b/processes/fg4/uapf.yaml @@ -0,0 +1,16 @@ +kind: uapf.package +id: vk.gramatvediba.fg4 +name: "FG4 — Saistību par atlīdzību uzskaite" +description: "Function group 4 - accounting for remuneration liabilities: calculation of remuneration and processing of the information it requires." +level: 2 +version: 0.1.0 +includes: [] +cornerstones: + bpmn: false + dmn: false + cmmn: false + resources: false +owners: + - type: team + id: vpc +lifecycle: draft diff --git a/processes/fg5/README.md b/processes/fg5/README.md new file mode 100644 index 0000000..59cdec6 --- /dev/null +++ b/processes/fg5/README.md @@ -0,0 +1,14 @@ +# FG5 — Prasību un ieņēmumu uzskaite + +Function group 5 - accounting for receivables and revenue: issuing sales invoices, partner data and contract management, and payment-term control. + +- **UAPF level:** L2 (function group) +- **Package id:** `vk.gramatvediba.fg5` +- **Source:** Valsts Kase *Grāmatvedības uzskaites procesu apraksts* — FG5 schema and process register. + +## Status + +Composition placeholder. Sub-process packages are not expanded in this +proof-of-concept, which takes FG3 to executable depth as the representative +function group. This package reserves the function-group identity and its +slot in the L0-L4 composition graph. diff --git a/processes/fg5/metadata/lifecycle.yaml b/processes/fg5/metadata/lifecycle.yaml new file mode 100644 index 0000000..78c04b2 --- /dev/null +++ b/processes/fg5/metadata/lifecycle.yaml @@ -0,0 +1,4 @@ +kind: uapf.metadata.lifecycle +status: draft +created: "2026-05-19T00:00:00Z" +lastModified: "2026-05-19T00:00:00Z" diff --git a/processes/fg5/metadata/ownership.yaml b/processes/fg5/metadata/ownership.yaml new file mode 100644 index 0000000..e6b3569 --- /dev/null +++ b/processes/fg5/metadata/ownership.yaml @@ -0,0 +1,8 @@ +kind: uapf.metadata.ownership +owners: + - type: organization + id: vpc + name: Vienotais pakalpojumu centrs (Valsts Kase) + role: owner +approvers: + - vpc.process-office diff --git a/processes/fg5/uapf.yaml b/processes/fg5/uapf.yaml new file mode 100644 index 0000000..cf6d216 --- /dev/null +++ b/processes/fg5/uapf.yaml @@ -0,0 +1,16 @@ +kind: uapf.package +id: vk.gramatvediba.fg5 +name: "FG5 — Prasību un ieņēmumu uzskaite" +description: "Function group 5 - accounting for receivables and revenue: issuing sales invoices, partner data and contract management, and payment-term control." +level: 2 +version: 0.1.0 +includes: [] +cornerstones: + bpmn: false + dmn: false + cmmn: false + resources: false +owners: + - type: team + id: vpc +lifecycle: draft diff --git a/processes/fg6/README.md b/processes/fg6/README.md new file mode 100644 index 0000000..d97ba8d --- /dev/null +++ b/processes/fg6/README.md @@ -0,0 +1,14 @@ +# FG6 — Pārskatu sagatavošana publiskošanai + +Function group 6 - preparation of reports for publication: preparing and signing reports including the annual report, and inventory of liabilities, receivables and financial assets. + +- **UAPF level:** L2 (function group) +- **Package id:** `vk.gramatvediba.fg6` +- **Source:** Valsts Kase *Grāmatvedības uzskaites procesu apraksts* — FG6 schema and process register. + +## Status + +Composition placeholder. Sub-process packages are not expanded in this +proof-of-concept, which takes FG3 to executable depth as the representative +function group. This package reserves the function-group identity and its +slot in the L0-L4 composition graph. diff --git a/processes/fg6/metadata/lifecycle.yaml b/processes/fg6/metadata/lifecycle.yaml new file mode 100644 index 0000000..78c04b2 --- /dev/null +++ b/processes/fg6/metadata/lifecycle.yaml @@ -0,0 +1,4 @@ +kind: uapf.metadata.lifecycle +status: draft +created: "2026-05-19T00:00:00Z" +lastModified: "2026-05-19T00:00:00Z" diff --git a/processes/fg6/metadata/ownership.yaml b/processes/fg6/metadata/ownership.yaml new file mode 100644 index 0000000..e6b3569 --- /dev/null +++ b/processes/fg6/metadata/ownership.yaml @@ -0,0 +1,8 @@ +kind: uapf.metadata.ownership +owners: + - type: organization + id: vpc + name: Vienotais pakalpojumu centrs (Valsts Kase) + role: owner +approvers: + - vpc.process-office diff --git a/processes/fg6/uapf.yaml b/processes/fg6/uapf.yaml new file mode 100644 index 0000000..c01b2d8 --- /dev/null +++ b/processes/fg6/uapf.yaml @@ -0,0 +1,16 @@ +kind: uapf.package +id: vk.gramatvediba.fg6 +name: "FG6 — Pārskatu sagatavošana publiskošanai" +description: "Function group 6 - preparation of reports for publication: preparing and signing reports including the annual report, and inventory of liabilities, receivables and financial assets." +level: 2 +version: 0.1.0 +includes: [] +cornerstones: + bpmn: false + dmn: false + cmmn: false + resources: false +owners: + - type: team + id: vpc +lifecycle: draft