📑
Vertragsmanagement
contracts
sales_billing
🛡️ RLS Protected
Rahmenverträge mit Laufzeiten, Konditionen, Kontingenten, Line-Billing und automatischer Abruferfassung.
Fachliche Bestimmung: Verwaltet Kunden- und Lieferantenverträge, Rahmenvereinbarungen und Service-Level-Agreements (SLA). Unterstützt Line-Billing (zeilenbasierte Abrechnung) sowie Abrufaufträge (Call-Offs), bei denen vereinbarte Preise und Kontingente automatisch überwacht und bis zur Vertragsgrenze abgerechnet werden.
⚡ Workflows & Läbenszykle (6)
🗄️ Datemodell & Fälder (22)
🔌 Iistigspünkt (UI & APIs) (102)
🛡️ Regulatorie & Compliance
⚡ Workflows & Läbenszykle
Vertragslebenszyklus
cascade:business.contract.lifecycle
Kaskade (review_gated).
1. contract
Vertrag anlegen
contracts
Aktionen: contract.create
2. task
Fristen / Kündigungsüberwachung
tasks
Aktionen: create_task
Vertrag anlegen
cascade_target:business.contract.apply
Kaskade (review_gated).
1. cascade
Vertrag anlegen
Benutzerbefehl: contract agent
plan:command_contract_agent
Geprüfter Durable-Plan (durable_plan), Start: manual_command.
1. contract_agent
contract_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "contract_agent", "condition_fact": null}
Aktionen: contract_agent
Benutzerbefehl: contract crud subagent
plan:command_contract_crud_subagent
Geprüfter Durable-Plan (durable_plan), Start: manual_command.
1. contract_crud_subagent
contract_crud_subagent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "contract_crud_subagent", "condition_fact": null}
Aktionen: contract_crud_subagent
Benutzerbefehl: contract drafting agent
plan:command_contract_drafting_agent
Geprüfter Durable-Plan (unreviewed_plan), Start: manual_command.
1. contract_drafting_agent
contract_drafting_agent
{"key": "execute_command", "label": "Befehl prüfen, ausführen oder zur Freigabe vorlegen", "adapter": "agent.execute", "agent": "contract_drafting_agent", "condition_fact": null}
Aktionen: contract_drafting_agent
Vertrag
status:contract
Beobachtbare Zustandsmaschine (observable_only). Übergänge hier nicht erzwungen — siehe Service-Validierung.
1. draft
draft
Status «draft» der Zustandsmaschine Vertrag.
2. pending
pending
Status «pending» der Zustandsmaschine Vertrag.
3. active
active
Status «active» der Zustandsmaschine Vertrag.
4. expired
expired
Status «expired» der Zustandsmaschine Vertrag.
5. terminated
terminated
Status «terminated» der Zustandsmaschine Vertrag.
6. renewed
renewed
Status «renewed» der Zustandsmaschine Vertrag.
🗄️ Datemodell & Fälder
🔌 Iistigspünkt (UI & APIs)
| Art | Method | Endpunkt / Pfad | Titel & Zweck | Berächtigig |
|---|---|---|---|---|
| ⚡ REST API | DELETE | /api/v1/contract-clauses/{clause_id} |
delete_clause
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | DELETE | /api/v1/contract-control/{contract_id}/scope/{item_id} |
remove_scope
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | DELETE | /api/v1/contract-control/{contract_id}/terms/{term_id} |
delete_term
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | DELETE | /api/v1/contracts/{contract_id} |
delete_contract
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | DELETE | /api/v1/contracts/{contract_id}/lines/{line_id} |
delete_line
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | DELETE | /api/v1/contracts/{contract_id}/obligations/{obligation_id} |
delete_contract_obligation
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | DELETE | /api/v1/contracts/{contract_id}/service-plans/{plan_id} |
remove_plan
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | DELETE | /api/v1/contracts/{contract_id}/storage/areas/{location_id} |
release_area
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | DELETE | /api/v1/contracts/{contract_id}/subjects/{subject_id} |
remove_subject
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | GET | /api/v1/contract-clauses |
list_clauses
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contract-control/{contract_id} |
overview
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contract-control/{contract_id}/check |
check
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contract-control/{contract_id}/rebates |
rebates
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts |
list_contracts
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/billing-options |
billing_options
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/scenarios |
scenarios
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/storage/overview |
storage_overview
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/tax-rates |
tax_rates
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/warehouse-routes |
warehouse_routes
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/{contract_id} |
get_contract
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/{contract_id}/amendments |
list_contract_amendments
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/{contract_id}/billing-preview |
billing_preview
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/{contract_id}/documents |
list_contract_documents
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/{contract_id}/invoices |
get_contract_invoices
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/{contract_id}/obligations |
list_contract_obligations
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/{contract_id}/renewals |
list_contract_renewals
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/{contract_id}/semantic-attributes |
contract_semantic_attributes
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/{contract_id}/storage/articles |
storage_articles
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/{contract_id}/storage/orders |
storage_orders
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/{contract_id}/storage/stock |
storage_stock
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/contracts/{contract_id}/workspace |
workspace
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /api/v1/sales-agents |
list_agents
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /contracts |
contracts_page
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /contracts/new |
contract_create_page
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /contracts/storage |
contract_storage_page
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /contracts/templates |
contract_templates_page
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /contracts/wizard |
contract_wizard_page
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /contracts/{contract_id} |
contract_detail_page
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /contracts/{contract_id}/edit |
contract_detail_page
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /contracts/{contract_id}/terms |
contract_terms_page
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /contracts/{contract_id}/workspace |
contract_workspace_page
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /portal/{slug}/vertraege |
contracts_page
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /portal/{slug}/vertraege/{contract_id}/dokument |
contract_document_download
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /sales-agents |
sales_agents_page
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /sales-agents/new |
sales_agents_new_page
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | GET | /sales-agents/{agent_id}/edit |
sales_agents_edit_page
Semantic binding: inventory_only; mutation=False
|
contracts
|
| ⚡ REST API | PATCH | /api/v1/contracts/commissions/{commission_id} |
commission_status
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | PATCH | /api/v1/contracts/{contract_id} |
update_contract
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | PATCH | /api/v1/contracts/{contract_id}/commercial |
update_commercial
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | PATCH | /api/v1/contracts/{contract_id}/lines/{line_id} |
patch_line
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | PATCH | /api/v1/contracts/{contract_id}/obligations/{obligation_id} |
update_contract_obligation
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | PATCH | /api/v1/sales-agents/{agent_id} |
update_agent
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-clauses |
create_clause
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-control/agb-policies |
propose_agb_policies_endpoint
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-control/policy-releases/{release_id}/activate |
activate_policy_release
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-control/{contract_id}/apply-clauses |
apply_contract_clauses
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-control/{contract_id}/gateways/billing |
gateway_billing
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-control/{contract_id}/gateways/call-off |
gateway_call_off
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-control/{contract_id}/gateways/return |
gateway_return
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-control/{contract_id}/gateways/service-orders |
gateway_service_orders
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-control/{contract_id}/gateways/warranty |
gateway_warranty
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-control/{contract_id}/policy-package |
propose_policy_package
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-control/{contract_id}/propose-workflow |
propose_contract_workflow
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-control/{contract_id}/rebates/settle |
settle_rebate
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-control/{contract_id}/scope |
add_scope
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-control/{contract_id}/terms |
add_term
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contract-templates |
save_template
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts |
create_contract
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/from-template |
from_template
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/run-automation |
run_automation
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/storage/orders/{order_id}/cancel |
storage_order_cancel
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/storage/orders/{order_id}/post |
storage_order_post
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/trigger-recurring-billing |
trigger_recurring_billing
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/amendments |
create_contract_amendment
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/bill-now |
bill_now
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/call-off |
call_off
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/conclude |
conclude_contract
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/consignment/replenish |
consignment_replenish
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/consignment/withdraw |
consignment_withdraw
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/generate-invoice |
generate_contract_invoice
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/lines |
add_line
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/obligations |
create_contract_obligation
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/price-adjustment/apply |
apply_adjustment
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/promote-intake-attributes |
promote_intake_attributes
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/renew |
renew_contract
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/save-as-template |
save_as_template
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/service-plans |
add_plan
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/service-plans/{plan_id}/generate |
generate_plan
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/settle-supplier |
settle_supplier
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/storage/areas |
assign_area
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/storage/articles |
storage_article_create
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/storage/consume |
storage_consume
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/storage/count |
storage_count
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/storage/orders |
storage_order_create
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/subjects |
add_subject
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/terminate |
terminate_contract
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/upload-document |
upload_contract_document
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/contracts/{contract_id}/usage |
add_usage
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /api/v1/sales-agents |
create_agent
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | POST | /portal/{slug}/vertraege/{contract_id}/kuendigen |
contract_termination_request
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | PUT | /api/v1/contract-control/{contract_id}/terms/{term_id} |
update_term
Semantic binding: operator_surface; mutation=True
|
contracts
|
| ⚡ REST API | PUT | /api/v1/contracts/{contract_id}/semantic-attributes/{field_key} |
set_contract_semantic_attribute
Semantic binding: operator_surface; mutation=True
|
contracts
|
🛡️ Regulatorie & Compliance
Dieses Modul unterliegt folgenden gesetzlichen, regulatorischen und Revisionsstandards:
- BGB Vertragsrecht
- DSGVO Art. 28 (AVV-Fristen)
- GoBD Aufbewahrungspflichten
Verknüpfti Modul: