Systém záznamu pre odchádzajúcu faktúru — drží stav životného cyklu, výsledok validácie, odtlačok obsahu a mint-once identifikátor prenosu.
Envelope identity and kind-specific facts from the entity's spec.
outbound-document11idThis entity and everything one relation away, grouped by the data store each lives in.
Every column of this entity — type, whether it is required, and which key it is.
| Field | Type | Required | Key | Description |
|---|---|---|---|---|
id | uuid | yes | PK | — |
tenant_id | uuid | yes | — | — |
state | text | yes | — | — |
content_sha256 | bytea | yes | — | — |
storage_path | text | optional | — | — |
validation_outcome | text | yes | — | — |
invoice_number | text | optional | — | — |
issue_date | date | optional | — | — |
total_amount | numeric | optional | — | — |
invoice_transmission_uuid | uuid | optional | — | — |
mls_status | text | optional | — | — |
Merged from both ends: an edge the other entity declares appears here too (ADR-0015).
| Related entity | Cardinality | Via | Notes |
|---|---|---|---|
| Dôkazový záznamevidence-record | 1 — None-to-many | — | declared on evidence-record only |
| Záznam MLSmls-record | 1 — None-to-many | — | |
| SK TDD (daňový dokument)tdd-document | 1 — None-to-many | — | |
| Nájomník (klient)tenant | N — 1many-to-one | — | |
| Záznam o pokuse o prenostransmission-record | 1 — None-to-many | — |
Declared spec links and inverses derived from the graph.
Declared here
Derived from the graph
Free x-* spec keys and namespaced tool annotations (standard §1).
Annotations
gordulitch.sk/write-pathTabuľka nemá žiadne zápisové RLS politiky. Každá zmena ide cez SECURITY DEFINER RPC, takže zápis sa nedá obísť priamym PostgREST volaním.Markdown texts from the entity's docs/ folder.
Architecture notes, runbooks, and onboarding texts belong here — anything a new operator should read.
Add markdown files under data-entities/outbound-document/docs/