📘
Utgifter
expenses
sales_billing
🛡️ RLS Protected
Utgifter og utgifter <unk> Process og API-dokumentasjon avledet fra kode.
Fachliche Bestimmung: Utgifter & utgifter <unk> Process og API-dokumentasjon avledet fra kode.
⚡ Arbeidsstrømme og livssykluser (5)
🗄️ Datamodeller & felt (2)
🔌 Startpunkter (UI og API) (14)
🛡️ Reglering og etterlevelse
⚡ Arbeidsstrømme og livssykluser
Brukeroppdrag: utgiftsansvarlig
plan:command_expense_agent
Kontrollert varig plan (durable_plan), Start: manual_command.
1. expense_agent
expense_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "expense_agent", "condition_fact": null}
Aktionen: expense_agent
Brukeroppgave: utgift general agent
plan:command_expense_general_agent
Kontrollert varig plan (durable_plan), Start: manual_command.
1. expense_general_agent
expense_general_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "expense_general_agent", "condition_fact": null}
Aktionen: expense_general_agent
Brukeroppdrag: mottaker
plan:command_receipt_agent
Kontrollert varig plan (durable_plan), Start: manual_command.
1. receipt_agent
receipt_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "receipt_agent", "condition_fact": null}
Aktionen: receipt_agent
Brukeroppgave: leverandør faktura agent
plan:command_supplier_invoice_agent
Kontrollert varig plan (durable_plan), Start: manual_command.
1. supplier_invoice_agent
supplier_invoice_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "supplier_invoice_agent", "condition_fact": null}
Aktionen: supplier_invoice_agent
Utgift
status:expense
Observativ tilstand (observativ_only).
1. detected
Detekter
Status <unk>detected<unk> av tilstandsmaskinen utgave.
2. needs_review
needs_review
Status <unk>needs_review<unk> av standemaskinen utgave.
3. approved
godkjent
Status <unk>godkjente<unk> av maskinens tilstand utgave.
4. exported
utført
Status <unk>exported<unk> av maskinens statusutgang.
🗄️ Datamodeller & felt
🔌 Startpunkter (UI og API)
| Art | Metode | Endpunkt / vei | Titel & Zweck | Tillatelse |
|---|---|---|---|---|
| ⚡ REST API | DELETE | /api/v1/expenses/{expense_id} |
delete_expense
Semantic binding: operator_surface; mutation=True
|
expenses
|
| ⚡ REST API | GET | /api/v1/expenses |
list_expenses
Semantic binding: inventory_only; mutation=False
|
expenses
|
| ⚡ REST API | GET | /api/v1/expenses/{expense_id} |
get_expense
Semantic binding: inventory_only; mutation=False
|
expenses
|
| ⚡ REST API | GET | /api/v1/expenses/{expense_id}/3way-match |
verify_3way_matching
Semantic binding: inventory_only; mutation=False
|
expenses
|
| ⚡ REST API | GET | /expenses |
expenses_page
Semantic binding: inventory_only; mutation=False
|
expenses
|
| ⚡ REST API | GET | /expenses/new |
expense_create_page
Semantic binding: inventory_only; mutation=False
|
expenses
|
| ⚡ REST API | GET | /expenses/{expense_id} |
expense_detail_page
Semantic binding: inventory_only; mutation=False
|
expenses
|
| ⚡ REST API | PATCH | /api/v1/expenses/{expense_id} |
update_expense
Semantic binding: operator_surface; mutation=True
|
expenses
|
| ⚡ REST API | POST | /api/v1/expenses |
create_expense
Semantic binding: operator_surface; mutation=True
|
expenses
|
| ⚡ REST API | POST | /api/v1/expenses/batch-approve |
batch_approve_expenses
Semantic binding: operator_surface; mutation=True
|
expenses
|
| ⚡ REST API | POST | /api/v1/expenses/upload |
upload_receipt
Semantic binding: operator_surface; mutation=True
|
expenses
|
| ⚡ REST API | POST | /api/v1/expenses/{expense_id}/approve |
approve_expense
Semantic binding: operator_surface; mutation=True
|
expenses
|
| ⚡ REST API | POST | /api/v1/expenses/{expense_id}/assign-project |
assign_project
Semantic binding: operator_surface; mutation=True
|
expenses
|
| ⚡ REST API | POST | /api/v1/expenses/{expense_id}/items |
add_expense_item
Semantic binding: operator_surface; mutation=True
|
expenses
|
🛡️ Reglering og etterlevelse
Dieses Modul unterliegt folgenden gesetzlichen, regulatorischen und Revisionsstandards:
- Forbrukere
- Forbruker isolering (PostgreSQL RLS)