aeat.core.identity._transaction module

Transaction-identity alias for ledger transaction records.

The transaction identity is a hex-64 content-addressed sha-256 value minted by the transaction domain when a ledger entry is persisted. The alias lives in core.identity because the constraint shape is consumed by sibling domains (notably domain.invoices for reconciliation models), the application ledger service, and the persistence adapters. Promoting the alias to core lets each consumer import it without crossing a sibling-domain boundary.

TransactionId

Hex-64 content-addressed ledger-transaction identity.

alias of Annotated[str, StringConstraints(strip_whitespace=True, to_upper=None, to_lower=None, strict=None, min_length=64, max_length=64, pattern=^[0-9a-f]{64}$, ascii_only=None)]