Klanten & tegenpartijen
Klanten, contacten en tegenpartijen — houd je CRM en Flowtly gesynchroniseerd.
Klant
Endpoints
| GET | /clients | Haalt de verzameling Client-resources op. |
| POST | /clients | Maakt een Client-resource aan. |
| GET | /clients/{id} | Haalt een Client-resource op. |
| PATCH | /clients/{id} | Werkt de Client-resource bij. |
| GET | /clients/{id}/documents | Haalt een Client-resource op. |
| GET | /clients/search | Haalt de verzameling Client-resources op. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| country* | string (iri-reference) | |
| currency* | string (iri-reference) | |
| defaultCost | string,null (iri-reference) | |
| status* | string | |
| attributeSet | string,null (iri-reference) | |
| name* | string | |
| dueDays | integer | |
| tinType* | string | |
| tinCountry | stringnull | |
| tin | stringnull | |
| externalPaymentCustomerId | stringnull | |
| invoiceComment | stringnull | |
| defaultTaxRate | stringnull | |
| documentsLanguage | string | |
| addressPhoneNumber | stringnull | |
| addressCity | stringnull | |
| addressPostCode | stringnull | |
| addressStreetLine | stringnull | |
| addressBuildingNumber | stringnull | |
| addressLocaleNumber | stringnull | |
| addressCountry | string,null (iri-reference) | |
| clientContacts | array | |
| allowDuplicate | booleannull | Not persisted (no ORM\Column): an escape hatch for POST /clients only, mirroring CounterpartyCreateByTypeInput::allowDuplicate. When true, ClientCreateProcessor::refuseIfDuplicate() skips the duplicate-party guard, matching the human-facing PATCH-and-attach pattern in CounterpartyCreateByTypeProcessor. |
| vatNumber | stringnull |
Clientcontact
Endpoints
| GET | /client-contacts | Haalt de verzameling ClientContact-resources op. |
| POST | /client-contacts | Maakt een ClientContact-resource aan. |
| GET | /client-contacts/{id} | Haalt een ClientContact-resource op. |
| PATCH | /client-contacts/{id} | Werkt de ClientContact-resource bij. |
| DELETE | /client-contacts/{id} | Verwijdert de ClientContact-resource. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| id | integer | |
| client | string (iri-reference) | |
| type* | string | |
| position | integer | |
| email* | string (email) | |
| name* | string | |
| title | stringnull | |
| phone | stringnull | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) | |
| possibleTypes | string |
Clientnotitie
Endpoints
| GET | /client-notes | Haalt de verzameling ClientNote-resources op. |
| POST | /client-notes | Maakt een ClientNote-resource aan. |
| GET | /client-notes/{id} | Haalt een ClientNote-resource op. |
| PATCH | /client-notes/{id} | Werkt de ClientNote-resource bij. |
| DELETE | /client-notes/{id} | Verwijdert de ClientNote-resource. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| id | string | |
| client* | string (iri-reference) | |
| employee* | string (iri-reference) | |
| note* | string | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) |
Tegenpartij
Endpoints
| GET | /counterparties | Haalt de verzameling Counterparty-resources op. |
| POST | /counterparties | Maakt een Counterparty-resource aan. |
| GET | /counterparties/{id} | Haalt een Counterparty-resource op. |
| PATCH | /counterparties/{id} | Werkt de Counterparty-resource bij. |
| DELETE | /counterparties/{id} | Verwijdert de Counterparty-resource. |
| POST | /counterparties/{id}/enrich-branding-ai | Queue single counterparty branding enrich via AI |
| POST | /counterparties/{id}/merge | Merge counterparties |
| POST | /counterparties/enrich-branding-ai | Queue counterparties branding enrich via AI |
| POST | /counterparty | Create supplier/client + counterparty by type |
| PATCH | /counterparty/{id} | Update supplier/client + counterparty by type |
| GET | /counterparty/dedupe-check | Advisory duplicate check for a party. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| id | integer | |
| type | string | |
| requireAttachment | boolean | |
| cyclic | boolean | |
| budgetNeutral | boolean | |
| logoUrl | stringnull | |
| corporateWebsiteUrl | stringnull | |
| displayName | string | |
| costGroupIcon | stringnull |
Bankrekening tegenpartij
Endpoints
| POST | /counterparty-bank-accounts | Maakt een CounterpartyBankAccount-resource aan. |
| DELETE | /counterparty-bank-accounts/{id} | Verwijdert de CounterpartyBankAccount-resource. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| id | integer | |
| counterparty | string (iri-reference) | |
| accountNumber | string | |
| accountNumberNormalized | string | |
| createdAt | string (date-time) | |
| updatedAt | string (date-time) |
Factuurregelsjabloon tegenpartij
Endpoints
| GET | /counterparties/{id}/invoice-line-templates | A counterparty's line templates, rendered for a billing period. |
| POST | /counterparty-invoice-line-templates | Maakt een CounterpartyInvoiceLineTemplate-resource aan. |
| GET | /counterparty-invoice-line-templates/{id} | Haalt een CounterpartyInvoiceLineTemplate-resource op. |
| PATCH | /counterparty-invoice-line-templates/{id} | Werkt de CounterpartyInvoiceLineTemplate-resource bij. |
| DELETE | /counterparty-invoice-line-templates/{id} | Verwijdert de CounterpartyInvoiceLineTemplate-resource. |
Schema-velden
| Veld | Type | Beschrijving |
|---|---|---|
| id | integer | |
| name* | string | The pick-list label the operator chooses by — "Spectris", not the wording. |
| text* | string | The contractual wording, with an optional `{period}` / `{quarter}` token. |
| sortOrder | integer | Pick-list order only. It implies no line order — nothing generates lines. |