API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · employee_supplier_contracts

Employee Supplier Contract Schema

Schema-ID
employee_supplier_contract
Collection
employee_supplier_contracts
Permissions
  • Lezenemployee_supplier_contract_view
  • Aanmakenemployee_supplier_contract_create
  • Wijzigenemployee_supplier_contract_edit
  • Verwijderenemployee_supplier_contract_delete

Velden

Employee Supplier Contract Schema

employee_supplier_contracts4 permissions

Lieferantenvertrag (ADR 0115), der einem Mitarbeiter zugeordnet ist und dessen Lifecycle aktiv überwacht wird. Renewal-Reminder via escalation_rule (ADR 0085).

kindstringvereist

Vertrags-Kategorie. CUSTOM via OTHER mit klarer notes-Beschreibung.

TELECOM_MOBILETELECOM_INTERNETGEZJOB_TICKETDEUTSCHLANDTICKETBAHNCARDGYM_MEMBERSHIPINSURANCE_GROUPSUBSCRIPTIONOTHER
vendorPartyIduuidvereist

Lieferanten-Party-Datensatz (z.B. „Telekom Deutschland GmbH"). Existing party-Modell wiederverwendet.

equipmentAssignmentIduuidoptioneel

Optionaler Bezug auf Equipment, z.B. SIM-Karte → Smartphone.

nullable
contractNumberstringvereist

Lieferanten-Vertragsnummer.

1–100 tekens
providerstringoptioneel

Marken-/Tarif-Name, falls abweichend von vendor (z.B. „congstar" mit vendor Telekom).

max. 200 tekensnullable
startDatedatevereist
endDatedateoptioneel

Festes Vertragsende. Null bei laufender Vertragsbeziehung mit autoRenew.

nullable
initialTermMonthsintegeroptioneel

Mindestlaufzeit in Monaten ab startDate.

0 – 600nullable
autoRenewbooleanoptioneel

Verlängert sich automatisch ohne Kündigung.

Default: false
renewalTermMonthsintegeroptioneel

Bei autoRenew=true: um wieviele Monate verlängert sich der Vertrag.

0 – 600nullable
terminationNoticeDaysintegeroptioneel

Kündigungsfrist in Tagen vor endDate / Renewal-Stichtag.

0 – 730nullable
monthlyCostnumberoptioneel

Monatliche Kosten brutto in EUR.

≥ 0nullable
totalCostnumberoptioneel

Gesamtkosten in EUR (bei ONE_TIME oder vertraglich gedeckelt).

≥ 0nullable
paymentIntervalstringoptioneel
MONTHLYQUARTERLYSEMI_ANNUALANNUALONE_TIME
nullable
costAllocationstringoptioneel

Wer trägt die Kosten? EMPLOYEE_REIMBURSED = MA hat eigenen Vertrag, AG erstattet (typisch bei privatem Handyvertrag + Pauschale → flankiert durch compensation_record/contractualComponent). EMPLOYEE_SUBSIDIZED = AG bezuschusst, Restbetrag per Gehaltsumwandlung.

EMPLOYER_PAYSEMPLOYEE_REIMBURSEDEMPLOYEE_SUBSIDIZED
Default: "EMPLOYER_PAYS"
specificsobjectoptioneel

Kind-spezifische Felder (Map). Validierung erfolgt server-seitig pro kind. Beispiele: TELECOM_MOBILE → { phoneNumber, simIccid, tariff, dataVolumeGB, includedMinutes, eulocation }; JOB_TICKET → { zoneId, validUntil, ticketNumber }; DEUTSCHLANDTICKET → { ticketNumber, validUntil }; BAHNCARD → { type: "25"|"50"|"100", class: "1"|"2", cardNumber }; GYM_MEMBERSHIP → { studio, contractTier }.

nullable
attachmentDocumentIdsuuid[]optioneel

FKs auf dms_documents (Vertrags-PDF, AGB, Rechnungs-Kopien).

max. 20 itemsDefault: []
renewalReminderDaysinteger[]optioneel

Tage vor endDate/Renewal-Stichtag, an denen Reminder feuern sollen, z.B. [60, 30, 14]. Brücke zum escalation_rule-System (ADR 0085) — Cron prüft täglich und erzeugt Tasks.

max. 6 itemsnullable
notesstringoptioneel
max. 2000 tekensnullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/employee_supplier_contracts — Lijst, gepagineerd + filterbaar
  • GET /api/v1/employee_supplier_contracts/<id> — Enkele entity
  • POST /api/v1/employee_supplier_contracts — Aanmaken
  • PATCH /api/v1/employee_supplier_contracts/<id> — Gedeeltelijke update
  • DELETE /api/v1/employee_supplier_contracts/<id> — Soft-delete
  • GET /api/v1/employee_supplier_contracts/<id>/timeline — Audit + activiteiten

Zoeken