From 81d32e81d50fac023777b564ca86e9315910b5e9 Mon Sep 17 00:00:00 2001 From: Rihards Gailums Date: Tue, 19 May 2026 18:34:59 +0000 Subject: [PATCH] FG3 build-out: six FG3-x sub-process packages + FG3-1 executable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds the six FG3 sub-process packages (processes/fg3-1 .. fg3-6) and wires them into the FG3 (L2) package via `includes`; FG3 version 0.1.0 -> 0.2.0. FG3-1 (Rēķina/kredītrēķina saņemšana par precēm/pakalpojumiem) is built out as an executable L4 package: - bpmn/rekina-sanemsana.bpmn - 3-lane process (Nodarbinātais / VPC / Iestāde) - dmn/rekina-parbaude.dmn - FIRST hit-policy routing decision table - resources/ - roles, agent and mappings binding every user task and the decision to a target - metadata/ - ownership, lifecycle, policies FG3-2..FG3-6 are draft composition placeholders (L4) pending executable build-out. Validated against the UAPF 2.2.0 schemas (manifest, ownership, lifecycle, policies, resource-mapping, enterprise index): all includes resolve, no duplicated executable artifacts, BPMN/DMN well-formed, and all resource mapping references resolve to real BPMN/DMN element ids. --- README.md | 9 +- processes/fg3-1/README.md | 64 +++++++++++ processes/fg3-1/bpmn/rekina-sanemsana.bpmn | 126 +++++++++++++++++++++ processes/fg3-1/dmn/rekina-parbaude.dmn | 91 +++++++++++++++ processes/fg3-1/metadata/lifecycle.yaml | 9 ++ processes/fg3-1/metadata/ownership.yaml | 8 ++ processes/fg3-1/metadata/policies.yaml | 18 +++ processes/fg3-1/resources/agents.yaml | 9 ++ processes/fg3-1/resources/mappings.yaml | 83 ++++++++++++++ processes/fg3-1/resources/roles.yaml | 11 ++ processes/fg3-1/uapf.yaml | 61 ++++++++++ processes/fg3-2/README.md | 16 +++ processes/fg3-2/metadata/lifecycle.yaml | 4 + processes/fg3-2/metadata/ownership.yaml | 8 ++ processes/fg3-2/uapf.yaml | 16 +++ processes/fg3-3/README.md | 16 +++ processes/fg3-3/metadata/lifecycle.yaml | 4 + processes/fg3-3/metadata/ownership.yaml | 8 ++ processes/fg3-3/uapf.yaml | 16 +++ processes/fg3-4/README.md | 16 +++ processes/fg3-4/metadata/lifecycle.yaml | 4 + processes/fg3-4/metadata/ownership.yaml | 8 ++ processes/fg3-4/uapf.yaml | 16 +++ processes/fg3-5/README.md | 16 +++ processes/fg3-5/metadata/lifecycle.yaml | 4 + processes/fg3-5/metadata/ownership.yaml | 8 ++ processes/fg3-5/uapf.yaml | 16 +++ processes/fg3-6/README.md | 16 +++ processes/fg3-6/metadata/lifecycle.yaml | 4 + processes/fg3-6/metadata/ownership.yaml | 8 ++ processes/fg3-6/uapf.yaml | 16 +++ processes/fg3/README.md | 29 +++-- processes/fg3/uapf.yaml | 10 +- 33 files changed, 732 insertions(+), 16 deletions(-) create mode 100644 processes/fg3-1/README.md create mode 100644 processes/fg3-1/bpmn/rekina-sanemsana.bpmn create mode 100644 processes/fg3-1/dmn/rekina-parbaude.dmn create mode 100644 processes/fg3-1/metadata/lifecycle.yaml create mode 100644 processes/fg3-1/metadata/ownership.yaml create mode 100644 processes/fg3-1/metadata/policies.yaml create mode 100644 processes/fg3-1/resources/agents.yaml create mode 100644 processes/fg3-1/resources/mappings.yaml create mode 100644 processes/fg3-1/resources/roles.yaml create mode 100644 processes/fg3-1/uapf.yaml create mode 100644 processes/fg3-2/README.md create mode 100644 processes/fg3-2/metadata/lifecycle.yaml create mode 100644 processes/fg3-2/metadata/ownership.yaml create mode 100644 processes/fg3-2/uapf.yaml create mode 100644 processes/fg3-3/README.md create mode 100644 processes/fg3-3/metadata/lifecycle.yaml create mode 100644 processes/fg3-3/metadata/ownership.yaml create mode 100644 processes/fg3-3/uapf.yaml create mode 100644 processes/fg3-4/README.md create mode 100644 processes/fg3-4/metadata/lifecycle.yaml create mode 100644 processes/fg3-4/metadata/ownership.yaml create mode 100644 processes/fg3-4/uapf.yaml create mode 100644 processes/fg3-5/README.md create mode 100644 processes/fg3-5/metadata/lifecycle.yaml create mode 100644 processes/fg3-5/metadata/ownership.yaml create mode 100644 processes/fg3-5/uapf.yaml create mode 100644 processes/fg3-6/README.md create mode 100644 processes/fg3-6/metadata/lifecycle.yaml create mode 100644 processes/fg3-6/metadata/ownership.yaml create mode 100644 processes/fg3-6/uapf.yaml diff --git a/README.md b/README.md index 1f18a0c..ca7987d 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,12 @@ disagree, the discrepancy is recorded rather than silently resolved. ## Status -**Skeleton.** Workspace structure and the L0 enterprise index are in place. -The six function-group packages and the FG3 executable build follow in -subsequent steps. +**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 diff --git a/processes/fg3-1/README.md b/processes/fg3-1/README.md new file mode 100644 index 0000000..e007bb3 --- /dev/null +++ b/processes/fg3-1/README.md @@ -0,0 +1,64 @@ +# FG3-1 — Rēķina/kredītrēķina saņemšana par precēm/pakalpojumiem + +Level 4 atomic executable process for the receipt and processing of supplier +invoices and credit invoices for goods and services — the FG3 demonstrator +taken to executable depth. + +- **UAPF level:** L4 (atomic executable) +- **Package id:** `vk.gramatvediba.fg3-1` +- **Included by:** `processes/fg3` (function group FG3). +- **Source:** Valsts Kase *Grāmatvedības uzskaites procesu apraksts* — FG3 + schema and process register. + +## Process + +`bpmn/rekina-sanemsana.bpmn` (`Process_RekinaSanemsana`) transcribes the +invoice-receipt flow across three lanes mapped from the source RACI columns: + +- **Nodarbinātais** — invoice arrives (e-invoice via e-address, or paper). +- **VPC** — registration in the DVS, formal checking, contract/PO matching, + routing, posting and payment-order preparation; manual review where needed. +- **Iestāde** — substantive approval by the responsible officer. + +Flow: register in DVS → formal check → match to contract/PO → routing +decision → substantive approval → post → prepare payment order. Two +terminating outcomes: *posted and queued for payment*, or *returned to the +supplier*. + +## Decision + +`dmn/rekina-parbaude.dmn` (`Decision_RekinaMarsrutesana`) is a `FIRST` +hit-policy decision table that sets the routing variable `marsruts` from three +inputs: + +| Input | Values | +|-------|--------| +| `formalaParbaude` | `atbilst`, `neatbilst` | +| `ligumaSasaiste` | `pilna`, `dalena`, `nav` | +| `dokumentaTips` | `rekins`, `kreditrekins` | + +Outcomes: `return` (failed formal check), `manual-review` (no/partial contract +match, or any credit invoice), `process` (formally valid, full match, plain +invoice). The `Task_NoteiktMarsrutu` business-rule task evaluates it. + +## Resources + +`resources/mappings.yaml` binds every BPMN user task and the DMN decision to a +target in `resources/roles.yaml` / `resources/agents.yaml`. Human steps are +`manual`; the AI agent `agent.rekinu-asistents` is bound `assisted` to the +formal check, contract matching and the routing decision — it suggests, the +accountant decides. No step is `autonomous`. + +## Transcription note + +The process structure, lanes, systems and SLAs are transcribed from the +published FG3-1 schema and register. Step identifiers here use stable BPMN/DMN +element ids; reconciliation of these against the source register's `process +nr.` numbering is a tracked follow-up and any schema/register discrepancy is +to be recorded rather than silently resolved (see `docs/conventions.md`). + +## Status + +Draft. The package is structurally complete and validates against the UAPF +2.2.0 schemas; lifecycle status advances to `review` once the source-numbering +reconciliation is signed off. diff --git a/processes/fg3-1/bpmn/rekina-sanemsana.bpmn b/processes/fg3-1/bpmn/rekina-sanemsana.bpmn new file mode 100644 index 0000000..3254475 --- /dev/null +++ b/processes/fg3-1/bpmn/rekina-sanemsana.bpmn @@ -0,0 +1,126 @@ + + + + + + + Start_RekinsSanemts + + + Task_RegistreDVS + Task_FormalaParbaude + Task_SasaisteArLigumu + Task_NoteiktMarsrutu + Gateway_Marsruts + Task_ManualaParbaude + Task_AtgrieztPiegadatajam + Task_Gramatosana + Task_NodotApmaksai + End_Iegramatots + End_Atgriezts + + + Task_SaturiskaApstiprinasana + + + + + Rēķins saņemts elektroniski (e-rēķins EN 16931 caur e-adresi) vai papīra formā. Sistēma: e-adrese, DVS. + F1 + + + + Rēķinu reģistrē dokumentu vadības sistēmā, piešķir reģistrācijas numuru un fiksē saņemšanas datumu. Sistēma: DVS. SLA: 1 darba diena no saņemšanas. + F1 + F2 + + + + Pārbauda obligātos rekvizītus (EN 16931), piegādātāja identificējamību un to, vai rēķins nav dublēts. Rezultāts: mainīgais formalaParbaude = "atbilst" | "neatbilst". Sistēma: DVS, grāmatvedības informācijas sistēma. + F2 + F3 + + + + Rēķinu sasaista ar iepirkuma līgumu vai pasūtījumu un veic trīspusējo salīdzināšanu (līgums – pasūtījums – rēķins). Rezultāts: mainīgais ligumaSasaiste = "pilna" | "dalena" | "nav". + F3 + F4 + + + + Automatizēti izvērtē rēķina apstrādes maršrutu, izpildot lēmumu Decision_RekinaMarsrutesana (dmn/rekina-parbaude.dmn). Ievaddati: formalaParbaude, ligumaSasaiste, dokumentaTips. Rezultāts: mainīgais marsruts. + F4 + F5 + + + + F5 + F6 + F7 + F8 + + + + Vecākais grāmatvedis izvērtē rēķinu, kuram trūkst pilnas līguma sasaistes vai kurš ir kredītrēķins, un sagatavo to saturiskajai apstiprināšanai. + F7 + F9 + + + + Rēķins, kas neiztur formālo pārbaudi, tiek atgriezts piegādātājam ar norādi par konstatētajām neatbilstībām. Sistēma: e-adrese, DVS. + F8 + F10 + + + + Iestādes atbildīgā amatpersona apliecina, ka preces/pakalpojumi ir saņemti atbilstoši līgumam, un apstiprina rēķinu apmaksai. SLA: 5 darba dienas. + F6 + F9 + F11 + + + + Apstiprināto rēķinu iegrāmato grāmatvedības informācijas sistēmā atbilstoši kontu plānam un izdevumu klasifikācijai. Sistēma: grāmatvedības informācijas sistēma. + F11 + F12 + + + + Iegrāmatoto rēķinu nodod apmaksas plānošanai, sagatavojot maksājuma uzdevuma priekšlikumu atbilstoši samaksas termiņam. + F12 + F13 + + + + F13 + + + + F10 + + + + + + + + + + marsruts = "manual-review" + + + marsruts = "return" + + + + + + + + + diff --git a/processes/fg3-1/dmn/rekina-parbaude.dmn b/processes/fg3-1/dmn/rekina-parbaude.dmn new file mode 100644 index 0000000..922c25b --- /dev/null +++ b/processes/fg3-1/dmn/rekina-parbaude.dmn @@ -0,0 +1,91 @@ + + + + + + + + + Nosaka saņemtā rēķina/kredītrēķina apstrādes maršrutu, pamatojoties uz formālās pārbaudes rezultātu, līguma sasaisti un dokumenta tipu. + + + + + + + + + + + + + + formalaParbaude + + + "atbilst","neatbilst" + + + + + ligumaSasaiste + + + "pilna","dalena","nav" + + + + + dokumentaTips + + + "rekins","kreditrekins" + + + + + "process","manual-review","return" + + + + + Neiztur formālo pārbaudi — atgriež piegādātājam. + "neatbilst" + - + - + "return" + + + Nav līguma sasaistes — manuāla izvērtēšana. + "atbilst" + "nav" + - + "manual-review" + + + Daļēja līguma sasaiste — manuāla izvērtēšana. + "atbilst" + "dalena" + - + "manual-review" + + + Kredītrēķins vienmēr tiek izvērtēts manuāli. + "atbilst" + - + "kreditrekins" + "manual-review" + + + Formāli atbilstošs rēķins ar pilnu līguma sasaisti — standarta apstrāde. + "atbilst" + "pilna" + "rekins" + "process" + + + + diff --git a/processes/fg3-1/metadata/lifecycle.yaml b/processes/fg3-1/metadata/lifecycle.yaml new file mode 100644 index 0000000..69f46c8 --- /dev/null +++ b/processes/fg3-1/metadata/lifecycle.yaml @@ -0,0 +1,9 @@ +kind: uapf.metadata.lifecycle +status: draft +created: "2026-05-19T00:00:00Z" +lastModified: "2026-05-19T00:00:00Z" +changeHistory: + - version: 0.1.0 + date: "2026-05-19" + summary: "Initial executable build — BPMN process, DMN routing decision and resource mappings." + author: vpc.process-office diff --git a/processes/fg3-1/metadata/ownership.yaml b/processes/fg3-1/metadata/ownership.yaml new file mode 100644 index 0000000..e6b3569 --- /dev/null +++ b/processes/fg3-1/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-1/metadata/policies.yaml b/processes/fg3-1/metadata/policies.yaml new file mode 100644 index 0000000..5110edc --- /dev/null +++ b/processes/fg3-1/metadata/policies.yaml @@ -0,0 +1,18 @@ +kind: uapf.policies +classification: + level: internal + dataCategories: + - financial-records + - supplier-data +execution: + requiresApproval: false + auditRequired: true + allowedEnvironments: + - development + - staging + - production +delegation: + allowAgentDelegation: true + maxDelegationDepth: 2 + trustedAgents: + - agent.rekinu-asistents diff --git a/processes/fg3-1/resources/agents.yaml b/processes/fg3-1/resources/agents.yaml new file mode 100644 index 0000000..877af67 --- /dev/null +++ b/processes/fg3-1/resources/agents.yaml @@ -0,0 +1,9 @@ +kind: uapf.resources.agents +agents: + - id: agent.rekinu-asistents + name: Rēķinu apstrādes asistents + type: ai_agent + capabilities: + - capability.document.extract + - capability.policy.lookup + - capability.decision.assist diff --git a/processes/fg3-1/resources/mappings.yaml b/processes/fg3-1/resources/mappings.yaml new file mode 100644 index 0000000..a06c557 --- /dev/null +++ b/processes/fg3-1/resources/mappings.yaml @@ -0,0 +1,83 @@ +kind: uapf.resources.mapping + +targets: + - id: role.gramatvedis + type: human_role + name: Grāmatvedis (VPC) + - id: role.vec-gramatvedis + type: human_role + name: Vecākais grāmatvedis (VPC) + - id: role.atbildigais + type: human_role + name: Atbildīgā amatpersona (iestāde) + - id: agent.rekinu-asistents + type: ai_agent + name: Rēķinu apstrādes asistents + capabilities: + - capability.document.extract + - capability.policy.lookup + - capability.decision.assist + +bindings: + - source: + type: bpmn.userTask + ref: Task_RegistreDVS + targetId: role.gramatvedis + mode: manual + notes: "Grāmatvedis reģistrē rēķinu DVS un piešķir reģistrācijas numuru." + + - source: + type: bpmn.userTask + ref: Task_FormalaParbaude + targetId: agent.rekinu-asistents + mode: assisted + notes: "Asistents izgūst rekvizītus un norāda iespējamās neatbilstības; grāmatvedis apstiprina rezultātu." + + - source: + type: bpmn.userTask + ref: Task_SasaisteArLigumu + targetId: agent.rekinu-asistents + mode: assisted + notes: "Asistents piedāvā līguma/pasūtījuma kandidātus trīspusējai salīdzināšanai; grāmatvedis apstiprina sasaisti." + + - source: + type: dmn.decision + ref: Decision_RekinaMarsrutesana + targetId: agent.rekinu-asistents + mode: assisted + notes: "Asistents izpilda maršrutēšanas lēmuma tabulu un sniedz maršruta priekšlikumu ar pamatojumu." + + - source: + type: bpmn.userTask + ref: Task_ManualaParbaude + targetId: role.vec-gramatvedis + mode: manual + notes: "Vecākais grāmatvedis izvērtē rēķinu, kuram trūkst pilnas līguma sasaistes vai kurš ir kredītrēķins." + + - source: + type: bpmn.userTask + ref: Task_AtgrieztPiegadatajam + targetId: role.gramatvedis + mode: manual + notes: "Grāmatvedis sagatavo un nosūta rēķina atgriešanu piegādātājam ar neatbilstību norādi." + + - source: + type: bpmn.userTask + ref: Task_SaturiskaApstiprinasana + targetId: role.atbildigais + mode: manual + notes: "Iestādes atbildīgā amatpersona saturiski apstiprina rēķinu." + + - source: + type: bpmn.userTask + ref: Task_Gramatosana + targetId: role.gramatvedis + mode: manual + notes: "Grāmatvedis iegrāmato apstiprināto rēķinu grāmatvedības informācijas sistēmā." + + - source: + type: bpmn.userTask + ref: Task_NodotApmaksai + targetId: role.gramatvedis + mode: manual + notes: "Grāmatvedis sagatavo maksājuma uzdevuma priekšlikumu." diff --git a/processes/fg3-1/resources/roles.yaml b/processes/fg3-1/resources/roles.yaml new file mode 100644 index 0000000..8195536 --- /dev/null +++ b/processes/fg3-1/resources/roles.yaml @@ -0,0 +1,11 @@ +kind: uapf.resources.roles +roles: + - id: role.gramatvedis + name: Grāmatvedis (VPC) + description: Reģistrē rēķinu, veic formālo pārbaudi un sasaisti ar līgumu, iegrāmato rēķinu un sagatavo maksājuma uzdevuma priekšlikumu. + - id: role.vec-gramatvedis + name: Vecākais grāmatvedis (VPC) + description: Manuāli izvērtē rēķinus, kuriem trūkst pilnas līguma sasaistes vai kuri ir kredītrēķini. + - id: role.atbildigais + name: Atbildīgā amatpersona (iestāde) + description: Saturiski apstiprina rēķinu, apliecinot preču/pakalpojumu saņemšanu atbilstoši līgumam. diff --git a/processes/fg3-1/uapf.yaml b/processes/fg3-1/uapf.yaml new file mode 100644 index 0000000..84de43c --- /dev/null +++ b/processes/fg3-1/uapf.yaml @@ -0,0 +1,61 @@ +kind: uapf.package +id: vk.gramatvediba.fg3-1 +name: "FG3-1 — Rēķina/kredītrēķina saņemšana par precēm/pakalpojumiem" +description: "Level 4 atomic executable process: receipt, registration, formal and substantive checking, contract/PO matching and posting of supplier invoices and credit invoices for goods and services. The FG3 demonstrator taken to executable depth (BPMN + DMN + resource mappings)." +level: 4 +version: 0.1.0 +includes: [] +cornerstones: + bpmn: true + dmn: true + cmmn: false + resources: true +paths: + bpmn: bpmn + dmn: dmn + cmmn: cmmn + resources: resources + metadata: metadata +exposure: + mcp: + enabled: true + runnable: true + exposedEntrypoints: + - process: Process_RekinaSanemsana + tool: vk.fg3-1.run + - decision: Decision_RekinaMarsrutesana + tool: vk.fg3-1.evaluate-routing + exposedArtifacts: + - manifest + - bpmn + - dmn +inputs: + - rekins + - piegadatajs + - iepirkuma-ligums +outputs: + - iegramatots-rekins + - maksajuma-uzdevuma-priekslikums +artifacts: + bpmn: + - path: bpmn/rekina-sanemsana.bpmn + role: primary-process + description: "Invoice/credit-invoice receipt, checking, contract matching and posting." + dmn: + - path: dmn/rekina-parbaude.dmn + role: routing-decision + description: "Routes the invoice to posting, manual review or return to the supplier." + resources: + - path: resources/roles.yaml + role: roles + description: "Human roles participating in the process." + - path: resources/agents.yaml + role: agents + description: "AI agent declared for assisted steps." + - path: resources/mappings.yaml + role: resource-mapping + description: "Bindings of BPMN tasks and the DMN decision to targets." +owners: + - type: team + id: vpc +lifecycle: draft diff --git a/processes/fg3-2/README.md b/processes/fg3-2/README.md new file mode 100644 index 0000000..61dd60b --- /dev/null +++ b/processes/fg3-2/README.md @@ -0,0 +1,16 @@ +# FG3-2 — Iepirkuma līguma darbības izbeigšana + +Termination of a procurement contract: recording contract closure, final settlement of outstanding obligations and release of the related commitment. + +- **UAPF level:** L4 (atomic sub-process) +- **Package id:** `vk.gramatvediba.fg3-2` +- **Source:** Valsts Kase *Grāmatvedības uzskaites procesu apraksts* — FG3 + schema and process register. +- **Included by:** `processes/fg3` (function group FG3). + +## Status + +Draft composition placeholder. The sub-process is identified and wired into +FG3 via `includes`; its executable build (BPMN + DMN + resource mappings) +follows in a later step. FG3-1 is the sub-process taken to executable depth in +this proof-of-concept. diff --git a/processes/fg3-2/metadata/lifecycle.yaml b/processes/fg3-2/metadata/lifecycle.yaml new file mode 100644 index 0000000..78c04b2 --- /dev/null +++ b/processes/fg3-2/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-2/metadata/ownership.yaml b/processes/fg3-2/metadata/ownership.yaml new file mode 100644 index 0000000..e6b3569 --- /dev/null +++ b/processes/fg3-2/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-2/uapf.yaml b/processes/fg3-2/uapf.yaml new file mode 100644 index 0000000..77bb948 --- /dev/null +++ b/processes/fg3-2/uapf.yaml @@ -0,0 +1,16 @@ +kind: uapf.package +id: vk.gramatvediba.fg3-2 +name: "FG3-2 — Iepirkuma līguma darbības izbeigšana" +description: "Termination of a procurement contract: recording contract closure, final settlement of outstanding obligations and release of the related commitment." +level: 4 +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-3/README.md b/processes/fg3-3/README.md new file mode 100644 index 0000000..427b906 --- /dev/null +++ b/processes/fg3-3/README.md @@ -0,0 +1,16 @@ +# FG3-3 — Klienta datu pārvaldība + +Counterparty master-data management for liabilities accounting: registration and maintenance of the supplier and client records used by the FG3 processes. + +- **UAPF level:** L4 (atomic sub-process) +- **Package id:** `vk.gramatvediba.fg3-3` +- **Source:** Valsts Kase *Grāmatvedības uzskaites procesu apraksts* — FG3 + schema and process register. +- **Included by:** `processes/fg3` (function group FG3). + +## Status + +Draft composition placeholder. The sub-process is identified and wired into +FG3 via `includes`; its executable build (BPMN + DMN + resource mappings) +follows in a later step. FG3-1 is the sub-process taken to executable depth in +this proof-of-concept. diff --git a/processes/fg3-3/metadata/lifecycle.yaml b/processes/fg3-3/metadata/lifecycle.yaml new file mode 100644 index 0000000..78c04b2 --- /dev/null +++ b/processes/fg3-3/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-3/metadata/ownership.yaml b/processes/fg3-3/metadata/ownership.yaml new file mode 100644 index 0000000..e6b3569 --- /dev/null +++ b/processes/fg3-3/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-3/uapf.yaml b/processes/fg3-3/uapf.yaml new file mode 100644 index 0000000..b9d8443 --- /dev/null +++ b/processes/fg3-3/uapf.yaml @@ -0,0 +1,16 @@ +kind: uapf.package +id: vk.gramatvediba.fg3-3 +name: "FG3-3 — Klienta datu pārvaldība" +description: "Counterparty master-data management for liabilities accounting: registration and maintenance of the supplier and client records used by the FG3 processes." +level: 4 +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-4/README.md b/processes/fg3-4/README.md new file mode 100644 index 0000000..4320c1b --- /dev/null +++ b/processes/fg3-4/README.md @@ -0,0 +1,16 @@ +# FG3-4 — Saimnieciskā norēķina veikšana + +Economic settlement: handling of advances, petty-cash and other economic settlements with employees and counterparties. + +- **UAPF level:** L4 (atomic sub-process) +- **Package id:** `vk.gramatvediba.fg3-4` +- **Source:** Valsts Kase *Grāmatvedības uzskaites procesu apraksts* — FG3 + schema and process register. +- **Included by:** `processes/fg3` (function group FG3). + +## Status + +Draft composition placeholder. The sub-process is identified and wired into +FG3 via `includes`; its executable build (BPMN + DMN + resource mappings) +follows in a later step. FG3-1 is the sub-process taken to executable depth in +this proof-of-concept. diff --git a/processes/fg3-4/metadata/lifecycle.yaml b/processes/fg3-4/metadata/lifecycle.yaml new file mode 100644 index 0000000..78c04b2 --- /dev/null +++ b/processes/fg3-4/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-4/metadata/ownership.yaml b/processes/fg3-4/metadata/ownership.yaml new file mode 100644 index 0000000..e6b3569 --- /dev/null +++ b/processes/fg3-4/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-4/uapf.yaml b/processes/fg3-4/uapf.yaml new file mode 100644 index 0000000..b8ee5ab --- /dev/null +++ b/processes/fg3-4/uapf.yaml @@ -0,0 +1,16 @@ +kind: uapf.package +id: vk.gramatvediba.fg3-4 +name: "FG3-4 — Saimnieciskā norēķina veikšana" +description: "Economic settlement: handling of advances, petty-cash and other economic settlements with employees and counterparties." +level: 4 +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-5/README.md b/processes/fg3-5/README.md new file mode 100644 index 0000000..7eacee2 --- /dev/null +++ b/processes/fg3-5/README.md @@ -0,0 +1,16 @@ +# FG3-5 — Komandējuma norēķina veikšana + +Business-trip settlement: processing of travel advances and post-trip expense settlements against approved travel orders. + +- **UAPF level:** L4 (atomic sub-process) +- **Package id:** `vk.gramatvediba.fg3-5` +- **Source:** Valsts Kase *Grāmatvedības uzskaites procesu apraksts* — FG3 + schema and process register. +- **Included by:** `processes/fg3` (function group FG3). + +## Status + +Draft composition placeholder. The sub-process is identified and wired into +FG3 via `includes`; its executable build (BPMN + DMN + resource mappings) +follows in a later step. FG3-1 is the sub-process taken to executable depth in +this proof-of-concept. diff --git a/processes/fg3-5/metadata/lifecycle.yaml b/processes/fg3-5/metadata/lifecycle.yaml new file mode 100644 index 0000000..78c04b2 --- /dev/null +++ b/processes/fg3-5/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-5/metadata/ownership.yaml b/processes/fg3-5/metadata/ownership.yaml new file mode 100644 index 0000000..e6b3569 --- /dev/null +++ b/processes/fg3-5/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-5/uapf.yaml b/processes/fg3-5/uapf.yaml new file mode 100644 index 0000000..bf1f30d --- /dev/null +++ b/processes/fg3-5/uapf.yaml @@ -0,0 +1,16 @@ +kind: uapf.package +id: vk.gramatvediba.fg3-5 +name: "FG3-5 — Komandējuma norēķina veikšana" +description: "Business-trip settlement: processing of travel advances and post-trip expense settlements against approved travel orders." +level: 4 +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-6/README.md b/processes/fg3-6/README.md new file mode 100644 index 0000000..e5939cd --- /dev/null +++ b/processes/fg3-6/README.md @@ -0,0 +1,16 @@ +# FG3-6 — Kopsavilkuma grāmatošana + +Summary posting: periodic aggregation and posting of the liability and expense entries arising from the FG3 sub-processes. + +- **UAPF level:** L4 (atomic sub-process) +- **Package id:** `vk.gramatvediba.fg3-6` +- **Source:** Valsts Kase *Grāmatvedības uzskaites procesu apraksts* — FG3 + schema and process register. +- **Included by:** `processes/fg3` (function group FG3). + +## Status + +Draft composition placeholder. The sub-process is identified and wired into +FG3 via `includes`; its executable build (BPMN + DMN + resource mappings) +follows in a later step. FG3-1 is the sub-process taken to executable depth in +this proof-of-concept. diff --git a/processes/fg3-6/metadata/lifecycle.yaml b/processes/fg3-6/metadata/lifecycle.yaml new file mode 100644 index 0000000..78c04b2 --- /dev/null +++ b/processes/fg3-6/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-6/metadata/ownership.yaml b/processes/fg3-6/metadata/ownership.yaml new file mode 100644 index 0000000..e6b3569 --- /dev/null +++ b/processes/fg3-6/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-6/uapf.yaml b/processes/fg3-6/uapf.yaml new file mode 100644 index 0000000..2a22b80 --- /dev/null +++ b/processes/fg3-6/uapf.yaml @@ -0,0 +1,16 @@ +kind: uapf.package +id: vk.gramatvediba.fg3-6 +name: "FG3-6 — Kopsavilkuma grāmatošana" +description: "Summary posting: periodic aggregation and posting of the liability and expense entries arising from the FG3 sub-processes." +level: 4 +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 index 456865b..145e800 100644 --- a/processes/fg3/README.md +++ b/processes/fg3/README.md @@ -8,15 +8,22 @@ Function group 3 - accounting for liabilities and expenses: supplier data and co ## 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: +Composition build complete. FG3 is the function group taken to executable +depth in this proof-of-concept. Its six sub-process packages are created and +wired into this package through `includes`; FG3-1 is built out as an +executable L4 package (BPMN + DMN + resource mappings), and FG3-2…FG3-6 are +draft composition placeholders pending their executable build-out. -| 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 | +| Sub-process | Title | Package | State | +|-------------|-------|---------|-------| +| FG3-1 | Rēķina/kredītrēķina saņemšana par precēm/pakalpojumiem | `processes/fg3-1` | executable (BPMN + DMN) | +| FG3-2 | Iepirkuma līguma darbības izbeigšana | `processes/fg3-2` | draft stub | +| FG3-3 | Klienta datu pārvaldība | `processes/fg3-3` | draft stub | +| FG3-4 | Saimnieciskā norēķina veikšana | `processes/fg3-4` | draft stub | +| FG3-5 | Komandējuma norēķina veikšana | `processes/fg3-5` | draft stub | +| FG3-6 | Kopsavilkuma grāmatošana | `processes/fg3-6` | draft stub | + +The sub-process packages are L4 and located at `processes/fg3-x/` as siblings +of this package, per `docs/conventions.md`. FG3 references them with +`includes` and never copies their executable artifacts (UAPF 2.2.0 §05, +no-duplication rule). diff --git a/processes/fg3/uapf.yaml b/processes/fg3/uapf.yaml index e4d4514..808cb7d 100644 --- a/processes/fg3/uapf.yaml +++ b/processes/fg3/uapf.yaml @@ -3,8 +3,14 @@ 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: [] +version: 0.2.0 +includes: + - ../fg3-1 + - ../fg3-2 + - ../fg3-3 + - ../fg3-4 + - ../fg3-5 + - ../fg3-6 cornerstones: bpmn: false dmn: false