Files
semprini-domain-digital-dat…/data_model/entities/payee.md
T
paulandClaude Opus 5 aeba56e5f2 Add the Digital Core domain model from semprini-blog-dataproducts
The MD-DDL model (domain, entities, enums, the Canonical Party product
declaration) moves into its own repository, owned by the domain's modelling
team. Engineering teams consume its product declarations and generate products
from semprini-data-product-templates.

Adds the MD-DDL agent wrappers (md-ddl init), pyproject with md-ddl, and
README/CLAUDE.md describing the team split and the handoff interface.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-17 22:51:50 +12:00

48 lines
1.2 KiB
Markdown

# [Digital Core](../domain.md)
## Entities
### Payee
A Payee is a Party Role representing the party value goes to in a transaction. Kept distinct from Merchant: every merchant being paid is a payee, but plenty of payees are not merchants — a refunded customer, an employee reimbursed, a partner receiving a share.
```mermaid
---
config:
layout: elk
---
classDiagram
class Payee{
* Payee Identifier : string
Beneficiary Reference : string
}
Payee --|> PartyRole
class PartyRole["<a href='./party_role.md'>Party Role</a>"]
```
```yaml
extends: Party Role
existence: independent
mutability: slowly_changing
attributes:
Payee Identifier:
type: string
identifier: primary
description: Unique identifier for the payee role instance.
Beneficiary Reference:
type: string
description: Reference identifying the beneficiary in payment instructions.
```
```yaml
governance:
retention_basis: Inherited from the domain default of 7 years post relationship end
```
## Relationships
No relationships are sourced directly from Payee. The canonical direction is Transaction-owned — see [Transaction Has Payee](transaction.md#transaction-has-payee).