HHorixa

← Developers

API-documentatie

Publieke REST API van Horixa. Authenticatie via `Authorization: Bearer hx_live_...` API-keys met scopes. Rate limit: 120 requests per minuut per key. Alle gegevens uit de applicatie zijn uit te lezen, en te schrijven in elke module: CRM, projecten met diensten en taken, uren, sales, HRM (verlof, verzuim, planning) en facturatie (betalingen boeken, concept definitief maken), plus inkoopfacturen en kosten op projecten. De API dwingt dezelfde regels af als de applicatie zelf.

Versie 2.3https://horixa.nl/api/v2OpenAPI 3.1-spec (JSON) ↓

Authenticatie

Stuur je API-key (aan te maken onder Instellingen → API-keys) mee als Bearer-token. De key moet de scope hebben die bij het endpoint staat.

curl https://horixa.nl/api/v2/crm/organization \
  -H "Authorization: Bearer hx_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

Fouten volgen RFC 7807 (application/problem+json: type, title, status, detail). Rate limit: 120 requests per minuut per key, zie de X-RateLimit-* headers.

Zonder lopend abonnement (verlopen proefperiode of opgeschorte omgeving) antwoordt de API met 402 Payment Required en het veld billing_status.

CRM

get/crm/organizationscope: crm:read

Lijst organisaties

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (Organization)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
post/crm/organizationscope: crm:write

Maak organisatie

Request body (JSON): OrganizationCreate

VeldTypeVerplicht
namestring · max 300 tekensja
coc_codestring · nullable · max 20 tekensnee
vat_numberstring · nullable · max 30 tekensnee
relation_numberstring · nullable · max 50 tekensnee
industrystring · nullable · max 100 tekensnee
emailstring (email) · nullablenee
phonestring · nullable · max 40 tekensnee
urlstring (uri) · nullablenee
addressobject (line1, postal_code, locality, country)nee
notestring · nullable · max 10000 tekensnee

Responses

  • 201: Created (Organization)
  • 400: Fout (RFC 7807) (Problem)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
get/crm/organization/{id}scope: crm:read

Organisatie op id

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (Organization)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
patch/crm/organization/{id}scope: crm:write

Werk organisatie bij

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Request body (JSON): OrganizationUpdate

VeldTypeVerplicht
namestring · max 300 tekensnee
coc_codestring · nullable · max 20 tekensnee
vat_numberstring · nullable · max 30 tekensnee
relation_numberstring · nullable · max 50 tekensnee
industrystring · nullable · max 100 tekensnee
emailstring (email) · nullablenee
phonestring · nullable · max 40 tekensnee
urlstring (uri) · nullablenee
addressobject (line1, postal_code, locality, country)nee
notestring · nullable · max 10000 tekensnee

Responses

  • 200: OK (Organization)
  • 400: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
get/crm/personscope: crm:read

Lijst contactpersonen

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (Person)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
post/crm/personscope: crm:write

Maak contactpersoon

Request body (JSON): PersonCreate

VeldTypeVerplicht
first_namestring · nullable · max 100 tekensnee
last_namestring · max 150 tekensja
emailstring (email) · nullablenee
phonestring · nullable · max 40 tekensnee
notestring · nullable · max 10000 tekensnee

Responses

  • 201: Created (Person)
  • 400: Fout (RFC 7807) (Problem)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
get/crm/person/{id}scope: crm:read

Contactpersoon op id

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (Person)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
patch/crm/person/{id}scope: crm:write

Werk contactpersoon bij

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Request body (JSON): PersonUpdate

VeldTypeVerplicht
first_namestring · nullable · max 100 tekensnee
last_namestring · max 150 tekensnee
emailstring (email) · nullablenee
phonestring · nullable · max 40 tekensnee
notestring · nullable · max 10000 tekensnee

Responses

  • 200: OK (Person)
  • 400: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
get/crm/contactrolescope: crm:read

Lijst koppelingen persoon–organisatie

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (ContactRole)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
get/crm/notescope: crm:read

Lijst interacties (notitie, gesprek, e-mail, afspraak)

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (CrmNote)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
post/crm/notescope: crm:write

Leg een interactie vast

Request body (JSON): CrmNoteCreate

VeldTypeVerplicht
organization_idstring (uuid)ja
person_idstring (uuid) · nullablenee
kind"note" | "call" | "email" | "meeting" · standaard "note"nee
bodystring · max 10000 tekensja

Responses

  • 201: Created (CrmNote)
  • 400: Fout (RFC 7807) (Problem)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
get/crm/relationtypescope: crm:read

Lijst relatietypes

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (RelationType)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
get/crm/customfieldscope: crm:read

Lijst definities van eigen velden

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (CustomFieldDef)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
get/crm/customfieldvaluescope: crm:read

Lijst waarden van eigen velden

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (CustomFieldValue)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)

Projecten

get/projects/projectscope: projects:read

Lijst projecten

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (Project)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
post/projects/projectscope: projects:write

Maak project

Request body (JSON): ProjectCreate

VeldTypeVerplicht
namestring · max 300 tekensja
organization_idstring (uuid) · nullablenee
person_idstring (uuid) · nullablenee
manager_employee_idstring (uuid) · nullablenee
status"active" | "closed" | "archived" · standaard "active"nee
start_datestring (date) · nullablenee
end_datestring (date) · nullablenee
budget_minutesinteger · nullable · min 0nee
budget_amountnumber · nullable · min 0nee
notestring · nullable · max 10000 tekensnee

Responses

  • 201: Created (Project)
  • 400: Fout (RFC 7807) (Problem)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
get/projects/project/{id}scope: projects:read

Project op id, inclusief diensten

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (Project)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
patch/projects/project/{id}scope: projects:write

Werk project bij

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Request body (JSON): ProjectUpdate

VeldTypeVerplicht
namestring · max 300 tekensnee
organization_idstring (uuid) · nullablenee
person_idstring (uuid) · nullablenee
manager_employee_idstring (uuid) · nullablenee
status"active" | "closed" | "archived" · standaard "active"nee
start_datestring (date) · nullablenee
end_datestring (date) · nullablenee
budget_minutesinteger · nullable · min 0nee
budget_amountnumber · nullable · min 0nee
notestring · nullable · max 10000 tekensnee

Responses

  • 200: OK (Project)
  • 400: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
get/projects/servicescope: projects:read

Lijst diensten

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (ProjectService)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
post/projects/servicescope: projects:write

Maak dienst

Request body (JSON): ServiceCreate

VeldTypeVerplicht
project_idstring (uuid)ja
namestring · max 300 tekensja
invoice_method"hours" | "fixed_fee" | "subscription" · standaard "hours"nee
pricenumber · nullable · min 0nee
budgeted_minutesinteger · nullable · min 0nee
start_datestring (date) · nullablenee
end_datestring (date) · nullablenee

Responses

  • 201: Created (ProjectService)
  • 400: Fout (RFC 7807) (Problem)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
get/projects/service/{id}scope: projects:read

Dienst op id, inclusief tarieven

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (ProjectService)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
patch/projects/service/{id}scope: projects:write

Werk dienst bij

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Request body (JSON): ServiceUpdate

VeldTypeVerplicht
namestring · max 300 tekensnee
invoice_method"hours" | "fixed_fee" | "subscription" · standaard "hours"nee
pricenumber · nullable · min 0nee
budgeted_minutesinteger · nullable · min 0nee
start_datestring (date) · nullablenee
end_datestring (date) · nullablenee
status"open" | "closed"nee

Responses

  • 200: OK (ProjectService)
  • 400: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
delete/projects/service/{id}scope: projects:write

Verwijder dienst (niet met uren, factuurregels of gefactureerde termijnen)

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 204: Verwijderd
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 403: Fout (RFC 7807) (Problem)
  • 404: Fout (RFC 7807) (Problem)
get/projects/serviceratescope: projects:read

Lijst tarieven per uursoort op een dienst

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (ProjectServiceRate)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
get/projects/taskscope: projects:read

Lijst taken

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (ProjectTask)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
post/projects/taskscope: projects:write

Maak taak of subtaak

Request body (JSON): TaskCreate

VeldTypeVerplicht
project_idstring (uuid)ja
titlestring · max 300 tekensja
parent_idstring (uuid) · nullablenee
notestring · nullable · max 10000 tekensnee
assignee_idstring (uuid) · nullablenee
due_datestring (date) · nullablenee
status"todo" | "doing" | "done" · standaard "todo"nee

Responses

  • 201: Created (ProjectTask)
  • 400: Fout (RFC 7807) (Problem)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
get/projects/task/{id}scope: projects:read

Taak op id

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (ProjectTask)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
patch/projects/task/{id}scope: projects:write

Werk taak bij

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Request body (JSON): TaskUpdate

VeldTypeVerplicht
titlestring · max 300 tekensnee
parent_idstring (uuid) · nullablenee
notestring · nullable · max 10000 tekensnee
assignee_idstring (uuid) · nullablenee
due_datestring (date) · nullablenee
status"todo" | "doing" | "done" · standaard "todo"nee

Responses

  • 200: OK (ProjectTask)
  • 400: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
delete/projects/task/{id}scope: projects:write

Verwijder taak (subtaken gaan mee)

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 204: Verwijderd
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 403: Fout (RFC 7807) (Problem)
  • 404: Fout (RFC 7807) (Problem)
get/projects/templatescope: projects:read

Lijst projectsjablonen

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (ProjectTemplate)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)

Uren

get/hours/hoursscope: hours:read

Lijst uren

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (Hours)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
post/hours/hoursscope: hours:write

Schrijf uren

Request body (JSON): HoursCreate

VeldTypeVerplicht
employee_idstring (uuid)ja
project_idstring (uuid) · nullablenee
service_idstring (uuid) · nullablenee
hour_type_idstring (uuid) · nullablenee
start_atstring (date-time)ja
minutesinteger · min 1, max 1440ja
notestring · nullable · max 2000 tekensnee
billableboolean · standaard truenee

Responses

  • 201: Created (Hours)
  • 400: Fout (RFC 7807) (Problem)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
get/hours/hours/{id}scope: hours:read

Urenregel op id

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (Hours)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
patch/hours/hours/{id}scope: hours:write

Werk urenregel bij

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Request body (JSON): HoursUpdate

VeldTypeVerplicht
employee_idstring (uuid)nee
project_idstring (uuid) · nullablenee
service_idstring (uuid) · nullablenee
hour_type_idstring (uuid) · nullablenee
start_atstring (date-time)nee
minutesinteger · min 1, max 1440nee
notestring · nullable · max 2000 tekensnee
billableboolean · standaard truenee

Responses

  • 200: OK (Hours)
  • 400: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
delete/hours/hours/{id}scope: hours:write

Verwijder urenregel (niet als hij al gefactureerd is)

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 204: Verwijderd
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 403: Fout (RFC 7807) (Problem)
  • 404: Fout (RFC 7807) (Problem)
get/hours/hourstypescope: hours:read

Lijst uursoorten

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (HourType)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)

Facturatie

get/invoices/invoicescope: invoices:read

Lijst facturen

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (Invoice)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
get/invoices/invoice/{id}scope: invoices:read

Factuur op id, inclusief regels

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (Invoice)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
post/invoices/invoice/{id}/finalizescope: invoices:write

Maak een concept definitief (nummer, datums, invoice.finalized-event)

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (Invoice)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
  • 409: Fout (RFC 7807) (Problem)
get/invoices/paymentscope: invoices:read

Lijst betalingen

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (Payment)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
post/invoices/paymentscope: invoices:write

Boek een betaling (zet de factuur op betaald zodra het totaal rond is)

Request body (JSON): PaymentCreate

VeldTypeVerplicht
invoice_idstring (uuid)ja
amountnumberja
datestring (date)ja
methodstring · nullable · max 50 tekensnee
notestring · nullable · max 2000 tekensnee

Responses

  • 201: Created (Payment)
  • 400: Fout (RFC 7807) (Problem)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
get/invoices/installmentscope: invoices:read

Lijst termijnen

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (Installment)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
get/invoices/companyprofilescope: invoices:read

Lijst bedrijfsprofielen (administraties)

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (CompanyProfile)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)

Inkoop

get/purchase/purchaseinvoicescope: invoices:read

Lijst inkoopfacturen

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (PurchaseInvoice)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
post/purchase/purchaseinvoicescope: invoices:write

Boek een inkoopfactuur (btw en totaal volgen uit bedrag en tarief)

Request body (JSON): PurchaseInvoiceCreate

VeldTypeVerplicht
supplier_idstring (uuid) · nullablenee
invoice_numberstring · nullable · max 100 tekensnee
descriptionstring · nullable · max 500 tekensnee
datestring (date)ja
due_datestring (date) · nullablenee
total_exclnumberja
vat_ratenumber · standaard 21 · min 0, max 100nee
status"open" | "paid" · standaard "open"nee
notestring · nullable · max 5000 tekensnee

Responses

  • 201: Created (PurchaseInvoice)
  • 400: Fout (RFC 7807) (Problem)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
get/purchase/purchaseinvoice/{id}scope: invoices:read

Inkoopfactuur op id, inclusief kostenregels

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (PurchaseInvoice)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
patch/purchase/purchaseinvoice/{id}scope: invoices:write

Werk inkoopfactuur bij (ook betaald zetten)

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Request body (JSON): PurchaseInvoiceUpdate

VeldTypeVerplicht
supplier_idstring (uuid) · nullablenee
invoice_numberstring · nullable · max 100 tekensnee
descriptionstring · nullable · max 500 tekensnee
datestring (date)nee
due_datestring (date) · nullablenee
total_exclnumbernee
vat_ratenumber · standaard 21 · min 0, max 100nee
status"open" | "paid" · standaard "open"nee
notestring · nullable · max 5000 tekensnee

Responses

  • 200: OK (PurchaseInvoice)
  • 400: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
delete/purchase/purchaseinvoice/{id}scope: invoices:write

Verwijder inkoopfactuur (doorbelaste kosten blijven staan)

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 204: Verwijderd
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 403: Fout (RFC 7807) (Problem)
  • 404: Fout (RFC 7807) (Problem)
get/purchase/costscope: invoices:read

Lijst kostenregels op projecten

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (ProjectCost)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
post/purchase/costscope: invoices:write

Leg kosten vast op een project (doorbelasten via billable + opslag)

Request body (JSON): CostCreate

VeldTypeVerplicht
project_idstring (uuid)ja
service_idstring (uuid) · nullablenee
purchase_invoice_idstring (uuid) · nullablenee
supplier_idstring (uuid) · nullablenee
datestring (date)ja
descriptionstring · max 500 tekensja
quantitynumber · standaard 1nee
unit_costnumber · standaard 0nee
billableboolean · standaard falsenee
markup_pctnumber · nullablenee
sell_amountnumber · nullablenee
vat_ratenumber · standaard 21 · min 0, max 100nee

Responses

  • 201: Created (ProjectCost)
  • 400: Fout (RFC 7807) (Problem)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
get/purchase/cost/{id}scope: invoices:read

Kostenregel op id

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (ProjectCost)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
patch/purchase/cost/{id}scope: invoices:write

Werk kostenregel bij (bedragen liggen vast zodra hij gefactureerd is)

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Request body (JSON): CostUpdate

VeldTypeVerplicht
service_idstring (uuid) · nullablenee
purchase_invoice_idstring (uuid) · nullablenee
supplier_idstring (uuid) · nullablenee
datestring (date)nee
descriptionstring · max 500 tekensnee
quantitynumber · standaard 1nee
unit_costnumber · standaard 0nee
billableboolean · standaard falsenee
markup_pctnumber · nullablenee
sell_amountnumber · nullablenee
vat_ratenumber · standaard 21 · min 0, max 100nee

Responses

  • 200: OK (ProjectCost)
  • 400: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
delete/purchase/cost/{id}scope: invoices:write

Verwijder kostenregel (niet als hij op een factuur staat)

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 204: Verwijderd
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 403: Fout (RFC 7807) (Problem)
  • 404: Fout (RFC 7807) (Problem)

Sales

get/sales/salesscope: sales:read

Lijst verkoopkansen

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (SalesOpportunity)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
post/sales/salesscope: sales:write

Maak verkoopkans

Request body (JSON): OpportunityCreate

VeldTypeVerplicht
subjectstring · max 300 tekensja
organization_idstring (uuid) · nullablenee
person_idstring (uuid) · nullablenee
stage_idstring (uuid) · nullablenee
responsible_employee_idstring (uuid) · nullablenee
expected_revenuenumber · nullable · min 0nee
chanceinteger · nullable · min 0, max 100nee
expected_close_datestring (date) · nullablenee
notestring · nullable · max 10000 tekensnee

Responses

  • 201: Created (SalesOpportunity)
  • 400: Fout (RFC 7807) (Problem)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
get/sales/sales/{id}scope: sales:read

Verkoopkans op id

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (SalesOpportunity)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
patch/sales/sales/{id}scope: sales:write

Werk verkoopkans bij (ook won/lost)

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Request body (JSON): OpportunityUpdate

VeldTypeVerplicht
subjectstring · max 300 tekensnee
organization_idstring (uuid) · nullablenee
person_idstring (uuid) · nullablenee
stage_idstring (uuid) · nullablenee
responsible_employee_idstring (uuid) · nullablenee
expected_revenuenumber · nullable · min 0nee
chanceinteger · nullable · min 0, max 100nee
expected_close_datestring (date) · nullablenee
notestring · nullable · max 10000 tekensnee
status"open" | "won" | "lost"nee

Responses

  • 200: OK (SalesOpportunity)
  • 400: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
delete/sales/sales/{id}scope: sales:write

Verwijder verkoopkans (niet met offerte of project)

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 204: Verwijderd
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 403: Fout (RFC 7807) (Problem)
  • 404: Fout (RFC 7807) (Problem)
get/sales/quotescope: sales:read

Lijst offertes

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (Quote)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
get/sales/quote/{id}scope: sales:read

Offerte op id, inclusief regels

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (Quote)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
get/sales/stagescope: sales:read

Lijst pijplijnfases

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (SalesStage)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)

HRM

get/hrm/employeescope: hrm:read

Lijst medewerkers

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (Employee)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
get/hrm/employee/{id}scope: hrm:read

Medewerker op id

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (Employee)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
get/hrm/leavescope: hrm:read

Lijst verlofaanvragen

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (LeaveRequest)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
post/hrm/leavescope: hrm:write

Dien een verlofaanvraag in

Request body (JSON): LeaveCreate

VeldTypeVerplicht
employee_idstring (uuid)ja
leave_type_idstring (uuid) · nullablenee
start_datestring (date)ja
end_datestring (date) · nullablenee
minutesinteger · min 1ja
notestring · nullable · max 2000 tekensnee

Responses

  • 201: Created (LeaveRequest)
  • 400: Fout (RFC 7807) (Problem)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
get/hrm/leave/{id}scope: hrm:read

Verlofaanvraag op id

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (LeaveRequest)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
patch/hrm/leave/{id}scope: hrm:write

Keur goed of af (alleen zolang de aanvraag openstaat)

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Request body (JSON): LeaveDecision

VeldTypeVerplicht
status"approved" | "rejected"ja

Responses

  • 200: OK (LeaveRequest)
  • 400: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
get/hrm/leavetypescope: hrm:read

Lijst verlofsoorten

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (LeaveType)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
get/hrm/leavebalancescope: hrm:read

Lijst verlofsaldi

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (LeaveBalance)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
get/hrm/absencescope: hrm:read

Lijst verzuimmeldingen

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (Absence)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
post/hrm/absencescope: hrm:write

Meld verzuim

Request body (JSON): AbsenceCreate

VeldTypeVerplicht
employee_idstring (uuid)ja
start_datestring (date)ja
end_datestring (date) · nullablenee
kind"sick" | "accident" | "pregnancy" | "other" · standaard "sick"nee
notestring · nullable · max 2000 tekensnee

Responses

  • 201: Created (Absence)
  • 400: Fout (RFC 7807) (Problem)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
get/hrm/absence/{id}scope: hrm:read

Verzuimmelding op id

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (Absence)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
patch/hrm/absence/{id}scope: hrm:write

Werk verzuim bij (einddatum = beter gemeld)

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Request body (JSON): AbsenceUpdate

VeldTypeVerplicht
start_datestring (date)nee
end_datestring (date) · nullablenee
kind"sick" | "accident" | "pregnancy" | "other" · standaard "sick"nee
notestring · nullable · max 2000 tekensnee

Responses

  • 200: OK (Absence)
  • 400: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
delete/hrm/absence/{id}scope: hrm:write

Verwijder verzuimmelding

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 204: Verwijderd
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 403: Fout (RFC 7807) (Problem)
  • 404: Fout (RFC 7807) (Problem)
get/hrm/contractscope: hrm:read

Lijst contracten

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (EmployeeContract)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
get/hrm/teamscope: hrm:read

Lijst teams

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (Team)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
get/hrm/planningscope: hrm:read

Lijst geplande inzet

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (PlanningAllocation)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)
post/hrm/planningscope: hrm:write

Plan inzet

Request body (JSON): AllocationCreate

VeldTypeVerplicht
employee_idstring (uuid)ja
project_idstring (uuid) · nullablenee
service_idstring (uuid) · nullablenee
start_datestring (date)ja
end_datestring (date)ja
minutes_per_weekinteger · min 1ja

Responses

  • 201: Created (PlanningAllocation)
  • 400: Fout (RFC 7807) (Problem)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
get/hrm/planning/{id}scope: hrm:read

Inzet op id

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 200: OK (PlanningAllocation)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
patch/hrm/planning/{id}scope: hrm:write

Werk inzet bij (verplaatsen of aantal uren)

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Request body (JSON): AllocationUpdate

VeldTypeVerplicht
employee_idstring (uuid)nee
project_idstring (uuid) · nullablenee
service_idstring (uuid) · nullablenee
start_datestring (date)nee
end_datestring (date)nee
minutes_per_weekinteger · min 1nee

Responses

  • 200: OK (PlanningAllocation)
  • 400: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 404: Fout (RFC 7807) (Problem)
delete/hrm/planning/{id}scope: hrm:write

Verwijder inzet

Parameters

NaamInTypeVerplicht
idpathstring (uuid)ja

Responses

  • 204: Verwijderd
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 403: Fout (RFC 7807) (Problem)
  • 404: Fout (RFC 7807) (Problem)

Documenten

get/documents/documentscope: crm:read

Lijst documenten (factuur-pdf's alleen met invoices:read)

Parameters

NaamInTypeVerplicht
limitqueryinteger · standaard 25 · min 1, max 100nee
offsetqueryinteger · standaard 0 · min 0nee

Responses

  • 200: OK (Document)
  • 401: Fout (RFC 7807) (Problem)
  • 402: Abonnement vereist: proefperiode verlopen of omgeving opgeschort (veld `billing_status`) (Problem)
  • 429: Fout (RFC 7807) (Problem)

Hulp nodig bij een koppeling?

Neem contact op