API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · employee_supplier_contracts

Employee Supplier Contract Schema

ID du schéma
employee_supplier_contract
Collection
employee_supplier_contracts
Autorisations
  • Lireemployee_supplier_contract_view
  • Créeremployee_supplier_contract_create
  • Modifieremployee_supplier_contract_edit
  • Supprimeremployee_supplier_contract_delete

Champs

Employee Supplier Contract Schema

employee_supplier_contracts4 autorisations

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

employeeProfileIduuidobligatoire
kindstringobligatoire

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

TELECOM_MOBILETELECOM_INTERNETGEZJOB_TICKETDEUTSCHLANDTICKETBAHNCARDGYM_MEMBERSHIPINSURANCE_GROUPSUBSCRIPTIONOTHER
vendorPartyIduuidobligatoire

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

equipmentAssignmentIduuidfacultatif

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

nullable
contractNumberstringobligatoire

Lieferanten-Vertragsnummer.

1–100 caractères
providerstringfacultatif

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

max. 200 caractèresnullable
startDatedateobligatoire
endDatedatefacultatif

Festes Vertragsende. Null bei laufender Vertragsbeziehung mit autoRenew.

nullable
initialTermMonthsintegerfacultatif

Mindestlaufzeit in Monaten ab startDate.

0 – 600nullable
autoRenewbooleanfacultatif

Verlängert sich automatisch ohne Kündigung.

Par défaut : false
renewalTermMonthsintegerfacultatif

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

0 – 600nullable
terminationNoticeDaysintegerfacultatif

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

0 – 730nullable
monthlyCostnumberfacultatif

Monatliche Kosten brutto in EUR.

≥ 0nullable
totalCostnumberfacultatif

Gesamtkosten in EUR (bei ONE_TIME oder vertraglich gedeckelt).

≥ 0nullable
paymentIntervalstringfacultatif
MONTHLYQUARTERLYSEMI_ANNUALANNUALONE_TIME
nullable
costAllocationstringfacultatif

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
Par défaut : "EMPLOYER_PAYS"
specificsobjectfacultatif

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[]facultatif

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

max. 20 élémentsPar défaut : []
renewalReminderDaysinteger[]facultatif

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 élémentsnullable
notesstringfacultatif
max. 2000 caractèresnullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/employee_supplier_contracts — Liste, paginée et filtrable
  • GET /api/v1/employee_supplier_contracts/<id> — Une entité
  • POST /api/v1/employee_supplier_contracts — Créer
  • PATCH /api/v1/employee_supplier_contracts/<id> — Mise à jour partielle
  • DELETE /api/v1/employee_supplier_contracts/<id> — Suppression logique
  • GET /api/v1/employee_supplier_contracts/<id>/timeline — Audit et activités

Recherche