workplan: FIN-WP-0006 consume internal transfer settlement

Residual of resource-control RESOURCE-WP-0005: join proposed
transfer charges without posting them as booked spend.
This commit is contained in:
tegwick 2026-08-14 13:15:30 +02:00
parent 49519a715a
commit cfe152f19c
2 changed files with 59 additions and 0 deletions

View file

@ -14,6 +14,7 @@
| workplan | FIN-WP-0003 | proposed | — | workplans/FIN-WP-0003-fabric-authority-boundary.md |
| workplan | FIN-WP-0004 | active | — | workplans/FIN-WP-0004-resource-cost-evidence-contract.md |
| workplan | FIN-WP-0005 | active | — | workplans/FIN-WP-0005-datev-accounting-adapter-operations.md |
| workplan | FIN-WP-0006 | proposed | — | workplans/FIN-WP-0006-internal-transfer-settlement.md |
| task | FIN-WP-0000-T01 | done | — | workplans/FIN-WP-0000-repo-integration.md |
| task | FIN-WP-0000-T02 | done | — | workplans/FIN-WP-0000-repo-integration.md |
| task | FIN-WP-0000-T03 | done | — | workplans/FIN-WP-0000-repo-integration.md |
@ -46,3 +47,4 @@
| task | FIN-WP-0005-T02 | wait | — | workplans/FIN-WP-0005-datev-accounting-adapter-operations.md |
| task | FIN-WP-0005-T03 | wait | — | workplans/FIN-WP-0005-datev-accounting-adapter-operations.md |
| task | FIN-WP-0005-T04 | wait | — | workplans/FIN-WP-0005-datev-accounting-adapter-operations.md |
| task | FIN-WP-0006-T01 | todo | — | workplans/FIN-WP-0006-internal-transfer-settlement.md |

View file

@ -0,0 +1,57 @@
---
id: FIN-WP-0006
type: workplan
title: "Consume resource-control internal transfer settlement"
domain: financials
repo: fin-hub
status: proposed
owner: codex
topic_slug: financials
created: "2026-08-14"
updated: "2026-08-14"
related:
- FIN-WP-0004
- RESOURCE-WP-0005
origin: residual
origin_ref: RESOURCE-WP-0005
state_hub_workstream_id: "681c39ef-b902-4ccd-8018-0fa25bccf455"
---
# FIN-WP-0006 — consume internal transfer settlement
## Goal
Accept proposed internal transfer charges and credit-state records from
`resource-control` without taking resource authority or creating a second
ledger. Recognize internal payments as booked facts joined by
`financial_fact_id`, `financial_entity_id`, and period.
Origin: `RESOURCE-WP-0005-T07`. Terms live in
`resource-control/docs/TermsOfResourceProcurement.md`. Outbound shape:
`resource-control/schemas/settlement-statement.schema.json`.
## Boundaries
- `resource-control` owns transfer-price arithmetic, statements, and
consumption mode.
- `fin-hub` owns booked provider cost, tax, recognized payments, and any
later DATEV-facing internal settlement posting.
- A settlement statement is not booked spend.
## T01 — Join proposed transfer charges
```task
id: FIN-WP-0006-T01
status: todo
priority: high
state_hub_task_id: "d9618171-b1cb-4df2-bcaf-92eb937e316e"
```
Document and implement the inbound join for resource-control settlement
statements. Preserve `financial_entity_id`, `period`, `terms_version`,
and statement identity. Reject any path that would post the statement as
a provider invoice.
Done when an inbound fixture can be stored as a referenced projection
and `exchange_health` shows statements lacking a payment join as a
visible residual, not as booked cost.