Internal object. Not currently exposed on the public REST API. The operations below describe the intended contract.
API operations
Data model
Attributes
Relationships
System-computed
- journal_entry_posting_attempt_id — generated by gen_random_uuid() on insert; never user-supplied
- created_at — set by MikroORM onCreate hook (new Date()); immutable after creation
- updated_at — set by MikroORM onUpdate hook on every flush
- deleted_at — soft-delete; set by repository-layer soft-delete helpers; not set by the application layer on normal posting flows
- attempted_by_kind defaults to JournalEntryPostingAttemptActorKindEnum.SYSTEM (‘system’) when not explicitly provided
- source_kind native enum extended via Migration20260526030000 to include ‘transaction’ for D9.1 payment-settlement attempts; ‘invoice_transaction’ retained for backward compat with pre-D9.1 rows
Example
apps/api/src/database/entities/JournalEntryPostingAttempt.ts · domain: financial-graph · tier: Infrastructure