diff --git a/OpenApiSpecs/sb/en/8-0-0.json b/OpenApiSpecs/sb/en/8-0-0.json new file mode 100644 index 0000000..5f18d3e --- /dev/null +++ b/OpenApiSpecs/sb/en/8-0-0.json @@ -0,0 +1,19503 @@ +{ + "openapi": "3.0.2", + "info": { + "version": "8.0", + "title": "AFAS SB API", + "description": "AFAS SB API for integrating with the accounting software for accountants and entrepreneurs." + }, + "servers": [ + { + "url": "https://{domain}.afasfocus.nl/{customerenvironment}", + "description": "Customer environment URL", + "variables": { + "domain": { + "description": "Identifier for the accountancy environment", + "default": "app-center-demo" + }, + "customerenvironment": { + "description": "Identifier for the customer environment", + "default": "scope" + } + } + }, + { + "url": "https://{subdomein}.afasfocus.nl/admin", + "description": "Accounting center URL", + "variables": { + "subdomein": { + "description": "URL unique for the accounting office.", + "default": "app-center-demo" + } + } + } + ], + "paths": { + "/api/blob/{uuid}": { + "get": { + "description": "Retrieve a specific blob by UUI.", + "summary": "/api/blob/{uuid}", + "operationId": "getBlob", + "parameters": [ + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1" + } + }, + { + "in": "header", + "name": "Authorization", + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "uuid", + "schema": { + "type": "string", + "format": "uuid", + "example": "00000000-0000-0000-0000-000000000000" + }, + "required": true, + "description": "UUID of the blob" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "400": { + "$ref": "#/components/responses/400" + }, + "401": { + "$ref": "#/components/responses/401" + }, + "403": { + "$ref": "#/components/responses/403" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "tags": [ + "Bijlagen", + "Inkoopjournaalpost", + "Verkoopfactuur", + "Verkoopjournaalpost", + "Publiek: Externe facturatie" + ], + "deprecated": false + }, + "put": { + "description": "This operation consists of two requests. First call this endpoint with the Blob-* headers, without body to prepare the blob. Then call this endpoint without the Blob-* headers with a body to upload the file. The blob UUID must be generated client side.", + "summary": "/api/blob/{uuid}", + "operationId": "reserveBlobSpace", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "path", + "name": "uuid", + "schema": { + "type": "string", + "format": "uuid", + "example": "00000000-0000-0000-0000-000000000000" + }, + "required": true, + "description": "UUID of the blob. This should be generated client side." + }, + { + "in": "header", + "name": "Blob-Content-Length", + "schema": { + "type": "integer", + "example": "100" + } + }, + { + "in": "header", + "name": "Blob-Content-Type", + "schema": { + "type": "string", + "example": "image/jpeg" + } + }, + { + "in": "header", + "name": "Blob-Content-FileName", + "schema": { + "type": "string", + "example": "attachment.jpg" + } + }, + { + "in": "header", + "name": "Blob-Upload-Type", + "schema": { + "type": "string", + "example": "Blob/Image" + }, + "required": true + }, + { + "in": "header", + "name": "Blob-Format", + "schema": { + "type": "string", + "example": "Default/Thumb/Small/Medium" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + } + ], + "requestBody": { + "description": "Binary content of the blob", + "required": true + }, + "responses": { + "200": { + "description": "OK" + }, + "400": { + "$ref": "#/components/responses/400" + }, + "401": { + "$ref": "#/components/responses/401" + }, + "403": { + "$ref": "#/components/responses/403" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "tags": [ + "Bijlagen", + "Inkoopjournaalpost", + "Verkoopfactuur", + "Verkoopjournaalpost", + "Publiek: Externe facturatie" + ], + "deprecated": false + } + }, + "/authentication/getaccesstoken": { + "post": { + "description": "Get AccessToken: Provide an application token created in the current application. An access token is returned which can be used for the \"AccessToken\" header to execute connector requests. The 'scope' property is required in accountancy environments. When scope is not provided in accountancy environments, an identity token is returned which can be used in the 'ScopeSelection' api.", + "summary": "/authentication/getaccesstoken", + "operationId": "updateconnector-getaccesstoken", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/json" + } + } + ], + "requestBody": { + "description": "Application token", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "apptoken": { + "type": "string", + "example": "APPTOKEN" + }, + "scope": { + "type": "string", + "example": "demo" + } + }, + "required": [ + "apptoken" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "tags": [ + "Autorisatie" + ], + "deprecated": false + } + }, + "/authentication/getscopes": { + "post": { + "description": "Get scopes: Provide an identity token returned by the 'AccessToken' api.", + "summary": "/authentication/getscopes", + "operationId": "updateconnector-getscopes", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/json" + } + }, + { + "in": "header", + "name": "IdentityToken", + "schema": { + "type": "string", + "example": "IDENTITYTOKEN" + } + } + ], + "requestBody": { + "description": "Scopes", + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "example": "Beheer" + }, + "Path": { + "type": "string", + "example": "admin" + } + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "tags": [ + "Autorisatie" + ], + "deprecated": false + } + }, + "/app/token": { + "post": { + "description": "Get an access token for a scope.", + "summary": "app/token", + "operationId": "updateconnector-token", + "requestBody": { + "required": true, + "content": { + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "grant_type": { + "type": "string", + "example": "refresh_token" + }, + "refresh_token": { + "type": "string" + }, + "client_id": { + "type": "string" + }, + "client_secret": { + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "expires_in": { + "type": "integer" + }, + "token_type": { + "type": "string" + } + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "tags": [ + "Autorisatie" + ], + "deprecated": false + } + }, + "/api/adminlicenseinformation": { + "get": { + "description": "Retrieve license information for all scopes in the environment. This endpoint requires admin rights, and should be called from the 'admin' scope (e.g. yourdomain.afasfocus.nl/admin/api/adminlicenseinformation).", + "summary": "/api/adminlicenseinformation", + "operationId": "getconnector-adminlicenseinformation", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/json" + } + }, + { + "in": "header", + "name": "IdentityToken", + "schema": { + "type": "string", + "example": "IDENTITYTOKEN" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1" + }, + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "example": "Beheer" + }, + "Url": { + "type": "string", + "example": "beheer" + }, + "ScopeId": { + "type": "integer", + "example": "1" + }, + "License": { + "type": "string", + "example": "Ondernemen" + }, + "AdministrationCount": { + "type": "integer", + "example": "5" + }, + "ExtraAdministrationCount": { + "type": "integer", + "example": "2" + }, + "UserCount": { + "type": "integer", + "example": "2" + }, + "ExtraUserCount": { + "type": "integer", + "example": "0" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "Name": "Enyoi", + "Url": "enyoi", + "ScopeId": 1, + "License": "2Gether", + "AdministrationCount": 2, + "ExtraAdministrationCount": 0, + "UserCount": 0, + "ExtraUserCount": 0 + } + ] + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "tags": [ + "Admin center data", + "Publiek: Admin center data" + ], + "deprecated": false + } + }, + "/api/accountingperiod": { + "get": { + "description": "Retrieve accounting periods for a specific administration", + "summary": "accountingperiod 2.0", + "operationId": "getconnector-accountingperiod-get-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "AccountingYear": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "StartDate": { + "type": "string", + "format": "date-time" + }, + "EndDate": { + "type": "string", + "format": "date-time" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "PeriodNumber": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Id": "6b39b98c-4fc0-4c51-9cc6-d9b6657b725a", + "Description": "Januari 2024", + "StartDate": "2024-01-01T00:00:00Z", + "EndDate": "2024-01-31T00:00:00Z", + "PeriodNumber": 1.0, + "AccountingYear": "2024" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële dashboarding", + "Publiek: Financiële rapportage", + "Financiele rapportage" + ] + } + }, + "/api/accountingyear": { + "get": { + "description": "Retrieve accounting years for financial reporting periods", + "summary": "accountingyear 2.0", + "operationId": "getconnector-accountingyear-get-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + }, + "StartDate": { + "type": "string", + "format": "date-time" + }, + "EndDate": { + "type": "string", + "format": "date-time" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Id": "313e40a2-1d9d-4672-b852-209f9ea9e167", + "Description": "2024", + "StartDate": "2024-01-01T00:00:00Z", + "EndDate": "2024-12-31T00:00:00Z" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële dashboarding", + "Publiek: Financiële rapportage", + "Financiele rapportage" + ] + } + }, + "/api/addresses": { + "get": { + "description": "Retrieve multiple addresses with detailed contact information", + "summary": "addresses 1.0", + "operationId": "getconnector-addresses-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "StreetName": { + "type": "string" + }, + "HouseNumber": { + "type": "string" + }, + "HouseNumberAddition": { + "type": "string" + }, + "PostalZone": { + "type": "string" + }, + "CityName": { + "type": "string" + }, + "CountryName": { + "type": "string" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "IsPreferedInvoiceAddress": { + "type": "boolean" + }, + "IsPreferedSupplierAddress": { + "type": "boolean" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202409230720571", + "Result": [ + { + "Id": "56528a1b-4bea-5699-abb8-f66155e9c497", + "StreetName": "Reactorweg", + "HouseNumber": "47", + "HouseNumberAddition": null, + "PostalZone": "3542 AD", + "RelationId": "4fa13b8e-44dc-5cf7-b2ef-35e14be401e8", + "IsPreferedInvoiceAddress": true, + "IsPreferedSupplierAddress": true, + "CityName": "Utrecht", + "CountryName": "Nederland", + "RelationType": "organisation" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Relatiemanagement", + "Relaties", + "Publiek: Facturatie", + "Verkoopfactuur" + ] + } + }, + "/api/administration": { + "get": { + "description": "ListAdministration", + "summary": "administration 1.0", + "operationId": "getconnector-administration-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Description Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Description": { + "type": "string" + }, + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "Id": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "EnYoi Holding B.V.", + "InstanceId": "701b747b-eea2-5ed1-8518-973e5c670252" + }, + { + "Id": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "EnYoi ICT Services B.V.", + "InstanceId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Loonjournaalpost", + "POS Transacties", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Verkoopfactuur", + "Verkoopjournaalpost" + ] + } + }, + "/api/administrations": { + "get": { + "description": "Retrieve all available administrations and their details", + "summary": "administrations 1.0", + "operationId": "getconnector-administrations-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Description Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Description": { + "type": "string" + }, + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "Id": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "EnYoi Holding B.V.", + "InstanceId": "701b747b-eea2-5ed1-8518-973e5c670252" + }, + { + "Id": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "EnYoi ICT Services B.V.", + "InstanceId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële dashboarding", + "Publiek: Financiële journaalpost", + "Financiële journaalpost", + "Publiek: Financiële rapportage", + "Financiele rapportage", + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Loonjournaalpost", + "Publiek: POS Transacties", + "POS Transacties", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Relatiemanagement", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/balancetotalscurrentyear": { + "get": { + "description": "Retrieve cumulative ledger account totals for balance sheet reporting of the current year", + "summary": "balancetotalscurrentyear 1.0", + "operationId": "getconnector-balancetotalscurrentyear-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid" + }, + "LedgerAccount": { + "type": "string" + }, + "RgsCode": { + "type": "string" + }, + "RgsDescription": { + "type": "string" + }, + "LedgerAccountNumber": { + "type": "string" + }, + "Total": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "9e24a672-ee34-5429-8936-0ef2e7b0b498", + "LedgerAccount": "Reservering vakantiegeld (1750)", + "LedgerAccountNumber": "1750", + "RgsCode": "BSchSalTvg", + "RgsDescription": "Te betalen vakantiegeld", + "Total": -4724.9, + "InstanceId": "a1ad4d2b-3659-4b04-94dc-1c24e39a7f56" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "ef3fdcea-7739-507d-b36f-1184ece8b47d", + "LedgerAccount": "Rekening courant Holding (1350)", + "LedgerAccountNumber": "1350", + "RgsCode": "BVorVopVr1", + "RgsDescription": "Rekening-courant participant en op maatschappij waarin wordt deelgenomen 1 (kortlopend)", + "Total": 25479.66, + "InstanceId": "838e0eb3-d200-4702-ac09-99c1409b7856" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "69c7bc36-b185-5c53-95e3-2a1ac885a89d", + "LedgerAccount": "Bank rekening courant (1100)", + "LedgerAccountNumber": "1100", + "RgsCode": "BLimBanRba", + "RgsDescription": "Rekening-courant bank", + "Total": 149715.39, + "InstanceId": "1d1d74b5-4779-4081-9bd8-14521ddd08ac" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "c500f1af-65e5-5691-9921-387a68e6125a", + "LedgerAccount": "Te betalen loonheffing (1710)", + "LedgerAccountNumber": "1710", + "RgsCode": "BSchBepLhe", + "RgsDescription": "Te betalen Loonheffing", + "Total": -162.12, + "InstanceId": "8ed241ed-7158-4c65-bd58-fb2ee4306ae1" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "d040aa8b-213f-5d2a-8b87-3a408a77f689", + "LedgerAccount": "Kruisposten (2300)", + "LedgerAccountNumber": "2300", + "RgsCode": "BLimKruSto", + "RgsDescription": "Stortingen onderweg", + "Total": -5000.0, + "InstanceId": "3dd94556-d75e-4c5a-a05f-f31491fe3f10" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "7426cb28-2b1f-5984-ba90-4243140d1483", + "LedgerAccount": "Debiteuren (1300)", + "LedgerAccountNumber": "1300", + "RgsCode": "BVorDebHad", + "RgsDescription": "Handelsdebiteuren nominaal", + "Total": 29179.63, + "InstanceId": "d9f5a038-b94d-4524-bf69-7393646c77b2" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "dde87670-e2b8-5f67-a380-51ebc58f4654", + "LedgerAccount": "Vooruitbetalingen aan crediteuren (1618)", + "LedgerAccountNumber": "1618", + "RgsCode": "BVorOvrVrb", + "RgsDescription": "Vooruitbetalingen", + "Total": 745.36, + "InstanceId": "5e05e35a-a7f8-4a7d-8004-0f5cf5fdd11b" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "d2ccb3c1-c855-53fd-a23e-5c6f370f2e9a", + "LedgerAccount": "Reservering vakantiedagen (1751)", + "LedgerAccountNumber": "1751", + "RgsCode": "BSchSalTbv", + "RgsDescription": "Reservering vakantiedagen", + "Total": -4038.57, + "InstanceId": "8497d6d3-f9c1-4539-a6c5-55c72a047420" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "4cca9db9-463e-5085-9255-6ebf5c976d91", + "LedgerAccount": "Onverdeeld resultaat (0900)", + "LedgerAccountNumber": "0900", + "RgsCode": "BEivOreOvw", + "RgsDescription": "Niet verdeelde winst", + "Total": -440737.76, + "InstanceId": "9aed74cc-c93f-47f4-b9b2-1c9793a6a958" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "997986ad-db19-5813-8138-7522be4424e5", + "LedgerAccount": "Bank spaarrekening (1101)", + "LedgerAccountNumber": "1101", + "RgsCode": "BLimBanRba", + "RgsDescription": "Rekening-courant bank", + "Total": 323000.0, + "InstanceId": "4e706153-9cb4-47b1-87c7-4962cf46bb12" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "905bd442-24d7-50a0-a7a1-97b03e145caf", + "LedgerAccount": "Nog te leveren goederen en diensten (1615)", + "LedgerAccountNumber": "1615", + "RgsCode": "BSchOpaOop", + "RgsDescription": "Overige overlopende passiva", + "Total": -1.3, + "InstanceId": "f1368cf9-a2e3-44e2-8198-f972505a4f72" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "4c13c6f4-b378-5683-87a1-98f7b08ad2ae", + "LedgerAccount": "Te betalen netto lonen en salarissen (1700)", + "LedgerAccountNumber": "1700", + "RgsCode": "BSchSalNet", + "RgsDescription": "Netto lonen", + "Total": -9933.6, + "InstanceId": "0af65bbb-bf63-4ba9-8aa9-96f383b50844" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "a21a8669-8ac3-5c0f-8c31-9cef62920dc6", + "LedgerAccount": "Inventaris en inrichting (> € 450) (0230)", + "LedgerAccountNumber": "0230", + "RgsCode": "BMvaBeiVvp", + "RgsDescription": "Verkrijgings- of vervaardigingsprijs", + "Total": 21886.45, + "InstanceId": "611c2e87-f2bb-4971-834e-d21971edb042" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "e41c8413-ad18-5dba-8ed2-b3fb5f0a260d", + "LedgerAccount": "Afschrijving inventaris en inrichting (0235)", + "LedgerAccountNumber": "0235", + "RgsCode": "BMvaBeiCae", + "RgsDescription": "Cumulatieve afschrijvingen en waardeverminderingen", + "Total": -9427.38, + "InstanceId": "e17df5ec-d6b9-43f2-8e22-db51d770a167" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "e216c2fb-7041-53b7-bcc0-b62624a41e24", + "LedgerAccount": "Betalingen onderweg (crediteur) (1605)", + "LedgerAccountNumber": "1605", + "RgsCode": "BSchCreTus", + "RgsDescription": "Tussenrekening betalingen crediteuren (betalingen onderweg)", + "Total": -58670.8, + "InstanceId": "cdde21f6-65b0-4af8-acdd-af2fbd998f06" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "99d9e227-c3f8-52c1-b401-b7d87f72e12e", + "LedgerAccount": "Crediteuren (1600)", + "LedgerAccountNumber": "1600", + "RgsCode": "BSchCreHac", + "RgsDescription": "Handelscrediteuren nominaal", + "Total": -17034.92, + "InstanceId": "3f75c458-591d-46ee-855a-2f48d09f818f" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "0f1a9eea-a0e9-5ba7-8a75-f0eb41dfa0ce", + "LedgerAccount": "Btw (1800)", + "LedgerAccountNumber": "1800", + "RgsCode": "BSchBepBtw", + "RgsDescription": "Te betalen Omzetbelasting", + "Total": -275.14, + "InstanceId": "90944025-2bed-42c5-8714-9d3ff87d236c" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "47661976-6998-5be2-8bee-0fa2e0d03a36", + "LedgerAccount": "Te betalen loonheffing (1710)", + "LedgerAccountNumber": "1710", + "RgsCode": "BSchBepLhe", + "RgsDescription": "Te betalen Loonheffing", + "Total": -64.83, + "InstanceId": "84919864-74b1-4298-bf32-5c552e4e2114" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "24b17b57-5c49-5295-9fc1-11fd86024986", + "LedgerAccount": "Onverdeeld resultaat (0900)", + "LedgerAccountNumber": "0900", + "RgsCode": "BEivOreOvw", + "RgsDescription": "Niet verdeelde winst", + "Total": -38055.05, + "InstanceId": "b1636906-5391-4e44-8613-e3b49565c920" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "ff16b9a1-a3a6-5966-aab6-2cbb0f3db04d", + "LedgerAccount": "Reservering verlof in geld (1754)", + "LedgerAccountNumber": "1754", + "RgsCode": "BSchSalOrn", + "RgsDescription": "Overige reserveringen", + "Total": -5539.19, + "InstanceId": "468d4c87-5733-4745-b06e-157b21118e07" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "6cef9a54-6578-5f9c-a87e-3de7670c4a85", + "LedgerAccount": "Reservering vakantiegeld (1750)", + "LedgerAccountNumber": "1750", + "RgsCode": "BSchSalTvg", + "RgsDescription": "Te betalen vakantiegeld", + "Total": -1061.34, + "InstanceId": "35e05fc1-44b3-48c9-8ffc-425ca4a1664e" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "ed216772-2170-52aa-8ee8-452bc3c2e7a2", + "LedgerAccount": "Afschrijving auto's en andere vervoermiddelen (0265)", + "LedgerAccountNumber": "0265", + "RgsCode": "BMvaTevCae", + "RgsDescription": "Cumulatieve afschrijvingen en waardeverminderingen", + "Total": -33143.7, + "InstanceId": "d58903e5-67b2-46b2-a47e-bafd017f3815" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "3a4ff161-fb0f-543e-b73b-62970ac684b4", + "LedgerAccount": "Rekening courant Services (1350)", + "LedgerAccountNumber": "1350", + "RgsCode": "BVorVopVr1", + "RgsDescription": "Rekening-courant participant en op maatschappij waarin wordt deelgenomen 1 (kortlopend)", + "Total": -25479.66, + "InstanceId": "60f63b7b-fea3-4de2-84de-9cda0ae38b71" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "41205a02-3695-5d9a-aff2-6d9f9fc8501d", + "LedgerAccount": "Crediteuren (1600)", + "LedgerAccountNumber": "1600", + "RgsCode": "BSchCreHac", + "RgsDescription": "Handelscrediteuren nominaal", + "Total": -2524.0, + "InstanceId": "1a1d5f8d-e9aa-46e8-b468-959a2c168830" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "7b87e785-7cf3-5507-9087-8837254dad1b", + "LedgerAccount": "Incasso onderweg (2350)", + "LedgerAccountNumber": "2350", + "RgsCode": "BSchTusTov", + "RgsDescription": "Tussenrekeningen overig", + "Total": 2402.0, + "InstanceId": "eced9d97-83fc-4c14-9f58-1e5a52fec4a5" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "f220deca-1cf7-54fd-bf2a-907092148904", + "LedgerAccount": "Btw (1800)", + "LedgerAccountNumber": "1800", + "RgsCode": "BSchBepBtw", + "RgsDescription": "Te betalen Omzetbelasting", + "Total": -7413.0, + "InstanceId": "54c5b5eb-d85c-4339-8925-c2366c8253c4" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "2bf5283a-eaf4-5a7d-b7fd-b590941b98e2", + "LedgerAccount": "Bank spaarrekening (1101)", + "LedgerAccountNumber": "1101", + "RgsCode": "BLimBanRba", + "RgsDescription": "Rekening-courant bank", + "Total": 73500.0, + "InstanceId": "23c4bcdd-827b-4e54-b78b-0965bba9c2f9" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "9c6f024c-527f-5cfb-b36c-c4714a31fc34", + "LedgerAccount": "Auto's en andere vervoermiddelen (0260)", + "LedgerAccountNumber": "0260", + "RgsCode": "BMvaTevVvp", + "RgsDescription": "Verkrijgings- of vervaardigingsprijs", + "Total": 41305.79, + "InstanceId": "e8b19f11-8eb1-485f-83ce-10fc77d34866" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "dc2ec452-94a8-50e0-ab10-e44c0a350c05", + "LedgerAccount": "Bank rekening courant (1100)", + "LedgerAccountNumber": "1100", + "RgsCode": "BLimBanRba", + "RgsDescription": "Rekening-courant bank", + "Total": 4206.91, + "InstanceId": "4a0a3a6b-dfeb-47b7-8a94-4b3596646f16" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "458fe3de-c216-597c-b8a5-f34f6dfc53b3", + "LedgerAccount": "Te betalen netto lonen en salarissen (1700)", + "LedgerAccountNumber": "1700", + "RgsCode": "BSchSalNet", + "RgsDescription": "Netto lonen", + "Total": -8133.93, + "InstanceId": "63224b9f-8ab8-435a-a394-927e3de3f607" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële dashboarding", + "Publiek: Financiële rapportage", + "Financiele rapportage" + ] + } + }, + "/api/bankaccounts": { + "get": { + "description": "Get bankaccount for organisation or person.", + "summary": "bankaccounts 1.0", + "operationId": "getconnector-bankaccounts-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "AccountNumber": { + "type": "string" + }, + "RelationIsOrganisationOrAdministration": { + "type": "boolean" + }, + "PreferredIncomingPayments": { + "type": "boolean" + }, + "PreferredOutgoingPayments": { + "type": "boolean" + }, + "RelationId": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "bankaccounts": { + "value": { + "TrackingToken": "202406211216501", + "Result": [ + { + "Id": "0d83610b-e1fc-53a2-a951-00f9098e0154", + "AccountNumber": "NL10INGB0675488052", + "RelationId": "b323458f-5bae-542b-8294-9040c9801805" + }, + { + "Id": "dd6cbc4b-6ec6-59c0-95ca-020b5977b39a", + "AccountNumber": "NL16RABO0300417497", + "RelationId": "b24405d6-fee2-52f5-8f24-c1a0180e46f2" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Relatiemanagement", + "Relaties", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/cashregisters": { + "get": { + "description": "Retrieve cash register configurations and settings", + "summary": "cashregisters 1.0", + "operationId": "getconnector-cashregisters-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "InstanceId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "cashregisters": { + "value": [ + { + "InstanceId": "265424ab-253e-57d4-9d65-036c65ad05c8", + "Description": "Kas", + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8" + }, + { + "InstanceId": "25e93133-ec28-543f-9f23-312ddb4e10a3", + "Description": "Kas", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: POS Transacties", + "POS Transacties" + ] + } + }, + "/api/contacts": { + "get": { + "description": "Retrieve contact information for persons and organizations", + "summary": "contacts 1.0", + "operationId": "getconnector-contacts-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "OrganisationId": { + "type": "string", + "format": "uuid" + }, + "PersonId": { + "type": "string", + "format": "uuid" + }, + "Name": { + "type": "string" + }, + "Firstname": { + "type": "string" + }, + "Initials": { + "type": "string" + }, + "Prefix": { + "type": "string" + }, + "Lastname": { + "type": "string" + }, + "PhoneNumber": { + "type": "string" + }, + "Emailaddress": { + "type": "string" + }, + "ExternalId": { + "type": "string" + }, + "IsArchived": { + "type": "boolean" + }, + "PersonIsArchived": { + "type": "boolean" + }, + "OrganisationIsArchived": { + "type": "boolean" + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202403280856491", + "Result": [ + { + "Id": "0236d0dc-b5be-5b6e-b191-17f6b767aa5b", + "IsArchived": false, + "OrganisationId": "e97ecfe3-8bcb-5baf-82e4-4e46b2b02126", + "OrganisatieIsArchived": false, + "Name": "Peter de Jager", + "FirstName": "Peter", + "Initials": "P.", + "Prefix": "de", + "Lastname": "Jager", + "ExternalId": null, + "PersoonIsArchived": false + }, + { + "Id": "2c5b3f1d-1689-5257-9ab2-2ba634203b2c", + "IsArchived": false, + "OrganisationId": "c589e4b3-d131-5a1b-9eca-44dd2fc17600", + "OrganisatieIsArchived": false, + "Name": "Trudie Feenstra", + "FirstName": "Trudie", + "Initials": "T.", + "Prefix": null, + "Lastname": "Feenstra", + "ExternalId": null, + "PersoonIsArchived": false + }, + { + "Id": "416b5ea9-93bd-5cfc-af07-37f1681da00b", + "IsArchived": false, + "OrganisationId": "bb3fd8ef-5a0e-5919-8e67-77b396abf212", + "OrganisatieIsArchived": false, + "Name": "Yousef Martiqui", + "FirstName": "Yousef", + "Initials": "Y.", + "Prefix": null, + "Lastname": "Martiqui", + "ExternalId": null, + "PersoonIsArchived": false + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Relatiemanagement", + "Relaties" + ] + } + }, + "/api/countries": { + "get": { + "description": "Retrieve country information with ISO codes and descriptions", + "summary": "countries 1.0", + "operationId": "getconnector-countries-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + }, + "CodeISOAlpha2": { + "type": "string" + } + } + } + }, + "examples": { + "countries": { + "value": { + "TrackingToken": "202406211218251", + "Result": [ + { + "Id": "afa50000-0000-0ab9-bf40-00958bc94cc8", + "Description": "Tadzjikistan", + "CodeISOAlpha2": "TJ" + }, + { + "Id": "afa50000-0000-0be2-8a70-01f36103d3cd", + "Description": "Heard Eiland en McDonald Eilanden", + "CodeISOAlpha2": "HM" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Relatiemanagement", + "Relaties" + ] + } + }, + "/api/creditorbalance": { + "get": { + "description": "Retrieve creditor balance information for suppliers", + "summary": "creditorbalance 1.0", + "operationId": "getconnector-creditorbalance-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "RelationName": { + "type": "string" + }, + "LastCompleted": { + "type": "string", + "format": "date-time" + }, + "OutstandingAmount": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "OutstandingAmount": 1586.31, + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "296a5ec3-0efb-528d-9afd-7ab3b3c914c1", + "RelationName": "Stichting Mollie Payments", + "InstanceId": "8b0ecc00-2b87-4eaa-bd19-3b9db7f297c4", + "RelationType": "organisation" + }, + { + "OutstandingAmount": 28597.14, + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "RelationName": "AFAS Software B.V.", + "InstanceId": "072672c2-c859-4eef-a0be-7e760b57af6f", + "RelationType": "organisation" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Crediteuren" + ] + } + }, + "/api/creditorinvoicebalance": { + "get": { + "description": "Retrieve creditor invoice balance details for payable transactions", + "summary": "creditorinvoicebalance 1.0", + "operationId": "getconnector-creditorinvoicebalance-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "InvoiceNumber Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "InvoiceNumber": { + "type": "string" + }, + "InvoiceDate": { + "type": "string", + "format": "date-time" + }, + "CustomerReference": { + "type": "string" + }, + "DueDate": { + "type": "string", + "format": "date-time" + }, + "InternalInvoiceNumber": { + "type": "string" + }, + "InvoiceId": { + "type": "string", + "format": "uuid" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "RelationName": { + "type": "string" + }, + "LastCompleted": { + "type": "string", + "format": "date-time" + }, + "OutstandingAmount": { + "type": "number" + }, + "PaidAmount": { + "type": "number" + }, + "ProcessingAmount": { + "type": "number" + }, + "TotalAmount": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "OutstandingAmount": 1586.31, + "PaidAmount": 0.0, + "ProcessingAmount": 0.0, + "TotalAmount": 1586.31, + "DueDate": "2024-12-13T00:00:00Z", + "InvoiceId": "1ae8da84-9dd1-427a-a636-25aa53162dbf", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "InvoiceNumber": "123", + "InvoiceDate": "2024-12-13T00:00:00Z", + "CustomerReference": null, + "InternalInvoiceNumber": "IF240003", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "296a5ec3-0efb-528d-9afd-7ab3b3c914c1", + "RelationName": "Stichting Mollie Payments", + "InstanceId": "9ea0e72a-b424-485d-82b1-09363aefcdce", + "RelationType": "organisation" + }, + { + "OutstandingAmount": 28341.83, + "PaidAmount": 0.0, + "ProcessingAmount": 0.0, + "TotalAmount": 28341.83, + "DueDate": "2024-12-27T00:00:00Z", + "InvoiceId": "b3823933-d138-468a-a071-4e517feca9b9", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "InvoiceNumber": "20241231", + "InvoiceDate": "2024-12-13T00:00:00Z", + "CustomerReference": null, + "InternalInvoiceNumber": "IF240001", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "RelationName": "AFAS Software B.V.", + "InstanceId": "b7e76bdf-1152-4d54-8224-ad6a421fc84f", + "RelationType": "organisation" + }, + { + "OutstandingAmount": 255.31, + "PaidAmount": 0.0, + "ProcessingAmount": 0.0, + "TotalAmount": 255.31, + "DueDate": "2025-01-14T00:00:00Z", + "InvoiceId": "6a25941f-2c35-4736-b963-6c63be0e82b4", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "InvoiceNumber": "20241232", + "InvoiceDate": "2024-12-31T00:00:00Z", + "CustomerReference": null, + "InternalInvoiceNumber": "IF240002", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "RelationName": "AFAS Software B.V.", + "InstanceId": "ac5f3b30-6296-4864-86c6-cecede47984d", + "RelationType": "organisation" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Crediteuren" + ] + } + }, + "/api/debtorbalance": { + "get": { + "description": "Retrieve debtor balance information for customers", + "summary": "debtorbalance 2.0", + "operationId": "getconnector-debtorbalance-get-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "RelationName": { + "type": "string" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "LastCompleted": { + "type": "string", + "format": "date-time" + }, + "OutstandingAmount": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "OutstandingAmount": 684.86, + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "RelationName": "AFAS Software B.V.", + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "InstanceId": "9b9c7f38-d059-4a9c-b3a0-3e0562bd0115", + "RelationType": "organisation" + }, + { + "OutstandingAmount": 640.09, + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "RelationName": "Mollie B.V.", + "RelationId": "3709fb45-c646-5cca-8de7-e6433404316a", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "InstanceId": "d33f3c36-d120-448c-92bd-0dbdeb2985bd", + "RelationType": "organisation" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Debiteuren" + ] + } + }, + "/api/debtorinvoicebalance": { + "get": { + "description": "Retrieve debtor invoice balance details for receivable transactions", + "summary": "debtorinvoicebalance 3.0", + "operationId": "getconnector-debtorinvoicebalance-get-3.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "3.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "InvoiceDate": { + "type": "string", + "format": "date-time" + }, + "DueDate": { + "type": "string", + "format": "date-time" + }, + "InvoiceNumber": { + "type": "string" + }, + "CustomerReference": { + "type": "string" + }, + "RelationName": { + "type": "string" + }, + "InvoiceId": { + "type": "string", + "format": "uuid" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "LastCompleted": { + "type": "string", + "format": "date-time" + }, + "OutstandingAmount": { + "type": "number" + }, + "TotalAmount": { + "type": "number" + }, + "PaidAmount": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "OutstandingAmount": 123.42, + "TotalAmount": 123.42, + "PaidAmount": 0.0, + "DueDate": "2024-12-27T00:00:00Z", + "InvoiceId": "a9095b6f-990d-4f5a-bda3-737939ab5fda", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "InvoiceDate": "2024-12-13T00:00:00Z", + "InvoiceNumber": "VF240002", + "CustomerReference": null, + "RelationName": "AFAS Software B.V.", + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "InstanceId": "206b831d-d5b1-43cd-a6d3-949bab3f45ee", + "RelationType": "organisation" + }, + { + "OutstandingAmount": 561.44, + "TotalAmount": 561.44, + "PaidAmount": 0.0, + "DueDate": "2024-12-27T00:00:00Z", + "InvoiceId": "157f441e-530d-4571-b6f7-e6681dc0ddac", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "InvoiceDate": "2024-12-13T00:00:00Z", + "InvoiceNumber": "VF240001", + "CustomerReference": null, + "RelationName": "AFAS Software B.V.", + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "InstanceId": "3f5ac81a-89d5-423d-ad2c-dea22585dc36", + "RelationType": "organisation" + }, + { + "OutstandingAmount": 640.09, + "TotalAmount": 640.09, + "PaidAmount": 0.0, + "DueDate": "2024-12-27T00:00:00Z", + "InvoiceId": "5fa9bfee-7a07-4ea9-b438-f19b3cdda6ca", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "InvoiceDate": "2024-12-13T00:00:00Z", + "InvoiceNumber": "VF240003", + "CustomerReference": null, + "RelationName": "Mollie B.V.", + "RelationId": "3709fb45-c646-5cca-8de7-e6433404316a", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "InstanceId": "961616ec-27db-436c-bd86-eb95a46bb141", + "RelationType": "organisation" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "3.0", + "deprecated": false, + "tags": [ + "Debiteuren", + "Publiek: Externe facturatie" + ] + } + }, + "/api/debtorpaymentterms": { + "get": { + "description": "Retrieve payment terms configured for debtor relationships", + "summary": "debtorpaymentterms 1.0", + "operationId": "getconnector-debtorpaymentterms-get-1.0", + "parameters": [ + { + "in": "query", + "name": "BusinessActivityVersion", + "schema": { + "type": "integer" + } + }, + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministationId": { + "type": "string", + "format": "uuid" + }, + "OrganisationId": { + "type": "string", + "format": "uuid" + }, + "PersonId": { + "type": "string", + "format": "uuid" + }, + "UnknownRelationId": { + "type": "string", + "format": "uuid" + }, + "InvoiceDate": { + "type": "string", + "format": "date-time" + }, + "InvoiceId": { + "type": "string" + }, + "Address": { + "type": "string" + }, + "AddressId": { + "type": "string", + "format": "uuid" + }, + "DueDate": { + "type": "string", + "format": "date-time" + }, + "RelationId": { + "type": "string" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "DueDate": "2024-02-16T00:00:00Z", + "AdministationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "InvoiceDate": "2024-02-02T00:00:00Z", + "InvoiceId": "V01240018", + "CustomerId": "c9e0fced-a61e-544e-b7ca-3e0428579f9f", + "CustomerName": "Administratiekantoor Beers", + "OrganisationId": "bb3fd8ef-5a0e-5919-8e67-77b396abf212", + "AddressId": "9e009e67-42d5-508c-9939-eb09cadb8f81", + "Address": "Postbus 779, 2700 AT, Zoetermeer, Nederland" + }, + { + "DueDate": "2024-02-02T00:00:00Z", + "AdministationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "InvoiceDate": "2024-01-19T00:00:00Z", + "InvoiceId": "V01240012", + "CustomerId": "c6734a65-7205-59e7-9777-ed5aef340c68", + "CustomerName": "Bus Grondstoffen B.V.", + "OrganisationId": "1ac6ea9d-9a7f-54f4-b9ef-fe161a55d9f6", + "AddressId": "b6fc9651-1785-53f9-9862-d7a2c84d664b", + "Address": "Eerste Tochtweg 2, 2913 LP, Capelle aan den IJssel, Nederland" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Debiteuren" + ] + } + }, + "/api/departments": { + "get": { + "description": "Retrieve department (afdeling) information", + "summary": "departments 1.0", + "operationId": "getconnector-departments-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "Omschrijving": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "9d2ea1b9-1ac5-4791-a20b-25518d9c280c", + "Omschrijving": "PD Profit" + }, + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "3ddc484c-dcbe-42ba-b621-599acb04648d", + "Omschrijving": "PD Focus" + }, + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "43d4aa9d-0219-44b8-a8cb-878a61a61638", + "Omschrijving": "Directie" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/featuretoggles": { + "get": { + "description": "Retrieve feature toggle settings and configurations", + "summary": "featuretoggles 1.0", + "operationId": "getconnector-featuretoggles-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "SalesInvoices": { + "type": "boolean" + }, + "SalesJournalEntries": { + "type": "boolean" + }, + "LinesToBeInvoiced": { + "type": "boolean" + }, + "Projects": { + "type": "boolean" + }, + "Supplies": { + "type": "boolean" + }, + "Services": { + "type": "boolean" + }, + "FixedAssets": { + "type": "boolean" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "LinesToBeInvoiced": false, + "Projects": false, + "Supplies": true, + "Services": true, + "FixedAssets": true + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "LinesToBeInvoiced": false, + "Projects": false, + "Supplies": true, + "Services": true, + "FixedAssets": true + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "TechnischeInfo" + ] + } + }, + "/api/journalentries": { + "get": { + "description": "Retrieve journal entries for financial bookkeeping", + "summary": "journalentries 1.1", + "operationId": "getconnector-journalentries-get-1.1", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.1" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "HeaderId": { + "type": "string", + "format": "uuid" + }, + "LineId": { + "type": "string", + "format": "uuid" + }, + "AccountingPeriodId": { + "type": "string", + "format": "uuid" + }, + "AccountingYearId": { + "type": "string", + "format": "uuid" + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid" + }, + "AmountDebit": { + "type": "number" + }, + "AmountCredit": { + "type": "number" + }, + "AmountTotal": { + "type": "number" + }, + "Number": { + "type": "string" + }, + "PostingDate": { + "type": "string", + "format": "date-time" + }, + "Description": { + "type": "string" + }, + "DocumentIdentification": { + "type": "string" + }, + "DocumentDate": { + "type": "string", + "format": "date-time" + }, + "VatPercentage": { + "type": "number" + }, + "VatSection": { + "oneOf": [ + { + "const": "Rubriek1a", + "title": "1a verkopen hoog" + }, + { + "const": "Rubriek1b", + "title": "1b verkopen laag" + }, + { + "const": "Rubriek1c", + "title": "1c verkopen overige tarieven" + }, + { + "const": "Rubriek1d", + "title": "1d btw privé" + }, + { + "const": "Rubriek2a", + "title": "2a/5b inkopen verlegd" + }, + { + "const": "Rubriek3a", + "title": "3a verkopen buiten de EU" + }, + { + "const": "Rubriek3b", + "title": "3b verkopen binnen de EU" + }, + { + "const": "Rubriek3c", + "title": "3c afstandsverkopen" + }, + { + "const": "Rubriek4a", + "title": "4a/5b inkopen buiten de EU" + }, + { + "const": "Rubriek4b", + "title": "4b/5b inkopen binnen de EU" + }, + { + "const": "Rubriek5b", + "title": "5b voorbelasting" + }, + { + "const": "Rubriek1e", + "title": "1e verkopen 0%" + } + ] + }, + "VatAmount": { + "type": "number" + }, + "AuditCreatedOnDate": { + "type": "string", + "format": "date-time" + } + } + } + }, + "examples": { + "journalentries": { + "value": [ + { + "LineId": "20a899d9-7a95-56f7-a54b-000b17fb8d24", + "AmountDebit": 3932.17, + "AmountCredit": 0.0, + "AmountTotal": 3932.17, + "VatPercentage": null, + "VatSection": null, + "VatAmount": null, + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "HeaderId": "938afbd9-f317-53af-bcde-b1c8e5d28472", + "Number": "2477", + "PostingDate": "2022-10-31T00:00:00Z", + "DocumentDate": "2022-10-31T00:00:00Z", + "AccountingPeriodId": "59aaf644-e6da-45eb-962f-bc37555d4262", + "AccountingYearId": "f37fc13c-870f-45ae-96e1-a5fa70c861c1", + "LedgerAccountId": "349016af-3fa7-5b11-b77d-454cc05a17ee", + "Description": "Overige uitgave - NL77ABNA0441631347 - Salarisbetaling", + "DocumentIdentification": null + }, + { + "LineId": "a34bf47d-ecab-5185-b4ac-002cdb062855", + "AmountDebit": 88.94, + "AmountCredit": 0.0, + "AmountTotal": 88.94, + "VatPercentage": null, + "VatSection": null, + "VatAmount": null, + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "HeaderId": "c0c3b86b-a023-5838-9353-ceb1ab7198fa", + "Number": "2112", + "PostingDate": "2024-04-02T00:00:00Z", + "DocumentDate": "2024-03-15T00:00:00Z", + "AccountingPeriodId": "49a93c26-2f8c-44c3-9be2-552f3b6a8fce", + "AccountingYearId": "cc0b784f-a591-4e37-8cb4-ba06374d18df", + "LedgerAccountId": "78685f08-fb5c-593f-a7d8-b4ed2886ef9d", + "Description": "Verkoopfactuur - Erbi Lara B.V.", + "DocumentIdentification": "V01240034" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.1", + "deprecated": false, + "tags": [ + "Publiek: Financiële rapportage", + "Financiele rapportage" + ] + } + }, + "/api/ledgeraccounts": { + "get": { + "description": "Retrieve all ledger accounts", + "summary": "ledgeraccounts 2.0", + "operationId": "getconnector-ledgeraccounts-get-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + }, + "LedgerAccountNumber": { + "type": "string" + }, + "TypeId": { + "type": "string", + "format": "uuid", + "description": "Guid of the ledger account type. See the Type field for the readable label." + }, + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "InvestInAsset": { + "type": "boolean" + }, + "VatAllowed": { + "type": "boolean" + }, + "MethodKeepingQuantitiesId": { + "type": "string", + "format": "uuid", + "nullable": true, + "description": "Guid of the quantity-keeping method, or null. See the MethodKeepingQuantities field for the readable label." + }, + "Unit1Id": { + "type": "string", + "format": "uuid", + "nullable": true, + "description": "Guid of the first quantity unit, or null. See the Unit1 field for the readable label." + }, + "Unit2Id": { + "type": "string", + "format": "uuid", + "nullable": true, + "description": "Guid of the second quantity unit, or null. See the Unit2 field for the readable label." + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "Type": { + "type": "string", + "description": "Readable label of TypeId.", + "enum": [ + "Activa", + "Kosten", + "Opbrengsten", + "Passiva" + ] + }, + "MethodKeepingQuantities": { + "type": "string", + "description": "Readable label of MethodKeepingQuantitiesId. Empty when no quantities are kept.", + "enum": [ + "one", + "two", + "none", + "" + ] + }, + "Unit1": { + "type": "string", + "description": "Readable label of Unit1Id. Empty when not set.", + "enum": [ + "stuks", + "kg", + "hectare", + "" + ] + }, + "Unit2": { + "type": "string", + "description": "Readable label of Unit2Id. Empty when not set.", + "enum": [ + "stuks", + "kg", + "hectare", + "" + ] + } + } + } + }, + "examples": { + "ledgeraccounts": { + "value": [ + { + "Id": "7659d7d8-7f0b-59d2-8ac7-000735359064", + "Description": "Onderhoud inventaris", + "LedgerAccountNumber": "4135", + "TypeId": "61fb169c-b210-44db-b02b-b7260efa817c", + "InstanceId": "7659d7d8-7f0b-59d2-8ac7-000735359064", + "InvestInAsset": false, + "VatAllowed": true, + "MethodKeepingQuantitiesId": null, + "Unit1Id": null, + "Unit2Id": null, + "AdministrationId": "08abf1cf-6953-4708-9ecb-f07c0c93b7fd", + "Type": "Kosten", + "MethodKeepingQuantities": "", + "Unit1": "", + "Unit2": "" + }, + { + "Id": "7ae81359-94a3-5927-9912-0086d10a6e61", + "Description": "Latente belastingvorderingen (kortlopend)", + "LedgerAccountNumber": "0906", + "TypeId": "980eb36a-8bec-45d9-97f6-06dd2c551818", + "InstanceId": "7ae81359-94a3-5927-9912-0086d10a6e61", + "InvestInAsset": false, + "VatAllowed": false, + "MethodKeepingQuantitiesId": null, + "Unit1Id": null, + "Unit2Id": null, + "AdministrationId": "0f4d4e71-4f68-45d9-a722-8699c13c37c4", + "Type": "Activa", + "MethodKeepingQuantities": "", + "Unit1": "", + "Unit2": "" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële dashboarding", + "Publiek: Financiële journaalpost", + "Financiële journaalpost", + "Publiek: Financiële rapportage", + "Financiele rapportage", + "Loonjournaalpost", + "Publiek: POS Transacties", + "POS Transacties", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/ledgerperiodtotals": { + "get": { + "description": "Retrieve ledger account totals grouped by period for reporting", + "summary": "ledgerperiodtotals 1.0", + "operationId": "getconnector-ledgerperiodtotals-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "AccountingYear": { + "type": "string" + }, + "AccountingYearId": { + "type": "string", + "format": "uuid" + }, + "AccountingYearStartDate": { + "type": "string", + "format": "date-time" + }, + "AccountingYearEndDate": { + "type": "string", + "format": "date-time" + }, + "AccountingPeriod": { + "type": "string" + }, + "AccountingPeriodId": { + "type": "string", + "format": "uuid" + }, + "AccountingPeriodStartDate": { + "type": "string", + "format": "date-time" + }, + "AccountingPeriodEndDate": { + "type": "string", + "format": "date-time" + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid" + }, + "LedgerAccount": { + "type": "string" + }, + "IsOpeningBalance": { + "type": "boolean" + }, + "RgsCode": { + "type": "string" + }, + "RgsDescription": { + "type": "string" + }, + "LedgerAccountNumber": { + "type": "string" + }, + "Total": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "Total": -210.0, + "IsOpeningBalance": false, + "AdministrationId": "4fef7d35-e93c-4cb2-b367-0deb692e5647", + "AccountingYearId": "2ebff944-f3d0-4335-a3b7-ff637df54ca4", + "AccountingYear": "2024", + "AccountingYearStartDate": "2024-01-01T00:00:00Z", + "AccountingYearEndDate": "2024-12-31T00:00:00Z", + "AccountingPeriodId": "c2ebc6d5-c5af-4bb5-8fea-2e8a7e91399c", + "AccountingPeriod": "Januari 2024", + "AccountingPeriodStartDate": "2024-01-01T00:00:00Z", + "AccountingPeriodEndDate": "2024-01-31T00:00:00Z", + "LedgerAccountId": "90aee254-9eeb-56af-abe2-064fffbd1c00", + "LedgerAccount": "Te betalen btw (1800)", + "LedgerAccountNumber": "90aee254-9eeb-56af-abe2-064fffbd1c00", + "RgsCode": "BSchBepBtw", + "RgsDescription": "Te betalen Omzetbelasting", + "InstanceId": "b0c63c7b-5b65-469a-bbdf-319579d649b4" + }, + { + "Total": -1000.0, + "IsOpeningBalance": false, + "AdministrationId": "4fef7d35-e93c-4cb2-b367-0deb692e5647", + "AccountingYearId": "2ebff944-f3d0-4335-a3b7-ff637df54ca4", + "AccountingYear": "2024", + "AccountingYearStartDate": "2024-01-01T00:00:00Z", + "AccountingYearEndDate": "2024-12-31T00:00:00Z", + "AccountingPeriodId": "c2ebc6d5-c5af-4bb5-8fea-2e8a7e91399c", + "AccountingPeriod": "Januari 2024", + "AccountingPeriodStartDate": "2024-01-01T00:00:00Z", + "AccountingPeriodEndDate": "2024-01-31T00:00:00Z", + "LedgerAccountId": "8aa84f79-4892-5cae-b6d1-2e4f9365b892", + "LedgerAccount": "Omzet groep 1 (8000)", + "LedgerAccountNumber": "8aa84f79-4892-5cae-b6d1-2e4f9365b892", + "RgsCode": "WOmzGrpGr1", + "RgsDescription": "Netto-omzet groep 1", + "InstanceId": "89bd2a01-d2e0-418d-9585-5c25f5b471e4" + }, + { + "Total": 1210.0, + "IsOpeningBalance": false, + "AdministrationId": "4fef7d35-e93c-4cb2-b367-0deb692e5647", + "AccountingYearId": "2ebff944-f3d0-4335-a3b7-ff637df54ca4", + "AccountingYear": "2024", + "AccountingYearStartDate": "2024-01-01T00:00:00Z", + "AccountingYearEndDate": "2024-12-31T00:00:00Z", + "AccountingPeriodId": "c2ebc6d5-c5af-4bb5-8fea-2e8a7e91399c", + "AccountingPeriod": "Januari 2024", + "AccountingPeriodStartDate": "2024-01-01T00:00:00Z", + "AccountingPeriodEndDate": "2024-01-31T00:00:00Z", + "LedgerAccountId": "2fc1ada7-a66a-5b4b-9644-af29d46865c5", + "LedgerAccount": "Debiteuren (1300)", + "LedgerAccountNumber": "2fc1ada7-a66a-5b4b-9644-af29d46865c5", + "RgsCode": "BVorDebHad", + "RgsDescription": "Handelsdebiteuren nominaal", + "InstanceId": "cf9671f4-96c3-40f6-8048-ebc86c1f2dc4" + }, + { + "Total": -1000.0, + "IsOpeningBalance": false, + "AdministrationId": "4fef7d35-e93c-4cb2-b367-0deb692e5647", + "AccountingYearId": "2ebff944-f3d0-4335-a3b7-ff637df54ca4", + "AccountingYear": "2024", + "AccountingYearStartDate": "2024-01-01T00:00:00Z", + "AccountingYearEndDate": "2024-12-31T00:00:00Z", + "AccountingPeriodId": "c2ebc6d5-c5af-4bb5-8fea-2e8a7e91399c", + "AccountingPeriod": "Januari 2024", + "AccountingPeriodStartDate": "2024-01-01T00:00:00Z", + "AccountingPeriodEndDate": "2024-01-31T00:00:00Z", + "LedgerAccountId": "38b36a37-32a8-5775-8d3a-b118dd32f77a", + "LedgerAccount": "Onverdeeld resultaat (0900)", + "LedgerAccountNumber": "38b36a37-32a8-5775-8d3a-b118dd32f77a", + "RgsCode": "BEivOreOvw", + "RgsDescription": "Niet verdeelde winst", + "InstanceId": "36bc8088-7d06-42b5-9ea1-06d47d4a4fd1" + }, + { + "Total": 1000.0, + "IsOpeningBalance": false, + "AdministrationId": "4fef7d35-e93c-4cb2-b367-0deb692e5647", + "AccountingYearId": "2ebff944-f3d0-4335-a3b7-ff637df54ca4", + "AccountingYear": "2024", + "AccountingYearStartDate": "2024-01-01T00:00:00Z", + "AccountingYearEndDate": "2024-12-31T00:00:00Z", + "AccountingPeriodId": "c2ebc6d5-c5af-4bb5-8fea-2e8a7e91399c", + "AccountingPeriod": "Januari 2024", + "AccountingPeriodStartDate": "2024-01-01T00:00:00Z", + "AccountingPeriodEndDate": "2024-01-31T00:00:00Z", + "LedgerAccountId": "e8485631-976a-55f6-8c16-c031723460b1", + "LedgerAccount": "Overboeking van het resultaat (9999)", + "LedgerAccountNumber": "e8485631-976a-55f6-8c16-c031723460b1", + "RgsCode": "ResultaatNiveau2", + "RgsDescription": "Resultaat", + "InstanceId": "4e7b8b7d-d577-4cdd-9748-20e4742b8880" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële dashboarding", + "Publiek: Financiële rapportage", + "Financiele rapportage" + ] + } + }, + "/api/linestobeinvoiced": { + "get": { + "description": "Retrieve lines that are pending to be invoiced", + "summary": "linestobeinvoiced 1.0", + "operationId": "getconnector-linestobeinvoiced-get-1.0", + "parameters": [ + { + "in": "query", + "name": "BusinessActivityVersion", + "schema": { + "type": "integer" + } + }, + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "InstanceId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "RelationNumber": { + "type": "string" + }, + "RelationDescription": { + "type": "string" + }, + "ProductId": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + }, + "Quantity": { + "type": "number" + }, + "Price": { + "type": "number" + }, + "TotalAmount": { + "type": "number" + }, + "ProjectId": { + "type": "string", + "format": "uuid" + }, + "ProjectDescription": { + "type": "string" + }, + "Status": { + "oneOf": [ + { + "const": "TODO", + "title": "te factureren" + }, + { + "const": "BUSY", + "title": "onderweg" + }, + { + "const": "DONE", + "title": "gefactureerd" + }, + { + "const": "DONEEDIT", + "title": "bezig met wijzigen van gefactureerd" + }, + { + "const": "DONEERROR", + "title": "in fout staat" + }, + { + "const": "REDO", + "title": "opnieuw te factureren" + }, + { + "const": "CANNOTBEDONE", + "title": "niet te factureren" + }, + { + "const": "CANNOTBEREDONE", + "title": "niet opnieuw te factureren" + }, + { + "const": "TOCREDIT", + "title": "te crediteren" + }, + { + "const": "CREDITED", + "title": "gecrediteerd" + }, + { + "const": "DELETED", + "title": "verwijderd" + }, + { + "const": "TODOERROR", + "title": "in fout staat" + }, + { + "const": "TODOEDIT", + "title": "bezig met wijzigen van te factureren" + }, + { + "const": "TODOPENDING", + "title": "bezig met wachten" + }, + { + "const": "REPLACED", + "title": "gespecificeerd" + }, + { + "const": "TOSPECIFY", + "title": "af te letteren" + }, + { + "const": "SPECIFIED", + "title": "afgeletterd" + }, + { + "const": "ALTERNATIVELYSPECIFIED", + "title": "alternatief gespecificeerd" + }, + { + "const": "INITIALIZED", + "title": "geïnitialiseerd" + }, + { + "const": "INITIALIZEDEDIT", + "title": "geïnitialiseerd" + }, + { + "const": "PENDINGAPPROVAL", + "title": "te accorderen" + }, + { + "const": "PENDINGCOMPLETION", + "title": "te factureren" + }, + { + "const": "COMPLETED", + "title": "gefactureerd" + }, + { + "const": "DECLINED", + "title": "afgewezen" + }, + { + "const": "TEMPLATE", + "title": "sjabloon" + }, + { + "const": "TEMPLATEEDIT", + "title": "bezig met wijzigen van factureren" + }, + { + "const": "TEMPLATEERROR", + "title": "in fout staat" + } + ] + }, + "SalesInvoiceNumber": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "InstanceId": "fcb31b25-8da1-4a90-ae33-a93d932184f0", + "Ownorganization": { + "Id": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "ComponentId": "cbb9b7ef-ef04-4c84-9e80-4989bd526865" + }, + "DatumGepland": "2024-12-04T00:00:00Z", + "Klant": { + "Id": "509e24de-67fb-4e02-b149-f8c615fef64c", + "ComponentId": "8e352e23-04af-45b7-952a-0afc7575ea7a" + }, + "ProjectKoppelen": true, + "Project": { + "Id": "e03c053d-3e72-400b-821d-c3398edf1ccc", + "ComponentId": "497fc9c2-340d-4d18-b097-c6bbd06bbab7" + }, + "Verkoopproduct": { + "Id": "aaf04330-151c-44d9-9700-8793b1c0d4b4", + "ComponentId": "230b4172-613e-4e1b-9ed5-93496c4eed6b" + }, + "Description": "AFAS Software B.V. (000003) - 04-12-2024", + "Aantal": 32.0, + "Prijs": 539.7, + "Bedrag": 17270.4, + "MethodeBepalenPrijs": "52085b0b-a85a-418e-8e33-a00e48666512", + "Status": "692a0b09-b83b-44cb-b75a-e431eb66302f", + "KlantDescription": "AFAS Software B.V. (000003)", + "ProjectDescription": "Implementation Exceptional", + "VerkoopproductDescription": "Acer Laptop (3320, 000001)" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels" + ] + }, + "post": { + "description": "Create lines to be invoiced for billing processes", + "summary": "linestobeinvoiced 1.0", + "operationId": "updateconnector-linestobeinvoiced-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "linestobeinvoiced 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/linestobeinvoiced-1.0-Create-JsonSchema" + }, + "examples": { + "new linestobeinvoiced": { + "value": { + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "Date": "2024-12-04", + "Description": "Dell Laptop", + "RelationType": "organisation", + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "ItemId": "aaf04330-151c-44d9-9700-8793b1c0d4b4", + "Quantity": 32, + "ProjectId": "e03c053d-3e72-400b-821d-c3398edf1ccc" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "succes": { + "value": { + "result": "Succeeded", + "traceId": "3614178a-f801-47b7-bae1-dad6439f2c54", + "data": { + "LinesToBeInvoiced": "fcb31b25-8da1-4a90-ae33-a93d932184f0" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "LinesToBeInvoiced": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + }, + "400": { + "content": { + "application/json": { + "examples": { + "not enabled": { + "value": { + "result": "Failed", + "traceId": "339ee3cf-e6bb-4201-9fd0-577906f9f96a", + "instances": [], + "errors": [ + "FeatureToggle not enabled" + ] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "instances": { + "type": "array", + "items": {} + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels" + ] + }, + "delete": { + "description": "Delete lines to be invoiced from billing processes", + "summary": "linestobeinvoiced 1.0", + "operationId": "updateconnector-linestobeinvoiced-Delete-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "linestobeinvoiced 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/linestobeinvoiced-1.0-Delete-JsonSchema" + }, + "examples": { + "minimal": { + "value": { + "AdministrationId": "e877fb82-b546-4d20-94cf-05c72765fc47", + "Id": "e877fb82-b546-4d20-94cf-05c72765fc47" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "traceId": "3614178a-f801-47b7-bae1-dad6439f2c54", + "data": { + "LinesToBeInvoiced": "fcb31b25-8da1-4a90-ae33-a93d932184f0" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "LinesToBeInvoiced": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels" + ] + }, + "put": { + "description": "Update lines to be invoiced for billing processes", + "summary": "linestobeinvoiced 1.0", + "operationId": "updateconnector-linestobeinvoiced-Put-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "linestobeinvoiced 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/linestobeinvoiced-1.0-Update-JsonSchema" + }, + "examples": { + "example": { + "value": { + "LineToBeInvoicedId": "547a03a2-19c9-4058-bc77-452063b25d6d", + "AdministrationId": "5c86c621-14fc-5d09-a387-772c599caa5d", + "Date": "2024-11-04", + "Description": "Dell Laptop", + "RelationType": "organisation", + "RelationId": "30bf2fcc-306d-5680-9e03-d99fbfe46bc2", + "ItemId": "4689e028-02c7-5324-885a-556701bd1a9f", + "Quantity": 50 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "succes": { + "value": { + "result": "Succeeded", + "traceId": "3614178a-f801-47b7-bae1-dad6439f2c54", + "data": { + "LinesToBeInvoiced": "fcb31b25-8da1-4a90-ae33-a93d932184f0" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "LinesToBeInvoiced": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels" + ] + } + }, + "/api/locations": { + "get": { + "description": "Retrieve location (vestiging) information", + "summary": "locations 1.0", + "operationId": "getconnector-locations-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "Omschrijving": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "01ae3b98-8320-44e1-8eb4-c66635dde0b4", + "Omschrijving": "Inspiratielaan" + }, + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "836f4a16-0060-4c13-a177-de5a0fa04e51", + "Omschrijving": "Philipsstraat" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/organisations": { + "get": { + "description": "Retrieve organization information and business details", + "summary": "organisations 2.0", + "operationId": "getconnector-organisations-get-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Name": { + "type": "string" + }, + "CocNumber": { + "type": "string" + }, + "VatNumber": { + "type": "string" + }, + "PhoneNumber": { + "type": "string" + }, + "EmailAddress": { + "type": "string" + }, + "SbiCode": { + "type": "string" + }, + "RelationId": { + "type": "string" + }, + "ExternalId": { + "type": "string" + }, + "IsArchived": { + "type": "boolean" + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202401291319301", + "Result": [ + { + "Id": "e36e77f0-9a1c-50d0-a3f3-004f1fee8720", + "Name": "Erbi Lara B.V. (000019)", + "CocNumber": null, + "VatNumber": null, + "RelationId": "000019", + "ExternalId": null, + "IsArchived": false, + "EmailAddress": "info@erbilara.afas" + }, + { + "Id": "45aafd00-a21b-5440-bf57-0aa5fa6c2294", + "Name": "Alsach Musik GmbH (000037)", + "CocNumber": null, + "VatNumber": "DE184475234", + "RelationId": "000037", + "ExternalId": null, + "IsArchived": false, + "EmailAddress": "info@alsachmusic.afasde" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Relatiemanagement", + "Relaties", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/paymentconditions": { + "get": { + "description": "Retrieve payment conditions and terms settings", + "summary": "paymentconditions 1.0", + "operationId": "getconnector-paymentconditions-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "Id": "9b5d768a-c71b-583e-b6ee-09d64aa935d4", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "21 dagen" + }, + { + "Id": "b8ca9e8d-6fef-5ef6-95ba-0bd221aebc6f", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "60 dagen" + }, + { + "Id": "a59bab3a-36bb-5974-bdad-276f6395d6b6", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "14 dagen" + }, + { + "Id": "b98e24e9-a611-5a98-8cf9-40fed321dc6c", + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "60 dagen" + }, + { + "Id": "c06d2eb9-1332-5e78-a8b3-58dd62dcee45", + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "7 dagen" + }, + { + "Id": "0066f624-c140-5262-9fbb-5e3141d32876", + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "14 dagen" + }, + { + "Id": "eb44c60d-06e4-564b-a90c-7715c78788a5", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "45 dagen" + }, + { + "Id": "a629b70b-6a91-5906-9f9d-97f83dfd0c58", + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "90 dagen" + }, + { + "Id": "ab8b0914-74a2-5db5-a948-ae34ea6b7f7e", + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "30 dagen" + }, + { + "Id": "2d8304eb-1472-5fad-8fed-b1c30b2a1749", + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "21 dagen" + }, + { + "Id": "3bed98d9-94d0-5147-9cb8-cad047a0b9bd", + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "45 dagen" + }, + { + "Id": "6372c28d-7468-5c58-8826-cea9bf70758a", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "90 dagen" + }, + { + "Id": "4a09121c-4f48-5a29-9cef-ecfb5bb74dcf", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "7 dagen" + }, + { + "Id": "596a0343-fd85-597a-8918-ed3198de119d", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "30 dagen" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/persons": { + "get": { + "description": "Retrieve person information and personal details", + "summary": "persons 2.0", + "operationId": "getconnector-persons-get-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Name": { + "type": "string" + }, + "FirstName": { + "type": "string" + }, + "Initials": { + "type": "string" + }, + "Prefix": { + "type": "string" + }, + "Lastname": { + "type": "string" + }, + "PhoneNumber": { + "type": "string" + }, + "EmailAddress": { + "type": "string" + }, + "ExternalId": { + "type": "string" + }, + "IsArchived": { + "type": "boolean" + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202401291327471", + "Result": [ + { + "Id": "2aacc092-9c6c-5020-b1cf-0d8ecd6485dc", + "Name": "Cas de Graaf", + "FirstName": "Cas", + "Initials": "C.", + "Prefix": "de", + "Lastname": "Graaf", + "ExternalId": null, + "IsArchived": false + }, + { + "Id": "1242493d-bd93-53b3-9852-1c82c83316aa", + "Name": "Tarik el Erdol", + "FirstName": "Tarik", + "Initials": "T.", + "Prefix": "el", + "Lastname": "Erdol", + "ExternalId": null, + "IsArchived": false + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Relatiemanagement", + "Relaties", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/products": { + "get": { + "description": "Retrieve product catalog with pricing and inventory information", + "summary": "products 3.0", + "operationId": "getconnector-products-get-3.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "3.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "Id": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + }, + "Code": { + "type": "string" + }, + "InternalId": { + "type": "string" + }, + "PriceExcludingVAT": { + "type": "number" + }, + "PriceIncludingVAT": { + "type": "number" + }, + "ProductGroup": { + "type": "string" + }, + "Barcode": { + "type": "string" + }, + "Category": { + "type": "string" + }, + "ExtraDescription": { + "type": "string" + }, + "ProductStyle": { + "oneOf": [ + { + "const": "AantalVanSoort", + "title": "aantal van soort" + }, + { + "const": "Afdeling", + "title": "afdeling" + }, + { + "const": "Bankrekening", + "title": "bankrekening" + }, + { + "const": "Contactpersoon", + "title": "contactpersoon" + }, + { + "const": "Deelname", + "title": "deelname" + }, + { + "const": "Gegeven", + "title": "gegeven" + }, + { + "const": "Goed", + "title": "goed" + }, + { + "const": "Kas", + "title": "kas" + }, + { + "const": "Kosten", + "title": "kosten" + }, + { + "const": "Land", + "title": "land" + }, + { + "const": "Onbekend", + "title": "onbekend" + }, + { + "const": "Organisatie", + "title": "organisatie" + }, + { + "const": "Persoon", + "title": "persoon" + }, + { + "const": "Ruimte", + "title": "ruimte" + }, + { + "const": "Tijd", + "title": "tijd" + } + ] + }, + "IsArchived": { + "type": "boolean" + }, + "IsBlocked": { + "type": "boolean" + }, + "IsDisabled": { + "type": "boolean" + }, + "Blob": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "ReadKey": { + "type": "string" + }, + "FileName": { + "type": "string" + }, + "ContentType": { + "type": "string" + }, + "ContentLength": { + "type": "number" + } + } + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202504011910441", + "Result": [ + { + "Id": "c38525f4-845d-5dd8-9b3a-00eec99c34ab", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Vast actief (btw nul)", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 0.0, + "ProductGroup": "Vaste activa", + "ProductType": "unknown" + }, + { + "Id": "f469cfc6-1b8b-587f-9ac6-10a975e5edcd", + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Description": "Vast actief (btw hoog)", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 0.0, + "ProductGroup": "Vaste activa", + "ProductType": "unknown" + }, + { + "Id": "c4617493-a611-59ea-9a0c-293391c3466e", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Bouwen (2002, 000017)", + "InternalId": "000017", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 75.0, + "ProductGroup": "Web Design", + "ProductType": "supplies" + }, + { + "Id": "7f54afa4-dc32-5538-be15-4279863ca5e6", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Muis Logitech (5100, 000004)", + "InternalId": "000004", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 9.98, + "ProductGroup": "Randapparatuur", + "ProductType": "supplies" + }, + { + "Id": "6d5a94f4-6911-5771-9517-4420b101439a", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Draadloos toestenbord + muis Lenovo (5003, 000011)", + "InternalId": "000011", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 67.73, + "ProductGroup": "Randapparatuur", + "ProductType": "supplies" + }, + { + "Id": "411a8c24-5406-5bd6-9fd1-5425a67130c9", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Lenovo Monitor 24 inch (4201, 000012)", + "InternalId": "000012", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 340.73, + "ProductGroup": "Monitoren", + "ProductType": "supplies" + }, + { + "Id": "5dbb40d7-52b5-51b6-809e-5a16dddeb650", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Draadloos toetsenbord + muis Logitech (5002, 000010)", + "InternalId": "000010", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 29.93, + "ProductGroup": "Randapparatuur", + "ProductType": "supplies" + }, + { + "Id": "f871b91d-bb1e-5f52-a70c-5cddf2108929", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Acer Laptop (3320, 000008)", + "InternalId": "000008", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 539.7, + "ProductGroup": "Systemen", + "ProductType": "supplies" + }, + { + "Id": "db17280f-6105-5d22-975b-6c4e49c8682f", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Klassiek (Qwerty) toetsenbord Logitech (5000, 000003)", + "InternalId": "000003", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 13.65, + "ProductGroup": "Randapparatuur", + "ProductType": "supplies" + }, + { + "Id": "347d7d36-994b-5b4d-80a1-9a15532e6035", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Dell Monitor 24 inch (4003, 000009)", + "InternalId": "000009", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 240.98, + "ProductGroup": "Monitoren", + "ProductType": "supplies" + }, + { + "Id": "d1247d55-a298-55ca-bb55-9ed75bdc7c34", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Ontwerpen (2001, 000019)", + "InternalId": "000019", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 75.0, + "ProductGroup": "Web Design", + "ProductType": "supplies" + }, + { + "Id": "f4b51c75-1e2b-522a-aca2-a2dd8eab3a24", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Management Fee (MF, 000013)", + "InternalId": "000013", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 8825.0, + "ProductGroup": "Management Fee", + "ProductType": "supplies" + }, + { + "Id": "f4b51c75-1e2b-522a-aca2-a2dd8eab3a24", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Management Fee (MF, 000013)", + "InternalId": "000013", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 8000.0, + "ProductGroup": "Management Fee", + "ProductType": "supplies" + }, + { + "Id": "1be89d6d-9d74-53f4-af12-aa22bc76d896", + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Description": "Vast actief (btw laag)", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 0.0, + "ProductGroup": "Vaste activa", + "ProductType": "unknown" + }, + { + "Id": "f84c1bb4-9de9-578f-989e-ae39a19e3cb7", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Vast actief (btw hoog)", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 0.0, + "ProductGroup": "Vaste activa", + "ProductType": "unknown" + }, + { + "Id": "e4a2db09-8534-55f1-8bfc-b30a40024f5e", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Microsoft Office 365 gebruikerstraining (1000, 000015)", + "InternalId": "000015", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 995.0, + "ProductGroup": "Cursussen", + "ProductType": "supplies" + }, + { + "Id": "a48526d9-3bb2-57e0-b4c2-b43f0ab137b5", + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Description": "Vast actief (btw nul)", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 0.0, + "ProductGroup": "Vaste activa", + "ProductType": "unknown" + }, + { + "Id": "171cc8aa-d9bd-5800-ad05-c1b38878d584", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Onderhoud (2003, 000018)", + "InternalId": "000018", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 75.0, + "ProductGroup": "Web Design", + "ProductType": "supplies" + }, + { + "Id": "ea4fcede-5143-5860-ab4e-c763cfae25f0", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Projectleiding (2000, 000014)", + "InternalId": "000014", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 95.0, + "ProductGroup": "Web Design", + "ProductType": "supplies" + }, + { + "Id": "aa760e86-92da-50d1-bdb7-c873a9443264", + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Description": "Management Fee (MF, 000013)", + "InternalId": "000013", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 8825.0, + "ProductGroup": "Management Fee", + "ProductType": "supplies" + }, + { + "Id": "aa760e86-92da-50d1-bdb7-c873a9443264", + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Description": "Management Fee (MF, 000013)", + "InternalId": "000013", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 8000.0, + "ProductGroup": "Management Fee", + "ProductType": "supplies" + }, + { + "Id": "f766cf32-c4a2-5123-bbe9-d69b9ce8b37b", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Diverse producten", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "ProductGroup": "Diverse producten", + "ProductType": "unknown" + }, + { + "Id": "4ac33af1-ae7d-5923-9506-e1dedf7b7c14", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Lenovo Laptop (3330, 000002)", + "InternalId": "000002", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 431.55, + "ProductGroup": "Systemen", + "ProductType": "supplies" + }, + { + "Id": "c35a780e-c4ba-504c-a54f-e1eee1d16dce", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Draadloos toestenbord + muis Dell (5102, 000006)", + "InternalId": "000006", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 36.75, + "ProductGroup": "Randapparatuur", + "ProductType": "supplies" + }, + { + "Id": "1048caf1-d7bb-52e9-a638-e525d375e672", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Acer Monitor 24 inch (4104, 000001)", + "InternalId": "000001", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 519.23, + "ProductGroup": "Monitoren", + "ProductType": "supplies" + }, + { + "Id": "b1b6cf37-3ec0-52b5-bde7-e5c34a0dbdb8", + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Description": "Diverse producten", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "ProductGroup": "Diverse producten", + "ProductType": "unknown" + }, + { + "Id": "dd306400-eb3c-594a-91bd-e7291250f90f", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Vast actief (btw laag)", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 0.0, + "ProductGroup": "Vaste activa", + "ProductType": "unknown" + }, + { + "Id": "e974bd03-fe5f-5d70-a3ef-ec6f4485143a", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Dell Laptop (3310, 000005)", + "InternalId": "000005", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 205.28, + "ProductGroup": "Systemen", + "ProductType": "supplies" + }, + { + "Id": "01911013-b8ba-5dfd-a250-fa7f6f709220", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Samsung Monitor 32 inch (4203, 000007)", + "InternalId": "000007", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 822.15, + "ProductGroup": "Monitoren", + "ProductType": "supplies" + }, + { + "Id": "ce109323-b122-5acd-bd3a-fbc9ff934f9a", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Microsoft Power Platform App maker (1001, 000016)", + "InternalId": "000016", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 250.0, + "ProductGroup": "Cursussen", + "ProductType": "supplies" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "3.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Facturatie", + "Verkoopfactuur" + ] + } + }, + "/api/profitlosstotalscurrentyear": { + "get": { + "description": "Retrieve cumulative ledger account totals for profit & loss reporting of the current year", + "summary": "profitlosstotalscurrentyear 1.0", + "operationId": "getconnector-profitlosstotalscurrentyear-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid" + }, + "LedgerAccount": { + "type": "string" + }, + "RgsCode": { + "type": "string" + }, + "RgsDescription": { + "type": "string" + }, + "LedgerAccountNumber": { + "type": "string" + }, + "Total": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "04b8def8-f72a-5c3e-bf06-002544b96b33", + "LedgerAccount": "Management fees (4051)", + "LedgerAccountNumber": "4051", + "RgsCode": "WBedOvpMaf", + "RgsDescription": "Management fee", + "Total": 3744.85, + "InstanceId": "aaac9284-6d05-473d-90cf-21428e2fd92a" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "0c5f88e7-12d7-59d5-92e2-074e5fe656fc", + "LedgerAccount": "Omzet Randapparatuur (8008)", + "LedgerAccountNumber": "8008", + "RgsCode": "WOmzGrpGr1", + "RgsDescription": "Netto-omzet groep 1", + "Total": -764.4, + "InstanceId": "e890c5a8-2fa5-4d0e-bb7e-422d043fdaab" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "6d4058b2-58a6-5d25-a8dc-687c05c31692", + "LedgerAccount": "Boekresultaat oprichtingskosten (4900)", + "LedgerAccountNumber": "4900", + "RgsCode": "WAfsRviOek", + "RgsDescription": "Boekresultaat kosten van oprichting en van uitgifte van aandelen", + "Total": 300.0, + "InstanceId": "8fe4ec36-d4e2-46e2-a5b7-0456e8901bfb" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "dbd01aa1-7746-5cd4-b5e4-7481e22807fc", + "LedgerAccount": "Overboeking van het resultaat (9999)", + "LedgerAccountNumber": "9999", + "RgsCode": "ResultaatNiveau2", + "RgsDescription": "Resultaat", + "Total": -3280.45, + "InstanceId": "372c0af3-1a38-4ab5-be47-6ba738cccb27" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële dashboarding", + "Publiek: Financiële rapportage", + "Financiele rapportage" + ] + } + }, + "/api/projects": { + "get": { + "description": "Retrieve project information for time tracking and billing", + "summary": "projects 1.0", + "operationId": "getconnector-projects-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "Omschrijving": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202412131017330", + "Result": [ + { + "InstanceId": "96d5ef01-0d3f-4a60-b5ee-8a915693f5c2", + "Omschrijving": "Implementation Greenshop", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502" + }, + { + "InstanceId": "e03c053d-3e72-400b-821d-c3398edf1ccc", + "Omschrijving": "Implementation Exceptional", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/salesinvoices": { + "get": { + "description": "Retrieve sales invoices and billing information", + "summary": "salesinvoices 1.2", + "operationId": "getconnector-salesinvoices-get-1.2", + "parameters": [ + { + "in": "query", + "name": "BusinessActivityVersion", + "schema": { + "type": "integer" + } + }, + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.2" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "InstanceId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "SalesInvoiceNumber": { + "type": "string" + }, + "IssueDate": { + "type": "string", + "format": "date-time" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "RelationNumber": { + "type": "string" + }, + "RelationDescription": { + "type": "string" + }, + "Status": { + "oneOf": [ + { + "const": "TODO", + "title": "te verzenden" + }, + { + "const": "BUSY", + "title": "onderweg" + }, + { + "const": "DONE", + "title": "verzonden" + }, + { + "const": "DONEEDIT", + "title": "bezig met wijzigen van verzonden" + }, + { + "const": "DONEERROR", + "title": "in fout staat" + }, + { + "const": "REDO", + "title": "opnieuw te verzenden" + }, + { + "const": "CANNOTBEDONE", + "title": "niet te verzenden" + }, + { + "const": "CANNOTBEREDONE", + "title": "niet opnieuw te verzenden" + }, + { + "const": "TOCREDIT", + "title": "te crediteren" + }, + { + "const": "CREDITED", + "title": "gecrediteerd" + }, + { + "const": "DELETED", + "title": "verwijderd" + }, + { + "const": "TODOERROR", + "title": "in fout staat" + }, + { + "const": "TODOEDIT", + "title": "bezig met wijzigen van te verzenden" + }, + { + "const": "TODOPENDING", + "title": "bezig met wachten" + }, + { + "const": "REPLACED", + "title": "gespecificeerd" + }, + { + "const": "TOSPECIFY", + "title": "af te letteren" + }, + { + "const": "SPECIFIED", + "title": "afgeletterd" + }, + { + "const": "ALTERNATIVELYSPECIFIED", + "title": "alternatief gespecificeerd" + }, + { + "const": "INITIALIZED", + "title": "geïnitialiseerd" + }, + { + "const": "INITIALIZEDEDIT", + "title": "geïnitialiseerd" + }, + { + "const": "PENDINGAPPROVAL", + "title": "te accorderen" + }, + { + "const": "PENDINGCOMPLETION", + "title": "te factureren" + }, + { + "const": "COMPLETED", + "title": "gefactureerd" + }, + { + "const": "DECLINED", + "title": "afgewezen" + }, + { + "const": "TEMPLATE", + "title": "sjabloon" + }, + { + "const": "TEMPLATEEDIT", + "title": "bezig met wijzigen van verzenden" + }, + { + "const": "TEMPLATEERROR", + "title": "in fout staat" + }, + { + "const": "MESSAGEPENDING", + "title": "Bezig met verzenden" + }, + { + "const": "MESSAGESEND", + "title": "Verzonden" + }, + { + "const": "MESSAGEFAILED", + "title": "Fout bij verzenden" + } + ] + }, + "Blob": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "ReadKey": { + "type": "string" + }, + "FileName": { + "type": "string" + }, + "ContentType": { + "type": "string" + }, + "ContentLength": { + "type": "number" + } + } + } + }, + "SalesInvoiceId": { + "type": "string", + "format": "uuid" + }, + "AmountExcludingVat": { + "type": "number" + }, + "AmountVat": { + "type": "number" + }, + "AmountInvoiced": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202601141348101", + "Result": [ + { + "SalesInvoiceId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", + "InstanceId": "76ccd112-3faf-5243-8ee8-001638826d4c", + "AmountExcludingVat": 225.0, + "AmountVat": null, + "AmountInvoiced": 225.0, + "SalesInvoiceNumber": "V01250154", + "IssueDate": "2025-12-05T00:00:00Z", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Status": "DONE", + "Blob": [], + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "c08e2474-976c-5c7c-94dc-eb02580009d0", + "RelationNumber": "000039", + "RelationDescription": "Administratiekantoor Beers", + "RelationType": "organisation" + }, + { + "SalesInvoiceId": "b2c3d4e5-f6a7-8901-bcde-f12345678901", + "InstanceId": "a25d4251-74f9-5406-8639-003be5b0a58e", + "AmountExcludingVat": 1644.3, + "AmountVat": null, + "AmountInvoiced": 1644.3, + "SalesInvoiceNumber": "V01250150", + "IssueDate": "2025-12-05T00:00:00Z", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Status": "DONE", + "Blob": [], + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "2fdc272a-5da6-55b8-a352-928d3c1e79b6", + "RelationNumber": "000024", + "RelationDescription": "Schreurs Administratiekantoor B.V.", + "RelationType": "organisation" + }, + { + "SalesInvoiceId": "c3d4e5f6-a7b8-9012-cdef-123456789012", + "InstanceId": "6645f89b-4d85-56d5-90a4-00701269aeec", + "AmountExcludingVat": 95.0, + "AmountVat": null, + "AmountInvoiced": 95.0, + "SalesInvoiceNumber": "V01240035", + "IssueDate": "2024-03-15T00:00:00Z", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Status": "DONE", + "Blob": null, + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "9fc15edd-9431-5a98-b2e1-0d90f2064527", + "RelationNumber": "000035", + "RelationDescription": "Architectenbureau Brauw B.V.", + "RelationType": "organisation" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.2", + "deprecated": false, + "tags": [ + "Publiek: Facturatie", + "Verkoopfactuur" + ] + } + }, + "/api/salespricesperrelation": { + "get": { + "description": "Retrieve sales prices configured per customer relation", + "summary": "salespricesperrelation 1.0", + "operationId": "getconnector-salespricesperrelation-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "ProductDescription": { + "type": "string" + }, + "PriceExcludingVAT": { + "type": "number" + }, + "StartDate": { + "type": "string", + "format": "date-time" + }, + "EndDate": { + "type": "string", + "format": "date-time" + }, + "RelationDescription": { + "type": "string" + }, + "ProductId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "RelationId": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202410211314120", + "Result": [ + { + "Id": "b4632ca6-2298-4139-8d67-2f5ca122d039", + "PriceExcludingVAT": 1512.15, + "StartDate": null, + "EndDate": null, + "ProductId": "4eb7c821-7e37-4132-b27d-95563f93687a", + "ProductDescription": "Acer Laptop", + "RelationDescription": "Architectenbureau Brauw B.V.", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "3eff9a76-45d7-4595-a372-09e1e076c540", + "InstanceId": "bcd2883b-0559-4337-aa87-9583d1860a51", + "RelationType": "organisation" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Facturatie", + "Verkoopfactuur" + ] + } + }, + "/api/salesrelations": { + "get": { + "description": "Retrieve sales relations and customer account information", + "summary": "salesrelations 1.0", + "operationId": "getconnector-salesrelations-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "RelationNumber": { + "type": "string" + }, + "RelationDescription": { + "type": "string" + }, + "VatNumber": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "0bb78a38-dc5c-5a8f-9990-1f72e3a86b35", + "RelationNumber": "000014", + "RelationDescription": "EnYoi ICT Services B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "a73fa34f-528b-5e26-97af-496c2a33a607", + "RelationNumber": "000019", + "RelationDescription": "Euro Vacaturebank N.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "38a4e8ff-e844-598d-aa15-9db683b606e0", + "RelationNumber": "000033", + "RelationDescription": "Alsach Musik GmbH", + "VatNumber": "DE184475234", + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "f16d144f-fa67-5c04-9d9e-9e4c2f37d864", + "RelationNumber": "000029", + "RelationDescription": "Vlasblom Communicatie B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "a77a2b57-9164-5f2a-b54f-fb287f0e1133", + "RelationNumber": "000042", + "RelationDescription": "Tijhuis Market B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "43ff15dd-50a5-5d24-9dba-5271c80e5a8f", + "RelationNumber": "000016", + "RelationDescription": "Beentjes & Zn. Dakbedekking B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "4664e931-37ea-5520-b869-937740226db5", + "RelationNumber": "000035", + "RelationDescription": "Deventer Adviseurs B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "RelationTypeId": "d3315773-5c05-4e91-96f3-2e21b05c5a10", + "RelationId": "adef5ea1-c4ec-557d-93a5-0ac82709ad8a", + "RelationNumber": null, + "RelationDescription": "Diverse debiteuren", + "VatNumber": null, + "RelationType": "unknown" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "872618f9-9b1a-547c-beb8-6e07e42a0815", + "RelationNumber": "000013", + "RelationDescription": "Erbi Lara B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "c512e0c5-ec1d-5b0e-9924-581cb9209337", + "RelationNumber": "000039", + "RelationDescription": "Industrial Software Ltd", + "VatNumber": "GB548321855485", + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "8983209d-a19a-5f81-bc84-66f3c52d00af", + "RelationNumber": "000024", + "RelationDescription": "Nilfisk Reisorganisatie B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "d3315773-5c05-4e91-96f3-2e21b05c5a10", + "RelationId": "adef5ea1-c4ec-557d-93a5-0ac82709ad8a", + "RelationNumber": null, + "RelationDescription": "Diverse debiteuren", + "VatNumber": null, + "RelationType": "unknown" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "67d2a9cb-5d49-5fe0-a103-2cdadd2bcc75", + "RelationNumber": "000022", + "RelationDescription": "Van Ubbens Advies B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "41186c50-138c-5bc7-bd54-8dd8a3ee3e21", + "RelationNumber": "000018", + "RelationDescription": "Hafkamp Kappers B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "2fdc272a-5da6-55b8-a352-928d3c1e79b6", + "RelationNumber": "000023", + "RelationDescription": "Schreurs Administratiekantoor B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "dd74709e-1fd0-5ab1-a8ab-2a40ad645217", + "RelationNumber": "000037", + "RelationDescription": "Van Kempen Afbouw b.v.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "63e6ad8e-5c78-586e-b35b-48d0a4566075", + "RelationNumber": "000041", + "RelationDescription": "Bus Grondstoffen B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "9fc15edd-9431-5a98-b2e1-0d90f2064527", + "RelationNumber": "000031", + "RelationDescription": "Architectenbureau Brauw B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "493b57bf-2ef7-5f92-a1dc-30e8be2dd8e7", + "RelationNumber": "000040", + "RelationDescription": "Talens Havenbedrijf B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "9fbf635d-5d9c-5f81-b879-48de533d6887", + "RelationNumber": "000043", + "RelationDescription": "Schouten Kunststofprofielen C.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "4a9442b4-1126-5688-8636-7f19ee500ee8", + "RelationNumber": "000021", + "RelationDescription": "Hesta Touringcars B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "c08e2474-976c-5c7c-94dc-eb02580009d0", + "RelationNumber": "000034", + "RelationDescription": "Administratiekantoor Beers", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "3c3c8593-8de5-5c20-bccb-3afeb9dd4a82", + "RelationNumber": "000030", + "RelationDescription": "Oostendorp-Nederland Service B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "7458b139-298f-5f53-aa52-0f9fbeb560b6", + "RelationNumber": "000032", + "RelationDescription": "Stukadoorsbedrijf Burgers B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "39a415bc-43e8-5a6a-bbf9-808f807d4575", + "RelationNumber": "000044", + "RelationDescription": "Ingenieursbureau Zwijndrecht", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "0bb78a38-dc5c-5a8f-9990-1f72e3a86b35", + "RelationNumber": "000014", + "RelationDescription": "EnYoi ICT Services B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "685136cf-ce62-5352-a341-457e99a9bc63", + "RelationNumber": "000028", + "RelationDescription": "Kuiper Marketing N.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "200dae98-c4db-5da1-b8dd-018f934bcaa0", + "RelationNumber": "000036", + "RelationDescription": "Meepo Instituut B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "889f3aac-684c-552e-b566-3de14d38c2c5", + "RelationNumber": "000026", + "RelationDescription": "Gebroeders Van Kooten B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "db59b6c9-0309-5d31-b0d8-5bf3993d4ad0", + "RelationNumber": "000027", + "RelationDescription": "Notariskantoor Verhoeven B.V.", + "VatNumber": null, + "RelationType": "organisation" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels" + ] + } + }, + "/api/unknownrelation": { + "get": { + "description": "Retrieve unknown relation for invoicing without known name or address", + "summary": "unknownrelation 1.0", + "operationId": "getconnector-unknownrelation-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Name": { + "type": "string" + }, + "SalesRelation": { + "type": "boolean" + }, + "PurchaseRelation": { + "type": "boolean" + }, + "IsBlocked": { + "type": "boolean" + } + } + } + }, + "examples": { + "example response": { + "value": { + "TrackingToken": "202405021144501", + "Result": [ + { + "Id": "adef5ea1-c4ec-557d-93a5-0ac82709ad8a", + "Name": "Diverse debiteuren", + "IsBlocked": false, + "SalesRelation": true + }, + { + "Id": "2438541d-5088-5d1d-8caa-94a87cb14dc2", + "Name": "Diverse crediteuren", + "IsBlocked": false, + "PurchaseRelation": true + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/vatrate": { + "get": { + "description": "Retrieve VAT rates and tax calculation settings", + "summary": "vatrate 1.0", + "operationId": "getconnector-vatrate-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "Id": "afa50000-0000-0b1e-8a4b-309cd658b570", + "Description": "Nul" + }, + { + "Id": "afa50000-0000-07cf-8b24-5ef474ab1b2a", + "Description": "Extra laag" + }, + { + "Id": "afa50000-0000-0246-9965-b18e164c600e", + "Description": "Speciaal" + }, + { + "Id": "afa50000-0000-0465-aa85-e1a761ca3a33", + "Description": "Laag" + }, + { + "Id": "afa50000-0000-0b41-9465-e9f88bcaef86", + "Description": "Hoog" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost" + ] + } + }, + "/api/vattype": { + "get": { + "description": "Retrieve VAT types and tax category classifications", + "summary": "vattype 1.0", + "operationId": "getconnector-vattype-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "Id": "afa50000-0000-02bb-9338-0a6629f07fce", + "Description": "Verlegd" + }, + { + "Id": "afa50000-0000-0d9c-9502-4fc953f3e012", + "Description": "Vrijgesteld" + }, + { + "Id": "afa50000-0000-0b71-8790-807f97e85c54", + "Description": "Belast" + }, + { + "Id": "afa50000-0000-0a2d-9cec-bd890979929c", + "Description": "Geen btw" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost" + ] + } + }, + "/api/address": { + "post": { + "description": "Create new address information for organizations and persons", + "summary": "address 1.0", + "operationId": "updateconnector-address-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "address 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/address-1.0-Create-JsonSchema" + }, + "examples": { + "New addres for organisation": { + "value": { + "RelationType": "organisation", + "RelationId": "8afb1a9a-1613-5e2b-ab19-20c0f4f3e216", + "StreetName": "Voorthuizerstraat", + "HouseNumber": 16, + "HouseNumberAddition": "A", + "PostalZone": "3881SH", + "CityName": "Putten", + "CountryCode": "NL" + } + }, + "New addres for person": { + "value": { + "RelationType": "person", + "RelationId": "8afb1a9a-1613-5e2b-ab19-20c0f4f3e216", + "StreetName": "Voorthuizerstraat", + "HouseNumber": 16, + "HouseNumberAddition": "A", + "PostalZone": "3881SH", + "CityName": "Putten", + "CountryCode": "NL" + } + }, + "New address DE": { + "value": { + "RelationType": "organisation", + "RelationId": "8afb1a9a-1613-5e2b-ab19-20c0f4f3e216", + "StreetName": "Berliner Straße", + "HouseNumber": 10, + "HouseNumberAddition": "", + "PostalZone": "10115", + "CityName": "Berlijn", + "CountryCode": "DE" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "instances": [ + { + "Code": "Adres", + "Id": "bea5e01e-e1a0-4b04-819a-3347ebca2ba4" + } + ], + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Relaties" + ] + } + }, + "/api/bankaccount": { + "post": { + "description": "Create new bank account information for financial transactions", + "summary": "bankaccount 1.0", + "operationId": "updateconnector-bankaccount-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "bankaccount 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/bankaccount-1.0-Create-JsonSchema" + }, + "examples": { + "New bankaccount organisation": { + "value": { + "RelationType": "organisation", + "RelationId": "8afb1a9a-1613-5e2b-ab19-20c0f4f3e216", + "AccountNumber": "NL82BKCH0618141243", + "BIC": "BKCHNL2R", + "CountryCode": "NL", + "AccountHolderName": "Balistreri" + } + }, + "New bankaccount person": { + "value": { + "RelationType": "person", + "RelationId": "8afb1a9a-1613-5e2b-ab19-20c0f4f3e216", + "AccountNumber": "NL82BKCH0618141243", + "BIC": "BKCHNL2R", + "CountryCode": "NL", + "AccountHolderName": "Balistreri" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "Success": { + "value": { + "result": "Succeeded", + "instances": [ + { + "Code": "Bankrekening", + "Id": "4738e143-e582-4b38-a8af-9d1f1e12bfca" + } + ], + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Relaties" + ] + } + }, + "/api/cashmutation": { + "post": { + "description": "Create cash mutations for cash register transactions", + "summary": "cashmutation 3.0", + "operationId": "updateconnector-cashmutation-Post-3.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "3.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "cashmutation 3.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/cashmutation-3.0-Create-JsonSchema" + }, + "examples": { + "Minimum cash mutuation": { + "value": { + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "Creates only a cashmutation without a reconciliation mutation.", + "Date": "2024-03-15", + "AmountIncludingVat": 400 + } + }, + "purchase": { + "value": { + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "Aanschaf kleine machines en gereedschap", + "Date": "2024-03-15", + "LedgerAccountId": "c031b2e8-f8ac-5ab2-a428-93bf9789fc5e", + "VatPercentage": 21, + "VatTarive": "high", + "AmountIncludingVat": -200 + } + }, + "sales": { + "value": { + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "Omzet algemeen", + "Date": "2024-03-15", + "LedgerAccountId": "cfb59b79-b3ec-55ef-8cde-000499c3179e", + "VatPercentage": 21, + "VatTarive": "high", + "AmountIncludingVat": 400 + } + }, + "specificcashregister": { + "value": { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Omzet algemeen", + "Date": "2025-03-15", + "LedgerAccountId": "0cc7471d-9973-5214-8106-a960bbaa348e", + "VatTarive": "high", + "CashregisterId": "25e93133-ec28-543f-9f23-312ddb4e10a3", + "AmountIncludingVat": 800 + } + }, + "with attachments": { + "value": { + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "Aanschaf kleine machines en gereedschap_387", + "Date": "2024-03-15", + "LedgerAccountId": "c031b2e8-f8ac-5ab2-a428-93bf9789fc5e", + "VatPercentage": 21, + "VatTarive": "high", + "AmountIncludingVat": -200, + "Attachments": [ + { + "AttachmentId": "bcbee6a4-f3de-44c3-91c8-e8921bf15107" + }, + { + "AttachmentId": "6676ad1f-9fc3-4a4f-8a44-d88d8284c598" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "normal response": { + "value": { + "result": "Succeeded", + "traceId": "8f266c6b-f405-4107-92ff-32130bd13a6b", + "data": { + "CashMutationId": "1bff704a-d4a1-4d92-b276-79eece12bb87", + "FinancialBookingId": "723e515f-c997-4d27-ae89-b922f3975a07" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "CashMutationId": { + "type": "string", + "format": "uuid" + }, + "FinancialBookingId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "3.0", + "deprecated": false, + "tags": [ + "Publiek: POS Transacties", + "POS Transacties" + ] + } + }, + "/api/contact": { + "post": { + "description": "Contact", + "summary": "contact 2.0", + "operationId": "updateconnector-contact-Post-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "contact 2.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/contact-2.0-Create-JsonSchema" + }, + "examples": { + "new contact": { + "value": { + "OrganisationId": "8afb1a9a-1613-5e2b-ab19-20c0f4f3e216", + "Firstname": "Rosella", + "Initials": "III", + "Prefix": "Mr.", + "Lastname": "Predovic", + "EmailAddress": "Karli61@example.com", + "PhoneNumber": "223-385-8892" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "instances": [ + { + "Code": "Persoon", + "Id": "3375a0f0-1cf0-5408-98f9-cd3599d96721" + }, + { + "Code": "Emailadres", + "Id": "3f669df2-b5d2-41fd-bb7e-7d7030e9d8be" + }, + { + "Code": "Telefoonnummer", + "Id": "2349ac50-64eb-4d05-b440-f8372dbd850f" + }, + { + "Code": "Contactpersoon", + "Id": "ba9a935d-32ac-447d-9749-105a02079372" + } + ], + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Relaties" + ] + } + }, + "/api/emailaddress": { + "post": { + "description": "CreateEmailAddress", + "summary": "emailaddress 2.0", + "operationId": "updateconnector-emailaddress-Post-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "emailaddress 2.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/emailaddress-2.0-Create-JsonSchema" + }, + "examples": { + "new email for organisation": { + "value": { + "RelationType": "organisation", + "RelationId": "dde06573-1190-5b31-a400-064588aa62e0", + "EmailAddress": "user@example.com" + } + }, + "new email for person": { + "value": { + "RelationType": "person", + "RelationId": "2aacc092-9c6c-5020-b1cf-0d8ecd6485dc", + "EmailAddress": "user@example.com" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "instances": [ + { + "Code": "Emailadres", + "Id": "cb052971-6312-42cf-b3fd-de274f248a88" + } + ], + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Relaties" + ] + } + }, + "/api/financialjournalentry": { + "post": { + "description": "Create financial journal entries for bookkeeping", + "summary": "financialjournalentry 1.0", + "operationId": "updateconnector-financialjournalentry-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "financialjournalentry 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/financialjournalentry-1.0-Create-JsonSchema" + }, + "examples": { + "new financialjournalentry periodallocation": { + "value": { + "AdministrationId": "95c0de1b-e269-4c74-ab6a-ece7fb15a4ff", + "Description": "journaalpost_001", + "EntryDate": "2024-01-22", + "EntryLine": [ + { + "Description": "Regel1", + "LedgerAccountId": "5a663714-2c36-5d94-a009-3a210bc2ce52", + "AmountDebit": 4000.65, + "VatDirection": "Sales", + "VatType": "High", + "AmountCredit": 0, + "PeriodAllocation": true, + "PeriodAllocationBeginDate": "2024-01-01", + "PeriodAllocationEndDate": "2024-12-31" + }, + { + "Description": "Regel2", + "LedgerAccountId": "5a663714-2c36-5d94-a009-3a210bc2ce52", + "AmountCredit": 4000.65, + "AmountDebit": 0 + } + ] + } + }, + "new financialjournalentry": { + "value": { + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "Description": "journaalpost_002", + "EntryDate": "2024-01-22", + "EntryLine": [ + { + "Description": "Regel1", + "LedgerAccountId": "5a663714-2c36-5d94-a009-3a210bc2ce52", + "AmountDebit": 4000.65, + "VatDirection": "sales", + "VatType": "high" + }, + { + "Description": "Regel2", + "LedgerAccountId": "5a663714-2c36-5d94-a009-3a210bc2ce52", + "AmountCredit": 4000.65 + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "traceId": "39f2f0fc-58cc-4f7b-a26b-5aa93d77ba88", + "data": { + "FinancialJournalEntryId": "6f30c816-3a77-4c2b-9484-9a09cc5edd7f" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "FinancialJournalEntryId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële journaalpost", + "Financiële journaalpost" + ] + }, + "delete": { + "description": "Delete financial journal entries from bookkeeping", + "summary": "financialjournalentry 1.0", + "operationId": "updateconnector-financialjournalentry-Delete-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "financialjournalentry 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/financialjournalentry-1.0-Delete-JsonSchema" + }, + "examples": { + "delete financialjournalentry": { + "value": { + "AdministrationId": "e877fb82-b546-4d20-94cf-05c72765fc47", + "Id": "e877fb82-b546-4d20-94cf-05c72765fc47" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "traceId": "9b99528e-3bf0-4485-91f9-b9bba34550e0", + "data": { + "FinancialJournalEntryId": "6f30c816-3a77-4c2b-9484-9a09cc5edd7f" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "FinancialJournalEntryId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële journaalpost", + "Financiële journaalpost" + ] + } + }, + "/api/mandates": { + "post": { + "description": "Create SEPA direct debit mandates for automated payments", + "summary": "mandates 1.0", + "operationId": "updateconnector-mandates-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "mandates 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/mandates-1.0-Create-JsonSchema" + }, + "examples": { + "example": { + "value": { + "AdministrationId": "e5a3aaef-0cc7-46d0-9eb5-8d039c88109e", + "RelationType": "organisation", + "RelationId": "046800d6-8160-41a9-a422-ef3c04b8d373", + "RelationBankAccountId": "27548bd4-45ad-4652-bdd2-f1615dc28245", + "MandateReference": "Test31Con33tract3nr.FL-2322/2P", + "DateOfSignature": "2024-12-31" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "response": { + "value": { + "result": "Succeeded", + "traceId": "3511f4e3-869c-4ed6-9dde-e4a45acd8f04", + "data": { + "MandateId": "ef03c8a1-4254-498e-a819-343184ce9aad" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "MandateId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/organisation": { + "post": { + "description": "Create new organization records and business relationships", + "summary": "organisation 4.0", + "operationId": "updateconnector-organisation-Post-4.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "4.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "organisation 4.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/organisation-4.0-Create-JsonSchema" + }, + "examples": { + "new organisation maximal": { + "value": { + "Name": "Nitzsche, Dickinson and Predovic", + "CocNumber": "38012622", + "VatNumber": "NL003276211B01", + "Tradename": "Johns - Swaniawski", + "EmailAddress": "Damion94@example.org", + "Website": "https://astrid.info", + "PhoneNumber": "738-407-2156", + "ExternalId": "123456789", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "inspiratielaan", + "HouseNumber": 3, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL44DNIB0736664289", + "BankId": "DNIB", + "Bic": "DNIBNL2G", + "CountryCode": "NL", + "AccountHolderName": "Jan Zandbergen", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + }, + "new organisation minimal": { + "value": { + "Name": "Larkin Inc" + } + }, + "new organisation": { + "value": { + "Name": "Terry - Powlowski", + "CocNumber": "38012622", + "VatNumber": "NL003276211B01", + "EmailAddress": "Amelie_Bogisich@example.com", + "PhoneNumber": "738-407-2156", + "ExternalId": "801-331-6473", + "Addresses": [ + { + "StreetName": "Tillman Glen", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL" + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "minimum": { + "value": { + "result": "Succeeded", + "data": { + "RelationId": "9ef691ac-b12c-4e14-9368-8191e03b54c0", + "Addresses": [ + { + "AddressId": "a329ffce-7e6c-4e79-acb4-43ac57157dc9", + "AddressDescription": "inspiratielaan 2 3833AV Leusden Nederland" + } + ], + "BankAccounts": [ + { + "AccountNumberId": "4395b94c-af56-429b-ab52-52bdc9986fb4", + "AccountNumber": "NL68INGB0801705542" + } + ] + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "RelationId": { + "type": "string", + "format": "uuid" + }, + "Addresses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AddressId": { + "type": "string", + "format": "uuid" + }, + "AddressDescription": { + "type": "string" + } + } + } + }, + "BankAccounts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AccountNumberId": { + "type": "string", + "format": "uuid" + }, + "AccountNumber": { + "type": "string" + } + } + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "4.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Relaties", + "Publiek: Externe facturatie" + ] + }, + "put": { + "description": "Update existing organization records and business relationships", + "summary": "organisation 4.0", + "operationId": "updateconnector-organisation-Put-4.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "4.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "organisation 4.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/organisation-4.0-Update-JsonSchema" + }, + "examples": { + "update organisation": { + "value": { + "RelationId": "978638a5-394f-4ecc-a31f-21332f9f79e5", + "Name": "AFAS Software", + "CocNumber": "54041813", + "ExternalId": "SWR23244", + "Tradename": "AFAS Software BV", + "EmailAddress": "info@afas.NL", + "WebSite": "www.afas.nl", + "phoneNumber": "+31334341800", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 5, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "preferredSupplierAddress": true, + "preferredShippingAddress": false, + "preferredBillingAddress": true + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "response": { + "value": { + "result": "Succeeded", + "traceId": "d8b6d497-cd52-46b1-a4c3-78dd7f9fb957", + "data": { + "RelationId": "978638a5-394f-4ecc-a31f-21332f9f79e5" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "RelationId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "4.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Relaties", + "Publiek: Externe facturatie" + ] + } + }, + "/api/payrolljournalentry": { + "post": { + "description": "Create payroll journal entries for salary processing", + "summary": "payrolljournalentry 1.0", + "operationId": "updateconnector-payrolljournalentry-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "payrolljournalentry 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/payrolljournalentry-1.0-Create-JsonSchema" + }, + "examples": { + "Loonjournaalpost": { + "value": { + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "Loonjournaalpost_001", + "Date": "2024-01-22", + "PayrollJournalEntryLine": [ + { + "LedgerAccountNumber": "1700", + "AmountDebit": 4000 + }, + { + "LedgerAccountNumber": "1710", + "AmountCredit": 1300 + }, + { + "LedgerAccountNumber": "2300", + "AmountCredit": 2700 + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "Success": { + "value": { + "result": "Succeeded", + "instances": [ + { + "Code": "Memoriaalboeking2", + "Id": "a70c4e79-a04f-57cf-875b-150434c56e17" + } + ], + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Loonjournaalpost" + ] + } + }, + "/api/person": { + "post": { + "description": "Create new person records and personal relationships", + "summary": "person 4.0", + "operationId": "updateconnector-person-Post-4.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "4.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "person 4.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/person-4.0-Create-JsonSchema" + }, + "examples": { + "create person with 2 addresses and 2 backaccounts": { + "value": { + "Firstname": "John", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Doe", + "Emailaddress": "johndoe@gmail.com", + "Phonenumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": false + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": true + } + ] + } + }, + "create person with address and bankaccount": { + "value": { + "Firstname": "Julianne", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Pouros", + "Emailaddress": "Alyce58@gmail.com", + "Phonenumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Krommeweg", + "HouseNumber": 18, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "8071TE", + "CityName": "Nunspeet", + "CountryCode": "NL", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": true, + "PreferredBillingAddress": true + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + } + ] + } + }, + "create person": { + "value": { + "Firstname": "John", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Doe", + "Emailaddress": "johndoe@gmail.com", + "Phonenumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": false + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": true + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "minimum": { + "value": { + "result": "Succeeded", + "data": { + "RelationId": "9ef691ac-b12c-4e14-9368-8191e03b54c0", + "Addresses": [ + { + "AddressId": "a329ffce-7e6c-4e79-acb4-43ac57157dc9", + "AddressDescription": "inspiratielaan 2 3833AV Leusden Nederland" + } + ], + "BankAccounts": [ + { + "AccountNumberId": "4395b94c-af56-429b-ab52-52bdc9986fb4", + "AccountNumber": "NL68INGB0801705542" + } + ] + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "RelationId": { + "type": "string", + "format": "uuid" + }, + "Addresses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AddressId": { + "type": "string", + "format": "uuid" + }, + "AddressDescription": { + "type": "string" + } + } + } + }, + "BankAccounts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AccountNumberId": { + "type": "string", + "format": "uuid" + }, + "AccountNumber": { + "type": "string" + } + } + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "4.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Relaties", + "Publiek: Externe facturatie" + ] + }, + "put": { + "description": "Update existing person records and personal relationships", + "summary": "person 4.0", + "operationId": "updateconnector-person-Put-4.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "4.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "person 4.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/person-4.0-Update-JsonSchema" + }, + "examples": { + "update person": { + "value": { + "RelationId": "69a7cab4-3a34-4fdf-8017-c6df8a9375df", + "FirstName": "John", + "LastName": "Doe", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 5, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "preferredSupplierAddress": true, + "preferredShippingAddress": true, + "preferredBillingAddress": true + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "response": { + "value": { + "result": "Succeeded", + "traceId": "f0dddf19-12a8-4bf2-b782-359d32679491", + "data": { + "RelationId": "7b97c9cc-d0ef-48bf-a896-657dfb494059" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "RelationId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "4.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Relaties", + "Publiek: Externe facturatie" + ] + } + }, + "/api/phonenumber": { + "post": { + "description": "CreatePhoneNumber", + "summary": "phonenumber 1.0", + "operationId": "updateconnector-phonenumber-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "phonenumber 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/phonenumber-1.0-Create-JsonSchema" + }, + "examples": { + "Nieuw telefoonnummer voor organisatie": { + "value": { + "RelationType": "organisation", + "RelationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "PhoneNumber": "033546786" + } + }, + "Nieuw telefoonnummer voor persoon": { + "value": { + "RelationType": "person", + "RelationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "PhoneNumber": "033546786" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "response": { + "value": { + "result": "Succeeded", + "instances": [ + { + "Code": "Telefoonnummer", + "Id": "0127112f-48ed-4e09-b981-914913cc1807" + } + ], + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Relaties" + ] + } + }, + "/api/purchasejournalentry": { + "post": { + "description": "Create purchase journal entries for supplier transactions (C# script version)", + "summary": "purchasejournalentry 3.0", + "operationId": "updateconnector-purchasejournalentry-Post-3.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "3.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "purchasejournalentry 3.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/purchasejournalentry-3.0-Create-JsonSchema" + }, + "examples": { + "Inkoopjournaalpost": { + "value": { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InvoiceNumber": "PUR-80-157760", + "Reference": "docs-sample-8.0", + "RelationType": "organisation", + "RelationId": "e50b10e6-26bb-5c61-a9c5-00472919b90f", + "InvoiceDate": "2025-01-15", + "DueDate": "2025-02-14", + "PaymentMethod": "banktransfer", + "InvoiceLine": [ + { + "Description": "Huisvestingskosten vestiging Inspiratielaan", + "LedgerAccountId": "407ae398-e8c5-5ec6-a10d-00e51c299f81", + "VatType": "high", + "AmountExcludingVat": 100, + "AmountVat": 21, + "LocationId": "01ae3b98-8320-44e1-8eb4-c66635dde0b4" + }, + { + "Description": "Overige vergoedingen afdeling Directie", + "LedgerAccountId": "5cc1901a-fd0f-5a28-9302-030425092631", + "VatType": "low", + "AmountExcludingVat": 200, + "AmountVat": 18, + "DepartmentId": "43d4aa9d-0219-44b8-a8cb-878a61a61638" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "response": { + "value": { + "result": "Succeeded", + "traceId": "3d4d7bda-fecd-411a-91fd-38859c13fe06", + "data": { + "PurchaseJournalEntryId": "49bc40d8-d914-416b-9b11-e34945123e52", + "PurchaseInternalInvoiceNumber": "IF250078" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "PurchaseJournalEntryId": { + "type": "string", + "format": "uuid" + }, + "PurchaseInternalInvoiceNumber": { + "type": "string" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "3.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost" + ] + } + }, + "/api/salesinvoice": { + "delete": { + "description": "Delete sales invoices from customer billing", + "summary": "salesinvoice 2.0", + "operationId": "updateconnector-salesinvoice-Delete-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "salesinvoice 2.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/salesinvoice-2.0-Delete-JsonSchema" + }, + "examples": { + "example": { + "value": { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Id": "c7e0773e-7904-41b7-a09e-56643261b6f4" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "Example": { + "value": { + "result": "Succeeded", + "traceId": "e491eb78-6969-45c2-ba20-f94d68364427", + "data": { + "salesinvoiceId": "c7e0773e-7904-41b7-a09e-56643261b6f4" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "salesinvoiceId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + }, + "400": { + "content": { + "application/json": { + "examples": { + "ExampleAlreadySend": { + "value": { + "result": "Failed", + "traceId": "93a3cfbe-f20b-4fd2-9ec3-5cdd930eebc7", + "instances": [], + "errors": [ + "SalesInvoice cannot be deleted because it is not a draft or it is already deleted" + ] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "instances": { + "type": "array", + "items": {} + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Publiek: Facturatie", + "Verkoopfactuur" + ] + }, + "post": { + "description": "Create sales invoices for customer billing", + "summary": "salesinvoice 3.0", + "operationId": "updateconnector-salesinvoice-Post-3.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "3.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "salesinvoice 3.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/salesinvoice-3.0-Create-JsonSchema" + }, + "examples": { + "example": { + "value": { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "IssueDate": "2025-01-15", + "Reference": "docs-sample-8.0", + "RelationType": "organisation", + "RelationId": "666af0be-5fbe-5345-8315-18b5bc17215a", + "PaymentMethod": "banktransfer", + "SentInvoiceEmail": false, + "ToBeInvoiced": true, + "InvoiceLine": [ + { + "ItemId": "34b3098e-6a4b-5684-9ab7-31f81cdbc47c", + "Quantity": 2, + "Description": "PC behuizing Miditower Antec - vestiging Inspiratielaan", + "LocationId": "01ae3b98-8320-44e1-8eb4-c66635dde0b4" + }, + { + "ItemId": "4a26930c-b08f-59fa-8449-5b8295ae5ee1", + "Quantity": 1, + "Description": "Geluidskaart Creative Audigy - afdeling Directie", + "DepartmentId": "43d4aa9d-0219-44b8-a8cb-878a61a61638" + } + ] + } + }, + "exampleAlternativeAllocation": { + "value": { + "AdministrationId": "3f73bc84-fb32-4d1d-83d9-5de1af8245b1", + "IssueDate": "2024-05-16", + "RelationType": "organisation", + "SentInvoiceEmail": false, + "ToBeInvoiced": true, + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "InvoiceLine": [ + { + "ItemId": "7e94bf59-594c-5c28-9fe5-5e238f821b0d", + "Price": 10, + "Quantity": 2, + "AlternativeAllocationDate": "2024-12-31" + } + ] + } + }, + "exampleToBeInvoiced": { + "value": { + "AdministrationId": "3f73bc84-fb32-4d1d-83d9-5de1af8245b1", + "IssueDate": "2024-05-16", + "RelationType": "organisation", + "SentInvoiceEmail": false, + "ToBeInvoiced": true, + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "InvoiceLine": [ + { + "ItemId": "7e94bf59-594c-5c28-9fe5-5e238f821b0d", + "Quantity": 2 + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "Example": { + "value": { + "result": "Succeeded", + "traceId": "4d81c9fc-b006-4e60-ac81-26bf7783cd52", + "data": { + "SalesInvoiceId": "09cf03db-2422-4201-98e4-20cc018a21a1" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "SalesInvoiceId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "3.0", + "deprecated": false, + "tags": [ + "Publiek: Facturatie", + "Verkoopfactuur" + ] + } + }, + "/api/salesjournalentry": { + "delete": { + "description": "Delete sales journal entries from customer transactions", + "summary": "salesjournalentry 2.1", + "operationId": "updateconnector-salesjournalentry-Delete-2.1", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.1" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "salesjournalentry 2.1", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/salesjournalentry-2.1-Delete-JsonSchema" + }, + "examples": { + "example": { + "value": { + "AdministrationId": "a15620b1-90bf-46d8-a155-15f59a3ed460", + "Id": "8f8d5e92-bd85-4deb-8184-6abf57a5b24d" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "traceId": "ab84df36-19aa-477c-9f71-c0c61cb542a1", + "data": { + "SalesJournalEntryId": "2fe9d143-52aa-4d9f-9eba-a97656f2741c" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "SalesJournalEntryId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.1", + "deprecated": false, + "tags": [ + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + }, + "put": { + "description": "Update sales journal entries for customer transactions", + "summary": "salesjournalentry 2.1", + "operationId": "updateconnector-salesjournalentry-Put-2.1", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.1" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "salesjournalentry 2.1", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/salesjournalentry-2.1-Update-JsonSchema" + }, + "examples": { + "PaymentReference": { + "value": { + "AdministrationId": "f49f54a4-835d-532f-a117-79054e726808", + "Id": "2857a5b4-777d-44cd-b10d-9721c0281d7d", + "PaymentReference": "2024-10124" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "data": { + "SalesJournalEntryId": "f365059e-5918-49ec-9a7c-d4f0a0c8beb4" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "SalesJournalEntryId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.1", + "deprecated": false, + "tags": [ + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + }, + "post": { + "description": "Create sales journal entries for customer transactions", + "summary": "salesjournalentry 3.0", + "operationId": "updateconnector-salesjournalentry-Post-3.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "3.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "salesjournalentry 3.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/salesjournalentry-3.0-Create-JsonSchema" + }, + "examples": { + "BTW binnen en buiten EU": { + "value": { + "InvoiceNumber": "a", + "InvoiceDate": "2024-01-30", + "Description": "Unbranded Fresh Pizza", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "c6f3b724-845c-5af2-8360-2fc751601115", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "9b5d768a-c71b-583e-b6ee-09d64aa935d4", + "InvoiceLine": [ + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "VatType": "zero", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "VatType": "zero", + "AmountExcludingVat": 211 + } + ] + } + }, + "BTW Verlegd binnen Nederland": { + "value": { + "InvoiceNumber": "d", + "InvoiceDate": "2024-01-30", + "Description": "Practical Plastic Chips", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "c6f3b724-845c-5af2-8360-2fc751601115", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "9b5d768a-c71b-583e-b6ee-09d64aa935d4", + "InvoiceLine": [ + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "VatType": "high", + "VatCalculation": "reversecharged", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "VatType": "high", + "VatCalculation": "reversecharged", + "AmountExcludingVat": 396 + } + ] + } + }, + "Sales with attachment": { + "value": { + "InvoiceNumber": "1", + "InvoiceDate": "2024-02-01", + "Description": "Ergonomic Rubber Bacon", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "a8cce7bd-ced8-5ca4-b3b8-f0584ffe5993", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "9b5d768a-c71b-583e-b6ee-09d64aa935d4", + "Attachments": [ + { + "AttachmentId": "b031446a-b98e-4378-b7ee-8543e05f34c0" + } + ], + "InvoiceLine": [ + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "AmountVat": 21, + "VatType": "high", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "AmountExcludingVat": 427, + "VatType": "zero", + "VatCalculation": "exempt" + } + ] + } + }, + "verkoop 1 regel": { + "value": { + "InvoiceNumber": "7", + "InvoiceDate": "2024-01-24", + "Description": "Unbranded Steel Sausages", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "9bafbc7a-611b-5465-a584-5f0c88734b35", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "eb44c60d-06e4-564b-a90c-7715c78788a5", + "InvoiceLine": [ + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 183.54, + "VatType": "high", + "AmountExcludingVat": 874 + } + ] + } + }, + "verkoop aan persoon": { + "value": { + "InvoiceNumber": "SAL341434345403", + "InvoiceDate": "2024-01-24", + "Description": "null", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "person", + "RelationId": "d36cb9bb-0e5f-5253-ab28-2331804d65ba", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "eb44c60d-06e4-564b-a90c-7715c78788a5", + "InvoiceLine": [ + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 21, + "VatType": "high", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 450.55, + "VatType": "low", + "AmountExcludingVat": 40.55, + "VatCalculation": "exempt" + } + ] + } + }, + "verkoop alle soorten btw": { + "value": { + "InvoiceNumber": "d", + "InvoiceDate": "2024-01-23", + "Description": "Sleek Metal Tuna", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "9bafbc7a-611b-5465-a584-5f0c88734b35", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "eb44c60d-06e4-564b-a90c-7715c78788a5", + "InvoiceLine": [ + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 21, + "VatType": "high", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 40.55, + "VatType": "low", + "AmountExcludingVat": 40.55, + "VatCalculation": "exempt" + }, + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 0, + "VatType": "zero", + "AmountExcludingVat": 40.55 + }, + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 18, + "VatType": "low", + "AmountExcludingVat": 200 + }, + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 18, + "VatType": "high", + "AmountExcludingVat": 200, + "VatCalculation": "reversecharged" + } + ] + } + }, + "verkoop meerdere btw soorten": { + "value": { + "InvoiceNumber": "t", + "InvoiceDate": "2024-01-23", + "Description": "Handmade Concrete Car", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "863d895a-3782-5500-b933-dd487d736138", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "b98e24e9-a611-5a98-8cf9-40fed321dc6c", + "InvoiceLine": [ + { + "LedgerAccountId": "de3184b9-23f0-55e6-9bd0-ccb5c2b5b5ce", + "AmountVat": 21, + "VatType": "high", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "de3184b9-23f0-55e6-9bd0-ccb5c2b5b5ce", + "AmountVat": 40.55, + "VatType": "low", + "AmountExcludingVat": 40.55, + "VatCalculation": "exempt" + }, + { + "LedgerAccountId": "de3184b9-23f0-55e6-9bd0-ccb5c2b5b5ce", + "AmountVat": 0, + "VatType": "zero", + "AmountExcludingVat": 40.55 + }, + { + "LedgerAccountId": "de3184b9-23f0-55e6-9bd0-ccb5c2b5b5ce", + "AmountVat": 18, + "VatType": "low", + "AmountExcludingVat": 200 + } + ] + } + }, + "verkoop met locatie en afdeling": { + "value": { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InvoiceDate": "2025-01-15", + "InvoiceNumber": "VK-80-452491", + "RelationType": "organisation", + "RelationId": "666af0be-5fbe-5345-8315-18b5bc17215a", + "Reference": "docs-sample-8.0", + "Description": "Voorbeeld verkoopjournaalpost 3.0 (locatie en afdeling)", + "PaymentMethod": "banktransfer", + "InvoiceLine": [ + { + "LedgerAccountId": "89505e52-e161-4f2d-9727-1d8fcbb4c4da", + "Description": "Omzet vestiging Inspiratielaan", + "AmountExcludingVat": 100, + "AmountVat": 21, + "VatType": "high", + "LocationId": "01ae3b98-8320-44e1-8eb4-c66635dde0b4" + }, + { + "LedgerAccountId": "ee7ac105-3432-4515-a79f-21252fb5ac6a", + "Description": "Omzet afdeling Directie", + "AmountExcludingVat": 200, + "AmountVat": 18, + "VatType": "low", + "DepartmentId": "43d4aa9d-0219-44b8-a8cb-878a61a61638" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "traceId": "0be0b15f-79b5-486b-b26f-94a711c318e0", + "data": { + "SalesJournalEntryId": "63cc7430-0455-4e11-95b9-74693427b8b2" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "SalesJournalEntryId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + }, + "400": { + "content": { + "application/json": { + "examples": { + "already exists": { + "value": { + "result": "Failed", + "traceId": "3ca43e3a-00b6-460d-8bf1-be2f391f3f4c", + "instances": [], + "errors": [ + "SalesJournalEntry with invoicenumber SB_API_2204202410006 already exists" + ] + } + }, + "error on date": { + "value": { + "result": "Failed", + "traceId": "57f10a49-6720-4bb8-8826-8ef92387560f", + "instances": [], + "errors": [ + "Entity is made with one or more errors. Please correct this error in application or delete SalesJournalEntry with id: b32ee6e1-f807-4644-a6d5-d785d8bd7c61", + "De factuurdatum ligt vóór de beginbalansdatum. Dit is niet toegestaan." + ] + } + }, + "error on line": { + "value": { + "result": "Failed", + "traceId": "010e0485-1e22-4f1a-8573-405090824d35", + "instances": [], + "errors": [ + "Entity is made with one or more errors in the lines. Please correct this error in application or delete SalesJournalEntry with id: eee53305-8851-4859-a53e-b4b18f14040e.", + "Field 'Grootboekrekening' contains an invalid reference (a18e0f9a-c73d-58c4-ae80-64c2e4228de4)", + "Field 'Grootboekrekening' contains an invalid reference (a18e0f9a-c73d-58c4-ae80-64c2e4228de4)" + ] + } + }, + "error": { + "value": { + "result": "Failed", + "traceId": "e193dbe5-8f65-4035-aa81-879bd9828f98", + "instances": [], + "errors": [ + "FeatureToggle not enabled" + ] + } + } + }, + "schema": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "items": { + "type": "string" + } + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "instances": { + "type": "array", + "items": {} + }, + "result": { + "type": "string" + } + } + } + } + } + } + }, + "version": "3.0", + "deprecated": false, + "tags": [ + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/salesjournalentrywof": { + "post": { + "description": "Write off a sales journal entry by creating an alternative event", + "summary": "salesjournalentrywof 1.0", + "operationId": "updateconnector-salesjournalentrywof-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "salesjournalentrywof 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/salesjournalentrywof-1.0-Create-JsonSchema" + }, + "examples": { + "Write off": { + "value": { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "Description": "Write off" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "traceId": "3614178a-f801-47b7-bae1-dad6439f2c54", + "data": {}, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": {} + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Verkoopjournaalpost" + ] + } + }, + "/api/supplier": { + "post": { + "description": "Create new supplier relationships and vendor setup", + "summary": "supplier 1.0", + "operationId": "updateconnector-supplier-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "supplier 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/supplier-1.0-Create-JsonSchema" + }, + "examples": { + "New supplier organisation": { + "value": { + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "EmailAddress": "klant@afas.nl", + "PhoneNumber": "0696856831", + "BankAccountNumber": "NL29TRIO0110845005", + "Bic": "TRIONL2U", + "LedgerAccountId": "4a2014b0-dcdc-500d-add2-fcf73ac8f88d", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "ee64c81b-56ff-506f-9dac-855d64bf193a", + "Organisation": { + "Name": "Jansen Haarden", + "CompanyIdCoc": "80446353", + "CompanyIdVat": "NL861674881B01", + "TradeName": "Jansen Holding B.V." + } + } + }, + "New supplier person": { + "value": { + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "EmailAddress": "Delfina2@example.net", + "PhoneNumber": "30-702-386-4989", + "BankAccountNumber": "NL29TRIO0110845005", + "Bic": "TRIONL2U", + "Person": { + "Firstname": "Lacy", + "Initials": "MD", + "Prefix": "Ms.", + "Lastname": "Harber" + }, + "PaymentMethod": "null", + "LedgerAccountId": "cfb59b79-b3ec-55ef-8cde-000499c3179e", + "PaymentCondition": "b98e24e9-a611-5a98-8cf9-40fed321dc6c", + "VatCalculation": "null" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "instances": [ + { + "Code": "Persoon", + "Id": "e55f5d3b-780b-576b-9370-760b58e937ec" + }, + { + "Code": "Instelling", + "Id": "20eb199e-c652-5513-b7eb-c39f927d1ef3" + }, + { + "Code": "Leverancier", + "Id": "20eb199e-c652-5513-b7eb-c39f927d1ef3" + }, + { + "Code": "Begunstigde", + "Id": "7afec8a8-c9f4-4ec7-aa68-8d9bc995468d" + }, + { + "Code": "Emailadres", + "Id": "4fc10096-8bb4-4be8-8039-5239b4125757" + }, + { + "Code": "Telefoonnummer", + "Id": "5e553026-0ad2-4f4c-bd2e-5dbdd6c0096f" + }, + { + "Code": "Bankrekening", + "Id": "d18e1122-e014-4468-aa65-585b333359c1" + } + ], + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost" + ] + } + } + }, + "tags": [ + { + "name": "Autorisatie", + "description": "Endpoints voor autorisatie" + }, + { + "name": "Bijlagen", + "description": "Endpoints voor bijlagen" + }, + { + "name": "Publiek: Admin center data", + "description": "Admin center data connectoren" + }, + { + "name": "Crediteuren", + "description": "Crediteuren connectoren" + }, + { + "name": "Debiteuren", + "description": "Debiteuren connectoren" + }, + { + "name": "Publiek: Financiële dashboarding", + "description": "Financiële dashboarding voor publieke api" + }, + { + "name": "Publiek: Financiële journaalpost", + "description": "Financiële journaalpost voor publieke api" + }, + { + "name": "Financiële journaalpost", + "description": "Financiële journaalpost connectors" + }, + { + "name": "Publiek: Financiële rapportage", + "description": "Financiële rapportage voor publieke api" + }, + { + "name": "Financiele rapportage", + "description": "Financiele rapportage connectoren" + }, + { + "name": "Publiek: Externe verkoopregels", + "description": "Verkoopregels voor publieke api" + }, + { + "name": "Verkoopregels", + "description": "Verkoopregels connectors" + }, + { + "name": "Loonjournaalpost", + "description": "Loonjournaalpost connectors" + }, + { + "name": "Publiek: POS Transacties", + "description": "POS transacties voor publieke api" + }, + { + "name": "POS Transacties", + "description": "POS transacties" + }, + { + "name": "Publiek: Inkoopjournaalpost", + "description": "Inkoopjournaalpost connectors voor publieke api" + }, + { + "name": "Inkoopjournaalpost", + "description": "Inkoopjournaalpost connectors" + }, + { + "name": "Publiek: Relatiemanagement", + "description": "Relatiemanagement voor publieke api" + }, + { + "name": "Relaties", + "description": "Relatie connectors" + }, + { + "name": "Publiek: Facturatie", + "description": "Facturatie voor publieke api" + }, + { + "name": "Verkoopfactuur", + "description": "Verkoopfactuur connectors" + }, + { + "name": "Publiek: Externe facturatie", + "description": "Externe facturatie voor publieke api" + }, + { + "name": "Verkoopjournaalpost", + "description": "Verkoopjournaalpost connectors" + }, + { + "name": "TechnischeInfo", + "description": "Technische informatie" + } + ], + "components": { + "securitySchemes": { + "oAuth2": { + "type": "oauth2", + "flows": { + "authorizationCode": { + "authorizationUrl": "https://{{domain}}.afasfocus.nl/{{customerenvironment}}/app/auth", + "tokenUrl": "https://{{domain}}.afasfocus.nl/{{customerenvironment}}/app/token", + "scopes": {} + } + } + } + }, + "requestBodies": { + "address-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "default": {}, + "description": "Use this endpoint to create a new address for a person or organisation.", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "RelationType": { + "type": "string", + "description": "Must contain one of the enums. Will be required in a future version.", + "enum": [ + "organisation", + "person" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation or person. Will be required in a future version.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + } + }, + "examples": [ + { + "RelationType": "organisation", + "RelationId": "c8a288c1-3dbb-483d-840d-9cc601368a92", + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "a", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL" + } + ] + }, + "bankaccount-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "default": {}, + "description": "Use this endpoint to create a new bankaccount data for a person or organisation.", + "required": [ + "AccountNumber", + "AccountHolderName", + "CountryCode", + "RelationType", + "RelationId" + ], + "properties": { + "RelationType": { + "type": "string", + "description": "Must contain one of the enums. Will be required in a future version.", + "enum": [ + "organisation", + "person" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation or person. Will be required in a future version.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL01RABO0123456789" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "RABO" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "RABONL2U" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "DE" + ] + }, + "AccountHolderName": { + "type": "string", + "default": "", + "description": "Must contain the name of the account holder.", + "examples": [ + "Kees Zandbergen" + ] + } + }, + "examples": [ + { + "RelationType": "organisation", + "RelationId": "c8a288c1-3dbb-483d-840d-9cc601368a92", + "AccountNumber": "NL01RABO0123456789", + "BankId": "RABO", + "Bic": "RABONL2U", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen" + } + ] + }, + "cashmutation-1.0-Create-JsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema", + "type": "object", + "description": "This endpoint allows you to add cash mutations directly from Point of Sale (POS) applications to the accounting software, streamlining the process of recording and managing cash transactions for businesses. For each cashmutation an request must be done.", + "properties": { + "administrationId": { + "type": "string", + "format": "uuid", + "description": "The Administration ID uniquely identifying an administration. Retrieve it from the endpoint: api/administration" + }, + "description": { + "type": "string", + "description": "The description providing information about the cash mutation and other bookings" + }, + "date": { + "type": "string", + "format": "date", + "description": "The date when the cash mutation and other bookings occurred" + }, + "ledgerAccountId": { + "type": "string", + "format": "uuid", + "description": "The Ledger Account ID uniquely identifying a ledger account. Retrieve it from the endpoint: api/ledgeraccounts" + }, + "amountIncludingVat": { + "type": "number", + "multipleOf": 0.01, + "description": "The amount including VAT for the cash mutation and other bookings" + }, + "vatPercentage": { + "type": "integer", + "description": "The percentage of VAT applied to the cash mutation and other bookings" + }, + "vatTarive": { + "type": "string", + "enum": [ + "high", + "low", + "zero" + ], + "description": "The VAT tarive/category - 'high', 'low', or 'zero'" + }, + "vatType": { + "type": "string", + "enum": [ + "purchase", + "sales" + ], + "description": "The type of VAT operation - 'purchase' or 'sales'" + }, + "attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "required": [ + "attachmentId" + ], + "properties": { + "attachmentId": { + "type": "string", + "format": "uuid" + } + } + } + } + }, + "required": [ + "administrationId", + "description", + "date", + "amountIncludingVat" + ] + }, + "cashmutation-2.0-Create-JsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema", + "type": "object", + "description": "This endpoint allows you to add cash mutations directly from Point of Sale (POS) applications to the accounting software, streamlining the process of recording and managing cash transactions for businesses. For each cashmutation an request must be done.", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "The Administration ID uniquely identifying an administration. Retrieve it from the endpoint: api/administration" + }, + "Description": { + "type": "string", + "description": "The description providing information about the cash mutation and other bookings" + }, + "Date": { + "type": "string", + "format": "date", + "description": "The date when the cash mutation and other bookings occurred" + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "The Ledger Account ID uniquely identifying a ledger account. Retrieve it from the endpoint: api/ledgeraccounts" + }, + "AmountIncludingVat": { + "type": "number", + "multipleOf": 0.01, + "description": "The amount including VAT for the cash mutation and other bookings" + }, + "VatPercentage": { + "type": "integer", + "description": "The percentage of VAT applied to the cash mutation and other bookings" + }, + "VatTarive": { + "type": "string", + "enum": [ + "high", + "low", + "zero" + ], + "description": "The VAT tarive/category - 'high', 'low', or 'zero'" + }, + "VatType": { + "type": "string", + "enum": [ + "purchase", + "sales" + ], + "description": "The type of VAT operation - 'purchase' or 'sales'" + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid" + } + } + } + } + }, + "required": [ + "AdministrationId", + "Description", + "Date", + "AmountIncludingVat" + ] + }, + "cashmutation-3.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "This endpoint allows you to add cash mutations directly from Point of Sale (POS) applications to the accounting software, streamlining the process of recording and managing cash transactions for businesses. For each cashmutation an request must be done. Only the default cash location is supported.", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "The Administration ID uniquely identifying an administration. Retrieve it from the endpoint: api/administrations" + }, + "CashRegisterId": { + "type": "string", + "format": "uuid", + "description": "The CashRegister ID uniquely identifying an cash register. Retrieve it from the endpoint: api/cashregisters. Falls back to default when empty." + }, + "Description": { + "type": "string", + "description": "The description providing information about the cash mutation and other bookings", + "maxLength": 255 + }, + "Date": { + "type": "string", + "format": "date", + "description": "The date when the cash mutation and other bookings occurred" + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "The Ledger Account ID uniquely identifying a ledger account. Retrieve it from the endpoint: api/ledgeraccounts" + }, + "AmountIncludingVat": { + "type": "number", + "multipleOf": 0.01, + "description": "The amount including VAT for the cash mutation and other bookings" + }, + "VatTarive": { + "type": "string", + "enum": [ + "high", + "low", + "zero" + ], + "description": "The VAT tarive/category - 'high', 'low', or 'zero'" + }, + "VatType": { + "type": "string", + "enum": [ + "purchase", + "sales" + ], + "description": "The type of VAT operation - 'purchase' or 'sales'" + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid" + } + } + } + } + }, + "required": [ + "AdministrationId", + "Description", + "Date", + "AmountIncludingVat" + ] + }, + "contact-1.0-Create-JsonSchema": { + "type": "object", + "description": "Create a contact by organisation.", + "required": [ + "OrganisationId", + "Lastname" + ], + "properties": { + "OrganisationId": { + "type": "string", + "format": "uuid", + "examples": [ + "c3bf8c80-08ed-44ea-a842-661a9085d6bf" + ] + }, + "ContactId": { + "type": "string", + "format": "uuid", + "examples": [ + "880ed307-af2e-447d-8440-e26fed53ecc5" + ] + }, + "Firstname": { + "type": "string", + "examples": [ + "Maarten" + ] + }, + "Initials": { + "type": "string", + "examples": [ + "M.H." + ] + }, + "Prefix": { + "type": "string", + "examples": [ + "van" + ] + }, + "Lastname": { + "type": "string", + "examples": [ + "Zandbergen" + ] + }, + "emailaddress": { + "type": "string", + "format": "email", + "examples": [ + "Maarten@vanZandbergen.nl" + ] + }, + "phonenumber": { + "type": "string", + "examples": [ + "+31655887744" + ] + } + }, + "examples": [ + { + "OrganisationId": "c3bf8c80-08ed-44ea-a842-661a9085d6bf", + "Firstname": "Maarten", + "Initials": "M.H.", + "Prefix": "van", + "Lastname": "Zandbergen", + "emailaddress": "Maarten@vanZandbergen.nl", + "phonenumber": "+31655887744" + } + ] + }, + "contact-2.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a contact by organisation.", + "required": [ + "OrganisationId", + "LastName" + ], + "properties": { + "OrganisationId": { + "type": "string", + "format": "uuid", + "examples": [ + "c3bf8c80-08ed-44ea-a842-661a9085d6bf" + ] + }, + "ContactId": { + "type": "string", + "format": "uuid", + "examples": [ + "880ed307-af2e-447d-8440-e26fed53ecc5" + ] + }, + "FirstName": { + "type": "string", + "examples": [ + "Maarten" + ] + }, + "Initials": { + "type": "string", + "examples": [ + "M.H." + ] + }, + "Prefix": { + "type": "string", + "examples": [ + "van" + ] + }, + "LastName": { + "type": "string", + "examples": [ + "Zandbergen" + ] + }, + "EmailAddress": { + "type": "string", + "format": "email", + "examples": [ + "Maarten@vanZandbergen.nl" + ] + }, + "PhoneNumber": { + "type": "string", + "examples": [ + "+31655887744" + ] + } + }, + "examples": [ + { + "OrganisationId": "c3bf8c80-08ed-44ea-a842-661a9085d6bf", + "FirstName": "Maarten", + "Initials": "M.H.", + "Prefix": "van", + "LastName": "Zandbergen", + "EmailAddress": "Maarten@vanZandbergen.nl", + "PhoneNumber": "+31655887744" + } + ] + }, + "emailaddress-1.0-Create-JsonSchema": { + "type": "object", + "x-examples": { + "Example 1": { + "OrganisationId": "8f03496b-1f42-5ac3-a770-91f9da4e6e12", + "EmailAddress": "j.zandbergen@afasSbPlus.nl" + } + }, + "title": "EmailAddress", + "examples": [ + { + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "EmailAddress": "user@example.com" + } + ], + "properties": { + "OrganisationId": { + "type": "string", + "format": "uuid", + "example": "32abaca0-b4c6-4dce-af80-9de42a830e62" + }, + "EmailAddress": { + "type": "string", + "format": "email" + } + }, + "required": [ + "EmailAddress", + "OrganisationId" + ], + "description": "Create an emailaddress for an organisation." + }, + "emailaddress-2.0-Create-JsonSchema": { + "type": "object", + "x-examples": { + "Organiation": { + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "EmailAddress": "user@example.com" + }, + "Person": { + "RelationType": "person", + "RelationId": "963578e8-7831-4aa4-83c4-e7c3262f0572", + "EmailAddress": "user@example.com" + } + }, + "title": "EmailAddress", + "properties": { + "RelationType": { + "type": "string", + "description": "Must contain one of the enums. Will be required in a future version.", + "enum": [ + "organisation", + "person" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation or person. Will be required in a future version.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "EmailAddress": { + "type": "string", + "format": "email" + } + }, + "required": [ + "EmailAddress", + "RelationType", + "RelationId" + ], + "description": "Create an emailaddress for an organisation or person." + }, + "financialjournalentry-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a financial journal entry.", + "required": [ + "AdministrationId", + "EntryDate", + "Description", + "EntryLine" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "EntryDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-10-12" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntry.", + "examples": [ + "Example Journal 001" + ] + }, + "Attachments": { + "type": "array", + "default": [], + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "default": {}, + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + } + }, + "EntryLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "default": {}, + "required": [ + "LedgerAccountId" + ], + "properties": { + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntryLine.", + "examples": [ + "Sales with high vat type" + ] + }, + "AmountDebit": { + "type": "number", + "multipleOf": 0.01, + "examples": [ + 100.26 + ] + }, + "AmountCredit": { + "type": "number", + "multipleOf": 0.01, + "examples": [ + 100.64 + ] + }, + "VatDirection": { + "type": "string", + "enum": [ + "sales", + "purchases", + "", + "null" + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "special", + "zero", + "", + "null" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + } + }, + "allOf": [ + { + "if": { + "properties": { + "PeriodAllocation": { + "const": true + } + }, + "required": [ + "PeriodAllocation" + ] + }, + "then": { + "required": [ + "PeriodAllocationBeginDate", + "PeriodAllocationEndDate" + ] + } + }, + { + "anyOf": [ + { + "required": [ + "AmountDebit" + ], + "not": { + "required": [ + "AmountCredit" + ] + } + }, + { + "required": [ + "AmountCredit" + ], + "not": { + "required": [ + "AmountDebit" + ] + } + } + ] + } + ] + } + } + } + }, + "financialjournalentry-1.0-Delete-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Delete a financialjournalentry", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of financialjournalentry.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + } + ] + }, + "linestobeinvoiced-1.0-Create-JsonSchema": { + "type": "object", + "description": "Create a line to be invoiced", + "required": [ + "AdministrationId", + "Date", + "Description", + "RelationType", + "RelationId", + "Quantity" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Date": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "Description": { + "type": "string", + "description": "Must contain a description for the Line to be invoiced.", + "examples": [ + "Productomschrijving" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "format": "uuid" + }, + "ItemId": { + "type": "string", + "description": "Must contain Product guid. This can be retrieved through the products endpoint.", + "format": "uuid" + }, + "Quantity": { + "type": "number", + "description": "Quantity of products of this type", + "multipleOf": 0.01 + }, + "Price": { + "type": [ + "number", + "null" + ], + "description": "Price per product, may be left empty if product with price is provided", + "minimum": 0, + "multipleOf": 0.01 + }, + "ProjectId": { + "type": "string", + "description": "Must contain the guid of the project.", + "format": "uuid" + } + } + }, + "linestobeinvoiced-1.0-Delete-JsonSchema": { + "type": "object", + "description": "Delete a line to be invoiced", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of line to be invoiced.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + } + ] + }, + "linestobeinvoiced-1.0-Update-JsonSchema": { + "type": "object", + "description": "Update a line to be invoiced", + "required": [ + "AdministrationId", + "LineToBeInvoicedId", + "Date", + "Description", + "RelationType", + "RelationId", + "Quantity" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "LineToBeInvoicedId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the line to be invoiced", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Date": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the Line to be invoiced.", + "examples": [ + "Example Journal 001" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "format": "uuid" + }, + "ItemId": { + "type": "string", + "description": "Must contain Product guid. This can be retrieved through the products endpoint.", + "format": "uuid" + }, + "Quantity": { + "type": "number", + "description": "Quantity of products of this type", + "multipleOf": 0.01 + }, + "Price": { + "type": [ + "number", + "null" + ], + "description": "Price per product, may be left empty if product with price is provided", + "minimum": 0, + "multipleOf": 0.01 + }, + "ProjectId": { + "type": "string", + "description": "Must contain the guid of the project.", + "format": "uuid" + } + } + }, + "mandates-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create mandate for direct debit payments.", + "required": [ + "AdministrationId", + "RelationType", + "RelationId", + "RelationBankAccountId", + "DateOfSignature" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "RelationBankAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the bankaccount id of the organisation or person.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "AdministrationBankAccountId": { + "type": "string", + "format": "uuid", + "description": "Can contain the guid bankaccount of administration. If none provided de default bankaccount is used.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "MandateReference": { + "type": "string", + "description": "Can contain a reference of the mandates.If none provided an autonumber is used.", + "examples": [ + "Contractnr.FL-23904/P" + ] + }, + "DateOfSignature": { + "type": "string", + "description": "Must contain a date of signature/ approval.", + "format": "date", + "examples": [ + "2025-12-31" + ] + }, + "MandateKind": { + "type": "string", + "description": "Can contain one of the enums.", + "enum": [ + "standard", + "business" + ] + }, + "Attachments": { + "type": "array", + "default": [], + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "default": {}, + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "PeriodOfValidity": { + "type": "boolean", + "description": "Valid over a period", + "default": false + }, + "PeriodOfValidityBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2025-01-01" + ] + }, + "PeriodOfValidityEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2025-12-31" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "RelationBankAccountId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "AdministrationBankAccountId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "MandateReference": "Contractnr.FL-23904/P", + "DateOfSignature": "2024-12-31", + "MandateKind": "standard", + "Attachments": [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ], + "PeriodOfValidity": true, + "PeriodOfValidityBeginDate": "2025-01-01", + "PeriodOfValidityEndDate": "2025-12-31" + } + ] + }, + "organisation-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "default": {}, + "title": "Organisation", + "description": "A JSON schema to represent an organization", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "The name of the organisation", + "minLength": 1 + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the Organisation to use for a client application." + }, + "cocNumber": { + "type": "string", + "description": "The Chamber of Commerce (CoC) number of the organisation", + "pattern": "^[0-9]+$" + }, + "vatNumber": { + "type": "string", + "description": "The Value-Added Tax (VAT) number of the organisation", + "pattern": "^[A-Z0-9]+$" + }, + "tradename": { + "type": "string", + "description": "The tradename of the organisation" + }, + "sbiCode": { + "type": "string", + "description": "The SBICode of the organisation" + }, + "emailAddress": { + "type": "string", + "format": "email", + "description": "The email address of the organisation" + }, + "website": { + "type": "string", + "format": "uri", + "description": "The website of the organisation" + }, + "phoneNumber": { + "type": "string", + "description": "The phone number of the organisation" + }, + "address": { + "type": "array", + "default": [], + "title": "The address Schema", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "preferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "preferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "preferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "bankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for an organisation", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "AccountHolderName" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "AccountHolderName": { + "type": "string", + "description": "Must contain the name of the account holder.", + "examples": [ + "Kees Zandbergen", + "Jan Zandbergen" + ] + }, + "preferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "preferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "name": "Cremin Group", + "cocNumber": "38012622", + "vatNumber": "NL003276211B01", + "tradename": "Quitzon, Schinner and Jakubowski", + "emailAddress": "Kirsten_Bogisich27@example.org", + "website": "http://antoinette.name", + "phoneNumber": "758-646-8786", + "address": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "preferredSupplierAddress": true, + "preferredShippingAddress": false, + "preferredBillingAddress": true + }, + { + "StreetName": "inspiratielaan", + "HouseNumber": 3, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "preferredSupplierAddress": false, + "preferredShippingAddress": true, + "preferredBillingAddress": false + } + ], + "bankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen", + "preferredOutgoingPayments": true, + "preferredIncommingPayments": true + }, + { + "AccountNumber": "NL44DNIB0736664289", + "BankId": "DNIB", + "Bic": "DNIBNL2G", + "CountryCode": "NL", + "AccountHolderName": "Jan Zandbergen", + "preferredOutgoingPayments": false, + "preferredIncommingPayments": false + } + ] + } + ] + }, + "organisation-1.0-Update-JsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://example.com/organization-update-schema", + "type": "object", + "title": "Organization Update Schema", + "description": "A schema for updating the information of an organization, including its name, external identifier, Chamber of Commerce number, and Value-Added Tax number.", + "properties": { + "name": { + "type": "string", + "description": "The name of the organisation", + "minLength": 1, + "maxLength": 100 + }, + "externalId": { + "type": "string", + "description": "ExternalId of the Organisation to use for a client application" + }, + "cocNumber": { + "type": "string", + "pattern": "^[0-9]{8}$", + "description": "The Chamber of Commerce (CoC) number of the organisation" + }, + "vatNumber": { + "type": "string", + "pattern": "^[A-Z0-9]+$", + "description": "The Value-Added Tax (VAT) number of the organisation" + } + } + }, + "organisation-2.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "default": {}, + "title": "Organisation", + "description": "A JSON schema to represent an organization", + "required": [ + "Name" + ], + "properties": { + "Name": { + "type": "string", + "description": "The name of the organisation", + "minLength": 1 + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the Organisation to use for a client application." + }, + "CocNumber": { + "type": "string", + "description": "The Chamber of Commerce (CoC) number of the organisation", + "pattern": "^[0-9]+$" + }, + "VatNumber": { + "type": "string", + "description": "The Value-Added Tax (VAT) number of the organisation", + "pattern": "^[A-Z0-9]+$" + }, + "Tradename": { + "type": "string", + "description": "The tradename of the organisation" + }, + "SbiCode": { + "type": "string", + "description": "The SBICode of the organisation" + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The email address of the organisation" + }, + "Website": { + "type": "string", + "format": "uri", + "description": "The website of the organisation" + }, + "PhoneNumber": { + "type": "string", + "description": "The phone number of the organisation" + }, + "Addresses": { + "type": "array", + "default": [], + "title": "The address Schema", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for an organisation", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "AccountHolderName" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "AccountHolderName": { + "type": "string", + "description": "Must contain the name of the account holder.", + "examples": [ + "Kees Zandbergen", + "Jan Zandbergen" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "Name": "Cremin Group", + "CocNumber": "38012622", + "VatNumber": "NL003276211B01", + "Tradename": "Quitzon, Schinner and Jakubowski", + "EmailAddress": "Kirsten_Bogisich27@example.org", + "Website": "http://antoinette.name", + "PhoneNumber": "758-646-8786", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "inspiratielaan", + "HouseNumber": 3, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL44DNIB0736664289", + "BankId": "DNIB", + "Bic": "DNIBNL2G", + "CountryCode": "NL", + "AccountHolderName": "Jan Zandbergen", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "organisation-3.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "default": {}, + "title": "Organisation", + "description": "A JSON schema to represent an organization", + "required": [ + "Name" + ], + "properties": { + "Name": { + "type": "string", + "description": "The name of the organisation", + "minLength": 1 + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the Organisation to use for a client application." + }, + "CocNumber": { + "type": "string", + "description": "The Chamber of Commerce (CoC) number of the organisation", + "pattern": "^[0-9]+$" + }, + "VatNumber": { + "type": "string", + "description": "The Value-Added Tax (VAT) number of the organisation", + "pattern": "^[A-Z0-9]+$" + }, + "Tradename": { + "type": "string", + "description": "The tradename of the organisation" + }, + "SbiCode": { + "type": "string", + "description": "The SBICode of the organisation" + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The email address of the organisation" + }, + "Website": { + "type": "string", + "format": "uri", + "description": "The website of the organisation" + }, + "PhoneNumber": { + "type": "string", + "description": "The phone number of the organisation" + }, + "Addresses": { + "type": "array", + "default": [], + "title": "The address Schema", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for an organisation", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "AccountHolderName" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "AccountHolderName": { + "type": "string", + "description": "Must contain the name of the account holder.", + "examples": [ + "Kees Zandbergen", + "Jan Zandbergen" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "Name": "Cremin Group", + "CocNumber": "38012622", + "VatNumber": "NL003276211B01", + "Tradename": "Quitzon, Schinner and Jakubowski", + "EmailAddress": "Kirsten_Bogisich27@example.org", + "Website": "http://antoinette.name", + "PhoneNumber": "758-646-8786", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "inspiratielaan", + "HouseNumber": 3, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL44DNIB0736664289", + "BankId": "DNIB", + "Bic": "DNIBNL2G", + "CountryCode": "NL", + "AccountHolderName": "Jan Zandbergen", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "organisation-3.0-Update-JsonSchema": { + "type": "object", + "default": {}, + "title": "Organisation", + "description": "A JSON schema to represent an organization", + "required": [ + "RelationId" + ], + "properties": { + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Name": { + "type": "string", + "description": "The name of the organisation" + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the Organisation to use for a client application." + }, + "CocNumber": { + "type": "string", + "description": "The Chamber of Commerce (CoC) number of the organisation", + "pattern": "^[0-9]+$" + }, + "VatNumber": { + "type": "string", + "description": "The Value-Added Tax (VAT) number of the organisation", + "pattern": "^[A-Z0-9]+$" + }, + "Tradename": { + "type": "string", + "description": "The tradename of the organisation" + }, + "SbiCode": { + "type": "string", + "description": "The SBICode of the organisation" + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The email address of the organisation" + }, + "Website": { + "type": "string", + "format": "uri", + "description": "The website of the organisation" + }, + "PhoneNumber": { + "type": "string", + "description": "The phone number of the organisation" + }, + "Addresses": { + "type": "array", + "default": [], + "title": "The address Schema", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for an organisation", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "AccountHolderName" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "AccountHolderName": { + "type": "string", + "description": "Must contain the name of the account holder.", + "examples": [ + "Kees Zandbergen", + "Jan Zandbergen" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "Name": "Cremin Group", + "CocNumber": "38012622", + "VatNumber": "NL003276211B01", + "Tradename": "Quitzon, Schinner and Jakubowski", + "EmailAddress": "Kirsten_Bogisich27@example.org", + "Website": "http://antoinette.name", + "PhoneNumber": "758-646-8786", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "inspiratielaan", + "HouseNumber": 3, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL44DNIB0736664289", + "BankId": "DNIB", + "Bic": "DNIBNL2G", + "CountryCode": "NL", + "AccountHolderName": "Jan Zandbergen", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "organisation-4.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "default": {}, + "title": "Organisation", + "description": "A JSON schema to represent an organization", + "required": [ + "Name" + ], + "properties": { + "Name": { + "type": "string", + "description": "The name of the organisation", + "minLength": 1 + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the Organisation to use for a client application." + }, + "CocNumber": { + "type": "string", + "description": "The Chamber of Commerce (CoC) number of the organisation", + "pattern": "^[0-9]+$" + }, + "VatNumber": { + "type": "string", + "description": "The Value-Added Tax (VAT) number of the organisation", + "pattern": "^[A-Z0-9]+$" + }, + "Tradename": { + "type": "string", + "description": "The tradename of the organisation" + }, + "SbiCode": { + "type": "string", + "description": "The SBICode of the organisation" + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The email address of the organisation" + }, + "Website": { + "type": "string", + "description": "The website of the organisation" + }, + "PhoneNumber": { + "type": "string", + "description": "The phone number of the organisation" + }, + "Addresses": { + "type": "array", + "default": [], + "title": "The address Schema", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for an organisation", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "AccountHolderName" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "AccountHolderName": { + "type": "string", + "description": "Must contain the name of the account holder.", + "examples": [ + "Kees Zandbergen", + "Jan Zandbergen" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "Name": "Cremin Group", + "CocNumber": "38012622", + "VatNumber": "NL003276211B01", + "Tradename": "Quitzon, Schinner and Jakubowski", + "EmailAddress": "Kirsten_Bogisich27@example.org", + "Website": "http://antoinette.name", + "PhoneNumber": "758-646-8786", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "inspiratielaan", + "HouseNumber": 3, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL44DNIB0736664289", + "BankId": "DNIB", + "Bic": "DNIBNL2G", + "CountryCode": "NL", + "AccountHolderName": "Jan Zandbergen", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "organisation-4.0-Update-JsonSchema": { + "type": "object", + "default": {}, + "title": "Organisation", + "description": "A JSON schema to represent an organization", + "required": [ + "RelationId" + ], + "properties": { + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Name": { + "type": "string", + "description": "The name of the organisation" + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the Organisation to use for a client application." + }, + "CocNumber": { + "type": "string", + "description": "The Chamber of Commerce (CoC) number of the organisation", + "pattern": "^[0-9]+$" + }, + "VatNumber": { + "type": "string", + "description": "The Value-Added Tax (VAT) number of the organisation", + "pattern": "^[A-Z0-9]+$" + }, + "Tradename": { + "type": "string", + "description": "The tradename of the organisation" + }, + "SbiCode": { + "type": "string", + "description": "The SBICode of the organisation" + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The email address of the organisation" + }, + "Website": { + "type": "string", + "description": "The website of the organisation" + }, + "PhoneNumber": { + "type": "string", + "description": "The phone number of the organisation" + }, + "Addresses": { + "type": "array", + "default": [], + "title": "The address Schema", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for an organisation", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "AccountHolderName" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "AccountHolderName": { + "type": "string", + "description": "Must contain the name of the account holder.", + "examples": [ + "Kees Zandbergen", + "Jan Zandbergen" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "Name": "Cremin Group", + "CocNumber": "38012622", + "VatNumber": "NL003276211B01", + "Tradename": "Quitzon, Schinner and Jakubowski", + "EmailAddress": "Kirsten_Bogisich27@example.org", + "Website": "http://antoinette.name", + "PhoneNumber": "758-646-8786", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "inspiratielaan", + "HouseNumber": 3, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL44DNIB0736664289", + "BankId": "DNIB", + "Bic": "DNIBNL2G", + "CountryCode": "NL", + "AccountHolderName": "Jan Zandbergen", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "payrolljournalentry-1.0-Create-JsonSchema": { + "type": "object", + "title": "PayrollJournalEntry", + "description": "Create a Payroll entry.", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Use GET ../Administration" + }, + "Description": { + "type": "string" + }, + "Date": { + "type": "string", + "format": "date", + "example": "2023-01-31" + }, + "PayrollJournalEntryLine": { + "type": "array", + "items": { + "type": "object", + "properties": { + "LedgerAccountNumber": { + "type": "string", + "description": "Number of the ledger account GET ../LegderAccount" + }, + "AmountDebit": { + "type": "number", + "minimum": 0, + "multipleOf": 0.01, + "example": 1403.65 + }, + "AmountCredit": { + "type": "number", + "minimum": 0, + "multipleOf": 0.01, + "example": 2650.33 + } + }, + "required": [ + "LedgerAccountNumber" + ] + } + } + }, + "required": [ + "AdministrationId", + "Description", + "Date", + "PayrollJournalEntryLine" + ] + }, + "person-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "title": "Person", + "type": "object", + "required": [ + "lastName" + ], + "properties": { + "firstName": { + "type": "string", + "description": "The first name of the person.", + "examples": [ + "John" + ] + }, + "lastName": { + "type": "string", + "description": "The last name of the person.", + "examples": [ + "Doe" + ] + }, + "Initials": { + "type": "string", + "description": "The initials of the person.", + "examples": [ + "J.D." + ] + }, + "Prefix": { + "type": "string", + "description": "The prefix of the lastname.", + "examples": [ + "van." + ] + }, + "emailaddress": { + "type": "string", + "format": "email", + "description": "The emailaddress of the person", + "examples": [ + "johndoe@gmail.com" + ] + }, + "phonenumber": { + "type": "string", + "description": "The phonenumber of the person", + "examples": [ + "1-555-123-4567" + ] + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the person to use for a client application.", + "examples": [ + "987654321" + ] + }, + "address": { + "type": "array", + "default": [], + "description": "Create 1 or more addresses for a person", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "preferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "preferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "preferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "bankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for a person", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "CountryCode" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "preferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "preferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "Firstname": "John", + "Initials": "J", + "Prefix": "Mr", + "lastName": "Doe", + "emailaddress": "johndoe@gmail.com", + "phonenumber": "1-555-123-4567", + "address": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "preferredSupplierAddress": true, + "preferredShippingAddress": false, + "preferredBillingAddress": true + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "preferredSupplierAddress": false, + "preferredShippingAddress": true, + "preferredBillingAddress": false + } + ], + "bankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "preferredOutgoingPayments": true, + "preferredIncommingPayments": true + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "preferredOutgoingPayments": false, + "preferredIncommingPayments": false + } + ] + } + ] + }, + "person-2.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "title": "Person", + "type": "object", + "required": [ + "LastName" + ], + "properties": { + "FirstName": { + "type": "string", + "description": "The first name of the person.", + "examples": [ + "John" + ] + }, + "LastName": { + "type": "string", + "description": "The last name of the person.", + "examples": [ + "Doe" + ] + }, + "Initials": { + "type": "string", + "description": "The initials of the person.", + "examples": [ + "J.D." + ] + }, + "Prefix": { + "type": "string", + "description": "The prefix of the lastname.", + "examples": [ + "van." + ] + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The emailaddress of the person", + "examples": [ + "johndoe@gmail.com" + ] + }, + "PhoneNumber": { + "type": "string", + "description": "The phonenumber of the person", + "examples": [ + "1-555-123-4567" + ] + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the person to use for a client application.", + "examples": [ + "987654321" + ] + }, + "Addresses": { + "type": "array", + "default": [], + "description": "Create 1 or more addresses for a person", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for a person", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "CountryCode" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "FirstName": "John", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Doe", + "EmailAddress": "johndoe@gmail.com", + "PhoneNumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "person-3.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "title": "Person", + "type": "object", + "required": [ + "LastName" + ], + "properties": { + "FirstName": { + "type": "string", + "description": "The first name of the person.", + "examples": [ + "John" + ] + }, + "LastName": { + "type": "string", + "description": "The last name of the person.", + "examples": [ + "Doe" + ] + }, + "Initials": { + "type": "string", + "description": "The initials of the person.", + "examples": [ + "J.D." + ] + }, + "Prefix": { + "type": "string", + "description": "The prefix of the lastname.", + "examples": [ + "van." + ] + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The emailaddress of the person", + "examples": [ + "johndoe@gmail.com" + ] + }, + "PhoneNumber": { + "type": "string", + "description": "The phonenumber of the person", + "examples": [ + "1-555-123-4567" + ] + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the person to use for a client application.", + "examples": [ + "987654321" + ] + }, + "Addresses": { + "type": "array", + "default": [], + "description": "Create 1 or more addresses for a person", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for a person", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "CountryCode", + "BankId" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "FirstName": "John", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Doe", + "EmailAddress": "johndoe@gmail.com", + "PhoneNumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "person-3.0-Update-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "title": "Person", + "type": "object", + "required": [ + "RelationId" + ], + "properties": { + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the person.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "FirstName": { + "type": "string", + "description": "The first name of the person.", + "examples": [ + "John" + ] + }, + "LastName": { + "type": "string", + "description": "The last name of the person.", + "examples": [ + "Doe" + ] + }, + "Initials": { + "type": "string", + "description": "The initials of the person.", + "examples": [ + "J.D." + ] + }, + "Prefix": { + "type": "string", + "description": "The prefix of the lastname.", + "examples": [ + "van." + ] + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The emailaddress of the person", + "examples": [ + "johndoe@gmail.com" + ] + }, + "PhoneNumber": { + "type": "string", + "description": "The phonenumber of the person", + "examples": [ + "1-555-123-4567" + ] + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the person to use for a client application.", + "examples": [ + "987654321" + ] + }, + "Addresses": { + "type": "array", + "default": [], + "description": "Create 1 or more addresses for a person", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for a person", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "CountryCode" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "FirstName": "John", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Doe", + "EmailAddress": "johndoe@gmail.com", + "PhoneNumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "person-4.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "title": "Person", + "type": "object", + "required": [ + "LastName" + ], + "properties": { + "FirstName": { + "type": "string", + "description": "The first name of the person.", + "examples": [ + "John" + ] + }, + "LastName": { + "type": "string", + "description": "The last name of the person.", + "examples": [ + "Doe" + ] + }, + "Initials": { + "type": "string", + "description": "The initials of the person.", + "examples": [ + "J.D." + ] + }, + "Prefix": { + "type": "string", + "description": "The prefix of the lastname.", + "examples": [ + "van." + ] + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The emailaddress of the person", + "examples": [ + "johndoe@gmail.com" + ] + }, + "PhoneNumber": { + "type": "string", + "description": "The phonenumber of the person", + "examples": [ + "1-555-123-4567" + ] + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the person to use for a client application.", + "examples": [ + "987654321" + ] + }, + "Addresses": { + "type": "array", + "default": [], + "description": "Create 1 or more addresses for a person", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for a person", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "CountryCode", + "BankId" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "FirstName": "John", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Doe", + "EmailAddress": "johndoe@gmail.com", + "PhoneNumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "person-4.0-Update-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "title": "Person", + "type": "object", + "required": [ + "RelationId" + ], + "properties": { + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the person.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "FirstName": { + "type": "string", + "description": "The first name of the person.", + "examples": [ + "John" + ] + }, + "LastName": { + "type": "string", + "description": "The last name of the person.", + "examples": [ + "Doe" + ] + }, + "Initials": { + "type": "string", + "description": "The initials of the person.", + "examples": [ + "J.D." + ] + }, + "Prefix": { + "type": "string", + "description": "The prefix of the lastname.", + "examples": [ + "van." + ] + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The emailaddress of the person", + "examples": [ + "johndoe@gmail.com" + ] + }, + "PhoneNumber": { + "type": "string", + "description": "The phonenumber of the person", + "examples": [ + "1-555-123-4567" + ] + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the person to use for a client application.", + "examples": [ + "987654321" + ] + }, + "Addresses": { + "type": "array", + "default": [], + "description": "Create 1 or more addresses for a person", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for a person", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "CountryCode" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "FirstName": "John", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Doe", + "EmailAddress": "johndoe@gmail.com", + "PhoneNumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "phonenumber-1.0-Create-JsonSchema": { + "type": "object", + "x-stoplight": { + "id": "vfjbed9j7fve7" + }, + "x-examples": { + "Example 1": { + "OrganisationId": "8f03496b-1f42-5ac3-a770-91f9da4e6e12", + "EmailAddress": "j.zandbergen@afasSbPlus.nl" + } + }, + "title": "PhoneNumber", + "examples": [ + { + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "PhoneNumber": "112346546546" + }, + { + "OrganisationId": "32abaca0-b4c6-4dce-af80-9de42a830e62", + "PhoneNumber": "65465454" + }, + { + "RelationType": "person", + "RelationId": "963578e8-7831-4aa4-83c4-e7c3262f0572", + "PhoneNumber": "6546545" + } + ], + "description": "Create a PhoneNumber for an organisation or person.", + "properties": { + "RelationType": { + "type": "string", + "description": "Must contain one of the enums. Will be required in a future version.", + "enum": [ + "organisation", + "person" + ], + "x-stoplight": { + "id": "uqd7z1nx8fqye" + } + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation or person. Will be required in a future version.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ], + "x-stoplight": { + "id": "iwy8izvm2ahpb" + } + }, + "OrganisationId": { + "type": "string", + "format": "uuid", + "example": "32abaca0-b4c6-4dce-af80-9de42a830e62", + "x-stoplight": { + "id": "n7l99rqkoa197" + } + }, + "PhoneNumber": { + "type": "string", + "description": " All characters of the phonenumber that are not a diget will be removed.", + "x-stoplight": { + "id": "8gusb7enrefaq" + } + } + }, + "required": [ + "PhoneNumber" + ] + }, + "purchaseinvoice-1.0-Create-JsonSchema": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string" + }, + "SupplierInvoiceId": { + "type": "string" + }, + "OrderReference": { + "type": "string" + }, + "SupplierOrganisationId": { + "type": "string" + }, + "IssueDate": { + "type": "string" + }, + "DueDate": { + "type": "string" + }, + "PlannedPaymentDate": { + "type": "string" + }, + "PaymentMethodId": { + "type": "string" + }, + "Attachments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AttachmentId": { + "type": "string" + } + } + } + }, + "InvoiceLine": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Description": { + "type": "string" + }, + "LedgerAccountNumberId": { + "type": "string" + }, + "LineExtensionAmount": { + "type": "string" + }, + "TaxAmount": { + "type": "string" + }, + "VatTypeId": { + "type": "string" + }, + "VatRateId": { + "type": "string" + }, + "PerformanceDateTypeId": { + "type": "string" + }, + "OtherPerformanceDate": { + "type": "string" + }, + "PerformanceStartDate": { + "type": "string" + }, + "PerformanceEndDate": { + "type": "string" + }, + "LineNumber": { + "type": "integer" + } + } + } + } + }, + "x-examples": { + "Example 1": { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "SupplierInvoiceId": "Pur002", + "OrderReference": "stringstringstring", + "SupplierOrganisationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "IssueDate": "2022-10-10", + "DueDate": "2022-10-31", + "PlannedPaymentDate": "2022-10-15", + "PaymentMethodId": "afa50000-0000-0102-b0d1-f91a25e6c442", + "Attachments": [ + { + "AttachmentId": "46db28a3-ad46-43aa-a8da-226ead20010a" + } + ], + "InvoiceLine": [ + { + "Description": "test inkoop", + "LedgerAccountNumberId": "6099", + "LineExtensionAmount": "100", + "TaxAmount": "21", + "VatTypeId": "afa50000-0000-0b71-8790-807f97e85c54", + "VatRateId": "afa50000-0000-0465-aa85-e1a761ca3a33", + "PerformanceDateTypeId": "", + "OtherPerformanceDate": "", + "PerformanceStartDate": "", + "PerformanceEndDate": "", + "LineNumber": 0 + } + ] + } + }, + "title": "PurchaseInvoice", + "description": "", + "examples": [ + { + "AdministrationId": "string", + "SupplierInvoiceId": "string", + "OrderReference": "string", + "SupplierOrganisationId": "string", + "IssueDate": "string", + "DueDate": "string", + "PlannedPaymentDate": "string", + "PaymentMethodId": "string", + "Attachments": [ + { + "AttachmentId": "string" + } + ], + "InvoiceLine": [ + { + "Description": "string", + "LedgerAccountNumberId": "string", + "LineExtensionAmount": "string", + "TaxAmount": "string", + "VatTypeId": "string", + "VatRateId": "string", + "PerformanceDateTypeId": "string", + "OtherPerformanceDate": "string", + "PerformanceStartDate": "string", + "PerformanceEndDate": "string", + "LineNumber": 0 + } + ] + } + ] + }, + "purchasejournalentry-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a purchase journal entry.", + "required": [ + "AdministrationId", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceDate", + "InvoiceLine", + "DueDate" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "PUR00001" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "DueDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-31" + ] + }, + "PlannedPaymentDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-15" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "items": { + "type": "object", + "required": [ + "LedgerAccountId", + "AmountExcludingVat", + "VatType" + ], + "properties": { + "Description": { + "type": "string", + "examples": [ + "Dell Custom keyboard" + ] + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "", + "null" + ] + } + } + } + } + } + }, + "purchasejournalentry-1.1-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a purchase journal entry.", + "required": [ + "AdministrationId", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceDate", + "InvoiceLine", + "DueDate" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "PUR00001" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "DueDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-31" + ] + }, + "PlannedPaymentDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-15" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to supplier default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "items": { + "type": "object", + "required": [ + "LedgerAccountId", + "AmountExcludingVat", + "VatType" + ], + "properties": { + "Description": { + "type": "string", + "examples": [ + "Dell Custom keyboard" + ] + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "", + "null" + ] + } + } + } + } + } + }, + "purchasejournalentry-2.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a purchase journal entry", + "required": [ + "AdministrationId", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceDate", + "InvoiceLine", + "DueDate" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "PUR00001" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "DueDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-31" + ] + }, + "PlannedPaymentDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-15" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to supplier default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "items": { + "type": "object", + "required": [ + "LedgerAccountId", + "AmountExcludingVat", + "VatType" + ], + "properties": { + "Description": { + "type": "string", + "maxLength": 255, + "examples": [ + "Dell Custom keyboard" + ] + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "", + "null" + ] + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + } + } + } + } + } + }, + "purchasejournalentry-3.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a purchase journal entry", + "required": [ + "AdministrationId", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceDate", + "InvoiceLine", + "DueDate" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "PUR00001" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "DueDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-31" + ] + }, + "PlannedPaymentDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-15" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to supplier default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "items": { + "type": "object", + "required": [ + "LedgerAccountId", + "AmountExcludingVat", + "VatType" + ], + "allOf": [ + { + "not": { + "required": [ + "LocationId", + "DepartmentId" + ] + } + } + ], + "properties": { + "Description": { + "type": "string", + "maxLength": 255, + "examples": [ + "Dell Custom keyboard" + ] + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "", + "null" + ] + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "ProjectId": { + "type": "string", + "format": "uuid", + "description": "Optional project guid. Can be retrieved through the projects endpoint." + }, + "LocationId": { + "type": "string", + "format": "uuid", + "description": "Optional location (vestiging) guid. Can be retrieved through the locations endpoint." + }, + "DepartmentId": { + "type": "string", + "format": "uuid", + "description": "Optional department (afdeling) guid. Can be retrieved through the departments endpoint." + }, + "Quantity1": { + "type": "number", + "multipleOf": 0.01, + "description": "First quantity. Required when the LedgerAccount keeps one or two quantities (MethodKeepingQuantities).", + "examples": [ + 10 + ] + }, + "Unit1": { + "type": "string", + "description": "Unit of the first quantity. Required when the LedgerAccount keeps one or two quantities (MethodKeepingQuantities).", + "enum": [ + "stuks", + "kg", + "hectare", + "", + "null" + ] + }, + "Quantity2": { + "type": "number", + "multipleOf": 0.01, + "description": "Second quantity. Required when the LedgerAccount keeps two quantities (MethodKeepingQuantities).", + "examples": [ + 5 + ] + }, + "Unit2": { + "type": "string", + "description": "Unit of the second quantity. Required when the LedgerAccount keeps two quantities (MethodKeepingQuantities).", + "enum": [ + "stuks", + "kg", + "hectare", + "", + "null" + ] + } + } + } + } + } + }, + "salesinvoice-1.0-Create-JsonSchema": { + "type": "object", + "description": "Create a sales invoice.", + "properties": { + "AdministrationId": { + "type": "string", + "description": "Must contain the Administration guid of the target Administration", + "format": "uuid" + }, + "IssueDate": { + "type": "string", + "format": "date" + }, + "Reference": { + "type": "string" + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "format": "uuid" + }, + "AddressId": { + "type": "string", + "format": "uuid" + }, + "SentInvoiceEmail": { + "type": "boolean", + "description": "Sent the invoice as an email to the relation.", + "default": true + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "AttachmentId" + ] + } + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "properties": { + "ItemId": { + "type": "string", + "description": "Must contain Product guid. This can be retrieved through the products endpoint.", + "format": "uuid" + }, + "Price": { + "type": "number", + "description": "Price per product excluding VAT.", + "minimum": 0, + "multipleOf": 0.01 + }, + "Quantity": { + "type": "integer", + "description": "Quantity of products of this type" + }, + "ExtraDescription": { + "type": "string", + "description": "Optional field for extra information about the invoiceline" + } + }, + "required": [ + "ItemId", + "Price", + "Quantity" + ] + } + } + }, + "required": [ + "AdministrationId", + "IssueDate", + "RelationType", + "RelationId", + "InvoiceLine" + ] + }, + "salesinvoice-1.1-Create-JsonSchema": { + "type": "object", + "description": "Create a sales invoice.", + "properties": { + "AdministrationId": { + "type": "string", + "description": "Must contain the Administration guid of the target Administration", + "format": "uuid" + }, + "IssueDate": { + "type": "string", + "format": "date" + }, + "Reference": { + "type": "string" + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "format": "uuid" + }, + "AddressId": { + "type": "string", + "format": "uuid" + }, + "SentInvoiceEmail": { + "type": "boolean", + "description": "Sent the invoice as an email to the relation.", + "default": true + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "AttachmentId" + ] + } + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "properties": { + "ItemId": { + "type": "string", + "description": "Must contain Product guid. This can be retrieved through the products endpoint.", + "format": "uuid" + }, + "Price": { + "type": "number", + "multipleOf": 0.01, + "description": "Price per product excluding VAT." + }, + "Quantity": { + "type": "number", + "description": "Quantity of products of this type", + "multipleOf": 0.01 + }, + "ExtraDescription": { + "type": "string", + "description": "Optional field for extra information about the invoiceline" + } + }, + "required": [ + "ItemId", + "Quantity" + ] + } + } + }, + "required": [ + "AdministrationId", + "IssueDate", + "RelationType", + "RelationId", + "InvoiceLine" + ] + }, + "salesinvoice-2.0-Create-JsonSchema": { + "type": "object", + "description": "Create a sales invoice.", + "properties": { + "AdministrationId": { + "type": "string", + "description": "Must contain the Administration guid of the target Administration", + "format": "uuid" + }, + "IssueDate": { + "type": "string", + "format": "date" + }, + "Reference": { + "type": "string" + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "format": "uuid" + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "AddressId": { + "type": "string", + "format": "uuid" + }, + "SentInvoiceEmail": { + "type": "boolean", + "description": "Sent the invoice as an email to the relation." + }, + "ToBeInvoiced": { + "type": "boolean", + "description": "Make a invoice that is not yet completed or sent to the relation." + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "AttachmentId" + ] + } + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "properties": { + "ItemId": { + "type": "string", + "description": "Must contain Product guid. This can be retrieved through the products endpoint.", + "format": "uuid" + }, + "Price": { + "type": "number", + "description": "Price per product excluding VAT. Falls back to product default when empty." + }, + "Quantity": { + "type": "number", + "description": "Quantity of products of this type", + "multipleOf": 0.01 + }, + "VatType": { + "type": "string", + "description": "Vat tarive. Falls back to product default when empty.", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "ExtraDescription": { + "type": "string", + "description": "Optional field for extra information about the invoiceline" + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + } + }, + "required": [ + "ItemId", + "Quantity" + ] + } + } + }, + "required": [ + "AdministrationId", + "IssueDate", + "RelationType", + "RelationId", + "InvoiceLine", + "SentInvoiceEmail" + ] + }, + "salesinvoice-2.0-Delete-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Delete a salesinvoice", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of salesinvoice.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + } + ] + }, + "salesinvoice-3.0-Create-JsonSchema": { + "type": "object", + "description": "Create a sales invoice.", + "properties": { + "AdministrationId": { + "type": "string", + "description": "Must contain the Administration guid of the target Administration", + "format": "uuid" + }, + "IssueDate": { + "type": "string", + "format": "date" + }, + "Reference": { + "type": "string" + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "format": "uuid" + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "AddressId": { + "type": "string", + "format": "uuid" + }, + "SentInvoiceEmail": { + "type": "boolean", + "description": "Sent the invoice as an email to the relation." + }, + "ToBeInvoiced": { + "type": "boolean", + "description": "Make a invoice that is not yet completed or sent to the relation." + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "AttachmentId" + ] + } + }, + "ProjectId": { + "type": "string", + "format": "uuid", + "description": "Optional project guid. Can be retrieved through the projects endpoint." + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "allOf": [ + { + "not": { + "required": [ + "LocationId", + "DepartmentId" + ] + } + } + ], + "properties": { + "ItemId": { + "type": "string", + "description": "Must contain Product guid. This can be retrieved through the products endpoint.", + "format": "uuid" + }, + "Price": { + "type": "number", + "description": "Price per product excluding VAT. Falls back to product default when empty." + }, + "Quantity": { + "type": "number", + "description": "Quantity of products of this type", + "multipleOf": 0.01 + }, + "VatType": { + "type": "string", + "description": "Vat tarive. Falls back to product default when empty.", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "Description": { + "type": "string", + "description": "Optional alternative product description for the invoiceline. Falls back to the product description when empty." + }, + "ExtraDescription": { + "type": "string", + "description": "Optional field for extra information about the invoiceline" + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "LocationId": { + "type": "string", + "format": "uuid", + "description": "Optional location (vestiging) guid. Can be retrieved through the locations endpoint." + }, + "DepartmentId": { + "type": "string", + "format": "uuid", + "description": "Optional department (afdeling) guid. Can be retrieved through the departments endpoint." + } + }, + "required": [ + "ItemId", + "Quantity" + ] + } + } + }, + "required": [ + "AdministrationId", + "IssueDate", + "RelationType", + "RelationId", + "InvoiceLine", + "SentInvoiceEmail" + ] + }, + "salesjournalentry-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a sales journal entry.", + "required": [ + "AdministrationId", + "InvoiceDate", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceLine" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "VK004917" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntry.", + "examples": [ + "Example Invoice 001" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "PaymentConditionId": { + "type": "string", + "format": "uuid", + "description": "Payment condition guids can be requested with the PaymentCondition Get endpoint. Falls back to default when empty.", + "examples": [ + "986d98be-e74d-58f2-95f7-e641769ac64f" + ] + }, + "Attachments": { + "type": "array", + "default": [], + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "default": {}, + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "default": {}, + "required": [ + "LedgerAccountId", + "AmountExcludingVat", + "VatType" + ], + "allOf": [ + { + "if": { + "properties": { + "VatType": { + "enum": [ + "high", + "low" + ] + } + }, + "required": [ + "VatType" + ] + }, + "then": { + "required": [ + "AmountVat" + ] + } + } + ], + "properties": { + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntryLine.", + "examples": [ + "Sales with high vat type" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "IntraCommunityType": { + "type": "string", + "description": "Only include if sale is B2B and inside EU (ICP purposes). Falls back to setting (default 'supplies') when empty.", + "enum": [ + "supplies", + "services", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "", + "null" + ] + } + } + }, + "examples": [ + [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "InvoiceDate": "2022-10-12", + "InvoiceNumber": "VK004917", + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "Reference": "ExternalAppId001", + "Description": "Example Invoice 001", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "986d98be-e74d-58f2-95f7-e641769ac64f", + "Attachments": [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ], + "InvoiceLine": [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + } + ] + }, + "salesjournalentry-2.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a sales journal entry.", + "required": [ + "AdministrationId", + "InvoiceDate", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceLine" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "VK004917" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntry.", + "examples": [ + "Example Invoice 001" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "PaymentConditionId": { + "type": "string", + "format": "uuid", + "description": "Payment condition guids can be requested with the PaymentCondition Get endpoint. Falls back to default when empty.", + "examples": [ + "986d98be-e74d-58f2-95f7-e641769ac64f" + ] + }, + "PaymentReference": { + "type": "string", + "description": "Can contain the PaymentReference", + "examples": [ + "tr_FLtHQ7oSDG" + ] + }, + "Attachments": { + "type": "array", + "default": [], + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "default": {}, + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "default": {}, + "required": [ + "LedgerAccountId", + "AmountExcludingVat", + "VatType" + ], + "allOf": [ + { + "if": { + "properties": { + "VatType": { + "enum": [ + "high", + "low" + ] + } + }, + "required": [ + "VatType" + ] + }, + "then": { + "required": [ + "AmountVat" + ] + } + } + ], + "properties": { + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntryLine.", + "examples": [ + "Sales with high vat type" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "IntraCommunityType": { + "type": "string", + "description": "Only include if sale is B2B and inside EU (ICP purposes). Falls back to default 'supplies' when empty.", + "enum": [ + "supplies", + "services", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "", + "null" + ] + } + } + }, + "examples": [ + [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "InvoiceDate": "2022-10-12", + "InvoiceNumber": "VK004917", + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "Reference": "ExternalAppId001", + "Description": "Example Invoice 001", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "986d98be-e74d-58f2-95f7-e641769ac64f", + "Attachments": [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ], + "InvoiceLine": [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + } + ] + }, + "salesjournalentry-2.0-Delete-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Delete a salesjournalentry", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of salesjournal.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + } + ] + }, + "salesjournalentry-2.0-Update-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Update a sales journal entry.", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the salesjournalentry.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "PaymentReference": { + "type": "string", + "description": "Can contain the PaymentReference", + "examples": [ + "tr_FLtHQ7oSDG" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "PaymentReference": "tr_FLtHQ7oSDG" + } + ] + }, + "salesjournalentry-2.1-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a sales journal entry.", + "required": [ + "AdministrationId", + "InvoiceDate", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceLine" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "VK004917" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntry.", + "maxLength": 255, + "examples": [ + "Example Invoice 001" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "PaymentConditionId": { + "type": "string", + "format": "uuid", + "description": "Payment condition guids can be requested with the PaymentCondition Get endpoint. Falls back to default when empty.", + "examples": [ + "986d98be-e74d-58f2-95f7-e641769ac64f" + ] + }, + "PaymentReference": { + "type": "string", + "description": "Can contain the PaymentReference", + "examples": [ + "tr_FLtHQ7oSDG" + ] + }, + "Attachments": { + "type": "array", + "default": [], + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "default": {}, + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "default": {}, + "required": [ + "LedgerAccountId", + "AmountExcludingVat" + ], + "allOf": [ + { + "if": { + "properties": { + "VatType": { + "enum": [ + "high", + "low" + ] + } + }, + "required": [ + "VatType" + ] + }, + "then": { + "required": [ + "AmountVat" + ] + } + }, + { + "if": { + "not": { + "properties": { + "VatCalculation": { + "const": "novat" + } + } + } + }, + "then": { + "required": [ + "VatType" + ] + } + } + ], + "properties": { + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntryLine.", + "maxLength": 255, + "examples": [ + "Sales with high vat type" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "IntraCommunityType": { + "type": "string", + "description": "Only include if sale is B2B and inside EU (ICP purposes). Falls back to default 'supplies' when empty.", + "enum": [ + "supplies", + "services", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "novat", + "", + "null" + ] + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + } + } + }, + "examples": [ + [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "InvoiceDate": "2022-10-12", + "InvoiceNumber": "VK004917", + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "Reference": "ExternalAppId001", + "Description": "Example Invoice 001", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "986d98be-e74d-58f2-95f7-e641769ac64f", + "Attachments": [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ], + "InvoiceLine": [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + } + ] + }, + "salesjournalentry-2.1-Delete-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Delete a salesjournalentry", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of salesjournal.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + } + ] + }, + "salesjournalentry-2.1-Update-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Update a sales journal entry.", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the salesjournalentry.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "PaymentReference": { + "type": "string", + "description": "Can contain the PaymentReference", + "examples": [ + "tr_FLtHQ7oSDG" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "PaymentReference": "tr_FLtHQ7oSDG" + } + ] + }, + "salesjournalentry-3.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a sales journal entry.", + "required": [ + "AdministrationId", + "InvoiceDate", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceLine" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "VK004917" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntry.", + "maxLength": 255, + "examples": [ + "Example Invoice 001" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "PaymentConditionId": { + "type": "string", + "format": "uuid", + "description": "Payment condition guids can be requested with the PaymentCondition Get endpoint. Falls back to default when empty.", + "examples": [ + "986d98be-e74d-58f2-95f7-e641769ac64f" + ] + }, + "PaymentReference": { + "type": "string", + "description": "Can contain the PaymentReference", + "examples": [ + "tr_FLtHQ7oSDG" + ] + }, + "Attachments": { + "type": "array", + "default": [], + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "default": {}, + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "ProjectId": { + "type": "string", + "format": "uuid", + "description": "Optional project guid. Can be retrieved through the projects endpoint." + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "default": {}, + "required": [ + "LedgerAccountId", + "AmountExcludingVat" + ], + "allOf": [ + { + "if": { + "properties": { + "VatType": { + "enum": [ + "high", + "low" + ] + } + }, + "required": [ + "VatType" + ] + }, + "then": { + "required": [ + "AmountVat" + ] + } + }, + { + "if": { + "not": { + "properties": { + "VatCalculation": { + "const": "novat" + } + } + } + }, + "then": { + "required": [ + "VatType" + ] + } + }, + { + "not": { + "required": [ + "LocationId", + "DepartmentId" + ] + } + } + ], + "properties": { + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntryLine.", + "maxLength": 255, + "examples": [ + "Sales with high vat type" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "IntraCommunityType": { + "type": "string", + "description": "Only include if sale is B2B and inside EU (ICP purposes). Falls back to default 'supplies' when empty.", + "enum": [ + "supplies", + "services", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "novat", + "", + "null" + ] + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "LocationId": { + "type": "string", + "format": "uuid", + "description": "Optional location (vestiging) guid. Can be retrieved through the locations endpoint." + }, + "DepartmentId": { + "type": "string", + "format": "uuid", + "description": "Optional department (afdeling) guid. Can be retrieved through the departments endpoint." + }, + "Quantity1": { + "type": "number", + "multipleOf": 0.01, + "description": "First quantity. Required when the LedgerAccount keeps one or two quantities (MethodKeepingQuantities).", + "examples": [ + 10 + ] + }, + "Unit1": { + "type": "string", + "description": "Unit of the first quantity. Required when the LedgerAccount keeps one or two quantities (MethodKeepingQuantities).", + "enum": [ + "stuks", + "kg", + "hectare", + "", + "null" + ] + }, + "Quantity2": { + "type": "number", + "multipleOf": 0.01, + "description": "Second quantity. Required when the LedgerAccount keeps two quantities (MethodKeepingQuantities).", + "examples": [ + 5 + ] + }, + "Unit2": { + "type": "string", + "description": "Unit of the second quantity. Required when the LedgerAccount keeps two quantities (MethodKeepingQuantities).", + "enum": [ + "stuks", + "kg", + "hectare", + "", + "null" + ] + } + } + }, + "examples": [ + [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "InvoiceDate": "2022-10-12", + "InvoiceNumber": "VK004917", + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "Reference": "ExternalAppId001", + "Description": "Example Invoice 001", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "986d98be-e74d-58f2-95f7-e641769ac64f", + "Attachments": [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ], + "InvoiceLine": [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + } + ] + }, + "salesjournalentrywof-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Write off a sales journal entry.", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the salesjournalentry.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Description": { + "type": "string", + "description": "Can contain the description of the write off. Default is 'Write off'.", + "maxLength": 255, + "examples": [ + "Write off" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "Description": "Write off" + } + ] + }, + "supplier-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "default": {}, + "description": "Create a supplier.", + "required": [ + "AdministrationId" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "EmailAddress": { + "type": "string", + "format": "email", + "examples": [ + "leverancier@afas.nl" + ] + }, + "PhoneNumber": { + "type": "string", + "examples": [ + "+31655887744" + ] + }, + "BankAccountNumber": { + "type": "string", + "description": "Must be in IBAN format. Creates a bankaccount record for the supplier", + "examples": [ + "NL03BOFA0011792833" + ] + }, + "BIC": { + "type": "string", + "description": "If the Bic code is not available the BIC code will be looked up. If its not found an error will be raised", + "examples": [ + "BOFANLNX" + ] + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Set default value for supplier.", + "examples": [ + "c0441b65-1ca8-534c-8e45-acab8d30b325" + ] + }, + "PaymentMethod": { + "type": "string", + "default": "banktransfer", + "description": "Set default value for supplier. Falls back to supplier default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "PaymentConditionId": { + "type": "string", + "format": "uuid", + "description": "Set default value for supplier. Payment condition guids can be requested with the PaymentCondition Get endpoint. Falls back to default when empty.", + "examples": [ + "986d98be-e74d-58f2-95f7-e641769ac64f" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Set de value for supplier.", + "enum": [ + "charged", + "novat", + "reversecharged", + "exempt", + "", + "null" + ] + }, + "Person": { + "type": "object", + "default": {}, + "title": "The Person Schema", + "required": [ + "Lastname" + ], + "properties": { + "Firstname": { + "type": "string", + "title": "The Firstname Schema", + "examples": [ + "Jan" + ] + }, + "Initials": { + "type": "string", + "title": "The Initials Schema", + "examples": [ + "JH" + ] + }, + "Prefix": { + "type": "string", + "title": "The Prefix Schema", + "examples": [ + "van" + ] + }, + "Lastname": { + "type": "string", + "title": "The Lastname Schema", + "examples": [ + "Pinksteren" + ] + } + }, + "examples": [ + { + "Firstname": "Jan", + "Initials": "JH", + "Prefix": "van", + "Lastname": "Pinksteren" + } + ] + }, + "Organisation": { + "type": "object", + "default": {}, + "title": "The Organisation Schema", + "required": [ + "Name" + ], + "properties": { + "Name": { + "type": "string", + "default": "", + "title": "The Name Schema", + "examples": [ + "Jansen IJzerwaren" + ] + }, + "CompanyIdCoc": { + "type": "string", + "description": "Contains the CompanyCode also known in dutch as KVK nummer", + "examples": [ + "04019167" + ] + }, + "CompanyIdVat": { + "type": "string", + "description": "Contains the VAT code of the supplier", + "examples": [ + "NL818785639B01" + ] + }, + "TradeName": { + "type": "string", + "description": "The formal trade name of the organisation. If empty will be filled with the field Name", + "examples": [ + "Jansen Holding B.V." + ] + } + }, + "examples": [ + { + "Name": "Jansen Haarden", + "CompanyIdCoc": "80446353", + "CompanyIdVat": "NL861674881B01", + "TradeName": "Jansen Holding B.V." + } + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "EmailAddress": "leverancier@afas.nl", + "PhoneNumber": "0645789865", + "BankAccountNumber": "NL29TRIO0110845005", + "Bic": "TRIONL2U", + "VatType": "high", + "PaymentMethod": "banktransfer", + "IncludeInBankFile": "true", + "LedgerAccountId": "7f9a01a1-0352-5726-9111-03214874de74", + "Person": { + "Firstname": "Jan", + "Initials": "JH", + "Prefix": "van", + "Lastname": "Pinksteren" + }, + "Organisation": { + "Name": "Jansen IJzerwaren", + "CompanyIdCoc": "80446353", + "CompanyIdVat": "NL861674881B01", + "TradeName": "Jansen IJzerwaren B.V." + } + } + ] + } + }, + "responses": { + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "type": "object", + "x-examples": { + "Example 1": { + "result": "PartiallySucceeded", + "traceId": "b06e41e4-4ff1-4b40-9331-5f2145b2a9a2", + "instances": [ + { + "Code": "Organisatie", + "Id": "1bfbc287-5fb4-59b5-9782-376fa601e4ad", + "Relatienummer": "000025" + }, + { + "Code": "Instelling", + "Id": "32a8c5d4-2227-512f-9f45-495192933809" + }, + { + "Code": "Leverancier", + "Id": "0afea90d-4ecb-5791-8e4b-787c70656f75" + }, + { + "Code": "Begunstigde", + "Id": "32a8c5d4-2227-512f-9f45-495192933809" + } + ], + "errors": [ + { + "Instelling": "'identificatie' bevat een verwijzing naar een ongeldige waarde." + } + ] + } + }, + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string" + } + } + } + }, + "errors": { + "type": "array", + "items": { + "type": "object" + } + } + } + }, + "examples": { + "PartiallySucceeded": { + "value": { + "result": "PartiallySucceeded", + "traceId": "b06e41e4-4ff1-4b40-9331-5f2145b2a9a2", + "instances": [ + { + "Code": "Organisatie", + "Id": "1bfbc287-5fb4-59b5-9782-376fa601e4ad", + "Relatienummer": "000025" + }, + { + "Code": "Instelling", + "Id": "32a8c5d4-2227-512f-9f45-495192933809" + }, + { + "Code": "Leverancier", + "Id": "0afea90d-4ecb-5791-8e4b-787c70656f75" + }, + { + "Code": "Begunstigde", + "Id": "32a8c5d4-2227-512f-9f45-495192933809" + } + ], + "errors": [ + { + "Instelling": "'identificatie' bevat een verwijzing naar een ongeldige waarde." + } + ] + } + }, + "Bad Request - Invalid JSON": { + "value": { + "StatusCode": 400, + "Message": "Invalid JSON request String", + "ExceptionCode": "DS3100", + "TraceId": "802033b876ed48bbb83a01a717ccb960", + "AdditionalInfo": { + "ExceptionType": "DeserializationException", + "DefinitionName": "salesinvoice.UpdateConnectorHandler", + "PropertyNames": "" + } + } + }, + "Bad request - Invalid UUID": { + "value": { + "StatusCode": 400, + "Message": "Invalid JSON request String '' does not validate against format 'uuid'. Path 'RelationId', line 3, position 18.", + "ExceptionCode": "DS3100", + "TraceId": "57887d8213dd4327ae1429e860250b24", + "AdditionalInfo": { + "ExceptionType": "DeserializationException", + "DefinitionName": "address.UpdateConnectorHandler", + "PropertyNames": "" + } + } + }, + "Ongeldig gebruikersfilter": { + "value": { + "StatusCode": 400, + "Message": "Ongeldig gebruikersfilter.", + "TraceId": "3b022f499ab040dea4ef992d90901963", + "AdditionalInfo": { + "ExceptionType": "AntaUserException" + } + } + } + } + } + }, + "headers": { + "Server": { + "schema": { + "type": "string", + "example": "nginx" + } + }, + "Date": { + "schema": { + "type": "string", + "example": "Wed, 19 Oct 2022 12:05:20 GMT" + } + }, + "Content-Type": { + "schema": { + "type": "string", + "example": "application/json" + } + }, + "Transfer-Encoding": { + "schema": { + "type": "string", + "example": "chunked" + } + }, + "Connection": { + "schema": { + "type": "string", + "example": "keep-alive" + } + }, + "Content-Version": { + "schema": { + "type": "number", + "example": 1 + } + }, + "X-Content-Type-Options": { + "schema": { + "type": "string", + "example": "nosniff" + } + }, + "X-XSS-Protection": { + "schema": { + "type": "string", + "example": "1; mode=block" + } + }, + "X-Frame-Options": { + "schema": { + "type": "string", + "example": "SAMEORIGIN" + } + }, + "Strict-Transport-Security": { + "schema": { + "type": "string", + "example": "max-age=300" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "StatusCode": { + "type": "integer" + }, + "Message": { + "type": "string" + }, + "TraceId": { + "type": "string" + }, + "AdditionalInfo": { + "type": "object", + "properties": { + "ExceptionType": { + "type": "string" + } + } + } + } + }, + "examples": { + "Unauthorized": { + "value": { + "StatusCode": 401, + "Message": "Er is geen ingelogde gebruiker.", + "TraceId": "b41c2c8219494f40bef50bc24ea6844d", + "AdditionalInfo": { + "ExceptionType": "NotAuthenticatedException" + } + } + } + } + } + }, + "headers": { + "Server": { + "schema": { + "type": "string", + "example": "nginx" + } + }, + "Date": { + "schema": { + "type": "string", + "example": "Wed, 19 Oct 2024 12:05:20 GMT" + } + }, + "Transfer-Encoding": { + "schema": { + "type": "string", + "example": "chunked" + } + }, + "Connection": { + "schema": { + "type": "string", + "example": "keep-alive" + } + }, + "Content-Version": { + "schema": { + "type": "number", + "example": 1 + } + }, + "X-Content-Type-Options": { + "schema": { + "type": "string", + "example": "nosniff" + } + }, + "X-XSS-Protection": { + "schema": { + "type": "string", + "example": "1; mode=block" + } + }, + "X-Frame-Options": { + "schema": { + "type": "string", + "example": "SAMEORIGIN" + } + }, + "Strict-Transport-Security": { + "schema": { + "type": "string", + "example": "max-age=300" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "StatusCode": { + "type": "integer" + }, + "Message": { + "type": "string" + }, + "TraceId": { + "type": "string" + }, + "AdditionalInfo": { + "type": "object", + "properties": { + "ExceptionType": { + "type": "string" + } + } + } + } + }, + "examples": { + "Unauthorized": { + "value": { + "StatusCode": 403, + "Message": "De ingelogde gebruiker heeft niet voldoende rechten.", + "TraceId": "7c4cdf827b824c5384a3b9b22966c3c3", + "AdditionalInfo": { + "ExceptionType": "NotAuthorizedException" + } + } + } + } + } + } + }, + "404": { + "description": "Item Not Found", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "StatusCode": { + "type": "string" + }, + "Message": { + "type": "string" + }, + "TraceId": { + "type": "string" + }, + "AdditionalInfo": { + "type": "object", + "properties": { + "ExceptionType": { + "type": "string" + } + } + } + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/getconnector-departments-get-1.0/responses/example.json b/OpenApiSpecs/sb/files/getconnector-departments-get-1.0/responses/example.json new file mode 100644 index 0000000..198893a --- /dev/null +++ b/OpenApiSpecs/sb/files/getconnector-departments-get-1.0/responses/example.json @@ -0,0 +1,17 @@ +[ + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "9d2ea1b9-1ac5-4791-a20b-25518d9c280c", + "Omschrijving": "Productontwikkeling" + }, + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "3ddc484c-dcbe-42ba-b621-599acb04648d", + "Omschrijving": "Consultancy" + }, + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "43d4aa9d-0219-44b8-a8cb-878a61a61638", + "Omschrijving": "Support" + } +] diff --git a/OpenApiSpecs/sb/files/getconnector-ledgeraccounts-get-2.0/responses/ledgeraccounts.json b/OpenApiSpecs/sb/files/getconnector-ledgeraccounts-get-2.0/responses/ledgeraccounts.json new file mode 100644 index 0000000..ca4d55f --- /dev/null +++ b/OpenApiSpecs/sb/files/getconnector-ledgeraccounts-get-2.0/responses/ledgeraccounts.json @@ -0,0 +1,36 @@ +[ + { + "Id": "7659d7d8-7f0b-59d2-8ac7-000735359064", + "Description": "Onderhoud inventaris", + "LedgerAccountNumber": "4135", + "TypeId": "61fb169c-b210-44db-b02b-b7260efa817c", + "InstanceId": "7659d7d8-7f0b-59d2-8ac7-000735359064", + "InvestInAsset": false, + "VatAllowed": true, + "MethodKeepingQuantitiesId": null, + "Unit1Id": null, + "Unit2Id": null, + "AdministrationId": "08abf1cf-6953-4708-9ecb-f07c0c93b7fd", + "Type": "Kosten", + "MethodKeepingQuantities": "", + "Unit1": "", + "Unit2": "" + }, + { + "Id": "7ae81359-94a3-5927-9912-0086d10a6e61", + "Description": "Latente belastingvorderingen (kortlopend)", + "LedgerAccountNumber": "0906", + "TypeId": "980eb36a-8bec-45d9-97f6-06dd2c551818", + "InstanceId": "7ae81359-94a3-5927-9912-0086d10a6e61", + "InvestInAsset": false, + "VatAllowed": false, + "MethodKeepingQuantitiesId": null, + "Unit1Id": null, + "Unit2Id": null, + "AdministrationId": "0f4d4e71-4f68-45d9-a722-8699c13c37c4", + "Type": "Activa", + "MethodKeepingQuantities": "", + "Unit1": "", + "Unit2": "" + } +] \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/getconnector-locations-get-1.0/responses/example.json b/OpenApiSpecs/sb/files/getconnector-locations-get-1.0/responses/example.json new file mode 100644 index 0000000..2532696 --- /dev/null +++ b/OpenApiSpecs/sb/files/getconnector-locations-get-1.0/responses/example.json @@ -0,0 +1,12 @@ +[ + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "01ae3b98-8320-44e1-8eb4-c66635dde0b4", + "Omschrijving": "Inspiratielaan" + }, + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "836f4a16-0060-4c13-a177-de5a0fa04e51", + "Omschrijving": "Philipsstraat" + } +] diff --git a/OpenApiSpecs/sb/files/updateconnector-purchasejournalentry-Post-3.0/examples/Inkoopjournaalpost.json b/OpenApiSpecs/sb/files/updateconnector-purchasejournalentry-Post-3.0/examples/Inkoopjournaalpost.json new file mode 100644 index 0000000..05fa125 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-purchasejournalentry-Post-3.0/examples/Inkoopjournaalpost.json @@ -0,0 +1,28 @@ +{ + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InvoiceNumber": "PUR-80-157760", + "Reference": "docs-sample-8.0", + "RelationType": "organisation", + "RelationId": "e50b10e6-26bb-5c61-a9c5-00472919b90f", + "InvoiceDate": "2025-01-15", + "DueDate": "2025-02-14", + "PaymentMethod": "banktransfer", + "InvoiceLine": [ + { + "Description": "Huisvestingskosten vestiging Inspiratielaan", + "LedgerAccountId": "407ae398-e8c5-5ec6-a10d-00e51c299f81", + "VatType": "high", + "AmountExcludingVat": 100, + "AmountVat": 21, + "LocationId": "01ae3b98-8320-44e1-8eb4-c66635dde0b4" + }, + { + "Description": "Overige vergoedingen afdeling Directie", + "LedgerAccountId": "5cc1901a-fd0f-5a28-9302-030425092631", + "VatType": "low", + "AmountExcludingVat": 200, + "AmountVat": 18, + "DepartmentId": "43d4aa9d-0219-44b8-a8cb-878a61a61638" + } + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-purchasejournalentry-Post-3.0/responses/response.json b/OpenApiSpecs/sb/files/updateconnector-purchasejournalentry-Post-3.0/responses/response.json new file mode 100644 index 0000000..be92629 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-purchasejournalentry-Post-3.0/responses/response.json @@ -0,0 +1,9 @@ +{ + "result": "Succeeded", + "traceId": "3d4d7bda-fecd-411a-91fd-38859c13fe06", + "data": { + "PurchaseJournalEntryId": "49bc40d8-d914-416b-9b11-e34945123e52", + "PurchaseInternalInvoiceNumber": "IF250078" + }, + "errors": [] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/examples/example.json b/OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/examples/example.json new file mode 100644 index 0000000..cd6c8c9 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/examples/example.json @@ -0,0 +1,24 @@ +{ + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "IssueDate": "2025-01-15", + "Reference": "docs-sample-8.0", + "RelationType": "organisation", + "RelationId": "666af0be-5fbe-5345-8315-18b5bc17215a", + "PaymentMethod": "banktransfer", + "SentInvoiceEmail": false, + "ToBeInvoiced": true, + "InvoiceLine": [ + { + "ItemId": "34b3098e-6a4b-5684-9ab7-31f81cdbc47c", + "Quantity": 2, + "Description": "PC behuizing Miditower Antec - vestiging Inspiratielaan", + "LocationId": "01ae3b98-8320-44e1-8eb4-c66635dde0b4" + }, + { + "ItemId": "4a26930c-b08f-59fa-8449-5b8295ae5ee1", + "Quantity": 1, + "Description": "Geluidskaart Creative Audigy - afdeling Directie", + "DepartmentId": "43d4aa9d-0219-44b8-a8cb-878a61a61638" + } + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/examples/exampleAlternativeAllocation.json b/OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/examples/exampleAlternativeAllocation.json new file mode 100644 index 0000000..9446455 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/examples/exampleAlternativeAllocation.json @@ -0,0 +1,16 @@ +{ + "AdministrationId": "3f73bc84-fb32-4d1d-83d9-5de1af8245b1", + "IssueDate": "2024-05-16", + "RelationType": "organisation", + "SentInvoiceEmail": false, + "ToBeInvoiced": true, + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "InvoiceLine": [ + { + "ItemId": "7e94bf59-594c-5c28-9fe5-5e238f821b0d", + "Price": 10, + "Quantity": 2, + "AlternativeAllocationDate":"2024-12-31" + } + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/examples/exampleToBeInvoiced.json b/OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/examples/exampleToBeInvoiced.json new file mode 100644 index 0000000..e855204 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/examples/exampleToBeInvoiced.json @@ -0,0 +1,14 @@ +{ + "AdministrationId": "3f73bc84-fb32-4d1d-83d9-5de1af8245b1", + "IssueDate": "2024-05-16", + "RelationType": "organisation", + "SentInvoiceEmail": false, + "ToBeInvoiced": true, + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "InvoiceLine": [ + { + "ItemId": "7e94bf59-594c-5c28-9fe5-5e238f821b0d", + "Quantity": 2 + } + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/responses/Example.json b/OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/responses/Example.json new file mode 100644 index 0000000..f881fa9 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesinvoice-Post-3.0/responses/Example.json @@ -0,0 +1,8 @@ +{ + "result": "Succeeded", + "traceId": "4d81c9fc-b006-4e60-ac81-26bf7783cd52", + "data": { + "SalesInvoiceId": "09cf03db-2422-4201-98e4-20cc018a21a1" + }, + "errors": [] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/BTW Verlegd binnen Nederland.json b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/BTW Verlegd binnen Nederland.json new file mode 100644 index 0000000..9dd492e --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/BTW Verlegd binnen Nederland.json @@ -0,0 +1,24 @@ +{ + "InvoiceNumber": "d", + "InvoiceDate": "2024-01-30", + "Description": "Practical Plastic Chips", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "c6f3b724-845c-5af2-8360-2fc751601115", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "9b5d768a-c71b-583e-b6ee-09d64aa935d4", + "InvoiceLine": [ + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "VatType": "high", + "VatCalculation": "reversecharged", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "VatType": "high", + "VatCalculation": "reversecharged", + "AmountExcludingVat": 396 + } + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/BTW binnen en buiten EU.json b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/BTW binnen en buiten EU.json new file mode 100644 index 0000000..417bcb6 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/BTW binnen en buiten EU.json @@ -0,0 +1,22 @@ +{ + "InvoiceNumber": "a", + "InvoiceDate": "2024-01-30", + "Description": "Unbranded Fresh Pizza", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "c6f3b724-845c-5af2-8360-2fc751601115", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "9b5d768a-c71b-583e-b6ee-09d64aa935d4", + "InvoiceLine": [ + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "VatType": "zero", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "VatType": "zero", + "AmountExcludingVat": 211 + } + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/Sales with attachment.json b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/Sales with attachment.json new file mode 100644 index 0000000..8d06314 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/Sales with attachment.json @@ -0,0 +1,29 @@ +{ + "InvoiceNumber": "1", + "InvoiceDate": "2024-02-01", + "Description": "Ergonomic Rubber Bacon", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "a8cce7bd-ced8-5ca4-b3b8-f0584ffe5993", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "9b5d768a-c71b-583e-b6ee-09d64aa935d4", + "Attachments": [ + { + "AttachmentId": "b031446a-b98e-4378-b7ee-8543e05f34c0" + } + ], + "InvoiceLine": [ + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "AmountVat": 21, + "VatType": "high", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "AmountExcludingVat": 427, + "VatType": "zero", + "VatCalculation": "exempt" + } + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop 1 regel.json b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop 1 regel.json new file mode 100644 index 0000000..584b453 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop 1 regel.json @@ -0,0 +1,18 @@ +{ + "InvoiceNumber": "7", + "InvoiceDate": "2024-01-24", + "Description": "Unbranded Steel Sausages", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "9bafbc7a-611b-5465-a584-5f0c88734b35", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "eb44c60d-06e4-564b-a90c-7715c78788a5", + "InvoiceLine": [ + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 183.54, + "VatType": "high", + "AmountExcludingVat": 874 + } + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop aan persoon.json b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop aan persoon.json new file mode 100644 index 0000000..9b58e6f --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop aan persoon.json @@ -0,0 +1,25 @@ +{ + "InvoiceNumber": "SAL341434345403", + "InvoiceDate": "2024-01-24", + "Description": "null", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "person", + "RelationId": "d36cb9bb-0e5f-5253-ab28-2331804d65ba", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "eb44c60d-06e4-564b-a90c-7715c78788a5", + "InvoiceLine": [ + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 21, + "VatType": "high", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 450.55, + "VatType": "low", + "AmountExcludingVat": 40.55, + "VatCalculation": "exempt" + } + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop alle soorten btw.json b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop alle soorten btw.json new file mode 100644 index 0000000..8072505 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop alle soorten btw.json @@ -0,0 +1,44 @@ +{ + "InvoiceNumber": "d", + "InvoiceDate": "2024-01-23", + "Description": "Sleek Metal Tuna", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "9bafbc7a-611b-5465-a584-5f0c88734b35", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "eb44c60d-06e4-564b-a90c-7715c78788a5", + "InvoiceLine": [ + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 21, + "VatType": "high", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 40.55, + "VatType": "low", + "AmountExcludingVat": 40.55, + "VatCalculation": "exempt" + }, + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 0, + "VatType": "zero", + "AmountExcludingVat": 40.55 + }, + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 18, + "VatType": "low", + "AmountExcludingVat": 200 + } , + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 18, + "VatType": "high", + "AmountExcludingVat": 200, + "VatCalculation": "reversecharged" + } + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop meerdere btw soorten.json b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop meerdere btw soorten.json new file mode 100644 index 0000000..3c7e3ee --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop meerdere btw soorten.json @@ -0,0 +1,37 @@ +{ + "InvoiceNumber": "t", + "InvoiceDate": "2024-01-23", + "Description": "Handmade Concrete Car", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "863d895a-3782-5500-b933-dd487d736138", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "b98e24e9-a611-5a98-8cf9-40fed321dc6c", + "InvoiceLine": [ + { + "LedgerAccountId": "de3184b9-23f0-55e6-9bd0-ccb5c2b5b5ce", + "AmountVat": 21, + "VatType": "high", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "de3184b9-23f0-55e6-9bd0-ccb5c2b5b5ce", + "AmountVat": 40.55, + "VatType": "low", + "AmountExcludingVat": 40.55, + "VatCalculation": "exempt" + }, + { + "LedgerAccountId": "de3184b9-23f0-55e6-9bd0-ccb5c2b5b5ce", + "AmountVat": 0, + "VatType": "zero", + "AmountExcludingVat": 40.55 + }, + { + "LedgerAccountId": "de3184b9-23f0-55e6-9bd0-ccb5c2b5b5ce", + "AmountVat": 18, + "VatType": "low", + "AmountExcludingVat": 200 + } + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop met locatie en afdeling.json b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop met locatie en afdeling.json new file mode 100644 index 0000000..376c286 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/examples/verkoop met locatie en afdeling.json @@ -0,0 +1,28 @@ +{ + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InvoiceDate": "2025-01-15", + "InvoiceNumber": "VK-80-452491", + "RelationType": "organisation", + "RelationId": "666af0be-5fbe-5345-8315-18b5bc17215a", + "Reference": "docs-sample-8.0", + "Description": "Voorbeeld verkoopjournaalpost 3.0 (locatie en afdeling)", + "PaymentMethod": "banktransfer", + "InvoiceLine": [ + { + "LedgerAccountId": "89505e52-e161-4f2d-9727-1d8fcbb4c4da", + "Description": "Omzet vestiging Inspiratielaan", + "AmountExcludingVat": 100, + "AmountVat": 21, + "VatType": "high", + "LocationId": "01ae3b98-8320-44e1-8eb4-c66635dde0b4" + }, + { + "LedgerAccountId": "ee7ac105-3432-4515-a79f-21252fb5ac6a", + "Description": "Omzet afdeling Directie", + "AmountExcludingVat": 200, + "AmountVat": 18, + "VatType": "low", + "DepartmentId": "43d4aa9d-0219-44b8-a8cb-878a61a61638" + } + ] +} diff --git a/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/already exists.json b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/already exists.json new file mode 100644 index 0000000..21d842e --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/already exists.json @@ -0,0 +1,8 @@ +{ + "result": "Failed", + "traceId": "3ca43e3a-00b6-460d-8bf1-be2f391f3f4c", + "instances": [], + "errors": [ + "SalesJournalEntry with invoicenumber SB_API_2204202410006 already exists" + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/error on date.json b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/error on date.json new file mode 100644 index 0000000..afdd070 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/error on date.json @@ -0,0 +1,9 @@ +{ + "result": "Failed", + "traceId": "57f10a49-6720-4bb8-8826-8ef92387560f", + "instances": [], + "errors": [ + "Entity is made with one or more errors. Please correct this error in application or delete SalesJournalEntry with id: b32ee6e1-f807-4644-a6d5-d785d8bd7c61", + "De factuurdatum ligt vóór de beginbalansdatum. Dit is niet toegestaan." + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/error on line.json b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/error on line.json new file mode 100644 index 0000000..7efd1e1 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/error on line.json @@ -0,0 +1,10 @@ +{ + "result": "Failed", + "traceId": "010e0485-1e22-4f1a-8573-405090824d35", + "instances": [], + "errors": [ + "Entity is made with one or more errors in the lines. Please correct this error in application or delete SalesJournalEntry with id: eee53305-8851-4859-a53e-b4b18f14040e.", + "Field 'Grootboekrekening' contains an invalid reference (a18e0f9a-c73d-58c4-ae80-64c2e4228de4)", + "Field 'Grootboekrekening' contains an invalid reference (a18e0f9a-c73d-58c4-ae80-64c2e4228de4)" + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/error.json b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/error.json new file mode 100644 index 0000000..12fdfb5 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/400/error.json @@ -0,0 +1,8 @@ +{ + "result": "Failed", + "traceId": "e193dbe5-8f65-4035-aa81-879bd9828f98", + "instances": [], + "errors": [ + "FeatureToggle not enabled" + ] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/success.json b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/success.json new file mode 100644 index 0000000..0881627 --- /dev/null +++ b/OpenApiSpecs/sb/files/updateconnector-salesjournalentry-Post-3.0/responses/success.json @@ -0,0 +1,8 @@ +{ + "result": "Succeeded", + "traceId": "0be0b15f-79b5-486b-b26f-94a711c318e0", + "data": { + "SalesJournalEntryId": "63cc7430-0455-4e11-95b9-74693427b8b2" + }, + "errors": [] +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/nl/8-0-0.json b/OpenApiSpecs/sb/nl/8-0-0.json new file mode 100644 index 0000000..5f18d3e --- /dev/null +++ b/OpenApiSpecs/sb/nl/8-0-0.json @@ -0,0 +1,19503 @@ +{ + "openapi": "3.0.2", + "info": { + "version": "8.0", + "title": "AFAS SB API", + "description": "AFAS SB API for integrating with the accounting software for accountants and entrepreneurs." + }, + "servers": [ + { + "url": "https://{domain}.afasfocus.nl/{customerenvironment}", + "description": "Customer environment URL", + "variables": { + "domain": { + "description": "Identifier for the accountancy environment", + "default": "app-center-demo" + }, + "customerenvironment": { + "description": "Identifier for the customer environment", + "default": "scope" + } + } + }, + { + "url": "https://{subdomein}.afasfocus.nl/admin", + "description": "Accounting center URL", + "variables": { + "subdomein": { + "description": "URL unique for the accounting office.", + "default": "app-center-demo" + } + } + } + ], + "paths": { + "/api/blob/{uuid}": { + "get": { + "description": "Retrieve a specific blob by UUI.", + "summary": "/api/blob/{uuid}", + "operationId": "getBlob", + "parameters": [ + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1" + } + }, + { + "in": "header", + "name": "Authorization", + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "uuid", + "schema": { + "type": "string", + "format": "uuid", + "example": "00000000-0000-0000-0000-000000000000" + }, + "required": true, + "description": "UUID of the blob" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "400": { + "$ref": "#/components/responses/400" + }, + "401": { + "$ref": "#/components/responses/401" + }, + "403": { + "$ref": "#/components/responses/403" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "tags": [ + "Bijlagen", + "Inkoopjournaalpost", + "Verkoopfactuur", + "Verkoopjournaalpost", + "Publiek: Externe facturatie" + ], + "deprecated": false + }, + "put": { + "description": "This operation consists of two requests. First call this endpoint with the Blob-* headers, without body to prepare the blob. Then call this endpoint without the Blob-* headers with a body to upload the file. The blob UUID must be generated client side.", + "summary": "/api/blob/{uuid}", + "operationId": "reserveBlobSpace", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "path", + "name": "uuid", + "schema": { + "type": "string", + "format": "uuid", + "example": "00000000-0000-0000-0000-000000000000" + }, + "required": true, + "description": "UUID of the blob. This should be generated client side." + }, + { + "in": "header", + "name": "Blob-Content-Length", + "schema": { + "type": "integer", + "example": "100" + } + }, + { + "in": "header", + "name": "Blob-Content-Type", + "schema": { + "type": "string", + "example": "image/jpeg" + } + }, + { + "in": "header", + "name": "Blob-Content-FileName", + "schema": { + "type": "string", + "example": "attachment.jpg" + } + }, + { + "in": "header", + "name": "Blob-Upload-Type", + "schema": { + "type": "string", + "example": "Blob/Image" + }, + "required": true + }, + { + "in": "header", + "name": "Blob-Format", + "schema": { + "type": "string", + "example": "Default/Thumb/Small/Medium" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + } + ], + "requestBody": { + "description": "Binary content of the blob", + "required": true + }, + "responses": { + "200": { + "description": "OK" + }, + "400": { + "$ref": "#/components/responses/400" + }, + "401": { + "$ref": "#/components/responses/401" + }, + "403": { + "$ref": "#/components/responses/403" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "tags": [ + "Bijlagen", + "Inkoopjournaalpost", + "Verkoopfactuur", + "Verkoopjournaalpost", + "Publiek: Externe facturatie" + ], + "deprecated": false + } + }, + "/authentication/getaccesstoken": { + "post": { + "description": "Get AccessToken: Provide an application token created in the current application. An access token is returned which can be used for the \"AccessToken\" header to execute connector requests. The 'scope' property is required in accountancy environments. When scope is not provided in accountancy environments, an identity token is returned which can be used in the 'ScopeSelection' api.", + "summary": "/authentication/getaccesstoken", + "operationId": "updateconnector-getaccesstoken", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/json" + } + } + ], + "requestBody": { + "description": "Application token", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "apptoken": { + "type": "string", + "example": "APPTOKEN" + }, + "scope": { + "type": "string", + "example": "demo" + } + }, + "required": [ + "apptoken" + ] + } + } + } + }, + "responses": { + "200": { + "description": "OK" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "tags": [ + "Autorisatie" + ], + "deprecated": false + } + }, + "/authentication/getscopes": { + "post": { + "description": "Get scopes: Provide an identity token returned by the 'AccessToken' api.", + "summary": "/authentication/getscopes", + "operationId": "updateconnector-getscopes", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/json" + } + }, + { + "in": "header", + "name": "IdentityToken", + "schema": { + "type": "string", + "example": "IDENTITYTOKEN" + } + } + ], + "requestBody": { + "description": "Scopes", + "required": true + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "example": "Beheer" + }, + "Path": { + "type": "string", + "example": "admin" + } + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "tags": [ + "Autorisatie" + ], + "deprecated": false + } + }, + "/app/token": { + "post": { + "description": "Get an access token for a scope.", + "summary": "app/token", + "operationId": "updateconnector-token", + "requestBody": { + "required": true, + "content": { + "multipart/form-data": { + "schema": { + "type": "object", + "properties": { + "grant_type": { + "type": "string", + "example": "refresh_token" + }, + "refresh_token": { + "type": "string" + }, + "client_id": { + "type": "string" + }, + "client_secret": { + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "access_token": { + "type": "string" + }, + "expires_in": { + "type": "integer" + }, + "token_type": { + "type": "string" + } + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "tags": [ + "Autorisatie" + ], + "deprecated": false + } + }, + "/api/adminlicenseinformation": { + "get": { + "description": "Retrieve license information for all scopes in the environment. This endpoint requires admin rights, and should be called from the 'admin' scope (e.g. yourdomain.afasfocus.nl/admin/api/adminlicenseinformation).", + "summary": "/api/adminlicenseinformation", + "operationId": "getconnector-adminlicenseinformation", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/json" + } + }, + { + "in": "header", + "name": "IdentityToken", + "schema": { + "type": "string", + "example": "IDENTITYTOKEN" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1" + }, + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "example": "Beheer" + }, + "Url": { + "type": "string", + "example": "beheer" + }, + "ScopeId": { + "type": "integer", + "example": "1" + }, + "License": { + "type": "string", + "example": "Ondernemen" + }, + "AdministrationCount": { + "type": "integer", + "example": "5" + }, + "ExtraAdministrationCount": { + "type": "integer", + "example": "2" + }, + "UserCount": { + "type": "integer", + "example": "2" + }, + "ExtraUserCount": { + "type": "integer", + "example": "0" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "Name": "Enyoi", + "Url": "enyoi", + "ScopeId": 1, + "License": "2Gether", + "AdministrationCount": 2, + "ExtraAdministrationCount": 0, + "UserCount": 0, + "ExtraUserCount": 0 + } + ] + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "tags": [ + "Admin center data", + "Publiek: Admin center data" + ], + "deprecated": false + } + }, + "/api/accountingperiod": { + "get": { + "description": "Retrieve accounting periods for a specific administration", + "summary": "accountingperiod 2.0", + "operationId": "getconnector-accountingperiod-get-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "AccountingYear": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "StartDate": { + "type": "string", + "format": "date-time" + }, + "EndDate": { + "type": "string", + "format": "date-time" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "PeriodNumber": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Id": "6b39b98c-4fc0-4c51-9cc6-d9b6657b725a", + "Description": "Januari 2024", + "StartDate": "2024-01-01T00:00:00Z", + "EndDate": "2024-01-31T00:00:00Z", + "PeriodNumber": 1.0, + "AccountingYear": "2024" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële dashboarding", + "Publiek: Financiële rapportage", + "Financiele rapportage" + ] + } + }, + "/api/accountingyear": { + "get": { + "description": "Retrieve accounting years for financial reporting periods", + "summary": "accountingyear 2.0", + "operationId": "getconnector-accountingyear-get-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + }, + "StartDate": { + "type": "string", + "format": "date-time" + }, + "EndDate": { + "type": "string", + "format": "date-time" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Id": "313e40a2-1d9d-4672-b852-209f9ea9e167", + "Description": "2024", + "StartDate": "2024-01-01T00:00:00Z", + "EndDate": "2024-12-31T00:00:00Z" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële dashboarding", + "Publiek: Financiële rapportage", + "Financiele rapportage" + ] + } + }, + "/api/addresses": { + "get": { + "description": "Retrieve multiple addresses with detailed contact information", + "summary": "addresses 1.0", + "operationId": "getconnector-addresses-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "StreetName": { + "type": "string" + }, + "HouseNumber": { + "type": "string" + }, + "HouseNumberAddition": { + "type": "string" + }, + "PostalZone": { + "type": "string" + }, + "CityName": { + "type": "string" + }, + "CountryName": { + "type": "string" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "IsPreferedInvoiceAddress": { + "type": "boolean" + }, + "IsPreferedSupplierAddress": { + "type": "boolean" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202409230720571", + "Result": [ + { + "Id": "56528a1b-4bea-5699-abb8-f66155e9c497", + "StreetName": "Reactorweg", + "HouseNumber": "47", + "HouseNumberAddition": null, + "PostalZone": "3542 AD", + "RelationId": "4fa13b8e-44dc-5cf7-b2ef-35e14be401e8", + "IsPreferedInvoiceAddress": true, + "IsPreferedSupplierAddress": true, + "CityName": "Utrecht", + "CountryName": "Nederland", + "RelationType": "organisation" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Relatiemanagement", + "Relaties", + "Publiek: Facturatie", + "Verkoopfactuur" + ] + } + }, + "/api/administration": { + "get": { + "description": "ListAdministration", + "summary": "administration 1.0", + "operationId": "getconnector-administration-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Description Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Description": { + "type": "string" + }, + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "Id": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "EnYoi Holding B.V.", + "InstanceId": "701b747b-eea2-5ed1-8518-973e5c670252" + }, + { + "Id": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "EnYoi ICT Services B.V.", + "InstanceId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Loonjournaalpost", + "POS Transacties", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Verkoopfactuur", + "Verkoopjournaalpost" + ] + } + }, + "/api/administrations": { + "get": { + "description": "Retrieve all available administrations and their details", + "summary": "administrations 1.0", + "operationId": "getconnector-administrations-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Description Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Description": { + "type": "string" + }, + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "Id": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "EnYoi Holding B.V.", + "InstanceId": "701b747b-eea2-5ed1-8518-973e5c670252" + }, + { + "Id": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "EnYoi ICT Services B.V.", + "InstanceId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële dashboarding", + "Publiek: Financiële journaalpost", + "Financiële journaalpost", + "Publiek: Financiële rapportage", + "Financiele rapportage", + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Loonjournaalpost", + "Publiek: POS Transacties", + "POS Transacties", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Relatiemanagement", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/balancetotalscurrentyear": { + "get": { + "description": "Retrieve cumulative ledger account totals for balance sheet reporting of the current year", + "summary": "balancetotalscurrentyear 1.0", + "operationId": "getconnector-balancetotalscurrentyear-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid" + }, + "LedgerAccount": { + "type": "string" + }, + "RgsCode": { + "type": "string" + }, + "RgsDescription": { + "type": "string" + }, + "LedgerAccountNumber": { + "type": "string" + }, + "Total": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "9e24a672-ee34-5429-8936-0ef2e7b0b498", + "LedgerAccount": "Reservering vakantiegeld (1750)", + "LedgerAccountNumber": "1750", + "RgsCode": "BSchSalTvg", + "RgsDescription": "Te betalen vakantiegeld", + "Total": -4724.9, + "InstanceId": "a1ad4d2b-3659-4b04-94dc-1c24e39a7f56" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "ef3fdcea-7739-507d-b36f-1184ece8b47d", + "LedgerAccount": "Rekening courant Holding (1350)", + "LedgerAccountNumber": "1350", + "RgsCode": "BVorVopVr1", + "RgsDescription": "Rekening-courant participant en op maatschappij waarin wordt deelgenomen 1 (kortlopend)", + "Total": 25479.66, + "InstanceId": "838e0eb3-d200-4702-ac09-99c1409b7856" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "69c7bc36-b185-5c53-95e3-2a1ac885a89d", + "LedgerAccount": "Bank rekening courant (1100)", + "LedgerAccountNumber": "1100", + "RgsCode": "BLimBanRba", + "RgsDescription": "Rekening-courant bank", + "Total": 149715.39, + "InstanceId": "1d1d74b5-4779-4081-9bd8-14521ddd08ac" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "c500f1af-65e5-5691-9921-387a68e6125a", + "LedgerAccount": "Te betalen loonheffing (1710)", + "LedgerAccountNumber": "1710", + "RgsCode": "BSchBepLhe", + "RgsDescription": "Te betalen Loonheffing", + "Total": -162.12, + "InstanceId": "8ed241ed-7158-4c65-bd58-fb2ee4306ae1" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "d040aa8b-213f-5d2a-8b87-3a408a77f689", + "LedgerAccount": "Kruisposten (2300)", + "LedgerAccountNumber": "2300", + "RgsCode": "BLimKruSto", + "RgsDescription": "Stortingen onderweg", + "Total": -5000.0, + "InstanceId": "3dd94556-d75e-4c5a-a05f-f31491fe3f10" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "7426cb28-2b1f-5984-ba90-4243140d1483", + "LedgerAccount": "Debiteuren (1300)", + "LedgerAccountNumber": "1300", + "RgsCode": "BVorDebHad", + "RgsDescription": "Handelsdebiteuren nominaal", + "Total": 29179.63, + "InstanceId": "d9f5a038-b94d-4524-bf69-7393646c77b2" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "dde87670-e2b8-5f67-a380-51ebc58f4654", + "LedgerAccount": "Vooruitbetalingen aan crediteuren (1618)", + "LedgerAccountNumber": "1618", + "RgsCode": "BVorOvrVrb", + "RgsDescription": "Vooruitbetalingen", + "Total": 745.36, + "InstanceId": "5e05e35a-a7f8-4a7d-8004-0f5cf5fdd11b" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "d2ccb3c1-c855-53fd-a23e-5c6f370f2e9a", + "LedgerAccount": "Reservering vakantiedagen (1751)", + "LedgerAccountNumber": "1751", + "RgsCode": "BSchSalTbv", + "RgsDescription": "Reservering vakantiedagen", + "Total": -4038.57, + "InstanceId": "8497d6d3-f9c1-4539-a6c5-55c72a047420" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "4cca9db9-463e-5085-9255-6ebf5c976d91", + "LedgerAccount": "Onverdeeld resultaat (0900)", + "LedgerAccountNumber": "0900", + "RgsCode": "BEivOreOvw", + "RgsDescription": "Niet verdeelde winst", + "Total": -440737.76, + "InstanceId": "9aed74cc-c93f-47f4-b9b2-1c9793a6a958" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "997986ad-db19-5813-8138-7522be4424e5", + "LedgerAccount": "Bank spaarrekening (1101)", + "LedgerAccountNumber": "1101", + "RgsCode": "BLimBanRba", + "RgsDescription": "Rekening-courant bank", + "Total": 323000.0, + "InstanceId": "4e706153-9cb4-47b1-87c7-4962cf46bb12" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "905bd442-24d7-50a0-a7a1-97b03e145caf", + "LedgerAccount": "Nog te leveren goederen en diensten (1615)", + "LedgerAccountNumber": "1615", + "RgsCode": "BSchOpaOop", + "RgsDescription": "Overige overlopende passiva", + "Total": -1.3, + "InstanceId": "f1368cf9-a2e3-44e2-8198-f972505a4f72" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "4c13c6f4-b378-5683-87a1-98f7b08ad2ae", + "LedgerAccount": "Te betalen netto lonen en salarissen (1700)", + "LedgerAccountNumber": "1700", + "RgsCode": "BSchSalNet", + "RgsDescription": "Netto lonen", + "Total": -9933.6, + "InstanceId": "0af65bbb-bf63-4ba9-8aa9-96f383b50844" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "a21a8669-8ac3-5c0f-8c31-9cef62920dc6", + "LedgerAccount": "Inventaris en inrichting (> € 450) (0230)", + "LedgerAccountNumber": "0230", + "RgsCode": "BMvaBeiVvp", + "RgsDescription": "Verkrijgings- of vervaardigingsprijs", + "Total": 21886.45, + "InstanceId": "611c2e87-f2bb-4971-834e-d21971edb042" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "e41c8413-ad18-5dba-8ed2-b3fb5f0a260d", + "LedgerAccount": "Afschrijving inventaris en inrichting (0235)", + "LedgerAccountNumber": "0235", + "RgsCode": "BMvaBeiCae", + "RgsDescription": "Cumulatieve afschrijvingen en waardeverminderingen", + "Total": -9427.38, + "InstanceId": "e17df5ec-d6b9-43f2-8e22-db51d770a167" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "e216c2fb-7041-53b7-bcc0-b62624a41e24", + "LedgerAccount": "Betalingen onderweg (crediteur) (1605)", + "LedgerAccountNumber": "1605", + "RgsCode": "BSchCreTus", + "RgsDescription": "Tussenrekening betalingen crediteuren (betalingen onderweg)", + "Total": -58670.8, + "InstanceId": "cdde21f6-65b0-4af8-acdd-af2fbd998f06" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "99d9e227-c3f8-52c1-b401-b7d87f72e12e", + "LedgerAccount": "Crediteuren (1600)", + "LedgerAccountNumber": "1600", + "RgsCode": "BSchCreHac", + "RgsDescription": "Handelscrediteuren nominaal", + "Total": -17034.92, + "InstanceId": "3f75c458-591d-46ee-855a-2f48d09f818f" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "0f1a9eea-a0e9-5ba7-8a75-f0eb41dfa0ce", + "LedgerAccount": "Btw (1800)", + "LedgerAccountNumber": "1800", + "RgsCode": "BSchBepBtw", + "RgsDescription": "Te betalen Omzetbelasting", + "Total": -275.14, + "InstanceId": "90944025-2bed-42c5-8714-9d3ff87d236c" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "47661976-6998-5be2-8bee-0fa2e0d03a36", + "LedgerAccount": "Te betalen loonheffing (1710)", + "LedgerAccountNumber": "1710", + "RgsCode": "BSchBepLhe", + "RgsDescription": "Te betalen Loonheffing", + "Total": -64.83, + "InstanceId": "84919864-74b1-4298-bf32-5c552e4e2114" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "24b17b57-5c49-5295-9fc1-11fd86024986", + "LedgerAccount": "Onverdeeld resultaat (0900)", + "LedgerAccountNumber": "0900", + "RgsCode": "BEivOreOvw", + "RgsDescription": "Niet verdeelde winst", + "Total": -38055.05, + "InstanceId": "b1636906-5391-4e44-8613-e3b49565c920" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "ff16b9a1-a3a6-5966-aab6-2cbb0f3db04d", + "LedgerAccount": "Reservering verlof in geld (1754)", + "LedgerAccountNumber": "1754", + "RgsCode": "BSchSalOrn", + "RgsDescription": "Overige reserveringen", + "Total": -5539.19, + "InstanceId": "468d4c87-5733-4745-b06e-157b21118e07" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "6cef9a54-6578-5f9c-a87e-3de7670c4a85", + "LedgerAccount": "Reservering vakantiegeld (1750)", + "LedgerAccountNumber": "1750", + "RgsCode": "BSchSalTvg", + "RgsDescription": "Te betalen vakantiegeld", + "Total": -1061.34, + "InstanceId": "35e05fc1-44b3-48c9-8ffc-425ca4a1664e" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "ed216772-2170-52aa-8ee8-452bc3c2e7a2", + "LedgerAccount": "Afschrijving auto's en andere vervoermiddelen (0265)", + "LedgerAccountNumber": "0265", + "RgsCode": "BMvaTevCae", + "RgsDescription": "Cumulatieve afschrijvingen en waardeverminderingen", + "Total": -33143.7, + "InstanceId": "d58903e5-67b2-46b2-a47e-bafd017f3815" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "3a4ff161-fb0f-543e-b73b-62970ac684b4", + "LedgerAccount": "Rekening courant Services (1350)", + "LedgerAccountNumber": "1350", + "RgsCode": "BVorVopVr1", + "RgsDescription": "Rekening-courant participant en op maatschappij waarin wordt deelgenomen 1 (kortlopend)", + "Total": -25479.66, + "InstanceId": "60f63b7b-fea3-4de2-84de-9cda0ae38b71" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "41205a02-3695-5d9a-aff2-6d9f9fc8501d", + "LedgerAccount": "Crediteuren (1600)", + "LedgerAccountNumber": "1600", + "RgsCode": "BSchCreHac", + "RgsDescription": "Handelscrediteuren nominaal", + "Total": -2524.0, + "InstanceId": "1a1d5f8d-e9aa-46e8-b468-959a2c168830" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "7b87e785-7cf3-5507-9087-8837254dad1b", + "LedgerAccount": "Incasso onderweg (2350)", + "LedgerAccountNumber": "2350", + "RgsCode": "BSchTusTov", + "RgsDescription": "Tussenrekeningen overig", + "Total": 2402.0, + "InstanceId": "eced9d97-83fc-4c14-9f58-1e5a52fec4a5" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "f220deca-1cf7-54fd-bf2a-907092148904", + "LedgerAccount": "Btw (1800)", + "LedgerAccountNumber": "1800", + "RgsCode": "BSchBepBtw", + "RgsDescription": "Te betalen Omzetbelasting", + "Total": -7413.0, + "InstanceId": "54c5b5eb-d85c-4339-8925-c2366c8253c4" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "2bf5283a-eaf4-5a7d-b7fd-b590941b98e2", + "LedgerAccount": "Bank spaarrekening (1101)", + "LedgerAccountNumber": "1101", + "RgsCode": "BLimBanRba", + "RgsDescription": "Rekening-courant bank", + "Total": 73500.0, + "InstanceId": "23c4bcdd-827b-4e54-b78b-0965bba9c2f9" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "9c6f024c-527f-5cfb-b36c-c4714a31fc34", + "LedgerAccount": "Auto's en andere vervoermiddelen (0260)", + "LedgerAccountNumber": "0260", + "RgsCode": "BMvaTevVvp", + "RgsDescription": "Verkrijgings- of vervaardigingsprijs", + "Total": 41305.79, + "InstanceId": "e8b19f11-8eb1-485f-83ce-10fc77d34866" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "dc2ec452-94a8-50e0-ab10-e44c0a350c05", + "LedgerAccount": "Bank rekening courant (1100)", + "LedgerAccountNumber": "1100", + "RgsCode": "BLimBanRba", + "RgsDescription": "Rekening-courant bank", + "Total": 4206.91, + "InstanceId": "4a0a3a6b-dfeb-47b7-8a94-4b3596646f16" + }, + { + "AdministrationId": "f89230e2-8953-59d0-866a-ee08e08d4875", + "LedgerAccountId": "458fe3de-c216-597c-b8a5-f34f6dfc53b3", + "LedgerAccount": "Te betalen netto lonen en salarissen (1700)", + "LedgerAccountNumber": "1700", + "RgsCode": "BSchSalNet", + "RgsDescription": "Netto lonen", + "Total": -8133.93, + "InstanceId": "63224b9f-8ab8-435a-a394-927e3de3f607" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële dashboarding", + "Publiek: Financiële rapportage", + "Financiele rapportage" + ] + } + }, + "/api/bankaccounts": { + "get": { + "description": "Get bankaccount for organisation or person.", + "summary": "bankaccounts 1.0", + "operationId": "getconnector-bankaccounts-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "AccountNumber": { + "type": "string" + }, + "RelationIsOrganisationOrAdministration": { + "type": "boolean" + }, + "PreferredIncomingPayments": { + "type": "boolean" + }, + "PreferredOutgoingPayments": { + "type": "boolean" + }, + "RelationId": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "bankaccounts": { + "value": { + "TrackingToken": "202406211216501", + "Result": [ + { + "Id": "0d83610b-e1fc-53a2-a951-00f9098e0154", + "AccountNumber": "NL10INGB0675488052", + "RelationId": "b323458f-5bae-542b-8294-9040c9801805" + }, + { + "Id": "dd6cbc4b-6ec6-59c0-95ca-020b5977b39a", + "AccountNumber": "NL16RABO0300417497", + "RelationId": "b24405d6-fee2-52f5-8f24-c1a0180e46f2" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Relatiemanagement", + "Relaties", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/cashregisters": { + "get": { + "description": "Retrieve cash register configurations and settings", + "summary": "cashregisters 1.0", + "operationId": "getconnector-cashregisters-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "InstanceId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "cashregisters": { + "value": [ + { + "InstanceId": "265424ab-253e-57d4-9d65-036c65ad05c8", + "Description": "Kas", + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8" + }, + { + "InstanceId": "25e93133-ec28-543f-9f23-312ddb4e10a3", + "Description": "Kas", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: POS Transacties", + "POS Transacties" + ] + } + }, + "/api/contacts": { + "get": { + "description": "Retrieve contact information for persons and organizations", + "summary": "contacts 1.0", + "operationId": "getconnector-contacts-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "OrganisationId": { + "type": "string", + "format": "uuid" + }, + "PersonId": { + "type": "string", + "format": "uuid" + }, + "Name": { + "type": "string" + }, + "Firstname": { + "type": "string" + }, + "Initials": { + "type": "string" + }, + "Prefix": { + "type": "string" + }, + "Lastname": { + "type": "string" + }, + "PhoneNumber": { + "type": "string" + }, + "Emailaddress": { + "type": "string" + }, + "ExternalId": { + "type": "string" + }, + "IsArchived": { + "type": "boolean" + }, + "PersonIsArchived": { + "type": "boolean" + }, + "OrganisationIsArchived": { + "type": "boolean" + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202403280856491", + "Result": [ + { + "Id": "0236d0dc-b5be-5b6e-b191-17f6b767aa5b", + "IsArchived": false, + "OrganisationId": "e97ecfe3-8bcb-5baf-82e4-4e46b2b02126", + "OrganisatieIsArchived": false, + "Name": "Peter de Jager", + "FirstName": "Peter", + "Initials": "P.", + "Prefix": "de", + "Lastname": "Jager", + "ExternalId": null, + "PersoonIsArchived": false + }, + { + "Id": "2c5b3f1d-1689-5257-9ab2-2ba634203b2c", + "IsArchived": false, + "OrganisationId": "c589e4b3-d131-5a1b-9eca-44dd2fc17600", + "OrganisatieIsArchived": false, + "Name": "Trudie Feenstra", + "FirstName": "Trudie", + "Initials": "T.", + "Prefix": null, + "Lastname": "Feenstra", + "ExternalId": null, + "PersoonIsArchived": false + }, + { + "Id": "416b5ea9-93bd-5cfc-af07-37f1681da00b", + "IsArchived": false, + "OrganisationId": "bb3fd8ef-5a0e-5919-8e67-77b396abf212", + "OrganisatieIsArchived": false, + "Name": "Yousef Martiqui", + "FirstName": "Yousef", + "Initials": "Y.", + "Prefix": null, + "Lastname": "Martiqui", + "ExternalId": null, + "PersoonIsArchived": false + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Relatiemanagement", + "Relaties" + ] + } + }, + "/api/countries": { + "get": { + "description": "Retrieve country information with ISO codes and descriptions", + "summary": "countries 1.0", + "operationId": "getconnector-countries-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + }, + "CodeISOAlpha2": { + "type": "string" + } + } + } + }, + "examples": { + "countries": { + "value": { + "TrackingToken": "202406211218251", + "Result": [ + { + "Id": "afa50000-0000-0ab9-bf40-00958bc94cc8", + "Description": "Tadzjikistan", + "CodeISOAlpha2": "TJ" + }, + { + "Id": "afa50000-0000-0be2-8a70-01f36103d3cd", + "Description": "Heard Eiland en McDonald Eilanden", + "CodeISOAlpha2": "HM" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Relatiemanagement", + "Relaties" + ] + } + }, + "/api/creditorbalance": { + "get": { + "description": "Retrieve creditor balance information for suppliers", + "summary": "creditorbalance 1.0", + "operationId": "getconnector-creditorbalance-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "RelationName": { + "type": "string" + }, + "LastCompleted": { + "type": "string", + "format": "date-time" + }, + "OutstandingAmount": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "OutstandingAmount": 1586.31, + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "296a5ec3-0efb-528d-9afd-7ab3b3c914c1", + "RelationName": "Stichting Mollie Payments", + "InstanceId": "8b0ecc00-2b87-4eaa-bd19-3b9db7f297c4", + "RelationType": "organisation" + }, + { + "OutstandingAmount": 28597.14, + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "RelationName": "AFAS Software B.V.", + "InstanceId": "072672c2-c859-4eef-a0be-7e760b57af6f", + "RelationType": "organisation" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Crediteuren" + ] + } + }, + "/api/creditorinvoicebalance": { + "get": { + "description": "Retrieve creditor invoice balance details for payable transactions", + "summary": "creditorinvoicebalance 1.0", + "operationId": "getconnector-creditorinvoicebalance-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "InvoiceNumber Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "InvoiceNumber": { + "type": "string" + }, + "InvoiceDate": { + "type": "string", + "format": "date-time" + }, + "CustomerReference": { + "type": "string" + }, + "DueDate": { + "type": "string", + "format": "date-time" + }, + "InternalInvoiceNumber": { + "type": "string" + }, + "InvoiceId": { + "type": "string", + "format": "uuid" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "RelationName": { + "type": "string" + }, + "LastCompleted": { + "type": "string", + "format": "date-time" + }, + "OutstandingAmount": { + "type": "number" + }, + "PaidAmount": { + "type": "number" + }, + "ProcessingAmount": { + "type": "number" + }, + "TotalAmount": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "OutstandingAmount": 1586.31, + "PaidAmount": 0.0, + "ProcessingAmount": 0.0, + "TotalAmount": 1586.31, + "DueDate": "2024-12-13T00:00:00Z", + "InvoiceId": "1ae8da84-9dd1-427a-a636-25aa53162dbf", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "InvoiceNumber": "123", + "InvoiceDate": "2024-12-13T00:00:00Z", + "CustomerReference": null, + "InternalInvoiceNumber": "IF240003", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "296a5ec3-0efb-528d-9afd-7ab3b3c914c1", + "RelationName": "Stichting Mollie Payments", + "InstanceId": "9ea0e72a-b424-485d-82b1-09363aefcdce", + "RelationType": "organisation" + }, + { + "OutstandingAmount": 28341.83, + "PaidAmount": 0.0, + "ProcessingAmount": 0.0, + "TotalAmount": 28341.83, + "DueDate": "2024-12-27T00:00:00Z", + "InvoiceId": "b3823933-d138-468a-a071-4e517feca9b9", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "InvoiceNumber": "20241231", + "InvoiceDate": "2024-12-13T00:00:00Z", + "CustomerReference": null, + "InternalInvoiceNumber": "IF240001", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "RelationName": "AFAS Software B.V.", + "InstanceId": "b7e76bdf-1152-4d54-8224-ad6a421fc84f", + "RelationType": "organisation" + }, + { + "OutstandingAmount": 255.31, + "PaidAmount": 0.0, + "ProcessingAmount": 0.0, + "TotalAmount": 255.31, + "DueDate": "2025-01-14T00:00:00Z", + "InvoiceId": "6a25941f-2c35-4736-b963-6c63be0e82b4", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "InvoiceNumber": "20241232", + "InvoiceDate": "2024-12-31T00:00:00Z", + "CustomerReference": null, + "InternalInvoiceNumber": "IF240002", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "RelationName": "AFAS Software B.V.", + "InstanceId": "ac5f3b30-6296-4864-86c6-cecede47984d", + "RelationType": "organisation" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Crediteuren" + ] + } + }, + "/api/debtorbalance": { + "get": { + "description": "Retrieve debtor balance information for customers", + "summary": "debtorbalance 2.0", + "operationId": "getconnector-debtorbalance-get-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "RelationName": { + "type": "string" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "LastCompleted": { + "type": "string", + "format": "date-time" + }, + "OutstandingAmount": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "OutstandingAmount": 684.86, + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "RelationName": "AFAS Software B.V.", + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "InstanceId": "9b9c7f38-d059-4a9c-b3a0-3e0562bd0115", + "RelationType": "organisation" + }, + { + "OutstandingAmount": 640.09, + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "RelationName": "Mollie B.V.", + "RelationId": "3709fb45-c646-5cca-8de7-e6433404316a", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "InstanceId": "d33f3c36-d120-448c-92bd-0dbdeb2985bd", + "RelationType": "organisation" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Debiteuren" + ] + } + }, + "/api/debtorinvoicebalance": { + "get": { + "description": "Retrieve debtor invoice balance details for receivable transactions", + "summary": "debtorinvoicebalance 3.0", + "operationId": "getconnector-debtorinvoicebalance-get-3.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "3.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "InvoiceDate": { + "type": "string", + "format": "date-time" + }, + "DueDate": { + "type": "string", + "format": "date-time" + }, + "InvoiceNumber": { + "type": "string" + }, + "CustomerReference": { + "type": "string" + }, + "RelationName": { + "type": "string" + }, + "InvoiceId": { + "type": "string", + "format": "uuid" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "LastCompleted": { + "type": "string", + "format": "date-time" + }, + "OutstandingAmount": { + "type": "number" + }, + "TotalAmount": { + "type": "number" + }, + "PaidAmount": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "OutstandingAmount": 123.42, + "TotalAmount": 123.42, + "PaidAmount": 0.0, + "DueDate": "2024-12-27T00:00:00Z", + "InvoiceId": "a9095b6f-990d-4f5a-bda3-737939ab5fda", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "InvoiceDate": "2024-12-13T00:00:00Z", + "InvoiceNumber": "VF240002", + "CustomerReference": null, + "RelationName": "AFAS Software B.V.", + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "InstanceId": "206b831d-d5b1-43cd-a6d3-949bab3f45ee", + "RelationType": "organisation" + }, + { + "OutstandingAmount": 561.44, + "TotalAmount": 561.44, + "PaidAmount": 0.0, + "DueDate": "2024-12-27T00:00:00Z", + "InvoiceId": "157f441e-530d-4571-b6f7-e6681dc0ddac", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "InvoiceDate": "2024-12-13T00:00:00Z", + "InvoiceNumber": "VF240001", + "CustomerReference": null, + "RelationName": "AFAS Software B.V.", + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "InstanceId": "3f5ac81a-89d5-423d-ad2c-dea22585dc36", + "RelationType": "organisation" + }, + { + "OutstandingAmount": 640.09, + "TotalAmount": 640.09, + "PaidAmount": 0.0, + "DueDate": "2024-12-27T00:00:00Z", + "InvoiceId": "5fa9bfee-7a07-4ea9-b438-f19b3cdda6ca", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "InvoiceDate": "2024-12-13T00:00:00Z", + "InvoiceNumber": "VF240003", + "CustomerReference": null, + "RelationName": "Mollie B.V.", + "RelationId": "3709fb45-c646-5cca-8de7-e6433404316a", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "InstanceId": "961616ec-27db-436c-bd86-eb95a46bb141", + "RelationType": "organisation" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "3.0", + "deprecated": false, + "tags": [ + "Debiteuren", + "Publiek: Externe facturatie" + ] + } + }, + "/api/debtorpaymentterms": { + "get": { + "description": "Retrieve payment terms configured for debtor relationships", + "summary": "debtorpaymentterms 1.0", + "operationId": "getconnector-debtorpaymentterms-get-1.0", + "parameters": [ + { + "in": "query", + "name": "BusinessActivityVersion", + "schema": { + "type": "integer" + } + }, + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministationId": { + "type": "string", + "format": "uuid" + }, + "OrganisationId": { + "type": "string", + "format": "uuid" + }, + "PersonId": { + "type": "string", + "format": "uuid" + }, + "UnknownRelationId": { + "type": "string", + "format": "uuid" + }, + "InvoiceDate": { + "type": "string", + "format": "date-time" + }, + "InvoiceId": { + "type": "string" + }, + "Address": { + "type": "string" + }, + "AddressId": { + "type": "string", + "format": "uuid" + }, + "DueDate": { + "type": "string", + "format": "date-time" + }, + "RelationId": { + "type": "string" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "DueDate": "2024-02-16T00:00:00Z", + "AdministationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "InvoiceDate": "2024-02-02T00:00:00Z", + "InvoiceId": "V01240018", + "CustomerId": "c9e0fced-a61e-544e-b7ca-3e0428579f9f", + "CustomerName": "Administratiekantoor Beers", + "OrganisationId": "bb3fd8ef-5a0e-5919-8e67-77b396abf212", + "AddressId": "9e009e67-42d5-508c-9939-eb09cadb8f81", + "Address": "Postbus 779, 2700 AT, Zoetermeer, Nederland" + }, + { + "DueDate": "2024-02-02T00:00:00Z", + "AdministationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "InvoiceDate": "2024-01-19T00:00:00Z", + "InvoiceId": "V01240012", + "CustomerId": "c6734a65-7205-59e7-9777-ed5aef340c68", + "CustomerName": "Bus Grondstoffen B.V.", + "OrganisationId": "1ac6ea9d-9a7f-54f4-b9ef-fe161a55d9f6", + "AddressId": "b6fc9651-1785-53f9-9862-d7a2c84d664b", + "Address": "Eerste Tochtweg 2, 2913 LP, Capelle aan den IJssel, Nederland" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Debiteuren" + ] + } + }, + "/api/departments": { + "get": { + "description": "Retrieve department (afdeling) information", + "summary": "departments 1.0", + "operationId": "getconnector-departments-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "Omschrijving": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "9d2ea1b9-1ac5-4791-a20b-25518d9c280c", + "Omschrijving": "PD Profit" + }, + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "3ddc484c-dcbe-42ba-b621-599acb04648d", + "Omschrijving": "PD Focus" + }, + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "43d4aa9d-0219-44b8-a8cb-878a61a61638", + "Omschrijving": "Directie" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/featuretoggles": { + "get": { + "description": "Retrieve feature toggle settings and configurations", + "summary": "featuretoggles 1.0", + "operationId": "getconnector-featuretoggles-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "SalesInvoices": { + "type": "boolean" + }, + "SalesJournalEntries": { + "type": "boolean" + }, + "LinesToBeInvoiced": { + "type": "boolean" + }, + "Projects": { + "type": "boolean" + }, + "Supplies": { + "type": "boolean" + }, + "Services": { + "type": "boolean" + }, + "FixedAssets": { + "type": "boolean" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "LinesToBeInvoiced": false, + "Projects": false, + "Supplies": true, + "Services": true, + "FixedAssets": true + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "LinesToBeInvoiced": false, + "Projects": false, + "Supplies": true, + "Services": true, + "FixedAssets": true + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "TechnischeInfo" + ] + } + }, + "/api/journalentries": { + "get": { + "description": "Retrieve journal entries for financial bookkeeping", + "summary": "journalentries 1.1", + "operationId": "getconnector-journalentries-get-1.1", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.1" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "HeaderId": { + "type": "string", + "format": "uuid" + }, + "LineId": { + "type": "string", + "format": "uuid" + }, + "AccountingPeriodId": { + "type": "string", + "format": "uuid" + }, + "AccountingYearId": { + "type": "string", + "format": "uuid" + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid" + }, + "AmountDebit": { + "type": "number" + }, + "AmountCredit": { + "type": "number" + }, + "AmountTotal": { + "type": "number" + }, + "Number": { + "type": "string" + }, + "PostingDate": { + "type": "string", + "format": "date-time" + }, + "Description": { + "type": "string" + }, + "DocumentIdentification": { + "type": "string" + }, + "DocumentDate": { + "type": "string", + "format": "date-time" + }, + "VatPercentage": { + "type": "number" + }, + "VatSection": { + "oneOf": [ + { + "const": "Rubriek1a", + "title": "1a verkopen hoog" + }, + { + "const": "Rubriek1b", + "title": "1b verkopen laag" + }, + { + "const": "Rubriek1c", + "title": "1c verkopen overige tarieven" + }, + { + "const": "Rubriek1d", + "title": "1d btw privé" + }, + { + "const": "Rubriek2a", + "title": "2a/5b inkopen verlegd" + }, + { + "const": "Rubriek3a", + "title": "3a verkopen buiten de EU" + }, + { + "const": "Rubriek3b", + "title": "3b verkopen binnen de EU" + }, + { + "const": "Rubriek3c", + "title": "3c afstandsverkopen" + }, + { + "const": "Rubriek4a", + "title": "4a/5b inkopen buiten de EU" + }, + { + "const": "Rubriek4b", + "title": "4b/5b inkopen binnen de EU" + }, + { + "const": "Rubriek5b", + "title": "5b voorbelasting" + }, + { + "const": "Rubriek1e", + "title": "1e verkopen 0%" + } + ] + }, + "VatAmount": { + "type": "number" + }, + "AuditCreatedOnDate": { + "type": "string", + "format": "date-time" + } + } + } + }, + "examples": { + "journalentries": { + "value": [ + { + "LineId": "20a899d9-7a95-56f7-a54b-000b17fb8d24", + "AmountDebit": 3932.17, + "AmountCredit": 0.0, + "AmountTotal": 3932.17, + "VatPercentage": null, + "VatSection": null, + "VatAmount": null, + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "HeaderId": "938afbd9-f317-53af-bcde-b1c8e5d28472", + "Number": "2477", + "PostingDate": "2022-10-31T00:00:00Z", + "DocumentDate": "2022-10-31T00:00:00Z", + "AccountingPeriodId": "59aaf644-e6da-45eb-962f-bc37555d4262", + "AccountingYearId": "f37fc13c-870f-45ae-96e1-a5fa70c861c1", + "LedgerAccountId": "349016af-3fa7-5b11-b77d-454cc05a17ee", + "Description": "Overige uitgave - NL77ABNA0441631347 - Salarisbetaling", + "DocumentIdentification": null + }, + { + "LineId": "a34bf47d-ecab-5185-b4ac-002cdb062855", + "AmountDebit": 88.94, + "AmountCredit": 0.0, + "AmountTotal": 88.94, + "VatPercentage": null, + "VatSection": null, + "VatAmount": null, + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "HeaderId": "c0c3b86b-a023-5838-9353-ceb1ab7198fa", + "Number": "2112", + "PostingDate": "2024-04-02T00:00:00Z", + "DocumentDate": "2024-03-15T00:00:00Z", + "AccountingPeriodId": "49a93c26-2f8c-44c3-9be2-552f3b6a8fce", + "AccountingYearId": "cc0b784f-a591-4e37-8cb4-ba06374d18df", + "LedgerAccountId": "78685f08-fb5c-593f-a7d8-b4ed2886ef9d", + "Description": "Verkoopfactuur - Erbi Lara B.V.", + "DocumentIdentification": "V01240034" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.1", + "deprecated": false, + "tags": [ + "Publiek: Financiële rapportage", + "Financiele rapportage" + ] + } + }, + "/api/ledgeraccounts": { + "get": { + "description": "Retrieve all ledger accounts", + "summary": "ledgeraccounts 2.0", + "operationId": "getconnector-ledgeraccounts-get-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + }, + "LedgerAccountNumber": { + "type": "string" + }, + "TypeId": { + "type": "string", + "format": "uuid", + "description": "Guid of the ledger account type. See the Type field for the readable label." + }, + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "InvestInAsset": { + "type": "boolean" + }, + "VatAllowed": { + "type": "boolean" + }, + "MethodKeepingQuantitiesId": { + "type": "string", + "format": "uuid", + "nullable": true, + "description": "Guid of the quantity-keeping method, or null. See the MethodKeepingQuantities field for the readable label." + }, + "Unit1Id": { + "type": "string", + "format": "uuid", + "nullable": true, + "description": "Guid of the first quantity unit, or null. See the Unit1 field for the readable label." + }, + "Unit2Id": { + "type": "string", + "format": "uuid", + "nullable": true, + "description": "Guid of the second quantity unit, or null. See the Unit2 field for the readable label." + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "Type": { + "type": "string", + "description": "Readable label of TypeId.", + "enum": [ + "Activa", + "Kosten", + "Opbrengsten", + "Passiva" + ] + }, + "MethodKeepingQuantities": { + "type": "string", + "description": "Readable label of MethodKeepingQuantitiesId. Empty when no quantities are kept.", + "enum": [ + "one", + "two", + "none", + "" + ] + }, + "Unit1": { + "type": "string", + "description": "Readable label of Unit1Id. Empty when not set.", + "enum": [ + "stuks", + "kg", + "hectare", + "" + ] + }, + "Unit2": { + "type": "string", + "description": "Readable label of Unit2Id. Empty when not set.", + "enum": [ + "stuks", + "kg", + "hectare", + "" + ] + } + } + } + }, + "examples": { + "ledgeraccounts": { + "value": [ + { + "Id": "7659d7d8-7f0b-59d2-8ac7-000735359064", + "Description": "Onderhoud inventaris", + "LedgerAccountNumber": "4135", + "TypeId": "61fb169c-b210-44db-b02b-b7260efa817c", + "InstanceId": "7659d7d8-7f0b-59d2-8ac7-000735359064", + "InvestInAsset": false, + "VatAllowed": true, + "MethodKeepingQuantitiesId": null, + "Unit1Id": null, + "Unit2Id": null, + "AdministrationId": "08abf1cf-6953-4708-9ecb-f07c0c93b7fd", + "Type": "Kosten", + "MethodKeepingQuantities": "", + "Unit1": "", + "Unit2": "" + }, + { + "Id": "7ae81359-94a3-5927-9912-0086d10a6e61", + "Description": "Latente belastingvorderingen (kortlopend)", + "LedgerAccountNumber": "0906", + "TypeId": "980eb36a-8bec-45d9-97f6-06dd2c551818", + "InstanceId": "7ae81359-94a3-5927-9912-0086d10a6e61", + "InvestInAsset": false, + "VatAllowed": false, + "MethodKeepingQuantitiesId": null, + "Unit1Id": null, + "Unit2Id": null, + "AdministrationId": "0f4d4e71-4f68-45d9-a722-8699c13c37c4", + "Type": "Activa", + "MethodKeepingQuantities": "", + "Unit1": "", + "Unit2": "" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële dashboarding", + "Publiek: Financiële journaalpost", + "Financiële journaalpost", + "Publiek: Financiële rapportage", + "Financiele rapportage", + "Loonjournaalpost", + "Publiek: POS Transacties", + "POS Transacties", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/ledgerperiodtotals": { + "get": { + "description": "Retrieve ledger account totals grouped by period for reporting", + "summary": "ledgerperiodtotals 1.0", + "operationId": "getconnector-ledgerperiodtotals-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "AccountingYear": { + "type": "string" + }, + "AccountingYearId": { + "type": "string", + "format": "uuid" + }, + "AccountingYearStartDate": { + "type": "string", + "format": "date-time" + }, + "AccountingYearEndDate": { + "type": "string", + "format": "date-time" + }, + "AccountingPeriod": { + "type": "string" + }, + "AccountingPeriodId": { + "type": "string", + "format": "uuid" + }, + "AccountingPeriodStartDate": { + "type": "string", + "format": "date-time" + }, + "AccountingPeriodEndDate": { + "type": "string", + "format": "date-time" + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid" + }, + "LedgerAccount": { + "type": "string" + }, + "IsOpeningBalance": { + "type": "boolean" + }, + "RgsCode": { + "type": "string" + }, + "RgsDescription": { + "type": "string" + }, + "LedgerAccountNumber": { + "type": "string" + }, + "Total": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "Total": -210.0, + "IsOpeningBalance": false, + "AdministrationId": "4fef7d35-e93c-4cb2-b367-0deb692e5647", + "AccountingYearId": "2ebff944-f3d0-4335-a3b7-ff637df54ca4", + "AccountingYear": "2024", + "AccountingYearStartDate": "2024-01-01T00:00:00Z", + "AccountingYearEndDate": "2024-12-31T00:00:00Z", + "AccountingPeriodId": "c2ebc6d5-c5af-4bb5-8fea-2e8a7e91399c", + "AccountingPeriod": "Januari 2024", + "AccountingPeriodStartDate": "2024-01-01T00:00:00Z", + "AccountingPeriodEndDate": "2024-01-31T00:00:00Z", + "LedgerAccountId": "90aee254-9eeb-56af-abe2-064fffbd1c00", + "LedgerAccount": "Te betalen btw (1800)", + "LedgerAccountNumber": "90aee254-9eeb-56af-abe2-064fffbd1c00", + "RgsCode": "BSchBepBtw", + "RgsDescription": "Te betalen Omzetbelasting", + "InstanceId": "b0c63c7b-5b65-469a-bbdf-319579d649b4" + }, + { + "Total": -1000.0, + "IsOpeningBalance": false, + "AdministrationId": "4fef7d35-e93c-4cb2-b367-0deb692e5647", + "AccountingYearId": "2ebff944-f3d0-4335-a3b7-ff637df54ca4", + "AccountingYear": "2024", + "AccountingYearStartDate": "2024-01-01T00:00:00Z", + "AccountingYearEndDate": "2024-12-31T00:00:00Z", + "AccountingPeriodId": "c2ebc6d5-c5af-4bb5-8fea-2e8a7e91399c", + "AccountingPeriod": "Januari 2024", + "AccountingPeriodStartDate": "2024-01-01T00:00:00Z", + "AccountingPeriodEndDate": "2024-01-31T00:00:00Z", + "LedgerAccountId": "8aa84f79-4892-5cae-b6d1-2e4f9365b892", + "LedgerAccount": "Omzet groep 1 (8000)", + "LedgerAccountNumber": "8aa84f79-4892-5cae-b6d1-2e4f9365b892", + "RgsCode": "WOmzGrpGr1", + "RgsDescription": "Netto-omzet groep 1", + "InstanceId": "89bd2a01-d2e0-418d-9585-5c25f5b471e4" + }, + { + "Total": 1210.0, + "IsOpeningBalance": false, + "AdministrationId": "4fef7d35-e93c-4cb2-b367-0deb692e5647", + "AccountingYearId": "2ebff944-f3d0-4335-a3b7-ff637df54ca4", + "AccountingYear": "2024", + "AccountingYearStartDate": "2024-01-01T00:00:00Z", + "AccountingYearEndDate": "2024-12-31T00:00:00Z", + "AccountingPeriodId": "c2ebc6d5-c5af-4bb5-8fea-2e8a7e91399c", + "AccountingPeriod": "Januari 2024", + "AccountingPeriodStartDate": "2024-01-01T00:00:00Z", + "AccountingPeriodEndDate": "2024-01-31T00:00:00Z", + "LedgerAccountId": "2fc1ada7-a66a-5b4b-9644-af29d46865c5", + "LedgerAccount": "Debiteuren (1300)", + "LedgerAccountNumber": "2fc1ada7-a66a-5b4b-9644-af29d46865c5", + "RgsCode": "BVorDebHad", + "RgsDescription": "Handelsdebiteuren nominaal", + "InstanceId": "cf9671f4-96c3-40f6-8048-ebc86c1f2dc4" + }, + { + "Total": -1000.0, + "IsOpeningBalance": false, + "AdministrationId": "4fef7d35-e93c-4cb2-b367-0deb692e5647", + "AccountingYearId": "2ebff944-f3d0-4335-a3b7-ff637df54ca4", + "AccountingYear": "2024", + "AccountingYearStartDate": "2024-01-01T00:00:00Z", + "AccountingYearEndDate": "2024-12-31T00:00:00Z", + "AccountingPeriodId": "c2ebc6d5-c5af-4bb5-8fea-2e8a7e91399c", + "AccountingPeriod": "Januari 2024", + "AccountingPeriodStartDate": "2024-01-01T00:00:00Z", + "AccountingPeriodEndDate": "2024-01-31T00:00:00Z", + "LedgerAccountId": "38b36a37-32a8-5775-8d3a-b118dd32f77a", + "LedgerAccount": "Onverdeeld resultaat (0900)", + "LedgerAccountNumber": "38b36a37-32a8-5775-8d3a-b118dd32f77a", + "RgsCode": "BEivOreOvw", + "RgsDescription": "Niet verdeelde winst", + "InstanceId": "36bc8088-7d06-42b5-9ea1-06d47d4a4fd1" + }, + { + "Total": 1000.0, + "IsOpeningBalance": false, + "AdministrationId": "4fef7d35-e93c-4cb2-b367-0deb692e5647", + "AccountingYearId": "2ebff944-f3d0-4335-a3b7-ff637df54ca4", + "AccountingYear": "2024", + "AccountingYearStartDate": "2024-01-01T00:00:00Z", + "AccountingYearEndDate": "2024-12-31T00:00:00Z", + "AccountingPeriodId": "c2ebc6d5-c5af-4bb5-8fea-2e8a7e91399c", + "AccountingPeriod": "Januari 2024", + "AccountingPeriodStartDate": "2024-01-01T00:00:00Z", + "AccountingPeriodEndDate": "2024-01-31T00:00:00Z", + "LedgerAccountId": "e8485631-976a-55f6-8c16-c031723460b1", + "LedgerAccount": "Overboeking van het resultaat (9999)", + "LedgerAccountNumber": "e8485631-976a-55f6-8c16-c031723460b1", + "RgsCode": "ResultaatNiveau2", + "RgsDescription": "Resultaat", + "InstanceId": "4e7b8b7d-d577-4cdd-9748-20e4742b8880" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële dashboarding", + "Publiek: Financiële rapportage", + "Financiele rapportage" + ] + } + }, + "/api/linestobeinvoiced": { + "get": { + "description": "Retrieve lines that are pending to be invoiced", + "summary": "linestobeinvoiced 1.0", + "operationId": "getconnector-linestobeinvoiced-get-1.0", + "parameters": [ + { + "in": "query", + "name": "BusinessActivityVersion", + "schema": { + "type": "integer" + } + }, + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "InstanceId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "RelationNumber": { + "type": "string" + }, + "RelationDescription": { + "type": "string" + }, + "ProductId": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + }, + "Quantity": { + "type": "number" + }, + "Price": { + "type": "number" + }, + "TotalAmount": { + "type": "number" + }, + "ProjectId": { + "type": "string", + "format": "uuid" + }, + "ProjectDescription": { + "type": "string" + }, + "Status": { + "oneOf": [ + { + "const": "TODO", + "title": "te factureren" + }, + { + "const": "BUSY", + "title": "onderweg" + }, + { + "const": "DONE", + "title": "gefactureerd" + }, + { + "const": "DONEEDIT", + "title": "bezig met wijzigen van gefactureerd" + }, + { + "const": "DONEERROR", + "title": "in fout staat" + }, + { + "const": "REDO", + "title": "opnieuw te factureren" + }, + { + "const": "CANNOTBEDONE", + "title": "niet te factureren" + }, + { + "const": "CANNOTBEREDONE", + "title": "niet opnieuw te factureren" + }, + { + "const": "TOCREDIT", + "title": "te crediteren" + }, + { + "const": "CREDITED", + "title": "gecrediteerd" + }, + { + "const": "DELETED", + "title": "verwijderd" + }, + { + "const": "TODOERROR", + "title": "in fout staat" + }, + { + "const": "TODOEDIT", + "title": "bezig met wijzigen van te factureren" + }, + { + "const": "TODOPENDING", + "title": "bezig met wachten" + }, + { + "const": "REPLACED", + "title": "gespecificeerd" + }, + { + "const": "TOSPECIFY", + "title": "af te letteren" + }, + { + "const": "SPECIFIED", + "title": "afgeletterd" + }, + { + "const": "ALTERNATIVELYSPECIFIED", + "title": "alternatief gespecificeerd" + }, + { + "const": "INITIALIZED", + "title": "geïnitialiseerd" + }, + { + "const": "INITIALIZEDEDIT", + "title": "geïnitialiseerd" + }, + { + "const": "PENDINGAPPROVAL", + "title": "te accorderen" + }, + { + "const": "PENDINGCOMPLETION", + "title": "te factureren" + }, + { + "const": "COMPLETED", + "title": "gefactureerd" + }, + { + "const": "DECLINED", + "title": "afgewezen" + }, + { + "const": "TEMPLATE", + "title": "sjabloon" + }, + { + "const": "TEMPLATEEDIT", + "title": "bezig met wijzigen van factureren" + }, + { + "const": "TEMPLATEERROR", + "title": "in fout staat" + } + ] + }, + "SalesInvoiceNumber": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "InstanceId": "fcb31b25-8da1-4a90-ae33-a93d932184f0", + "Ownorganization": { + "Id": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "ComponentId": "cbb9b7ef-ef04-4c84-9e80-4989bd526865" + }, + "DatumGepland": "2024-12-04T00:00:00Z", + "Klant": { + "Id": "509e24de-67fb-4e02-b149-f8c615fef64c", + "ComponentId": "8e352e23-04af-45b7-952a-0afc7575ea7a" + }, + "ProjectKoppelen": true, + "Project": { + "Id": "e03c053d-3e72-400b-821d-c3398edf1ccc", + "ComponentId": "497fc9c2-340d-4d18-b097-c6bbd06bbab7" + }, + "Verkoopproduct": { + "Id": "aaf04330-151c-44d9-9700-8793b1c0d4b4", + "ComponentId": "230b4172-613e-4e1b-9ed5-93496c4eed6b" + }, + "Description": "AFAS Software B.V. (000003) - 04-12-2024", + "Aantal": 32.0, + "Prijs": 539.7, + "Bedrag": 17270.4, + "MethodeBepalenPrijs": "52085b0b-a85a-418e-8e33-a00e48666512", + "Status": "692a0b09-b83b-44cb-b75a-e431eb66302f", + "KlantDescription": "AFAS Software B.V. (000003)", + "ProjectDescription": "Implementation Exceptional", + "VerkoopproductDescription": "Acer Laptop (3320, 000001)" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels" + ] + }, + "post": { + "description": "Create lines to be invoiced for billing processes", + "summary": "linestobeinvoiced 1.0", + "operationId": "updateconnector-linestobeinvoiced-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "linestobeinvoiced 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/linestobeinvoiced-1.0-Create-JsonSchema" + }, + "examples": { + "new linestobeinvoiced": { + "value": { + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "Date": "2024-12-04", + "Description": "Dell Laptop", + "RelationType": "organisation", + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "ItemId": "aaf04330-151c-44d9-9700-8793b1c0d4b4", + "Quantity": 32, + "ProjectId": "e03c053d-3e72-400b-821d-c3398edf1ccc" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "succes": { + "value": { + "result": "Succeeded", + "traceId": "3614178a-f801-47b7-bae1-dad6439f2c54", + "data": { + "LinesToBeInvoiced": "fcb31b25-8da1-4a90-ae33-a93d932184f0" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "LinesToBeInvoiced": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + }, + "400": { + "content": { + "application/json": { + "examples": { + "not enabled": { + "value": { + "result": "Failed", + "traceId": "339ee3cf-e6bb-4201-9fd0-577906f9f96a", + "instances": [], + "errors": [ + "FeatureToggle not enabled" + ] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "instances": { + "type": "array", + "items": {} + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels" + ] + }, + "delete": { + "description": "Delete lines to be invoiced from billing processes", + "summary": "linestobeinvoiced 1.0", + "operationId": "updateconnector-linestobeinvoiced-Delete-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "linestobeinvoiced 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/linestobeinvoiced-1.0-Delete-JsonSchema" + }, + "examples": { + "minimal": { + "value": { + "AdministrationId": "e877fb82-b546-4d20-94cf-05c72765fc47", + "Id": "e877fb82-b546-4d20-94cf-05c72765fc47" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "traceId": "3614178a-f801-47b7-bae1-dad6439f2c54", + "data": { + "LinesToBeInvoiced": "fcb31b25-8da1-4a90-ae33-a93d932184f0" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "LinesToBeInvoiced": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels" + ] + }, + "put": { + "description": "Update lines to be invoiced for billing processes", + "summary": "linestobeinvoiced 1.0", + "operationId": "updateconnector-linestobeinvoiced-Put-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "linestobeinvoiced 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/linestobeinvoiced-1.0-Update-JsonSchema" + }, + "examples": { + "example": { + "value": { + "LineToBeInvoicedId": "547a03a2-19c9-4058-bc77-452063b25d6d", + "AdministrationId": "5c86c621-14fc-5d09-a387-772c599caa5d", + "Date": "2024-11-04", + "Description": "Dell Laptop", + "RelationType": "organisation", + "RelationId": "30bf2fcc-306d-5680-9e03-d99fbfe46bc2", + "ItemId": "4689e028-02c7-5324-885a-556701bd1a9f", + "Quantity": 50 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "succes": { + "value": { + "result": "Succeeded", + "traceId": "3614178a-f801-47b7-bae1-dad6439f2c54", + "data": { + "LinesToBeInvoiced": "fcb31b25-8da1-4a90-ae33-a93d932184f0" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "LinesToBeInvoiced": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels" + ] + } + }, + "/api/locations": { + "get": { + "description": "Retrieve location (vestiging) information", + "summary": "locations 1.0", + "operationId": "getconnector-locations-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "Omschrijving": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "01ae3b98-8320-44e1-8eb4-c66635dde0b4", + "Omschrijving": "Inspiratielaan" + }, + { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InstanceId": "836f4a16-0060-4c13-a177-de5a0fa04e51", + "Omschrijving": "Philipsstraat" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/organisations": { + "get": { + "description": "Retrieve organization information and business details", + "summary": "organisations 2.0", + "operationId": "getconnector-organisations-get-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Name": { + "type": "string" + }, + "CocNumber": { + "type": "string" + }, + "VatNumber": { + "type": "string" + }, + "PhoneNumber": { + "type": "string" + }, + "EmailAddress": { + "type": "string" + }, + "SbiCode": { + "type": "string" + }, + "RelationId": { + "type": "string" + }, + "ExternalId": { + "type": "string" + }, + "IsArchived": { + "type": "boolean" + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202401291319301", + "Result": [ + { + "Id": "e36e77f0-9a1c-50d0-a3f3-004f1fee8720", + "Name": "Erbi Lara B.V. (000019)", + "CocNumber": null, + "VatNumber": null, + "RelationId": "000019", + "ExternalId": null, + "IsArchived": false, + "EmailAddress": "info@erbilara.afas" + }, + { + "Id": "45aafd00-a21b-5440-bf57-0aa5fa6c2294", + "Name": "Alsach Musik GmbH (000037)", + "CocNumber": null, + "VatNumber": "DE184475234", + "RelationId": "000037", + "ExternalId": null, + "IsArchived": false, + "EmailAddress": "info@alsachmusic.afasde" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Relatiemanagement", + "Relaties", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/paymentconditions": { + "get": { + "description": "Retrieve payment conditions and terms settings", + "summary": "paymentconditions 1.0", + "operationId": "getconnector-paymentconditions-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "Id": "9b5d768a-c71b-583e-b6ee-09d64aa935d4", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "21 dagen" + }, + { + "Id": "b8ca9e8d-6fef-5ef6-95ba-0bd221aebc6f", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "60 dagen" + }, + { + "Id": "a59bab3a-36bb-5974-bdad-276f6395d6b6", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "14 dagen" + }, + { + "Id": "b98e24e9-a611-5a98-8cf9-40fed321dc6c", + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "60 dagen" + }, + { + "Id": "c06d2eb9-1332-5e78-a8b3-58dd62dcee45", + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "7 dagen" + }, + { + "Id": "0066f624-c140-5262-9fbb-5e3141d32876", + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "14 dagen" + }, + { + "Id": "eb44c60d-06e4-564b-a90c-7715c78788a5", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "45 dagen" + }, + { + "Id": "a629b70b-6a91-5906-9f9d-97f83dfd0c58", + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "90 dagen" + }, + { + "Id": "ab8b0914-74a2-5db5-a948-ae34ea6b7f7e", + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "30 dagen" + }, + { + "Id": "2d8304eb-1472-5fad-8fed-b1c30b2a1749", + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "21 dagen" + }, + { + "Id": "3bed98d9-94d0-5147-9cb8-cad047a0b9bd", + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "45 dagen" + }, + { + "Id": "6372c28d-7468-5c58-8826-cea9bf70758a", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "90 dagen" + }, + { + "Id": "4a09121c-4f48-5a29-9cef-ecfb5bb74dcf", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "7 dagen" + }, + { + "Id": "596a0343-fd85-597a-8918-ed3198de119d", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "30 dagen" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/persons": { + "get": { + "description": "Retrieve person information and personal details", + "summary": "persons 2.0", + "operationId": "getconnector-persons-get-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Name": { + "type": "string" + }, + "FirstName": { + "type": "string" + }, + "Initials": { + "type": "string" + }, + "Prefix": { + "type": "string" + }, + "Lastname": { + "type": "string" + }, + "PhoneNumber": { + "type": "string" + }, + "EmailAddress": { + "type": "string" + }, + "ExternalId": { + "type": "string" + }, + "IsArchived": { + "type": "boolean" + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202401291327471", + "Result": [ + { + "Id": "2aacc092-9c6c-5020-b1cf-0d8ecd6485dc", + "Name": "Cas de Graaf", + "FirstName": "Cas", + "Initials": "C.", + "Prefix": "de", + "Lastname": "Graaf", + "ExternalId": null, + "IsArchived": false + }, + { + "Id": "1242493d-bd93-53b3-9852-1c82c83316aa", + "Name": "Tarik el Erdol", + "FirstName": "Tarik", + "Initials": "T.", + "Prefix": "el", + "Lastname": "Erdol", + "ExternalId": null, + "IsArchived": false + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Relatiemanagement", + "Relaties", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/products": { + "get": { + "description": "Retrieve product catalog with pricing and inventory information", + "summary": "products 3.0", + "operationId": "getconnector-products-get-3.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "3.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "Id": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + }, + "Code": { + "type": "string" + }, + "InternalId": { + "type": "string" + }, + "PriceExcludingVAT": { + "type": "number" + }, + "PriceIncludingVAT": { + "type": "number" + }, + "ProductGroup": { + "type": "string" + }, + "Barcode": { + "type": "string" + }, + "Category": { + "type": "string" + }, + "ExtraDescription": { + "type": "string" + }, + "ProductStyle": { + "oneOf": [ + { + "const": "AantalVanSoort", + "title": "aantal van soort" + }, + { + "const": "Afdeling", + "title": "afdeling" + }, + { + "const": "Bankrekening", + "title": "bankrekening" + }, + { + "const": "Contactpersoon", + "title": "contactpersoon" + }, + { + "const": "Deelname", + "title": "deelname" + }, + { + "const": "Gegeven", + "title": "gegeven" + }, + { + "const": "Goed", + "title": "goed" + }, + { + "const": "Kas", + "title": "kas" + }, + { + "const": "Kosten", + "title": "kosten" + }, + { + "const": "Land", + "title": "land" + }, + { + "const": "Onbekend", + "title": "onbekend" + }, + { + "const": "Organisatie", + "title": "organisatie" + }, + { + "const": "Persoon", + "title": "persoon" + }, + { + "const": "Ruimte", + "title": "ruimte" + }, + { + "const": "Tijd", + "title": "tijd" + } + ] + }, + "IsArchived": { + "type": "boolean" + }, + "IsBlocked": { + "type": "boolean" + }, + "IsDisabled": { + "type": "boolean" + }, + "Blob": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "ReadKey": { + "type": "string" + }, + "FileName": { + "type": "string" + }, + "ContentType": { + "type": "string" + }, + "ContentLength": { + "type": "number" + } + } + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202504011910441", + "Result": [ + { + "Id": "c38525f4-845d-5dd8-9b3a-00eec99c34ab", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Vast actief (btw nul)", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 0.0, + "ProductGroup": "Vaste activa", + "ProductType": "unknown" + }, + { + "Id": "f469cfc6-1b8b-587f-9ac6-10a975e5edcd", + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Description": "Vast actief (btw hoog)", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 0.0, + "ProductGroup": "Vaste activa", + "ProductType": "unknown" + }, + { + "Id": "c4617493-a611-59ea-9a0c-293391c3466e", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Bouwen (2002, 000017)", + "InternalId": "000017", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 75.0, + "ProductGroup": "Web Design", + "ProductType": "supplies" + }, + { + "Id": "7f54afa4-dc32-5538-be15-4279863ca5e6", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Muis Logitech (5100, 000004)", + "InternalId": "000004", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 9.98, + "ProductGroup": "Randapparatuur", + "ProductType": "supplies" + }, + { + "Id": "6d5a94f4-6911-5771-9517-4420b101439a", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Draadloos toestenbord + muis Lenovo (5003, 000011)", + "InternalId": "000011", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 67.73, + "ProductGroup": "Randapparatuur", + "ProductType": "supplies" + }, + { + "Id": "411a8c24-5406-5bd6-9fd1-5425a67130c9", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Lenovo Monitor 24 inch (4201, 000012)", + "InternalId": "000012", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 340.73, + "ProductGroup": "Monitoren", + "ProductType": "supplies" + }, + { + "Id": "5dbb40d7-52b5-51b6-809e-5a16dddeb650", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Draadloos toetsenbord + muis Logitech (5002, 000010)", + "InternalId": "000010", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 29.93, + "ProductGroup": "Randapparatuur", + "ProductType": "supplies" + }, + { + "Id": "f871b91d-bb1e-5f52-a70c-5cddf2108929", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Acer Laptop (3320, 000008)", + "InternalId": "000008", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 539.7, + "ProductGroup": "Systemen", + "ProductType": "supplies" + }, + { + "Id": "db17280f-6105-5d22-975b-6c4e49c8682f", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Klassiek (Qwerty) toetsenbord Logitech (5000, 000003)", + "InternalId": "000003", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 13.65, + "ProductGroup": "Randapparatuur", + "ProductType": "supplies" + }, + { + "Id": "347d7d36-994b-5b4d-80a1-9a15532e6035", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Dell Monitor 24 inch (4003, 000009)", + "InternalId": "000009", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 240.98, + "ProductGroup": "Monitoren", + "ProductType": "supplies" + }, + { + "Id": "d1247d55-a298-55ca-bb55-9ed75bdc7c34", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Ontwerpen (2001, 000019)", + "InternalId": "000019", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 75.0, + "ProductGroup": "Web Design", + "ProductType": "supplies" + }, + { + "Id": "f4b51c75-1e2b-522a-aca2-a2dd8eab3a24", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Management Fee (MF, 000013)", + "InternalId": "000013", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 8825.0, + "ProductGroup": "Management Fee", + "ProductType": "supplies" + }, + { + "Id": "f4b51c75-1e2b-522a-aca2-a2dd8eab3a24", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Management Fee (MF, 000013)", + "InternalId": "000013", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 8000.0, + "ProductGroup": "Management Fee", + "ProductType": "supplies" + }, + { + "Id": "1be89d6d-9d74-53f4-af12-aa22bc76d896", + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Description": "Vast actief (btw laag)", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 0.0, + "ProductGroup": "Vaste activa", + "ProductType": "unknown" + }, + { + "Id": "f84c1bb4-9de9-578f-989e-ae39a19e3cb7", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Vast actief (btw hoog)", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 0.0, + "ProductGroup": "Vaste activa", + "ProductType": "unknown" + }, + { + "Id": "e4a2db09-8534-55f1-8bfc-b30a40024f5e", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Microsoft Office 365 gebruikerstraining (1000, 000015)", + "InternalId": "000015", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 995.0, + "ProductGroup": "Cursussen", + "ProductType": "supplies" + }, + { + "Id": "a48526d9-3bb2-57e0-b4c2-b43f0ab137b5", + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Description": "Vast actief (btw nul)", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 0.0, + "ProductGroup": "Vaste activa", + "ProductType": "unknown" + }, + { + "Id": "171cc8aa-d9bd-5800-ad05-c1b38878d584", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Onderhoud (2003, 000018)", + "InternalId": "000018", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 75.0, + "ProductGroup": "Web Design", + "ProductType": "supplies" + }, + { + "Id": "ea4fcede-5143-5860-ab4e-c763cfae25f0", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Projectleiding (2000, 000014)", + "InternalId": "000014", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 95.0, + "ProductGroup": "Web Design", + "ProductType": "supplies" + }, + { + "Id": "aa760e86-92da-50d1-bdb7-c873a9443264", + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Description": "Management Fee (MF, 000013)", + "InternalId": "000013", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 8825.0, + "ProductGroup": "Management Fee", + "ProductType": "supplies" + }, + { + "Id": "aa760e86-92da-50d1-bdb7-c873a9443264", + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Description": "Management Fee (MF, 000013)", + "InternalId": "000013", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 8000.0, + "ProductGroup": "Management Fee", + "ProductType": "supplies" + }, + { + "Id": "f766cf32-c4a2-5123-bbe9-d69b9ce8b37b", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Diverse producten", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "ProductGroup": "Diverse producten", + "ProductType": "unknown" + }, + { + "Id": "4ac33af1-ae7d-5923-9506-e1dedf7b7c14", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Lenovo Laptop (3330, 000002)", + "InternalId": "000002", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 431.55, + "ProductGroup": "Systemen", + "ProductType": "supplies" + }, + { + "Id": "c35a780e-c4ba-504c-a54f-e1eee1d16dce", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Draadloos toestenbord + muis Dell (5102, 000006)", + "InternalId": "000006", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 36.75, + "ProductGroup": "Randapparatuur", + "ProductType": "supplies" + }, + { + "Id": "1048caf1-d7bb-52e9-a638-e525d375e672", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Acer Monitor 24 inch (4104, 000001)", + "InternalId": "000001", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 519.23, + "ProductGroup": "Monitoren", + "ProductType": "supplies" + }, + { + "Id": "b1b6cf37-3ec0-52b5-bde7-e5c34a0dbdb8", + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "Description": "Diverse producten", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "ProductGroup": "Diverse producten", + "ProductType": "unknown" + }, + { + "Id": "dd306400-eb3c-594a-91bd-e7291250f90f", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Vast actief (btw laag)", + "InternalId": null, + "Barcode": null, + "Category": null, + "ProductStyle": "d55d181a-4ab5-4d68-9296-4fbd534cc998", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 0.0, + "ProductGroup": "Vaste activa", + "ProductType": "unknown" + }, + { + "Id": "e974bd03-fe5f-5d70-a3ef-ec6f4485143a", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Dell Laptop (3310, 000005)", + "InternalId": "000005", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 205.28, + "ProductGroup": "Systemen", + "ProductType": "supplies" + }, + { + "Id": "01911013-b8ba-5dfd-a250-fa7f6f709220", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Samsung Monitor 32 inch (4203, 000007)", + "InternalId": "000007", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 822.15, + "ProductGroup": "Monitoren", + "ProductType": "supplies" + }, + { + "Id": "ce109323-b122-5acd-bd3a-fbc9ff934f9a", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Microsoft Power Platform App maker (1001, 000016)", + "InternalId": "000016", + "Barcode": null, + "Category": null, + "ProductStyle": "99e4ea3b-9c45-4154-a7e0-84f9e4355b74", + "IsArchived": false, + "IsBlocked": false, + "IsDisabled": false, + "Blob": null, + "PriceExcludingVAT": 250.0, + "ProductGroup": "Cursussen", + "ProductType": "supplies" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "3.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Facturatie", + "Verkoopfactuur" + ] + } + }, + "/api/profitlosstotalscurrentyear": { + "get": { + "description": "Retrieve cumulative ledger account totals for profit & loss reporting of the current year", + "summary": "profitlosstotalscurrentyear 1.0", + "operationId": "getconnector-profitlosstotalscurrentyear-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid" + }, + "LedgerAccount": { + "type": "string" + }, + "RgsCode": { + "type": "string" + }, + "RgsDescription": { + "type": "string" + }, + "LedgerAccountNumber": { + "type": "string" + }, + "Total": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "04b8def8-f72a-5c3e-bf06-002544b96b33", + "LedgerAccount": "Management fees (4051)", + "LedgerAccountNumber": "4051", + "RgsCode": "WBedOvpMaf", + "RgsDescription": "Management fee", + "Total": 3744.85, + "InstanceId": "aaac9284-6d05-473d-90cf-21428e2fd92a" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "0c5f88e7-12d7-59d5-92e2-074e5fe656fc", + "LedgerAccount": "Omzet Randapparatuur (8008)", + "LedgerAccountNumber": "8008", + "RgsCode": "WOmzGrpGr1", + "RgsDescription": "Netto-omzet groep 1", + "Total": -764.4, + "InstanceId": "e890c5a8-2fa5-4d0e-bb7e-422d043fdaab" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "6d4058b2-58a6-5d25-a8dc-687c05c31692", + "LedgerAccount": "Boekresultaat oprichtingskosten (4900)", + "LedgerAccountNumber": "4900", + "RgsCode": "WAfsRviOek", + "RgsDescription": "Boekresultaat kosten van oprichting en van uitgifte van aandelen", + "Total": 300.0, + "InstanceId": "8fe4ec36-d4e2-46e2-a5b7-0456e8901bfb" + }, + { + "AdministrationId": "2c32f1ce-6660-5db3-a163-0cdf83c70b49", + "LedgerAccountId": "dbd01aa1-7746-5cd4-b5e4-7481e22807fc", + "LedgerAccount": "Overboeking van het resultaat (9999)", + "LedgerAccountNumber": "9999", + "RgsCode": "ResultaatNiveau2", + "RgsDescription": "Resultaat", + "Total": -3280.45, + "InstanceId": "372c0af3-1a38-4ab5-be47-6ba738cccb27" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële dashboarding", + "Publiek: Financiële rapportage", + "Financiele rapportage" + ] + } + }, + "/api/projects": { + "get": { + "description": "Retrieve project information for time tracking and billing", + "summary": "projects 1.0", + "operationId": "getconnector-projects-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "Omschrijving": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202412131017330", + "Result": [ + { + "InstanceId": "96d5ef01-0d3f-4a60-b5ee-8a915693f5c2", + "Omschrijving": "Implementation Greenshop", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502" + }, + { + "InstanceId": "e03c053d-3e72-400b-821d-c3398edf1ccc", + "Omschrijving": "Implementation Exceptional", + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/salesinvoices": { + "get": { + "description": "Retrieve sales invoices and billing information", + "summary": "salesinvoices 1.2", + "operationId": "getconnector-salesinvoices-get-1.2", + "parameters": [ + { + "in": "query", + "name": "BusinessActivityVersion", + "schema": { + "type": "integer" + } + }, + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.2" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "InstanceId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "SalesInvoiceNumber": { + "type": "string" + }, + "IssueDate": { + "type": "string", + "format": "date-time" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "RelationNumber": { + "type": "string" + }, + "RelationDescription": { + "type": "string" + }, + "Status": { + "oneOf": [ + { + "const": "TODO", + "title": "te verzenden" + }, + { + "const": "BUSY", + "title": "onderweg" + }, + { + "const": "DONE", + "title": "verzonden" + }, + { + "const": "DONEEDIT", + "title": "bezig met wijzigen van verzonden" + }, + { + "const": "DONEERROR", + "title": "in fout staat" + }, + { + "const": "REDO", + "title": "opnieuw te verzenden" + }, + { + "const": "CANNOTBEDONE", + "title": "niet te verzenden" + }, + { + "const": "CANNOTBEREDONE", + "title": "niet opnieuw te verzenden" + }, + { + "const": "TOCREDIT", + "title": "te crediteren" + }, + { + "const": "CREDITED", + "title": "gecrediteerd" + }, + { + "const": "DELETED", + "title": "verwijderd" + }, + { + "const": "TODOERROR", + "title": "in fout staat" + }, + { + "const": "TODOEDIT", + "title": "bezig met wijzigen van te verzenden" + }, + { + "const": "TODOPENDING", + "title": "bezig met wachten" + }, + { + "const": "REPLACED", + "title": "gespecificeerd" + }, + { + "const": "TOSPECIFY", + "title": "af te letteren" + }, + { + "const": "SPECIFIED", + "title": "afgeletterd" + }, + { + "const": "ALTERNATIVELYSPECIFIED", + "title": "alternatief gespecificeerd" + }, + { + "const": "INITIALIZED", + "title": "geïnitialiseerd" + }, + { + "const": "INITIALIZEDEDIT", + "title": "geïnitialiseerd" + }, + { + "const": "PENDINGAPPROVAL", + "title": "te accorderen" + }, + { + "const": "PENDINGCOMPLETION", + "title": "te factureren" + }, + { + "const": "COMPLETED", + "title": "gefactureerd" + }, + { + "const": "DECLINED", + "title": "afgewezen" + }, + { + "const": "TEMPLATE", + "title": "sjabloon" + }, + { + "const": "TEMPLATEEDIT", + "title": "bezig met wijzigen van verzenden" + }, + { + "const": "TEMPLATEERROR", + "title": "in fout staat" + }, + { + "const": "MESSAGEPENDING", + "title": "Bezig met verzenden" + }, + { + "const": "MESSAGESEND", + "title": "Verzonden" + }, + { + "const": "MESSAGEFAILED", + "title": "Fout bij verzenden" + } + ] + }, + "Blob": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "ReadKey": { + "type": "string" + }, + "FileName": { + "type": "string" + }, + "ContentType": { + "type": "string" + }, + "ContentLength": { + "type": "number" + } + } + } + }, + "SalesInvoiceId": { + "type": "string", + "format": "uuid" + }, + "AmountExcludingVat": { + "type": "number" + }, + "AmountVat": { + "type": "number" + }, + "AmountInvoiced": { + "type": "number" + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202601141348101", + "Result": [ + { + "SalesInvoiceId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", + "InstanceId": "76ccd112-3faf-5243-8ee8-001638826d4c", + "AmountExcludingVat": 225.0, + "AmountVat": null, + "AmountInvoiced": 225.0, + "SalesInvoiceNumber": "V01250154", + "IssueDate": "2025-12-05T00:00:00Z", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Status": "DONE", + "Blob": [], + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "c08e2474-976c-5c7c-94dc-eb02580009d0", + "RelationNumber": "000039", + "RelationDescription": "Administratiekantoor Beers", + "RelationType": "organisation" + }, + { + "SalesInvoiceId": "b2c3d4e5-f6a7-8901-bcde-f12345678901", + "InstanceId": "a25d4251-74f9-5406-8639-003be5b0a58e", + "AmountExcludingVat": 1644.3, + "AmountVat": null, + "AmountInvoiced": 1644.3, + "SalesInvoiceNumber": "V01250150", + "IssueDate": "2025-12-05T00:00:00Z", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Status": "DONE", + "Blob": [], + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "2fdc272a-5da6-55b8-a352-928d3c1e79b6", + "RelationNumber": "000024", + "RelationDescription": "Schreurs Administratiekantoor B.V.", + "RelationType": "organisation" + }, + { + "SalesInvoiceId": "c3d4e5f6-a7b8-9012-cdef-123456789012", + "InstanceId": "6645f89b-4d85-56d5-90a4-00701269aeec", + "AmountExcludingVat": 95.0, + "AmountVat": null, + "AmountInvoiced": 95.0, + "SalesInvoiceNumber": "V01240035", + "IssueDate": "2024-03-15T00:00:00Z", + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Status": "DONE", + "Blob": null, + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "9fc15edd-9431-5a98-b2e1-0d90f2064527", + "RelationNumber": "000035", + "RelationDescription": "Architectenbureau Brauw B.V.", + "RelationType": "organisation" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.2", + "deprecated": false, + "tags": [ + "Publiek: Facturatie", + "Verkoopfactuur" + ] + } + }, + "/api/salespricesperrelation": { + "get": { + "description": "Retrieve sales prices configured per customer relation", + "summary": "salespricesperrelation 1.0", + "operationId": "getconnector-salespricesperrelation-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "ProductDescription": { + "type": "string" + }, + "PriceExcludingVAT": { + "type": "number" + }, + "StartDate": { + "type": "string", + "format": "date-time" + }, + "EndDate": { + "type": "string", + "format": "date-time" + }, + "RelationDescription": { + "type": "string" + }, + "ProductId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "RelationId": { + "type": "string", + "format": "uuid" + } + } + } + }, + "examples": { + "example": { + "value": { + "TrackingToken": "202410211314120", + "Result": [ + { + "Id": "b4632ca6-2298-4139-8d67-2f5ca122d039", + "PriceExcludingVAT": 1512.15, + "StartDate": null, + "EndDate": null, + "ProductId": "4eb7c821-7e37-4132-b27d-95563f93687a", + "ProductDescription": "Acer Laptop", + "RelationDescription": "Architectenbureau Brauw B.V.", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "3eff9a76-45d7-4595-a372-09e1e076c540", + "InstanceId": "bcd2883b-0559-4337-aa87-9583d1860a51", + "RelationType": "organisation" + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Facturatie", + "Verkoopfactuur" + ] + } + }, + "/api/salesrelations": { + "get": { + "description": "Retrieve sales relations and customer account information", + "summary": "salesrelations 1.0", + "operationId": "getconnector-salesrelations-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "RelationTypeId": { + "type": "string", + "format": "uuid" + }, + "RelationId": { + "type": "string", + "format": "uuid" + }, + "RelationNumber": { + "type": "string" + }, + "RelationDescription": { + "type": "string" + }, + "VatNumber": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "0bb78a38-dc5c-5a8f-9990-1f72e3a86b35", + "RelationNumber": "000014", + "RelationDescription": "EnYoi ICT Services B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "a73fa34f-528b-5e26-97af-496c2a33a607", + "RelationNumber": "000019", + "RelationDescription": "Euro Vacaturebank N.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "38a4e8ff-e844-598d-aa15-9db683b606e0", + "RelationNumber": "000033", + "RelationDescription": "Alsach Musik GmbH", + "VatNumber": "DE184475234", + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "f16d144f-fa67-5c04-9d9e-9e4c2f37d864", + "RelationNumber": "000029", + "RelationDescription": "Vlasblom Communicatie B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "a77a2b57-9164-5f2a-b54f-fb287f0e1133", + "RelationNumber": "000042", + "RelationDescription": "Tijhuis Market B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "43ff15dd-50a5-5d24-9dba-5271c80e5a8f", + "RelationNumber": "000016", + "RelationDescription": "Beentjes & Zn. Dakbedekking B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "4664e931-37ea-5520-b869-937740226db5", + "RelationNumber": "000035", + "RelationDescription": "Deventer Adviseurs B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "d8497bdd-a324-5145-afd0-a78acc7e07a8", + "RelationTypeId": "d3315773-5c05-4e91-96f3-2e21b05c5a10", + "RelationId": "adef5ea1-c4ec-557d-93a5-0ac82709ad8a", + "RelationNumber": null, + "RelationDescription": "Diverse debiteuren", + "VatNumber": null, + "RelationType": "unknown" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "872618f9-9b1a-547c-beb8-6e07e42a0815", + "RelationNumber": "000013", + "RelationDescription": "Erbi Lara B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "c512e0c5-ec1d-5b0e-9924-581cb9209337", + "RelationNumber": "000039", + "RelationDescription": "Industrial Software Ltd", + "VatNumber": "GB548321855485", + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "8983209d-a19a-5f81-bc84-66f3c52d00af", + "RelationNumber": "000024", + "RelationDescription": "Nilfisk Reisorganisatie B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "d3315773-5c05-4e91-96f3-2e21b05c5a10", + "RelationId": "adef5ea1-c4ec-557d-93a5-0ac82709ad8a", + "RelationNumber": null, + "RelationDescription": "Diverse debiteuren", + "VatNumber": null, + "RelationType": "unknown" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "67d2a9cb-5d49-5fe0-a103-2cdadd2bcc75", + "RelationNumber": "000022", + "RelationDescription": "Van Ubbens Advies B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "41186c50-138c-5bc7-bd54-8dd8a3ee3e21", + "RelationNumber": "000018", + "RelationDescription": "Hafkamp Kappers B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "2fdc272a-5da6-55b8-a352-928d3c1e79b6", + "RelationNumber": "000023", + "RelationDescription": "Schreurs Administratiekantoor B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "dd74709e-1fd0-5ab1-a8ab-2a40ad645217", + "RelationNumber": "000037", + "RelationDescription": "Van Kempen Afbouw b.v.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "63e6ad8e-5c78-586e-b35b-48d0a4566075", + "RelationNumber": "000041", + "RelationDescription": "Bus Grondstoffen B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "9fc15edd-9431-5a98-b2e1-0d90f2064527", + "RelationNumber": "000031", + "RelationDescription": "Architectenbureau Brauw B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "493b57bf-2ef7-5f92-a1dc-30e8be2dd8e7", + "RelationNumber": "000040", + "RelationDescription": "Talens Havenbedrijf B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "9fbf635d-5d9c-5f81-b879-48de533d6887", + "RelationNumber": "000043", + "RelationDescription": "Schouten Kunststofprofielen C.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "4a9442b4-1126-5688-8636-7f19ee500ee8", + "RelationNumber": "000021", + "RelationDescription": "Hesta Touringcars B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "c08e2474-976c-5c7c-94dc-eb02580009d0", + "RelationNumber": "000034", + "RelationDescription": "Administratiekantoor Beers", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "3c3c8593-8de5-5c20-bccb-3afeb9dd4a82", + "RelationNumber": "000030", + "RelationDescription": "Oostendorp-Nederland Service B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "7458b139-298f-5f53-aa52-0f9fbeb560b6", + "RelationNumber": "000032", + "RelationDescription": "Stukadoorsbedrijf Burgers B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "39a415bc-43e8-5a6a-bbf9-808f807d4575", + "RelationNumber": "000044", + "RelationDescription": "Ingenieursbureau Zwijndrecht", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "0bb78a38-dc5c-5a8f-9990-1f72e3a86b35", + "RelationNumber": "000014", + "RelationDescription": "EnYoi ICT Services B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "685136cf-ce62-5352-a341-457e99a9bc63", + "RelationNumber": "000028", + "RelationDescription": "Kuiper Marketing N.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "200dae98-c4db-5da1-b8dd-018f934bcaa0", + "RelationNumber": "000036", + "RelationDescription": "Meepo Instituut B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "889f3aac-684c-552e-b566-3de14d38c2c5", + "RelationNumber": "000026", + "RelationDescription": "Gebroeders Van Kooten B.V.", + "VatNumber": null, + "RelationType": "organisation" + }, + { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "RelationTypeId": "1f0fbbf3-bb59-4ff1-8712-1e7087e09895", + "RelationId": "db59b6c9-0309-5d31-b0d8-5bf3993d4ad0", + "RelationNumber": "000027", + "RelationDescription": "Notariskantoor Verhoeven B.V.", + "VatNumber": null, + "RelationType": "organisation" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels" + ] + } + }, + "/api/unknownrelation": { + "get": { + "description": "Retrieve unknown relation for invoicing without known name or address", + "summary": "unknownrelation 1.0", + "operationId": "getconnector-unknownrelation-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Name": { + "type": "string" + }, + "SalesRelation": { + "type": "boolean" + }, + "PurchaseRelation": { + "type": "boolean" + }, + "IsBlocked": { + "type": "boolean" + } + } + } + }, + "examples": { + "example response": { + "value": { + "TrackingToken": "202405021144501", + "Result": [ + { + "Id": "adef5ea1-c4ec-557d-93a5-0ac82709ad8a", + "Name": "Diverse debiteuren", + "IsBlocked": false, + "SalesRelation": true + }, + { + "Id": "2438541d-5088-5d1d-8caa-94a87cb14dc2", + "Name": "Diverse crediteuren", + "IsBlocked": false, + "PurchaseRelation": true + } + ] + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/vatrate": { + "get": { + "description": "Retrieve VAT rates and tax calculation settings", + "summary": "vatrate 1.0", + "operationId": "getconnector-vatrate-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "Id": "afa50000-0000-0b1e-8a4b-309cd658b570", + "Description": "Nul" + }, + { + "Id": "afa50000-0000-07cf-8b24-5ef474ab1b2a", + "Description": "Extra laag" + }, + { + "Id": "afa50000-0000-0246-9965-b18e164c600e", + "Description": "Speciaal" + }, + { + "Id": "afa50000-0000-0465-aa85-e1a761ca3a33", + "Description": "Laag" + }, + { + "Id": "afa50000-0000-0b41-9465-e9f88bcaef86", + "Description": "Hoog" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost" + ] + } + }, + "/api/vattype": { + "get": { + "description": "Retrieve VAT types and tax category classifications", + "summary": "vattype 1.0", + "operationId": "getconnector-vattype-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + } + } + } + }, + "examples": { + "example": { + "value": [ + { + "Id": "afa50000-0000-02bb-9338-0a6629f07fce", + "Description": "Verlegd" + }, + { + "Id": "afa50000-0000-0d9c-9502-4fc953f3e012", + "Description": "Vrijgesteld" + }, + { + "Id": "afa50000-0000-0b71-8790-807f97e85c54", + "Description": "Belast" + }, + { + "Id": "afa50000-0000-0a2d-9cec-bd890979929c", + "Description": "Geen btw" + } + ] + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost" + ] + } + }, + "/api/address": { + "post": { + "description": "Create new address information for organizations and persons", + "summary": "address 1.0", + "operationId": "updateconnector-address-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "address 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/address-1.0-Create-JsonSchema" + }, + "examples": { + "New addres for organisation": { + "value": { + "RelationType": "organisation", + "RelationId": "8afb1a9a-1613-5e2b-ab19-20c0f4f3e216", + "StreetName": "Voorthuizerstraat", + "HouseNumber": 16, + "HouseNumberAddition": "A", + "PostalZone": "3881SH", + "CityName": "Putten", + "CountryCode": "NL" + } + }, + "New addres for person": { + "value": { + "RelationType": "person", + "RelationId": "8afb1a9a-1613-5e2b-ab19-20c0f4f3e216", + "StreetName": "Voorthuizerstraat", + "HouseNumber": 16, + "HouseNumberAddition": "A", + "PostalZone": "3881SH", + "CityName": "Putten", + "CountryCode": "NL" + } + }, + "New address DE": { + "value": { + "RelationType": "organisation", + "RelationId": "8afb1a9a-1613-5e2b-ab19-20c0f4f3e216", + "StreetName": "Berliner Straße", + "HouseNumber": 10, + "HouseNumberAddition": "", + "PostalZone": "10115", + "CityName": "Berlijn", + "CountryCode": "DE" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "instances": [ + { + "Code": "Adres", + "Id": "bea5e01e-e1a0-4b04-819a-3347ebca2ba4" + } + ], + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Relaties" + ] + } + }, + "/api/bankaccount": { + "post": { + "description": "Create new bank account information for financial transactions", + "summary": "bankaccount 1.0", + "operationId": "updateconnector-bankaccount-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "bankaccount 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/bankaccount-1.0-Create-JsonSchema" + }, + "examples": { + "New bankaccount organisation": { + "value": { + "RelationType": "organisation", + "RelationId": "8afb1a9a-1613-5e2b-ab19-20c0f4f3e216", + "AccountNumber": "NL82BKCH0618141243", + "BIC": "BKCHNL2R", + "CountryCode": "NL", + "AccountHolderName": "Balistreri" + } + }, + "New bankaccount person": { + "value": { + "RelationType": "person", + "RelationId": "8afb1a9a-1613-5e2b-ab19-20c0f4f3e216", + "AccountNumber": "NL82BKCH0618141243", + "BIC": "BKCHNL2R", + "CountryCode": "NL", + "AccountHolderName": "Balistreri" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "Success": { + "value": { + "result": "Succeeded", + "instances": [ + { + "Code": "Bankrekening", + "Id": "4738e143-e582-4b38-a8af-9d1f1e12bfca" + } + ], + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Relaties" + ] + } + }, + "/api/cashmutation": { + "post": { + "description": "Create cash mutations for cash register transactions", + "summary": "cashmutation 3.0", + "operationId": "updateconnector-cashmutation-Post-3.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "3.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "cashmutation 3.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/cashmutation-3.0-Create-JsonSchema" + }, + "examples": { + "Minimum cash mutuation": { + "value": { + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "Creates only a cashmutation without a reconciliation mutation.", + "Date": "2024-03-15", + "AmountIncludingVat": 400 + } + }, + "purchase": { + "value": { + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "Aanschaf kleine machines en gereedschap", + "Date": "2024-03-15", + "LedgerAccountId": "c031b2e8-f8ac-5ab2-a428-93bf9789fc5e", + "VatPercentage": 21, + "VatTarive": "high", + "AmountIncludingVat": -200 + } + }, + "sales": { + "value": { + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "Omzet algemeen", + "Date": "2024-03-15", + "LedgerAccountId": "cfb59b79-b3ec-55ef-8cde-000499c3179e", + "VatPercentage": 21, + "VatTarive": "high", + "AmountIncludingVat": 400 + } + }, + "specificcashregister": { + "value": { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Description": "Omzet algemeen", + "Date": "2025-03-15", + "LedgerAccountId": "0cc7471d-9973-5214-8106-a960bbaa348e", + "VatTarive": "high", + "CashregisterId": "25e93133-ec28-543f-9f23-312ddb4e10a3", + "AmountIncludingVat": 800 + } + }, + "with attachments": { + "value": { + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "Description": "Aanschaf kleine machines en gereedschap_387", + "Date": "2024-03-15", + "LedgerAccountId": "c031b2e8-f8ac-5ab2-a428-93bf9789fc5e", + "VatPercentage": 21, + "VatTarive": "high", + "AmountIncludingVat": -200, + "Attachments": [ + { + "AttachmentId": "bcbee6a4-f3de-44c3-91c8-e8921bf15107" + }, + { + "AttachmentId": "6676ad1f-9fc3-4a4f-8a44-d88d8284c598" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "normal response": { + "value": { + "result": "Succeeded", + "traceId": "8f266c6b-f405-4107-92ff-32130bd13a6b", + "data": { + "CashMutationId": "1bff704a-d4a1-4d92-b276-79eece12bb87", + "FinancialBookingId": "723e515f-c997-4d27-ae89-b922f3975a07" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "CashMutationId": { + "type": "string", + "format": "uuid" + }, + "FinancialBookingId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "3.0", + "deprecated": false, + "tags": [ + "Publiek: POS Transacties", + "POS Transacties" + ] + } + }, + "/api/contact": { + "post": { + "description": "Contact", + "summary": "contact 2.0", + "operationId": "updateconnector-contact-Post-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "contact 2.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/contact-2.0-Create-JsonSchema" + }, + "examples": { + "new contact": { + "value": { + "OrganisationId": "8afb1a9a-1613-5e2b-ab19-20c0f4f3e216", + "Firstname": "Rosella", + "Initials": "III", + "Prefix": "Mr.", + "Lastname": "Predovic", + "EmailAddress": "Karli61@example.com", + "PhoneNumber": "223-385-8892" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "instances": [ + { + "Code": "Persoon", + "Id": "3375a0f0-1cf0-5408-98f9-cd3599d96721" + }, + { + "Code": "Emailadres", + "Id": "3f669df2-b5d2-41fd-bb7e-7d7030e9d8be" + }, + { + "Code": "Telefoonnummer", + "Id": "2349ac50-64eb-4d05-b440-f8372dbd850f" + }, + { + "Code": "Contactpersoon", + "Id": "ba9a935d-32ac-447d-9749-105a02079372" + } + ], + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Relaties" + ] + } + }, + "/api/emailaddress": { + "post": { + "description": "CreateEmailAddress", + "summary": "emailaddress 2.0", + "operationId": "updateconnector-emailaddress-Post-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "emailaddress 2.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/emailaddress-2.0-Create-JsonSchema" + }, + "examples": { + "new email for organisation": { + "value": { + "RelationType": "organisation", + "RelationId": "dde06573-1190-5b31-a400-064588aa62e0", + "EmailAddress": "user@example.com" + } + }, + "new email for person": { + "value": { + "RelationType": "person", + "RelationId": "2aacc092-9c6c-5020-b1cf-0d8ecd6485dc", + "EmailAddress": "user@example.com" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "instances": [ + { + "Code": "Emailadres", + "Id": "cb052971-6312-42cf-b3fd-de274f248a88" + } + ], + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Relaties" + ] + } + }, + "/api/financialjournalentry": { + "post": { + "description": "Create financial journal entries for bookkeeping", + "summary": "financialjournalentry 1.0", + "operationId": "updateconnector-financialjournalentry-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "financialjournalentry 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/financialjournalentry-1.0-Create-JsonSchema" + }, + "examples": { + "new financialjournalentry periodallocation": { + "value": { + "AdministrationId": "95c0de1b-e269-4c74-ab6a-ece7fb15a4ff", + "Description": "journaalpost_001", + "EntryDate": "2024-01-22", + "EntryLine": [ + { + "Description": "Regel1", + "LedgerAccountId": "5a663714-2c36-5d94-a009-3a210bc2ce52", + "AmountDebit": 4000.65, + "VatDirection": "Sales", + "VatType": "High", + "AmountCredit": 0, + "PeriodAllocation": true, + "PeriodAllocationBeginDate": "2024-01-01", + "PeriodAllocationEndDate": "2024-12-31" + }, + { + "Description": "Regel2", + "LedgerAccountId": "5a663714-2c36-5d94-a009-3a210bc2ce52", + "AmountCredit": 4000.65, + "AmountDebit": 0 + } + ] + } + }, + "new financialjournalentry": { + "value": { + "AdministrationId": "73109da3-0fcf-4fbe-bd2c-209a399ae502", + "Description": "journaalpost_002", + "EntryDate": "2024-01-22", + "EntryLine": [ + { + "Description": "Regel1", + "LedgerAccountId": "5a663714-2c36-5d94-a009-3a210bc2ce52", + "AmountDebit": 4000.65, + "VatDirection": "sales", + "VatType": "high" + }, + { + "Description": "Regel2", + "LedgerAccountId": "5a663714-2c36-5d94-a009-3a210bc2ce52", + "AmountCredit": 4000.65 + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "traceId": "39f2f0fc-58cc-4f7b-a26b-5aa93d77ba88", + "data": { + "FinancialJournalEntryId": "6f30c816-3a77-4c2b-9484-9a09cc5edd7f" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "FinancialJournalEntryId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële journaalpost", + "Financiële journaalpost" + ] + }, + "delete": { + "description": "Delete financial journal entries from bookkeeping", + "summary": "financialjournalentry 1.0", + "operationId": "updateconnector-financialjournalentry-Delete-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "financialjournalentry 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/financialjournalentry-1.0-Delete-JsonSchema" + }, + "examples": { + "delete financialjournalentry": { + "value": { + "AdministrationId": "e877fb82-b546-4d20-94cf-05c72765fc47", + "Id": "e877fb82-b546-4d20-94cf-05c72765fc47" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "traceId": "9b99528e-3bf0-4485-91f9-b9bba34550e0", + "data": { + "FinancialJournalEntryId": "6f30c816-3a77-4c2b-9484-9a09cc5edd7f" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "FinancialJournalEntryId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Financiële journaalpost", + "Financiële journaalpost" + ] + } + }, + "/api/mandates": { + "post": { + "description": "Create SEPA direct debit mandates for automated payments", + "summary": "mandates 1.0", + "operationId": "updateconnector-mandates-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "mandates 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/mandates-1.0-Create-JsonSchema" + }, + "examples": { + "example": { + "value": { + "AdministrationId": "e5a3aaef-0cc7-46d0-9eb5-8d039c88109e", + "RelationType": "organisation", + "RelationId": "046800d6-8160-41a9-a422-ef3c04b8d373", + "RelationBankAccountId": "27548bd4-45ad-4652-bdd2-f1615dc28245", + "MandateReference": "Test31Con33tract3nr.FL-2322/2P", + "DateOfSignature": "2024-12-31" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "response": { + "value": { + "result": "Succeeded", + "traceId": "3511f4e3-869c-4ed6-9dde-e4a45acd8f04", + "data": { + "MandateId": "ef03c8a1-4254-498e-a819-343184ce9aad" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "MandateId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/organisation": { + "post": { + "description": "Create new organization records and business relationships", + "summary": "organisation 4.0", + "operationId": "updateconnector-organisation-Post-4.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "4.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "organisation 4.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/organisation-4.0-Create-JsonSchema" + }, + "examples": { + "new organisation maximal": { + "value": { + "Name": "Nitzsche, Dickinson and Predovic", + "CocNumber": "38012622", + "VatNumber": "NL003276211B01", + "Tradename": "Johns - Swaniawski", + "EmailAddress": "Damion94@example.org", + "Website": "https://astrid.info", + "PhoneNumber": "738-407-2156", + "ExternalId": "123456789", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "inspiratielaan", + "HouseNumber": 3, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL44DNIB0736664289", + "BankId": "DNIB", + "Bic": "DNIBNL2G", + "CountryCode": "NL", + "AccountHolderName": "Jan Zandbergen", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + }, + "new organisation minimal": { + "value": { + "Name": "Larkin Inc" + } + }, + "new organisation": { + "value": { + "Name": "Terry - Powlowski", + "CocNumber": "38012622", + "VatNumber": "NL003276211B01", + "EmailAddress": "Amelie_Bogisich@example.com", + "PhoneNumber": "738-407-2156", + "ExternalId": "801-331-6473", + "Addresses": [ + { + "StreetName": "Tillman Glen", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL" + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "minimum": { + "value": { + "result": "Succeeded", + "data": { + "RelationId": "9ef691ac-b12c-4e14-9368-8191e03b54c0", + "Addresses": [ + { + "AddressId": "a329ffce-7e6c-4e79-acb4-43ac57157dc9", + "AddressDescription": "inspiratielaan 2 3833AV Leusden Nederland" + } + ], + "BankAccounts": [ + { + "AccountNumberId": "4395b94c-af56-429b-ab52-52bdc9986fb4", + "AccountNumber": "NL68INGB0801705542" + } + ] + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "RelationId": { + "type": "string", + "format": "uuid" + }, + "Addresses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AddressId": { + "type": "string", + "format": "uuid" + }, + "AddressDescription": { + "type": "string" + } + } + } + }, + "BankAccounts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AccountNumberId": { + "type": "string", + "format": "uuid" + }, + "AccountNumber": { + "type": "string" + } + } + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "4.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Relaties", + "Publiek: Externe facturatie" + ] + }, + "put": { + "description": "Update existing organization records and business relationships", + "summary": "organisation 4.0", + "operationId": "updateconnector-organisation-Put-4.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "4.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "organisation 4.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/organisation-4.0-Update-JsonSchema" + }, + "examples": { + "update organisation": { + "value": { + "RelationId": "978638a5-394f-4ecc-a31f-21332f9f79e5", + "Name": "AFAS Software", + "CocNumber": "54041813", + "ExternalId": "SWR23244", + "Tradename": "AFAS Software BV", + "EmailAddress": "info@afas.NL", + "WebSite": "www.afas.nl", + "phoneNumber": "+31334341800", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 5, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "preferredSupplierAddress": true, + "preferredShippingAddress": false, + "preferredBillingAddress": true + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "response": { + "value": { + "result": "Succeeded", + "traceId": "d8b6d497-cd52-46b1-a4c3-78dd7f9fb957", + "data": { + "RelationId": "978638a5-394f-4ecc-a31f-21332f9f79e5" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "RelationId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "4.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Relaties", + "Publiek: Externe facturatie" + ] + } + }, + "/api/payrolljournalentry": { + "post": { + "description": "Create payroll journal entries for salary processing", + "summary": "payrolljournalentry 1.0", + "operationId": "updateconnector-payrolljournalentry-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "payrolljournalentry 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/payrolljournalentry-1.0-Create-JsonSchema" + }, + "examples": { + "Loonjournaalpost": { + "value": { + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "Description": "Loonjournaalpost_001", + "Date": "2024-01-22", + "PayrollJournalEntryLine": [ + { + "LedgerAccountNumber": "1700", + "AmountDebit": 4000 + }, + { + "LedgerAccountNumber": "1710", + "AmountCredit": 1300 + }, + { + "LedgerAccountNumber": "2300", + "AmountCredit": 2700 + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "Success": { + "value": { + "result": "Succeeded", + "instances": [ + { + "Code": "Memoriaalboeking2", + "Id": "a70c4e79-a04f-57cf-875b-150434c56e17" + } + ], + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Loonjournaalpost" + ] + } + }, + "/api/person": { + "post": { + "description": "Create new person records and personal relationships", + "summary": "person 4.0", + "operationId": "updateconnector-person-Post-4.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "4.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "person 4.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/person-4.0-Create-JsonSchema" + }, + "examples": { + "create person with 2 addresses and 2 backaccounts": { + "value": { + "Firstname": "John", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Doe", + "Emailaddress": "johndoe@gmail.com", + "Phonenumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": false + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": true + } + ] + } + }, + "create person with address and bankaccount": { + "value": { + "Firstname": "Julianne", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Pouros", + "Emailaddress": "Alyce58@gmail.com", + "Phonenumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Krommeweg", + "HouseNumber": 18, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "8071TE", + "CityName": "Nunspeet", + "CountryCode": "NL", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": true, + "PreferredBillingAddress": true + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + } + ] + } + }, + "create person": { + "value": { + "Firstname": "John", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Doe", + "Emailaddress": "johndoe@gmail.com", + "Phonenumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": false + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": true + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "minimum": { + "value": { + "result": "Succeeded", + "data": { + "RelationId": "9ef691ac-b12c-4e14-9368-8191e03b54c0", + "Addresses": [ + { + "AddressId": "a329ffce-7e6c-4e79-acb4-43ac57157dc9", + "AddressDescription": "inspiratielaan 2 3833AV Leusden Nederland" + } + ], + "BankAccounts": [ + { + "AccountNumberId": "4395b94c-af56-429b-ab52-52bdc9986fb4", + "AccountNumber": "NL68INGB0801705542" + } + ] + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "RelationId": { + "type": "string", + "format": "uuid" + }, + "Addresses": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AddressId": { + "type": "string", + "format": "uuid" + }, + "AddressDescription": { + "type": "string" + } + } + } + }, + "BankAccounts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AccountNumberId": { + "type": "string", + "format": "uuid" + }, + "AccountNumber": { + "type": "string" + } + } + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "4.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Relaties", + "Publiek: Externe facturatie" + ] + }, + "put": { + "description": "Update existing person records and personal relationships", + "summary": "person 4.0", + "operationId": "updateconnector-person-Put-4.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "4.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "person 4.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/person-4.0-Update-JsonSchema" + }, + "examples": { + "update person": { + "value": { + "RelationId": "69a7cab4-3a34-4fdf-8017-c6df8a9375df", + "FirstName": "John", + "LastName": "Doe", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 5, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "preferredSupplierAddress": true, + "preferredShippingAddress": true, + "preferredBillingAddress": true + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "response": { + "value": { + "result": "Succeeded", + "traceId": "f0dddf19-12a8-4bf2-b782-359d32679491", + "data": { + "RelationId": "7b97c9cc-d0ef-48bf-a896-657dfb494059" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "RelationId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "4.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Relaties", + "Publiek: Externe facturatie" + ] + } + }, + "/api/phonenumber": { + "post": { + "description": "CreatePhoneNumber", + "summary": "phonenumber 1.0", + "operationId": "updateconnector-phonenumber-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "phonenumber 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/phonenumber-1.0-Create-JsonSchema" + }, + "examples": { + "Nieuw telefoonnummer voor organisatie": { + "value": { + "RelationType": "organisation", + "RelationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "PhoneNumber": "033546786" + } + }, + "Nieuw telefoonnummer voor persoon": { + "value": { + "RelationType": "person", + "RelationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "PhoneNumber": "033546786" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "response": { + "value": { + "result": "Succeeded", + "instances": [ + { + "Code": "Telefoonnummer", + "Id": "0127112f-48ed-4e09-b981-914913cc1807" + } + ], + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Relaties" + ] + } + }, + "/api/purchasejournalentry": { + "post": { + "description": "Create purchase journal entries for supplier transactions (C# script version)", + "summary": "purchasejournalentry 3.0", + "operationId": "updateconnector-purchasejournalentry-Post-3.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "3.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "purchasejournalentry 3.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/purchasejournalentry-3.0-Create-JsonSchema" + }, + "examples": { + "Inkoopjournaalpost": { + "value": { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InvoiceNumber": "PUR-80-157760", + "Reference": "docs-sample-8.0", + "RelationType": "organisation", + "RelationId": "e50b10e6-26bb-5c61-a9c5-00472919b90f", + "InvoiceDate": "2025-01-15", + "DueDate": "2025-02-14", + "PaymentMethod": "banktransfer", + "InvoiceLine": [ + { + "Description": "Huisvestingskosten vestiging Inspiratielaan", + "LedgerAccountId": "407ae398-e8c5-5ec6-a10d-00e51c299f81", + "VatType": "high", + "AmountExcludingVat": 100, + "AmountVat": 21, + "LocationId": "01ae3b98-8320-44e1-8eb4-c66635dde0b4" + }, + { + "Description": "Overige vergoedingen afdeling Directie", + "LedgerAccountId": "5cc1901a-fd0f-5a28-9302-030425092631", + "VatType": "low", + "AmountExcludingVat": 200, + "AmountVat": 18, + "DepartmentId": "43d4aa9d-0219-44b8-a8cb-878a61a61638" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "response": { + "value": { + "result": "Succeeded", + "traceId": "3d4d7bda-fecd-411a-91fd-38859c13fe06", + "data": { + "PurchaseJournalEntryId": "49bc40d8-d914-416b-9b11-e34945123e52", + "PurchaseInternalInvoiceNumber": "IF250078" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "PurchaseJournalEntryId": { + "type": "string", + "format": "uuid" + }, + "PurchaseInternalInvoiceNumber": { + "type": "string" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "3.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost" + ] + } + }, + "/api/salesinvoice": { + "delete": { + "description": "Delete sales invoices from customer billing", + "summary": "salesinvoice 2.0", + "operationId": "updateconnector-salesinvoice-Delete-2.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "salesinvoice 2.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/salesinvoice-2.0-Delete-JsonSchema" + }, + "examples": { + "example": { + "value": { + "AdministrationId": "bb837613-26e7-52bd-bc56-f3721b90a42e", + "Id": "c7e0773e-7904-41b7-a09e-56643261b6f4" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "Example": { + "value": { + "result": "Succeeded", + "traceId": "e491eb78-6969-45c2-ba20-f94d68364427", + "data": { + "salesinvoiceId": "c7e0773e-7904-41b7-a09e-56643261b6f4" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "salesinvoiceId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + }, + "400": { + "content": { + "application/json": { + "examples": { + "ExampleAlreadySend": { + "value": { + "result": "Failed", + "traceId": "93a3cfbe-f20b-4fd2-9ec3-5cdd930eebc7", + "instances": [], + "errors": [ + "SalesInvoice cannot be deleted because it is not a draft or it is already deleted" + ] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "instances": { + "type": "array", + "items": {} + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "version": "2.0", + "deprecated": false, + "tags": [ + "Publiek: Facturatie", + "Verkoopfactuur" + ] + }, + "post": { + "description": "Create sales invoices for customer billing", + "summary": "salesinvoice 3.0", + "operationId": "updateconnector-salesinvoice-Post-3.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "3.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "salesinvoice 3.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/salesinvoice-3.0-Create-JsonSchema" + }, + "examples": { + "example": { + "value": { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "IssueDate": "2025-01-15", + "Reference": "docs-sample-8.0", + "RelationType": "organisation", + "RelationId": "666af0be-5fbe-5345-8315-18b5bc17215a", + "PaymentMethod": "banktransfer", + "SentInvoiceEmail": false, + "ToBeInvoiced": true, + "InvoiceLine": [ + { + "ItemId": "34b3098e-6a4b-5684-9ab7-31f81cdbc47c", + "Quantity": 2, + "Description": "PC behuizing Miditower Antec - vestiging Inspiratielaan", + "LocationId": "01ae3b98-8320-44e1-8eb4-c66635dde0b4" + }, + { + "ItemId": "4a26930c-b08f-59fa-8449-5b8295ae5ee1", + "Quantity": 1, + "Description": "Geluidskaart Creative Audigy - afdeling Directie", + "DepartmentId": "43d4aa9d-0219-44b8-a8cb-878a61a61638" + } + ] + } + }, + "exampleAlternativeAllocation": { + "value": { + "AdministrationId": "3f73bc84-fb32-4d1d-83d9-5de1af8245b1", + "IssueDate": "2024-05-16", + "RelationType": "organisation", + "SentInvoiceEmail": false, + "ToBeInvoiced": true, + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "InvoiceLine": [ + { + "ItemId": "7e94bf59-594c-5c28-9fe5-5e238f821b0d", + "Price": 10, + "Quantity": 2, + "AlternativeAllocationDate": "2024-12-31" + } + ] + } + }, + "exampleToBeInvoiced": { + "value": { + "AdministrationId": "3f73bc84-fb32-4d1d-83d9-5de1af8245b1", + "IssueDate": "2024-05-16", + "RelationType": "organisation", + "SentInvoiceEmail": false, + "ToBeInvoiced": true, + "RelationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "InvoiceLine": [ + { + "ItemId": "7e94bf59-594c-5c28-9fe5-5e238f821b0d", + "Quantity": 2 + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "Example": { + "value": { + "result": "Succeeded", + "traceId": "4d81c9fc-b006-4e60-ac81-26bf7783cd52", + "data": { + "SalesInvoiceId": "09cf03db-2422-4201-98e4-20cc018a21a1" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "SalesInvoiceId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "3.0", + "deprecated": false, + "tags": [ + "Publiek: Facturatie", + "Verkoopfactuur" + ] + } + }, + "/api/salesjournalentry": { + "delete": { + "description": "Delete sales journal entries from customer transactions", + "summary": "salesjournalentry 2.1", + "operationId": "updateconnector-salesjournalentry-Delete-2.1", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.1" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "salesjournalentry 2.1", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/salesjournalentry-2.1-Delete-JsonSchema" + }, + "examples": { + "example": { + "value": { + "AdministrationId": "a15620b1-90bf-46d8-a155-15f59a3ed460", + "Id": "8f8d5e92-bd85-4deb-8184-6abf57a5b24d" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "traceId": "ab84df36-19aa-477c-9f71-c0c61cb542a1", + "data": { + "SalesJournalEntryId": "2fe9d143-52aa-4d9f-9eba-a97656f2741c" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "SalesJournalEntryId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.1", + "deprecated": false, + "tags": [ + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + }, + "put": { + "description": "Update sales journal entries for customer transactions", + "summary": "salesjournalentry 2.1", + "operationId": "updateconnector-salesjournalentry-Put-2.1", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "2.1" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "salesjournalentry 2.1", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/salesjournalentry-2.1-Update-JsonSchema" + }, + "examples": { + "PaymentReference": { + "value": { + "AdministrationId": "f49f54a4-835d-532f-a117-79054e726808", + "Id": "2857a5b4-777d-44cd-b10d-9721c0281d7d", + "PaymentReference": "2024-10124" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "data": { + "SalesJournalEntryId": "f365059e-5918-49ec-9a7c-d4f0a0c8beb4" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "data": { + "type": "object", + "properties": { + "SalesJournalEntryId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "2.1", + "deprecated": false, + "tags": [ + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + }, + "post": { + "description": "Create sales journal entries for customer transactions", + "summary": "salesjournalentry 3.0", + "operationId": "updateconnector-salesjournalentry-Post-3.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "3.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "salesjournalentry 3.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/salesjournalentry-3.0-Create-JsonSchema" + }, + "examples": { + "BTW binnen en buiten EU": { + "value": { + "InvoiceNumber": "a", + "InvoiceDate": "2024-01-30", + "Description": "Unbranded Fresh Pizza", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "c6f3b724-845c-5af2-8360-2fc751601115", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "9b5d768a-c71b-583e-b6ee-09d64aa935d4", + "InvoiceLine": [ + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "VatType": "zero", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "VatType": "zero", + "AmountExcludingVat": 211 + } + ] + } + }, + "BTW Verlegd binnen Nederland": { + "value": { + "InvoiceNumber": "d", + "InvoiceDate": "2024-01-30", + "Description": "Practical Plastic Chips", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "c6f3b724-845c-5af2-8360-2fc751601115", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "9b5d768a-c71b-583e-b6ee-09d64aa935d4", + "InvoiceLine": [ + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "VatType": "high", + "VatCalculation": "reversecharged", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "VatType": "high", + "VatCalculation": "reversecharged", + "AmountExcludingVat": 396 + } + ] + } + }, + "Sales with attachment": { + "value": { + "InvoiceNumber": "1", + "InvoiceDate": "2024-02-01", + "Description": "Ergonomic Rubber Bacon", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "a8cce7bd-ced8-5ca4-b3b8-f0584ffe5993", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "9b5d768a-c71b-583e-b6ee-09d64aa935d4", + "Attachments": [ + { + "AttachmentId": "b031446a-b98e-4378-b7ee-8543e05f34c0" + } + ], + "InvoiceLine": [ + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "AmountVat": 21, + "VatType": "high", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "1a8042a9-576d-5fab-9e5f-75e6f7d5ab63", + "AmountExcludingVat": 427, + "VatType": "zero", + "VatCalculation": "exempt" + } + ] + } + }, + "verkoop 1 regel": { + "value": { + "InvoiceNumber": "7", + "InvoiceDate": "2024-01-24", + "Description": "Unbranded Steel Sausages", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "9bafbc7a-611b-5465-a584-5f0c88734b35", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "eb44c60d-06e4-564b-a90c-7715c78788a5", + "InvoiceLine": [ + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 183.54, + "VatType": "high", + "AmountExcludingVat": 874 + } + ] + } + }, + "verkoop aan persoon": { + "value": { + "InvoiceNumber": "SAL341434345403", + "InvoiceDate": "2024-01-24", + "Description": "null", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "person", + "RelationId": "d36cb9bb-0e5f-5253-ab28-2331804d65ba", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "eb44c60d-06e4-564b-a90c-7715c78788a5", + "InvoiceLine": [ + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 21, + "VatType": "high", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 450.55, + "VatType": "low", + "AmountExcludingVat": 40.55, + "VatCalculation": "exempt" + } + ] + } + }, + "verkoop alle soorten btw": { + "value": { + "InvoiceNumber": "d", + "InvoiceDate": "2024-01-23", + "Description": "Sleek Metal Tuna", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "9bafbc7a-611b-5465-a584-5f0c88734b35", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "eb44c60d-06e4-564b-a90c-7715c78788a5", + "InvoiceLine": [ + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 21, + "VatType": "high", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 40.55, + "VatType": "low", + "AmountExcludingVat": 40.55, + "VatCalculation": "exempt" + }, + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 0, + "VatType": "zero", + "AmountExcludingVat": 40.55 + }, + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 18, + "VatType": "low", + "AmountExcludingVat": 200 + }, + { + "LedgerAccountId": "ebf99e77-1d73-51f2-936d-b3185d8a84ad", + "AmountVat": 18, + "VatType": "high", + "AmountExcludingVat": 200, + "VatCalculation": "reversecharged" + } + ] + } + }, + "verkoop meerdere btw soorten": { + "value": { + "InvoiceNumber": "t", + "InvoiceDate": "2024-01-23", + "Description": "Handmade Concrete Car", + "AdministrationId": "701b747b-eea2-5ed1-8518-973e5c670252", + "RelationType": "organisation", + "RelationId": "863d895a-3782-5500-b933-dd487d736138", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "b98e24e9-a611-5a98-8cf9-40fed321dc6c", + "InvoiceLine": [ + { + "LedgerAccountId": "de3184b9-23f0-55e6-9bd0-ccb5c2b5b5ce", + "AmountVat": 21, + "VatType": "high", + "AmountExcludingVat": 100 + }, + { + "LedgerAccountId": "de3184b9-23f0-55e6-9bd0-ccb5c2b5b5ce", + "AmountVat": 40.55, + "VatType": "low", + "AmountExcludingVat": 40.55, + "VatCalculation": "exempt" + }, + { + "LedgerAccountId": "de3184b9-23f0-55e6-9bd0-ccb5c2b5b5ce", + "AmountVat": 0, + "VatType": "zero", + "AmountExcludingVat": 40.55 + }, + { + "LedgerAccountId": "de3184b9-23f0-55e6-9bd0-ccb5c2b5b5ce", + "AmountVat": 18, + "VatType": "low", + "AmountExcludingVat": 200 + } + ] + } + }, + "verkoop met locatie en afdeling": { + "value": { + "AdministrationId": "7d9f5416-5957-4dd4-a3a8-c49fbdf891fe", + "InvoiceDate": "2025-01-15", + "InvoiceNumber": "VK-80-452491", + "RelationType": "organisation", + "RelationId": "666af0be-5fbe-5345-8315-18b5bc17215a", + "Reference": "docs-sample-8.0", + "Description": "Voorbeeld verkoopjournaalpost 3.0 (locatie en afdeling)", + "PaymentMethod": "banktransfer", + "InvoiceLine": [ + { + "LedgerAccountId": "89505e52-e161-4f2d-9727-1d8fcbb4c4da", + "Description": "Omzet vestiging Inspiratielaan", + "AmountExcludingVat": 100, + "AmountVat": 21, + "VatType": "high", + "LocationId": "01ae3b98-8320-44e1-8eb4-c66635dde0b4" + }, + { + "LedgerAccountId": "ee7ac105-3432-4515-a79f-21252fb5ac6a", + "Description": "Omzet afdeling Directie", + "AmountExcludingVat": 200, + "AmountVat": 18, + "VatType": "low", + "DepartmentId": "43d4aa9d-0219-44b8-a8cb-878a61a61638" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "traceId": "0be0b15f-79b5-486b-b26f-94a711c318e0", + "data": { + "SalesJournalEntryId": "63cc7430-0455-4e11-95b9-74693427b8b2" + }, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": { + "SalesJournalEntryId": { + "type": "string", + "format": "uuid" + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + }, + "400": { + "content": { + "application/json": { + "examples": { + "already exists": { + "value": { + "result": "Failed", + "traceId": "3ca43e3a-00b6-460d-8bf1-be2f391f3f4c", + "instances": [], + "errors": [ + "SalesJournalEntry with invoicenumber SB_API_2204202410006 already exists" + ] + } + }, + "error on date": { + "value": { + "result": "Failed", + "traceId": "57f10a49-6720-4bb8-8826-8ef92387560f", + "instances": [], + "errors": [ + "Entity is made with one or more errors. Please correct this error in application or delete SalesJournalEntry with id: b32ee6e1-f807-4644-a6d5-d785d8bd7c61", + "De factuurdatum ligt vóór de beginbalansdatum. Dit is niet toegestaan." + ] + } + }, + "error on line": { + "value": { + "result": "Failed", + "traceId": "010e0485-1e22-4f1a-8573-405090824d35", + "instances": [], + "errors": [ + "Entity is made with one or more errors in the lines. Please correct this error in application or delete SalesJournalEntry with id: eee53305-8851-4859-a53e-b4b18f14040e.", + "Field 'Grootboekrekening' contains an invalid reference (a18e0f9a-c73d-58c4-ae80-64c2e4228de4)", + "Field 'Grootboekrekening' contains an invalid reference (a18e0f9a-c73d-58c4-ae80-64c2e4228de4)" + ] + } + }, + "error": { + "value": { + "result": "Failed", + "traceId": "e193dbe5-8f65-4035-aa81-879bd9828f98", + "instances": [], + "errors": [ + "FeatureToggle not enabled" + ] + } + } + }, + "schema": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "items": { + "type": "string" + } + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "instances": { + "type": "array", + "items": {} + }, + "result": { + "type": "string" + } + } + } + } + } + } + }, + "version": "3.0", + "deprecated": false, + "tags": [ + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/salesjournalentrywof": { + "post": { + "description": "Write off a sales journal entry by creating an alternative event", + "summary": "salesjournalentrywof 1.0", + "operationId": "updateconnector-salesjournalentrywof-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "salesjournalentrywof 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/salesjournalentrywof-1.0-Create-JsonSchema" + }, + "examples": { + "Write off": { + "value": { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "Description": "Write off" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "traceId": "3614178a-f801-47b7-bae1-dad6439f2c54", + "data": {}, + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string", + "format": "uuid" + }, + "data": { + "type": "object", + "properties": {} + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Verkoopjournaalpost" + ] + } + }, + "/api/supplier": { + "post": { + "description": "Create new supplier relationships and vendor setup", + "summary": "supplier 1.0", + "operationId": "updateconnector-supplier-Post-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "Tracking-Identifier", + "schema": { + "type": "uuid", + "example": "8522fea1-a067-4851-9b8e-a7b7080ac3af" + }, + "required": false, + "description": "Add your own uuid to the request and ensure that the request only gets processed once. The uuid must be unique for each request. The response will be the same as the first response." + } + ], + "requestBody": { + "description": "supplier 1.0", + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/requestBodies/supplier-1.0-Create-JsonSchema" + }, + "examples": { + "New supplier organisation": { + "value": { + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "EmailAddress": "klant@afas.nl", + "PhoneNumber": "0696856831", + "BankAccountNumber": "NL29TRIO0110845005", + "Bic": "TRIONL2U", + "LedgerAccountId": "4a2014b0-dcdc-500d-add2-fcf73ac8f88d", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "ee64c81b-56ff-506f-9dac-855d64bf193a", + "Organisation": { + "Name": "Jansen Haarden", + "CompanyIdCoc": "80446353", + "CompanyIdVat": "NL861674881B01", + "TradeName": "Jansen Holding B.V." + } + } + }, + "New supplier person": { + "value": { + "AdministrationId": "c59efe34-cb0e-5cb7-a1c7-b1286a699911", + "EmailAddress": "Delfina2@example.net", + "PhoneNumber": "30-702-386-4989", + "BankAccountNumber": "NL29TRIO0110845005", + "Bic": "TRIONL2U", + "Person": { + "Firstname": "Lacy", + "Initials": "MD", + "Prefix": "Ms.", + "Lastname": "Harber" + }, + "PaymentMethod": "null", + "LedgerAccountId": "cfb59b79-b3ec-55ef-8cde-000499c3179e", + "PaymentCondition": "b98e24e9-a611-5a98-8cf9-40fed321dc6c", + "VatCalculation": "null" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "examples": { + "success": { + "value": { + "result": "Succeeded", + "instances": [ + { + "Code": "Persoon", + "Id": "e55f5d3b-780b-576b-9370-760b58e937ec" + }, + { + "Code": "Instelling", + "Id": "20eb199e-c652-5513-b7eb-c39f927d1ef3" + }, + { + "Code": "Leverancier", + "Id": "20eb199e-c652-5513-b7eb-c39f927d1ef3" + }, + { + "Code": "Begunstigde", + "Id": "7afec8a8-c9f4-4ec7-aa68-8d9bc995468d" + }, + { + "Code": "Emailadres", + "Id": "4fc10096-8bb4-4be8-8039-5239b4125757" + }, + { + "Code": "Telefoonnummer", + "Id": "5e553026-0ad2-4f4c-bd2e-5dbdd6c0096f" + }, + { + "Code": "Bankrekening", + "Id": "d18e1122-e014-4468-aa65-585b333359c1" + } + ], + "errors": [] + } + } + }, + "schema": { + "type": "object", + "properties": { + "result": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string", + "format": "uuid" + } + } + } + }, + "errors": { + "type": "array", + "items": {} + } + } + } + } + } + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost" + ] + } + } + }, + "tags": [ + { + "name": "Autorisatie", + "description": "Endpoints voor autorisatie" + }, + { + "name": "Bijlagen", + "description": "Endpoints voor bijlagen" + }, + { + "name": "Publiek: Admin center data", + "description": "Admin center data connectoren" + }, + { + "name": "Crediteuren", + "description": "Crediteuren connectoren" + }, + { + "name": "Debiteuren", + "description": "Debiteuren connectoren" + }, + { + "name": "Publiek: Financiële dashboarding", + "description": "Financiële dashboarding voor publieke api" + }, + { + "name": "Publiek: Financiële journaalpost", + "description": "Financiële journaalpost voor publieke api" + }, + { + "name": "Financiële journaalpost", + "description": "Financiële journaalpost connectors" + }, + { + "name": "Publiek: Financiële rapportage", + "description": "Financiële rapportage voor publieke api" + }, + { + "name": "Financiele rapportage", + "description": "Financiele rapportage connectoren" + }, + { + "name": "Publiek: Externe verkoopregels", + "description": "Verkoopregels voor publieke api" + }, + { + "name": "Verkoopregels", + "description": "Verkoopregels connectors" + }, + { + "name": "Loonjournaalpost", + "description": "Loonjournaalpost connectors" + }, + { + "name": "Publiek: POS Transacties", + "description": "POS transacties voor publieke api" + }, + { + "name": "POS Transacties", + "description": "POS transacties" + }, + { + "name": "Publiek: Inkoopjournaalpost", + "description": "Inkoopjournaalpost connectors voor publieke api" + }, + { + "name": "Inkoopjournaalpost", + "description": "Inkoopjournaalpost connectors" + }, + { + "name": "Publiek: Relatiemanagement", + "description": "Relatiemanagement voor publieke api" + }, + { + "name": "Relaties", + "description": "Relatie connectors" + }, + { + "name": "Publiek: Facturatie", + "description": "Facturatie voor publieke api" + }, + { + "name": "Verkoopfactuur", + "description": "Verkoopfactuur connectors" + }, + { + "name": "Publiek: Externe facturatie", + "description": "Externe facturatie voor publieke api" + }, + { + "name": "Verkoopjournaalpost", + "description": "Verkoopjournaalpost connectors" + }, + { + "name": "TechnischeInfo", + "description": "Technische informatie" + } + ], + "components": { + "securitySchemes": { + "oAuth2": { + "type": "oauth2", + "flows": { + "authorizationCode": { + "authorizationUrl": "https://{{domain}}.afasfocus.nl/{{customerenvironment}}/app/auth", + "tokenUrl": "https://{{domain}}.afasfocus.nl/{{customerenvironment}}/app/token", + "scopes": {} + } + } + } + }, + "requestBodies": { + "address-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "default": {}, + "description": "Use this endpoint to create a new address for a person or organisation.", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "RelationType": { + "type": "string", + "description": "Must contain one of the enums. Will be required in a future version.", + "enum": [ + "organisation", + "person" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation or person. Will be required in a future version.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + } + }, + "examples": [ + { + "RelationType": "organisation", + "RelationId": "c8a288c1-3dbb-483d-840d-9cc601368a92", + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "a", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL" + } + ] + }, + "bankaccount-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "default": {}, + "description": "Use this endpoint to create a new bankaccount data for a person or organisation.", + "required": [ + "AccountNumber", + "AccountHolderName", + "CountryCode", + "RelationType", + "RelationId" + ], + "properties": { + "RelationType": { + "type": "string", + "description": "Must contain one of the enums. Will be required in a future version.", + "enum": [ + "organisation", + "person" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation or person. Will be required in a future version.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL01RABO0123456789" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "RABO" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "RABONL2U" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "DE" + ] + }, + "AccountHolderName": { + "type": "string", + "default": "", + "description": "Must contain the name of the account holder.", + "examples": [ + "Kees Zandbergen" + ] + } + }, + "examples": [ + { + "RelationType": "organisation", + "RelationId": "c8a288c1-3dbb-483d-840d-9cc601368a92", + "AccountNumber": "NL01RABO0123456789", + "BankId": "RABO", + "Bic": "RABONL2U", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen" + } + ] + }, + "cashmutation-1.0-Create-JsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema", + "type": "object", + "description": "This endpoint allows you to add cash mutations directly from Point of Sale (POS) applications to the accounting software, streamlining the process of recording and managing cash transactions for businesses. For each cashmutation an request must be done.", + "properties": { + "administrationId": { + "type": "string", + "format": "uuid", + "description": "The Administration ID uniquely identifying an administration. Retrieve it from the endpoint: api/administration" + }, + "description": { + "type": "string", + "description": "The description providing information about the cash mutation and other bookings" + }, + "date": { + "type": "string", + "format": "date", + "description": "The date when the cash mutation and other bookings occurred" + }, + "ledgerAccountId": { + "type": "string", + "format": "uuid", + "description": "The Ledger Account ID uniquely identifying a ledger account. Retrieve it from the endpoint: api/ledgeraccounts" + }, + "amountIncludingVat": { + "type": "number", + "multipleOf": 0.01, + "description": "The amount including VAT for the cash mutation and other bookings" + }, + "vatPercentage": { + "type": "integer", + "description": "The percentage of VAT applied to the cash mutation and other bookings" + }, + "vatTarive": { + "type": "string", + "enum": [ + "high", + "low", + "zero" + ], + "description": "The VAT tarive/category - 'high', 'low', or 'zero'" + }, + "vatType": { + "type": "string", + "enum": [ + "purchase", + "sales" + ], + "description": "The type of VAT operation - 'purchase' or 'sales'" + }, + "attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "required": [ + "attachmentId" + ], + "properties": { + "attachmentId": { + "type": "string", + "format": "uuid" + } + } + } + } + }, + "required": [ + "administrationId", + "description", + "date", + "amountIncludingVat" + ] + }, + "cashmutation-2.0-Create-JsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema", + "type": "object", + "description": "This endpoint allows you to add cash mutations directly from Point of Sale (POS) applications to the accounting software, streamlining the process of recording and managing cash transactions for businesses. For each cashmutation an request must be done.", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "The Administration ID uniquely identifying an administration. Retrieve it from the endpoint: api/administration" + }, + "Description": { + "type": "string", + "description": "The description providing information about the cash mutation and other bookings" + }, + "Date": { + "type": "string", + "format": "date", + "description": "The date when the cash mutation and other bookings occurred" + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "The Ledger Account ID uniquely identifying a ledger account. Retrieve it from the endpoint: api/ledgeraccounts" + }, + "AmountIncludingVat": { + "type": "number", + "multipleOf": 0.01, + "description": "The amount including VAT for the cash mutation and other bookings" + }, + "VatPercentage": { + "type": "integer", + "description": "The percentage of VAT applied to the cash mutation and other bookings" + }, + "VatTarive": { + "type": "string", + "enum": [ + "high", + "low", + "zero" + ], + "description": "The VAT tarive/category - 'high', 'low', or 'zero'" + }, + "VatType": { + "type": "string", + "enum": [ + "purchase", + "sales" + ], + "description": "The type of VAT operation - 'purchase' or 'sales'" + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid" + } + } + } + } + }, + "required": [ + "AdministrationId", + "Description", + "Date", + "AmountIncludingVat" + ] + }, + "cashmutation-3.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "This endpoint allows you to add cash mutations directly from Point of Sale (POS) applications to the accounting software, streamlining the process of recording and managing cash transactions for businesses. For each cashmutation an request must be done. Only the default cash location is supported.", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "The Administration ID uniquely identifying an administration. Retrieve it from the endpoint: api/administrations" + }, + "CashRegisterId": { + "type": "string", + "format": "uuid", + "description": "The CashRegister ID uniquely identifying an cash register. Retrieve it from the endpoint: api/cashregisters. Falls back to default when empty." + }, + "Description": { + "type": "string", + "description": "The description providing information about the cash mutation and other bookings", + "maxLength": 255 + }, + "Date": { + "type": "string", + "format": "date", + "description": "The date when the cash mutation and other bookings occurred" + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "The Ledger Account ID uniquely identifying a ledger account. Retrieve it from the endpoint: api/ledgeraccounts" + }, + "AmountIncludingVat": { + "type": "number", + "multipleOf": 0.01, + "description": "The amount including VAT for the cash mutation and other bookings" + }, + "VatTarive": { + "type": "string", + "enum": [ + "high", + "low", + "zero" + ], + "description": "The VAT tarive/category - 'high', 'low', or 'zero'" + }, + "VatType": { + "type": "string", + "enum": [ + "purchase", + "sales" + ], + "description": "The type of VAT operation - 'purchase' or 'sales'" + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid" + } + } + } + } + }, + "required": [ + "AdministrationId", + "Description", + "Date", + "AmountIncludingVat" + ] + }, + "contact-1.0-Create-JsonSchema": { + "type": "object", + "description": "Create a contact by organisation.", + "required": [ + "OrganisationId", + "Lastname" + ], + "properties": { + "OrganisationId": { + "type": "string", + "format": "uuid", + "examples": [ + "c3bf8c80-08ed-44ea-a842-661a9085d6bf" + ] + }, + "ContactId": { + "type": "string", + "format": "uuid", + "examples": [ + "880ed307-af2e-447d-8440-e26fed53ecc5" + ] + }, + "Firstname": { + "type": "string", + "examples": [ + "Maarten" + ] + }, + "Initials": { + "type": "string", + "examples": [ + "M.H." + ] + }, + "Prefix": { + "type": "string", + "examples": [ + "van" + ] + }, + "Lastname": { + "type": "string", + "examples": [ + "Zandbergen" + ] + }, + "emailaddress": { + "type": "string", + "format": "email", + "examples": [ + "Maarten@vanZandbergen.nl" + ] + }, + "phonenumber": { + "type": "string", + "examples": [ + "+31655887744" + ] + } + }, + "examples": [ + { + "OrganisationId": "c3bf8c80-08ed-44ea-a842-661a9085d6bf", + "Firstname": "Maarten", + "Initials": "M.H.", + "Prefix": "van", + "Lastname": "Zandbergen", + "emailaddress": "Maarten@vanZandbergen.nl", + "phonenumber": "+31655887744" + } + ] + }, + "contact-2.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a contact by organisation.", + "required": [ + "OrganisationId", + "LastName" + ], + "properties": { + "OrganisationId": { + "type": "string", + "format": "uuid", + "examples": [ + "c3bf8c80-08ed-44ea-a842-661a9085d6bf" + ] + }, + "ContactId": { + "type": "string", + "format": "uuid", + "examples": [ + "880ed307-af2e-447d-8440-e26fed53ecc5" + ] + }, + "FirstName": { + "type": "string", + "examples": [ + "Maarten" + ] + }, + "Initials": { + "type": "string", + "examples": [ + "M.H." + ] + }, + "Prefix": { + "type": "string", + "examples": [ + "van" + ] + }, + "LastName": { + "type": "string", + "examples": [ + "Zandbergen" + ] + }, + "EmailAddress": { + "type": "string", + "format": "email", + "examples": [ + "Maarten@vanZandbergen.nl" + ] + }, + "PhoneNumber": { + "type": "string", + "examples": [ + "+31655887744" + ] + } + }, + "examples": [ + { + "OrganisationId": "c3bf8c80-08ed-44ea-a842-661a9085d6bf", + "FirstName": "Maarten", + "Initials": "M.H.", + "Prefix": "van", + "LastName": "Zandbergen", + "EmailAddress": "Maarten@vanZandbergen.nl", + "PhoneNumber": "+31655887744" + } + ] + }, + "emailaddress-1.0-Create-JsonSchema": { + "type": "object", + "x-examples": { + "Example 1": { + "OrganisationId": "8f03496b-1f42-5ac3-a770-91f9da4e6e12", + "EmailAddress": "j.zandbergen@afasSbPlus.nl" + } + }, + "title": "EmailAddress", + "examples": [ + { + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "EmailAddress": "user@example.com" + } + ], + "properties": { + "OrganisationId": { + "type": "string", + "format": "uuid", + "example": "32abaca0-b4c6-4dce-af80-9de42a830e62" + }, + "EmailAddress": { + "type": "string", + "format": "email" + } + }, + "required": [ + "EmailAddress", + "OrganisationId" + ], + "description": "Create an emailaddress for an organisation." + }, + "emailaddress-2.0-Create-JsonSchema": { + "type": "object", + "x-examples": { + "Organiation": { + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "EmailAddress": "user@example.com" + }, + "Person": { + "RelationType": "person", + "RelationId": "963578e8-7831-4aa4-83c4-e7c3262f0572", + "EmailAddress": "user@example.com" + } + }, + "title": "EmailAddress", + "properties": { + "RelationType": { + "type": "string", + "description": "Must contain one of the enums. Will be required in a future version.", + "enum": [ + "organisation", + "person" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation or person. Will be required in a future version.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "EmailAddress": { + "type": "string", + "format": "email" + } + }, + "required": [ + "EmailAddress", + "RelationType", + "RelationId" + ], + "description": "Create an emailaddress for an organisation or person." + }, + "financialjournalentry-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a financial journal entry.", + "required": [ + "AdministrationId", + "EntryDate", + "Description", + "EntryLine" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "EntryDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-10-12" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntry.", + "examples": [ + "Example Journal 001" + ] + }, + "Attachments": { + "type": "array", + "default": [], + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "default": {}, + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + } + }, + "EntryLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "default": {}, + "required": [ + "LedgerAccountId" + ], + "properties": { + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntryLine.", + "examples": [ + "Sales with high vat type" + ] + }, + "AmountDebit": { + "type": "number", + "multipleOf": 0.01, + "examples": [ + 100.26 + ] + }, + "AmountCredit": { + "type": "number", + "multipleOf": 0.01, + "examples": [ + 100.64 + ] + }, + "VatDirection": { + "type": "string", + "enum": [ + "sales", + "purchases", + "", + "null" + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "special", + "zero", + "", + "null" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + } + }, + "allOf": [ + { + "if": { + "properties": { + "PeriodAllocation": { + "const": true + } + }, + "required": [ + "PeriodAllocation" + ] + }, + "then": { + "required": [ + "PeriodAllocationBeginDate", + "PeriodAllocationEndDate" + ] + } + }, + { + "anyOf": [ + { + "required": [ + "AmountDebit" + ], + "not": { + "required": [ + "AmountCredit" + ] + } + }, + { + "required": [ + "AmountCredit" + ], + "not": { + "required": [ + "AmountDebit" + ] + } + } + ] + } + ] + } + } + } + }, + "financialjournalentry-1.0-Delete-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Delete a financialjournalentry", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of financialjournalentry.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + } + ] + }, + "linestobeinvoiced-1.0-Create-JsonSchema": { + "type": "object", + "description": "Create a line to be invoiced", + "required": [ + "AdministrationId", + "Date", + "Description", + "RelationType", + "RelationId", + "Quantity" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Date": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "Description": { + "type": "string", + "description": "Must contain a description for the Line to be invoiced.", + "examples": [ + "Productomschrijving" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "format": "uuid" + }, + "ItemId": { + "type": "string", + "description": "Must contain Product guid. This can be retrieved through the products endpoint.", + "format": "uuid" + }, + "Quantity": { + "type": "number", + "description": "Quantity of products of this type", + "multipleOf": 0.01 + }, + "Price": { + "type": [ + "number", + "null" + ], + "description": "Price per product, may be left empty if product with price is provided", + "minimum": 0, + "multipleOf": 0.01 + }, + "ProjectId": { + "type": "string", + "description": "Must contain the guid of the project.", + "format": "uuid" + } + } + }, + "linestobeinvoiced-1.0-Delete-JsonSchema": { + "type": "object", + "description": "Delete a line to be invoiced", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of line to be invoiced.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + } + ] + }, + "linestobeinvoiced-1.0-Update-JsonSchema": { + "type": "object", + "description": "Update a line to be invoiced", + "required": [ + "AdministrationId", + "LineToBeInvoicedId", + "Date", + "Description", + "RelationType", + "RelationId", + "Quantity" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "LineToBeInvoicedId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the line to be invoiced", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Date": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the Line to be invoiced.", + "examples": [ + "Example Journal 001" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "format": "uuid" + }, + "ItemId": { + "type": "string", + "description": "Must contain Product guid. This can be retrieved through the products endpoint.", + "format": "uuid" + }, + "Quantity": { + "type": "number", + "description": "Quantity of products of this type", + "multipleOf": 0.01 + }, + "Price": { + "type": [ + "number", + "null" + ], + "description": "Price per product, may be left empty if product with price is provided", + "minimum": 0, + "multipleOf": 0.01 + }, + "ProjectId": { + "type": "string", + "description": "Must contain the guid of the project.", + "format": "uuid" + } + } + }, + "mandates-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create mandate for direct debit payments.", + "required": [ + "AdministrationId", + "RelationType", + "RelationId", + "RelationBankAccountId", + "DateOfSignature" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "RelationBankAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the bankaccount id of the organisation or person.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "AdministrationBankAccountId": { + "type": "string", + "format": "uuid", + "description": "Can contain the guid bankaccount of administration. If none provided de default bankaccount is used.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "MandateReference": { + "type": "string", + "description": "Can contain a reference of the mandates.If none provided an autonumber is used.", + "examples": [ + "Contractnr.FL-23904/P" + ] + }, + "DateOfSignature": { + "type": "string", + "description": "Must contain a date of signature/ approval.", + "format": "date", + "examples": [ + "2025-12-31" + ] + }, + "MandateKind": { + "type": "string", + "description": "Can contain one of the enums.", + "enum": [ + "standard", + "business" + ] + }, + "Attachments": { + "type": "array", + "default": [], + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "default": {}, + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "PeriodOfValidity": { + "type": "boolean", + "description": "Valid over a period", + "default": false + }, + "PeriodOfValidityBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2025-01-01" + ] + }, + "PeriodOfValidityEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2025-12-31" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "RelationBankAccountId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "AdministrationBankAccountId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "MandateReference": "Contractnr.FL-23904/P", + "DateOfSignature": "2024-12-31", + "MandateKind": "standard", + "Attachments": [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ], + "PeriodOfValidity": true, + "PeriodOfValidityBeginDate": "2025-01-01", + "PeriodOfValidityEndDate": "2025-12-31" + } + ] + }, + "organisation-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "default": {}, + "title": "Organisation", + "description": "A JSON schema to represent an organization", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "The name of the organisation", + "minLength": 1 + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the Organisation to use for a client application." + }, + "cocNumber": { + "type": "string", + "description": "The Chamber of Commerce (CoC) number of the organisation", + "pattern": "^[0-9]+$" + }, + "vatNumber": { + "type": "string", + "description": "The Value-Added Tax (VAT) number of the organisation", + "pattern": "^[A-Z0-9]+$" + }, + "tradename": { + "type": "string", + "description": "The tradename of the organisation" + }, + "sbiCode": { + "type": "string", + "description": "The SBICode of the organisation" + }, + "emailAddress": { + "type": "string", + "format": "email", + "description": "The email address of the organisation" + }, + "website": { + "type": "string", + "format": "uri", + "description": "The website of the organisation" + }, + "phoneNumber": { + "type": "string", + "description": "The phone number of the organisation" + }, + "address": { + "type": "array", + "default": [], + "title": "The address Schema", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "preferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "preferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "preferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "bankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for an organisation", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "AccountHolderName" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "AccountHolderName": { + "type": "string", + "description": "Must contain the name of the account holder.", + "examples": [ + "Kees Zandbergen", + "Jan Zandbergen" + ] + }, + "preferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "preferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "name": "Cremin Group", + "cocNumber": "38012622", + "vatNumber": "NL003276211B01", + "tradename": "Quitzon, Schinner and Jakubowski", + "emailAddress": "Kirsten_Bogisich27@example.org", + "website": "http://antoinette.name", + "phoneNumber": "758-646-8786", + "address": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "preferredSupplierAddress": true, + "preferredShippingAddress": false, + "preferredBillingAddress": true + }, + { + "StreetName": "inspiratielaan", + "HouseNumber": 3, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "preferredSupplierAddress": false, + "preferredShippingAddress": true, + "preferredBillingAddress": false + } + ], + "bankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen", + "preferredOutgoingPayments": true, + "preferredIncommingPayments": true + }, + { + "AccountNumber": "NL44DNIB0736664289", + "BankId": "DNIB", + "Bic": "DNIBNL2G", + "CountryCode": "NL", + "AccountHolderName": "Jan Zandbergen", + "preferredOutgoingPayments": false, + "preferredIncommingPayments": false + } + ] + } + ] + }, + "organisation-1.0-Update-JsonSchema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "https://example.com/organization-update-schema", + "type": "object", + "title": "Organization Update Schema", + "description": "A schema for updating the information of an organization, including its name, external identifier, Chamber of Commerce number, and Value-Added Tax number.", + "properties": { + "name": { + "type": "string", + "description": "The name of the organisation", + "minLength": 1, + "maxLength": 100 + }, + "externalId": { + "type": "string", + "description": "ExternalId of the Organisation to use for a client application" + }, + "cocNumber": { + "type": "string", + "pattern": "^[0-9]{8}$", + "description": "The Chamber of Commerce (CoC) number of the organisation" + }, + "vatNumber": { + "type": "string", + "pattern": "^[A-Z0-9]+$", + "description": "The Value-Added Tax (VAT) number of the organisation" + } + } + }, + "organisation-2.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "default": {}, + "title": "Organisation", + "description": "A JSON schema to represent an organization", + "required": [ + "Name" + ], + "properties": { + "Name": { + "type": "string", + "description": "The name of the organisation", + "minLength": 1 + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the Organisation to use for a client application." + }, + "CocNumber": { + "type": "string", + "description": "The Chamber of Commerce (CoC) number of the organisation", + "pattern": "^[0-9]+$" + }, + "VatNumber": { + "type": "string", + "description": "The Value-Added Tax (VAT) number of the organisation", + "pattern": "^[A-Z0-9]+$" + }, + "Tradename": { + "type": "string", + "description": "The tradename of the organisation" + }, + "SbiCode": { + "type": "string", + "description": "The SBICode of the organisation" + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The email address of the organisation" + }, + "Website": { + "type": "string", + "format": "uri", + "description": "The website of the organisation" + }, + "PhoneNumber": { + "type": "string", + "description": "The phone number of the organisation" + }, + "Addresses": { + "type": "array", + "default": [], + "title": "The address Schema", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for an organisation", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "AccountHolderName" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "AccountHolderName": { + "type": "string", + "description": "Must contain the name of the account holder.", + "examples": [ + "Kees Zandbergen", + "Jan Zandbergen" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "Name": "Cremin Group", + "CocNumber": "38012622", + "VatNumber": "NL003276211B01", + "Tradename": "Quitzon, Schinner and Jakubowski", + "EmailAddress": "Kirsten_Bogisich27@example.org", + "Website": "http://antoinette.name", + "PhoneNumber": "758-646-8786", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "inspiratielaan", + "HouseNumber": 3, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL44DNIB0736664289", + "BankId": "DNIB", + "Bic": "DNIBNL2G", + "CountryCode": "NL", + "AccountHolderName": "Jan Zandbergen", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "organisation-3.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "default": {}, + "title": "Organisation", + "description": "A JSON schema to represent an organization", + "required": [ + "Name" + ], + "properties": { + "Name": { + "type": "string", + "description": "The name of the organisation", + "minLength": 1 + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the Organisation to use for a client application." + }, + "CocNumber": { + "type": "string", + "description": "The Chamber of Commerce (CoC) number of the organisation", + "pattern": "^[0-9]+$" + }, + "VatNumber": { + "type": "string", + "description": "The Value-Added Tax (VAT) number of the organisation", + "pattern": "^[A-Z0-9]+$" + }, + "Tradename": { + "type": "string", + "description": "The tradename of the organisation" + }, + "SbiCode": { + "type": "string", + "description": "The SBICode of the organisation" + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The email address of the organisation" + }, + "Website": { + "type": "string", + "format": "uri", + "description": "The website of the organisation" + }, + "PhoneNumber": { + "type": "string", + "description": "The phone number of the organisation" + }, + "Addresses": { + "type": "array", + "default": [], + "title": "The address Schema", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for an organisation", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "AccountHolderName" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "AccountHolderName": { + "type": "string", + "description": "Must contain the name of the account holder.", + "examples": [ + "Kees Zandbergen", + "Jan Zandbergen" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "Name": "Cremin Group", + "CocNumber": "38012622", + "VatNumber": "NL003276211B01", + "Tradename": "Quitzon, Schinner and Jakubowski", + "EmailAddress": "Kirsten_Bogisich27@example.org", + "Website": "http://antoinette.name", + "PhoneNumber": "758-646-8786", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "inspiratielaan", + "HouseNumber": 3, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL44DNIB0736664289", + "BankId": "DNIB", + "Bic": "DNIBNL2G", + "CountryCode": "NL", + "AccountHolderName": "Jan Zandbergen", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "organisation-3.0-Update-JsonSchema": { + "type": "object", + "default": {}, + "title": "Organisation", + "description": "A JSON schema to represent an organization", + "required": [ + "RelationId" + ], + "properties": { + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Name": { + "type": "string", + "description": "The name of the organisation" + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the Organisation to use for a client application." + }, + "CocNumber": { + "type": "string", + "description": "The Chamber of Commerce (CoC) number of the organisation", + "pattern": "^[0-9]+$" + }, + "VatNumber": { + "type": "string", + "description": "The Value-Added Tax (VAT) number of the organisation", + "pattern": "^[A-Z0-9]+$" + }, + "Tradename": { + "type": "string", + "description": "The tradename of the organisation" + }, + "SbiCode": { + "type": "string", + "description": "The SBICode of the organisation" + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The email address of the organisation" + }, + "Website": { + "type": "string", + "format": "uri", + "description": "The website of the organisation" + }, + "PhoneNumber": { + "type": "string", + "description": "The phone number of the organisation" + }, + "Addresses": { + "type": "array", + "default": [], + "title": "The address Schema", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for an organisation", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "AccountHolderName" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "AccountHolderName": { + "type": "string", + "description": "Must contain the name of the account holder.", + "examples": [ + "Kees Zandbergen", + "Jan Zandbergen" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "Name": "Cremin Group", + "CocNumber": "38012622", + "VatNumber": "NL003276211B01", + "Tradename": "Quitzon, Schinner and Jakubowski", + "EmailAddress": "Kirsten_Bogisich27@example.org", + "Website": "http://antoinette.name", + "PhoneNumber": "758-646-8786", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "inspiratielaan", + "HouseNumber": 3, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL44DNIB0736664289", + "BankId": "DNIB", + "Bic": "DNIBNL2G", + "CountryCode": "NL", + "AccountHolderName": "Jan Zandbergen", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "organisation-4.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "default": {}, + "title": "Organisation", + "description": "A JSON schema to represent an organization", + "required": [ + "Name" + ], + "properties": { + "Name": { + "type": "string", + "description": "The name of the organisation", + "minLength": 1 + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the Organisation to use for a client application." + }, + "CocNumber": { + "type": "string", + "description": "The Chamber of Commerce (CoC) number of the organisation", + "pattern": "^[0-9]+$" + }, + "VatNumber": { + "type": "string", + "description": "The Value-Added Tax (VAT) number of the organisation", + "pattern": "^[A-Z0-9]+$" + }, + "Tradename": { + "type": "string", + "description": "The tradename of the organisation" + }, + "SbiCode": { + "type": "string", + "description": "The SBICode of the organisation" + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The email address of the organisation" + }, + "Website": { + "type": "string", + "description": "The website of the organisation" + }, + "PhoneNumber": { + "type": "string", + "description": "The phone number of the organisation" + }, + "Addresses": { + "type": "array", + "default": [], + "title": "The address Schema", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for an organisation", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "AccountHolderName" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "AccountHolderName": { + "type": "string", + "description": "Must contain the name of the account holder.", + "examples": [ + "Kees Zandbergen", + "Jan Zandbergen" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "Name": "Cremin Group", + "CocNumber": "38012622", + "VatNumber": "NL003276211B01", + "Tradename": "Quitzon, Schinner and Jakubowski", + "EmailAddress": "Kirsten_Bogisich27@example.org", + "Website": "http://antoinette.name", + "PhoneNumber": "758-646-8786", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "inspiratielaan", + "HouseNumber": 3, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL44DNIB0736664289", + "BankId": "DNIB", + "Bic": "DNIBNL2G", + "CountryCode": "NL", + "AccountHolderName": "Jan Zandbergen", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "organisation-4.0-Update-JsonSchema": { + "type": "object", + "default": {}, + "title": "Organisation", + "description": "A JSON schema to represent an organization", + "required": [ + "RelationId" + ], + "properties": { + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Name": { + "type": "string", + "description": "The name of the organisation" + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the Organisation to use for a client application." + }, + "CocNumber": { + "type": "string", + "description": "The Chamber of Commerce (CoC) number of the organisation", + "pattern": "^[0-9]+$" + }, + "VatNumber": { + "type": "string", + "description": "The Value-Added Tax (VAT) number of the organisation", + "pattern": "^[A-Z0-9]+$" + }, + "Tradename": { + "type": "string", + "description": "The tradename of the organisation" + }, + "SbiCode": { + "type": "string", + "description": "The SBICode of the organisation" + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The email address of the organisation" + }, + "Website": { + "type": "string", + "description": "The website of the organisation" + }, + "PhoneNumber": { + "type": "string", + "description": "The phone number of the organisation" + }, + "Addresses": { + "type": "array", + "default": [], + "title": "The address Schema", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for an organisation", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "AccountHolderName" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "AccountHolderName": { + "type": "string", + "description": "Must contain the name of the account holder.", + "examples": [ + "Kees Zandbergen", + "Jan Zandbergen" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "Name": "Cremin Group", + "CocNumber": "38012622", + "VatNumber": "NL003276211B01", + "Tradename": "Quitzon, Schinner and Jakubowski", + "EmailAddress": "Kirsten_Bogisich27@example.org", + "Website": "http://antoinette.name", + "PhoneNumber": "758-646-8786", + "Addresses": [ + { + "StreetName": "inspiratielaan", + "HouseNumber": 1, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "inspiratielaan", + "HouseNumber": 3, + "HouseNumberAddition": "b", + "Explanation": "Headquarters", + "PostalZone": "3833AV", + "State": "Utrecht", + "CityName": "Leusden", + "CountryCode": "NL", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL85CHAS0874238307", + "BankId": "CHAS", + "Bic": "CHASNL2X", + "CountryCode": "NL", + "AccountHolderName": "Kees Zandbergen", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL44DNIB0736664289", + "BankId": "DNIB", + "Bic": "DNIBNL2G", + "CountryCode": "NL", + "AccountHolderName": "Jan Zandbergen", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "payrolljournalentry-1.0-Create-JsonSchema": { + "type": "object", + "title": "PayrollJournalEntry", + "description": "Create a Payroll entry.", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Use GET ../Administration" + }, + "Description": { + "type": "string" + }, + "Date": { + "type": "string", + "format": "date", + "example": "2023-01-31" + }, + "PayrollJournalEntryLine": { + "type": "array", + "items": { + "type": "object", + "properties": { + "LedgerAccountNumber": { + "type": "string", + "description": "Number of the ledger account GET ../LegderAccount" + }, + "AmountDebit": { + "type": "number", + "minimum": 0, + "multipleOf": 0.01, + "example": 1403.65 + }, + "AmountCredit": { + "type": "number", + "minimum": 0, + "multipleOf": 0.01, + "example": 2650.33 + } + }, + "required": [ + "LedgerAccountNumber" + ] + } + } + }, + "required": [ + "AdministrationId", + "Description", + "Date", + "PayrollJournalEntryLine" + ] + }, + "person-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "title": "Person", + "type": "object", + "required": [ + "lastName" + ], + "properties": { + "firstName": { + "type": "string", + "description": "The first name of the person.", + "examples": [ + "John" + ] + }, + "lastName": { + "type": "string", + "description": "The last name of the person.", + "examples": [ + "Doe" + ] + }, + "Initials": { + "type": "string", + "description": "The initials of the person.", + "examples": [ + "J.D." + ] + }, + "Prefix": { + "type": "string", + "description": "The prefix of the lastname.", + "examples": [ + "van." + ] + }, + "emailaddress": { + "type": "string", + "format": "email", + "description": "The emailaddress of the person", + "examples": [ + "johndoe@gmail.com" + ] + }, + "phonenumber": { + "type": "string", + "description": "The phonenumber of the person", + "examples": [ + "1-555-123-4567" + ] + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the person to use for a client application.", + "examples": [ + "987654321" + ] + }, + "address": { + "type": "array", + "default": [], + "description": "Create 1 or more addresses for a person", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "preferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "preferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "preferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "bankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for a person", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "CountryCode" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "preferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "preferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "Firstname": "John", + "Initials": "J", + "Prefix": "Mr", + "lastName": "Doe", + "emailaddress": "johndoe@gmail.com", + "phonenumber": "1-555-123-4567", + "address": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "preferredSupplierAddress": true, + "preferredShippingAddress": false, + "preferredBillingAddress": true + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "preferredSupplierAddress": false, + "preferredShippingAddress": true, + "preferredBillingAddress": false + } + ], + "bankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "preferredOutgoingPayments": true, + "preferredIncommingPayments": true + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "preferredOutgoingPayments": false, + "preferredIncommingPayments": false + } + ] + } + ] + }, + "person-2.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "title": "Person", + "type": "object", + "required": [ + "LastName" + ], + "properties": { + "FirstName": { + "type": "string", + "description": "The first name of the person.", + "examples": [ + "John" + ] + }, + "LastName": { + "type": "string", + "description": "The last name of the person.", + "examples": [ + "Doe" + ] + }, + "Initials": { + "type": "string", + "description": "The initials of the person.", + "examples": [ + "J.D." + ] + }, + "Prefix": { + "type": "string", + "description": "The prefix of the lastname.", + "examples": [ + "van." + ] + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The emailaddress of the person", + "examples": [ + "johndoe@gmail.com" + ] + }, + "PhoneNumber": { + "type": "string", + "description": "The phonenumber of the person", + "examples": [ + "1-555-123-4567" + ] + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the person to use for a client application.", + "examples": [ + "987654321" + ] + }, + "Addresses": { + "type": "array", + "default": [], + "description": "Create 1 or more addresses for a person", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for a person", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "CountryCode" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "FirstName": "John", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Doe", + "EmailAddress": "johndoe@gmail.com", + "PhoneNumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "person-3.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "title": "Person", + "type": "object", + "required": [ + "LastName" + ], + "properties": { + "FirstName": { + "type": "string", + "description": "The first name of the person.", + "examples": [ + "John" + ] + }, + "LastName": { + "type": "string", + "description": "The last name of the person.", + "examples": [ + "Doe" + ] + }, + "Initials": { + "type": "string", + "description": "The initials of the person.", + "examples": [ + "J.D." + ] + }, + "Prefix": { + "type": "string", + "description": "The prefix of the lastname.", + "examples": [ + "van." + ] + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The emailaddress of the person", + "examples": [ + "johndoe@gmail.com" + ] + }, + "PhoneNumber": { + "type": "string", + "description": "The phonenumber of the person", + "examples": [ + "1-555-123-4567" + ] + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the person to use for a client application.", + "examples": [ + "987654321" + ] + }, + "Addresses": { + "type": "array", + "default": [], + "description": "Create 1 or more addresses for a person", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for a person", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "CountryCode", + "BankId" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "FirstName": "John", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Doe", + "EmailAddress": "johndoe@gmail.com", + "PhoneNumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "person-3.0-Update-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "title": "Person", + "type": "object", + "required": [ + "RelationId" + ], + "properties": { + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the person.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "FirstName": { + "type": "string", + "description": "The first name of the person.", + "examples": [ + "John" + ] + }, + "LastName": { + "type": "string", + "description": "The last name of the person.", + "examples": [ + "Doe" + ] + }, + "Initials": { + "type": "string", + "description": "The initials of the person.", + "examples": [ + "J.D." + ] + }, + "Prefix": { + "type": "string", + "description": "The prefix of the lastname.", + "examples": [ + "van." + ] + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The emailaddress of the person", + "examples": [ + "johndoe@gmail.com" + ] + }, + "PhoneNumber": { + "type": "string", + "description": "The phonenumber of the person", + "examples": [ + "1-555-123-4567" + ] + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the person to use for a client application.", + "examples": [ + "987654321" + ] + }, + "Addresses": { + "type": "array", + "default": [], + "description": "Create 1 or more addresses for a person", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for a person", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "CountryCode" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "FirstName": "John", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Doe", + "EmailAddress": "johndoe@gmail.com", + "PhoneNumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "person-4.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "title": "Person", + "type": "object", + "required": [ + "LastName" + ], + "properties": { + "FirstName": { + "type": "string", + "description": "The first name of the person.", + "examples": [ + "John" + ] + }, + "LastName": { + "type": "string", + "description": "The last name of the person.", + "examples": [ + "Doe" + ] + }, + "Initials": { + "type": "string", + "description": "The initials of the person.", + "examples": [ + "J.D." + ] + }, + "Prefix": { + "type": "string", + "description": "The prefix of the lastname.", + "examples": [ + "van." + ] + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The emailaddress of the person", + "examples": [ + "johndoe@gmail.com" + ] + }, + "PhoneNumber": { + "type": "string", + "description": "The phonenumber of the person", + "examples": [ + "1-555-123-4567" + ] + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the person to use for a client application.", + "examples": [ + "987654321" + ] + }, + "Addresses": { + "type": "array", + "default": [], + "description": "Create 1 or more addresses for a person", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for a person", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "CountryCode", + "BankId" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "FirstName": "John", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Doe", + "EmailAddress": "johndoe@gmail.com", + "PhoneNumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "person-4.0-Update-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "title": "Person", + "type": "object", + "required": [ + "RelationId" + ], + "properties": { + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the person.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "FirstName": { + "type": "string", + "description": "The first name of the person.", + "examples": [ + "John" + ] + }, + "LastName": { + "type": "string", + "description": "The last name of the person.", + "examples": [ + "Doe" + ] + }, + "Initials": { + "type": "string", + "description": "The initials of the person.", + "examples": [ + "J.D." + ] + }, + "Prefix": { + "type": "string", + "description": "The prefix of the lastname.", + "examples": [ + "van." + ] + }, + "EmailAddress": { + "type": "string", + "format": "email", + "description": "The emailaddress of the person", + "examples": [ + "johndoe@gmail.com" + ] + }, + "PhoneNumber": { + "type": "string", + "description": "The phonenumber of the person", + "examples": [ + "1-555-123-4567" + ] + }, + "ExternalId": { + "type": "string", + "description": "ExternalId of the person to use for a client application.", + "examples": [ + "987654321" + ] + }, + "Addresses": { + "type": "array", + "default": [], + "description": "Create 1 or more addresses for a person", + "items": { + "type": "object", + "title": "A Schema", + "required": [ + "StreetName", + "CityName", + "CountryCode" + ], + "properties": { + "StreetName": { + "type": "string", + "examples": [ + "inspiratielaan" + ] + }, + "HouseNumber": { + "type": "integer", + "default": 0, + "examples": [ + 1 + ] + }, + "HouseNumberAddition": { + "type": "string", + "default": "", + "examples": [ + "a", + "HS-01" + ] + }, + "Explanation": { + "type": "string", + "default": "", + "examples": [ + "Headquarters" + ] + }, + "PostalZone": { + "type": "string", + "default": "", + "examples": [ + "3833AV" + ] + }, + "State": { + "type": "string", + "default": "", + "description": "Could contain the state or province.", + "examples": [ + "Utrecht", + "Florida" + ] + }, + "CityName": { + "type": "string", + "default": "", + "description": "Dutch CityNames are verfied based on a list of CityNames.", + "examples": [ + "Leusden" + ] + }, + "CountryCode": { + "type": "string", + "default": "", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL", + "De" + ] + }, + "PreferredSupplierAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredShippingAddress": { + "type": "boolean", + "default": true, + "examples": [ + false, + true + ] + }, + "PreferredBillingAddress": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + }, + "BankAccounts": { + "type": "array", + "default": [], + "description": "Create 1 or more bankAccounts for a person", + "items": { + "type": "object", + "required": [ + "AccountNumber", + "CountryCode" + ], + "properties": { + "AccountNumber": { + "type": "string", + "description": "Fill the IBAN code or AccountNumber", + "examples": [ + "NL85CHAS0874238307", + "NL44DNIB0736664289" + ] + }, + "BankId": { + "type": "string", + "description": "Fill the bankid. Also known as Bankcode of bank identifier.", + "examples": [ + "CHAS", + "DNIB" + ] + }, + "Bic": { + "type": "string", + "description": "Fill the bic code.", + "examples": [ + "CHASNL2X", + "DNIBNL2G" + ] + }, + "CountryCode": { + "type": "string", + "description": "ISO alpha 2 country code.", + "examples": [ + "NL" + ] + }, + "PreferredOutgoingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + }, + "PreferredIncommingPayments": { + "type": "boolean", + "default": true, + "examples": [ + true, + false + ] + } + } + } + } + }, + "examples": [ + { + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "FirstName": "John", + "Initials": "J", + "Prefix": "Mr", + "LastName": "Doe", + "EmailAddress": "johndoe@gmail.com", + "PhoneNumber": "1-555-123-4567", + "Addresses": [ + { + "StreetName": "Main Street", + "HouseNumber": 1234, + "HouseNumberAddition": "", + "Explanation": "", + "PostalZone": "90210", + "State": "California", + "CityName": "Beverly Hills", + "CountryCode": "US", + "PreferredSupplierAddress": true, + "PreferredShippingAddress": false, + "PreferredBillingAddress": true + }, + { + "StreetName": "Park Avenue", + "HouseNumber": 567, + "HouseNumberAddition": "Apt 3B", + "Explanation": "", + "PostalZone": "10022", + "State": "New York", + "CityName": "New York", + "CountryCode": "US", + "PreferredSupplierAddress": false, + "PreferredShippingAddress": true, + "PreferredBillingAddress": false + } + ], + "BankAccounts": [ + { + "AccountNumber": "NL93LOYD0175300941", + "BankId": "LOYD", + "Bic": "LOYDNL2A", + "CountryCode": "NL", + "PreferredOutgoingPayments": true, + "PreferredIncommingPayments": true + }, + { + "AccountNumber": "NL67VOWA0136875262", + "BankId": "VOWA", + "Bic": "VOWANL21", + "CountryCode": "NL", + "PreferredOutgoingPayments": false, + "PreferredIncommingPayments": false + } + ] + } + ] + }, + "phonenumber-1.0-Create-JsonSchema": { + "type": "object", + "x-stoplight": { + "id": "vfjbed9j7fve7" + }, + "x-examples": { + "Example 1": { + "OrganisationId": "8f03496b-1f42-5ac3-a770-91f9da4e6e12", + "EmailAddress": "j.zandbergen@afasSbPlus.nl" + } + }, + "title": "PhoneNumber", + "examples": [ + { + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "PhoneNumber": "112346546546" + }, + { + "OrganisationId": "32abaca0-b4c6-4dce-af80-9de42a830e62", + "PhoneNumber": "65465454" + }, + { + "RelationType": "person", + "RelationId": "963578e8-7831-4aa4-83c4-e7c3262f0572", + "PhoneNumber": "6546545" + } + ], + "description": "Create a PhoneNumber for an organisation or person.", + "properties": { + "RelationType": { + "type": "string", + "description": "Must contain one of the enums. Will be required in a future version.", + "enum": [ + "organisation", + "person" + ], + "x-stoplight": { + "id": "uqd7z1nx8fqye" + } + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation or person. Will be required in a future version.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ], + "x-stoplight": { + "id": "iwy8izvm2ahpb" + } + }, + "OrganisationId": { + "type": "string", + "format": "uuid", + "example": "32abaca0-b4c6-4dce-af80-9de42a830e62", + "x-stoplight": { + "id": "n7l99rqkoa197" + } + }, + "PhoneNumber": { + "type": "string", + "description": " All characters of the phonenumber that are not a diget will be removed.", + "x-stoplight": { + "id": "8gusb7enrefaq" + } + } + }, + "required": [ + "PhoneNumber" + ] + }, + "purchaseinvoice-1.0-Create-JsonSchema": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string" + }, + "SupplierInvoiceId": { + "type": "string" + }, + "OrderReference": { + "type": "string" + }, + "SupplierOrganisationId": { + "type": "string" + }, + "IssueDate": { + "type": "string" + }, + "DueDate": { + "type": "string" + }, + "PlannedPaymentDate": { + "type": "string" + }, + "PaymentMethodId": { + "type": "string" + }, + "Attachments": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AttachmentId": { + "type": "string" + } + } + } + }, + "InvoiceLine": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Description": { + "type": "string" + }, + "LedgerAccountNumberId": { + "type": "string" + }, + "LineExtensionAmount": { + "type": "string" + }, + "TaxAmount": { + "type": "string" + }, + "VatTypeId": { + "type": "string" + }, + "VatRateId": { + "type": "string" + }, + "PerformanceDateTypeId": { + "type": "string" + }, + "OtherPerformanceDate": { + "type": "string" + }, + "PerformanceStartDate": { + "type": "string" + }, + "PerformanceEndDate": { + "type": "string" + }, + "LineNumber": { + "type": "integer" + } + } + } + } + }, + "x-examples": { + "Example 1": { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "SupplierInvoiceId": "Pur002", + "OrderReference": "stringstringstring", + "SupplierOrganisationId": "7b8e279b-b551-556e-a00a-a815392d0d38", + "IssueDate": "2022-10-10", + "DueDate": "2022-10-31", + "PlannedPaymentDate": "2022-10-15", + "PaymentMethodId": "afa50000-0000-0102-b0d1-f91a25e6c442", + "Attachments": [ + { + "AttachmentId": "46db28a3-ad46-43aa-a8da-226ead20010a" + } + ], + "InvoiceLine": [ + { + "Description": "test inkoop", + "LedgerAccountNumberId": "6099", + "LineExtensionAmount": "100", + "TaxAmount": "21", + "VatTypeId": "afa50000-0000-0b71-8790-807f97e85c54", + "VatRateId": "afa50000-0000-0465-aa85-e1a761ca3a33", + "PerformanceDateTypeId": "", + "OtherPerformanceDate": "", + "PerformanceStartDate": "", + "PerformanceEndDate": "", + "LineNumber": 0 + } + ] + } + }, + "title": "PurchaseInvoice", + "description": "", + "examples": [ + { + "AdministrationId": "string", + "SupplierInvoiceId": "string", + "OrderReference": "string", + "SupplierOrganisationId": "string", + "IssueDate": "string", + "DueDate": "string", + "PlannedPaymentDate": "string", + "PaymentMethodId": "string", + "Attachments": [ + { + "AttachmentId": "string" + } + ], + "InvoiceLine": [ + { + "Description": "string", + "LedgerAccountNumberId": "string", + "LineExtensionAmount": "string", + "TaxAmount": "string", + "VatTypeId": "string", + "VatRateId": "string", + "PerformanceDateTypeId": "string", + "OtherPerformanceDate": "string", + "PerformanceStartDate": "string", + "PerformanceEndDate": "string", + "LineNumber": 0 + } + ] + } + ] + }, + "purchasejournalentry-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a purchase journal entry.", + "required": [ + "AdministrationId", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceDate", + "InvoiceLine", + "DueDate" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "PUR00001" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "DueDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-31" + ] + }, + "PlannedPaymentDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-15" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "items": { + "type": "object", + "required": [ + "LedgerAccountId", + "AmountExcludingVat", + "VatType" + ], + "properties": { + "Description": { + "type": "string", + "examples": [ + "Dell Custom keyboard" + ] + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "", + "null" + ] + } + } + } + } + } + }, + "purchasejournalentry-1.1-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a purchase journal entry.", + "required": [ + "AdministrationId", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceDate", + "InvoiceLine", + "DueDate" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "PUR00001" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "DueDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-31" + ] + }, + "PlannedPaymentDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-15" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to supplier default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "items": { + "type": "object", + "required": [ + "LedgerAccountId", + "AmountExcludingVat", + "VatType" + ], + "properties": { + "Description": { + "type": "string", + "examples": [ + "Dell Custom keyboard" + ] + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "", + "null" + ] + } + } + } + } + } + }, + "purchasejournalentry-2.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a purchase journal entry", + "required": [ + "AdministrationId", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceDate", + "InvoiceLine", + "DueDate" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "PUR00001" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "DueDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-31" + ] + }, + "PlannedPaymentDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-15" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to supplier default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "items": { + "type": "object", + "required": [ + "LedgerAccountId", + "AmountExcludingVat", + "VatType" + ], + "properties": { + "Description": { + "type": "string", + "maxLength": 255, + "examples": [ + "Dell Custom keyboard" + ] + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "", + "null" + ] + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + } + } + } + } + } + }, + "purchasejournalentry-3.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a purchase journal entry", + "required": [ + "AdministrationId", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceDate", + "InvoiceLine", + "DueDate" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "PUR00001" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "DueDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-31" + ] + }, + "PlannedPaymentDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-15" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to supplier default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "items": { + "type": "object", + "required": [ + "LedgerAccountId", + "AmountExcludingVat", + "VatType" + ], + "allOf": [ + { + "not": { + "required": [ + "LocationId", + "DepartmentId" + ] + } + } + ], + "properties": { + "Description": { + "type": "string", + "maxLength": 255, + "examples": [ + "Dell Custom keyboard" + ] + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "", + "null" + ] + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "ProjectId": { + "type": "string", + "format": "uuid", + "description": "Optional project guid. Can be retrieved through the projects endpoint." + }, + "LocationId": { + "type": "string", + "format": "uuid", + "description": "Optional location (vestiging) guid. Can be retrieved through the locations endpoint." + }, + "DepartmentId": { + "type": "string", + "format": "uuid", + "description": "Optional department (afdeling) guid. Can be retrieved through the departments endpoint." + }, + "Quantity1": { + "type": "number", + "multipleOf": 0.01, + "description": "First quantity. Required when the LedgerAccount keeps one or two quantities (MethodKeepingQuantities).", + "examples": [ + 10 + ] + }, + "Unit1": { + "type": "string", + "description": "Unit of the first quantity. Required when the LedgerAccount keeps one or two quantities (MethodKeepingQuantities).", + "enum": [ + "stuks", + "kg", + "hectare", + "", + "null" + ] + }, + "Quantity2": { + "type": "number", + "multipleOf": 0.01, + "description": "Second quantity. Required when the LedgerAccount keeps two quantities (MethodKeepingQuantities).", + "examples": [ + 5 + ] + }, + "Unit2": { + "type": "string", + "description": "Unit of the second quantity. Required when the LedgerAccount keeps two quantities (MethodKeepingQuantities).", + "enum": [ + "stuks", + "kg", + "hectare", + "", + "null" + ] + } + } + } + } + } + }, + "salesinvoice-1.0-Create-JsonSchema": { + "type": "object", + "description": "Create a sales invoice.", + "properties": { + "AdministrationId": { + "type": "string", + "description": "Must contain the Administration guid of the target Administration", + "format": "uuid" + }, + "IssueDate": { + "type": "string", + "format": "date" + }, + "Reference": { + "type": "string" + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "format": "uuid" + }, + "AddressId": { + "type": "string", + "format": "uuid" + }, + "SentInvoiceEmail": { + "type": "boolean", + "description": "Sent the invoice as an email to the relation.", + "default": true + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "AttachmentId" + ] + } + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "properties": { + "ItemId": { + "type": "string", + "description": "Must contain Product guid. This can be retrieved through the products endpoint.", + "format": "uuid" + }, + "Price": { + "type": "number", + "description": "Price per product excluding VAT.", + "minimum": 0, + "multipleOf": 0.01 + }, + "Quantity": { + "type": "integer", + "description": "Quantity of products of this type" + }, + "ExtraDescription": { + "type": "string", + "description": "Optional field for extra information about the invoiceline" + } + }, + "required": [ + "ItemId", + "Price", + "Quantity" + ] + } + } + }, + "required": [ + "AdministrationId", + "IssueDate", + "RelationType", + "RelationId", + "InvoiceLine" + ] + }, + "salesinvoice-1.1-Create-JsonSchema": { + "type": "object", + "description": "Create a sales invoice.", + "properties": { + "AdministrationId": { + "type": "string", + "description": "Must contain the Administration guid of the target Administration", + "format": "uuid" + }, + "IssueDate": { + "type": "string", + "format": "date" + }, + "Reference": { + "type": "string" + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "format": "uuid" + }, + "AddressId": { + "type": "string", + "format": "uuid" + }, + "SentInvoiceEmail": { + "type": "boolean", + "description": "Sent the invoice as an email to the relation.", + "default": true + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "AttachmentId" + ] + } + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "properties": { + "ItemId": { + "type": "string", + "description": "Must contain Product guid. This can be retrieved through the products endpoint.", + "format": "uuid" + }, + "Price": { + "type": "number", + "multipleOf": 0.01, + "description": "Price per product excluding VAT." + }, + "Quantity": { + "type": "number", + "description": "Quantity of products of this type", + "multipleOf": 0.01 + }, + "ExtraDescription": { + "type": "string", + "description": "Optional field for extra information about the invoiceline" + } + }, + "required": [ + "ItemId", + "Quantity" + ] + } + } + }, + "required": [ + "AdministrationId", + "IssueDate", + "RelationType", + "RelationId", + "InvoiceLine" + ] + }, + "salesinvoice-2.0-Create-JsonSchema": { + "type": "object", + "description": "Create a sales invoice.", + "properties": { + "AdministrationId": { + "type": "string", + "description": "Must contain the Administration guid of the target Administration", + "format": "uuid" + }, + "IssueDate": { + "type": "string", + "format": "date" + }, + "Reference": { + "type": "string" + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "format": "uuid" + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "AddressId": { + "type": "string", + "format": "uuid" + }, + "SentInvoiceEmail": { + "type": "boolean", + "description": "Sent the invoice as an email to the relation." + }, + "ToBeInvoiced": { + "type": "boolean", + "description": "Make a invoice that is not yet completed or sent to the relation." + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "AttachmentId" + ] + } + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "properties": { + "ItemId": { + "type": "string", + "description": "Must contain Product guid. This can be retrieved through the products endpoint.", + "format": "uuid" + }, + "Price": { + "type": "number", + "description": "Price per product excluding VAT. Falls back to product default when empty." + }, + "Quantity": { + "type": "number", + "description": "Quantity of products of this type", + "multipleOf": 0.01 + }, + "VatType": { + "type": "string", + "description": "Vat tarive. Falls back to product default when empty.", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "ExtraDescription": { + "type": "string", + "description": "Optional field for extra information about the invoiceline" + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + } + }, + "required": [ + "ItemId", + "Quantity" + ] + } + } + }, + "required": [ + "AdministrationId", + "IssueDate", + "RelationType", + "RelationId", + "InvoiceLine", + "SentInvoiceEmail" + ] + }, + "salesinvoice-2.0-Delete-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Delete a salesinvoice", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of salesinvoice.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + } + ] + }, + "salesinvoice-3.0-Create-JsonSchema": { + "type": "object", + "description": "Create a sales invoice.", + "properties": { + "AdministrationId": { + "type": "string", + "description": "Must contain the Administration guid of the target Administration", + "format": "uuid" + }, + "IssueDate": { + "type": "string", + "format": "date" + }, + "Reference": { + "type": "string" + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "format": "uuid" + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "AddressId": { + "type": "string", + "format": "uuid" + }, + "SentInvoiceEmail": { + "type": "boolean", + "description": "Sent the invoice as an email to the relation." + }, + "ToBeInvoiced": { + "type": "boolean", + "description": "Make a invoice that is not yet completed or sent to the relation." + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "AttachmentId" + ] + } + }, + "ProjectId": { + "type": "string", + "format": "uuid", + "description": "Optional project guid. Can be retrieved through the projects endpoint." + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "allOf": [ + { + "not": { + "required": [ + "LocationId", + "DepartmentId" + ] + } + } + ], + "properties": { + "ItemId": { + "type": "string", + "description": "Must contain Product guid. This can be retrieved through the products endpoint.", + "format": "uuid" + }, + "Price": { + "type": "number", + "description": "Price per product excluding VAT. Falls back to product default when empty." + }, + "Quantity": { + "type": "number", + "description": "Quantity of products of this type", + "multipleOf": 0.01 + }, + "VatType": { + "type": "string", + "description": "Vat tarive. Falls back to product default when empty.", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "Description": { + "type": "string", + "description": "Optional alternative product description for the invoiceline. Falls back to the product description when empty." + }, + "ExtraDescription": { + "type": "string", + "description": "Optional field for extra information about the invoiceline" + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "LocationId": { + "type": "string", + "format": "uuid", + "description": "Optional location (vestiging) guid. Can be retrieved through the locations endpoint." + }, + "DepartmentId": { + "type": "string", + "format": "uuid", + "description": "Optional department (afdeling) guid. Can be retrieved through the departments endpoint." + } + }, + "required": [ + "ItemId", + "Quantity" + ] + } + } + }, + "required": [ + "AdministrationId", + "IssueDate", + "RelationType", + "RelationId", + "InvoiceLine", + "SentInvoiceEmail" + ] + }, + "salesjournalentry-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a sales journal entry.", + "required": [ + "AdministrationId", + "InvoiceDate", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceLine" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "VK004917" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntry.", + "examples": [ + "Example Invoice 001" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "PaymentConditionId": { + "type": "string", + "format": "uuid", + "description": "Payment condition guids can be requested with the PaymentCondition Get endpoint. Falls back to default when empty.", + "examples": [ + "986d98be-e74d-58f2-95f7-e641769ac64f" + ] + }, + "Attachments": { + "type": "array", + "default": [], + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "default": {}, + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "default": {}, + "required": [ + "LedgerAccountId", + "AmountExcludingVat", + "VatType" + ], + "allOf": [ + { + "if": { + "properties": { + "VatType": { + "enum": [ + "high", + "low" + ] + } + }, + "required": [ + "VatType" + ] + }, + "then": { + "required": [ + "AmountVat" + ] + } + } + ], + "properties": { + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntryLine.", + "examples": [ + "Sales with high vat type" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "IntraCommunityType": { + "type": "string", + "description": "Only include if sale is B2B and inside EU (ICP purposes). Falls back to setting (default 'supplies') when empty.", + "enum": [ + "supplies", + "services", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "", + "null" + ] + } + } + }, + "examples": [ + [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "InvoiceDate": "2022-10-12", + "InvoiceNumber": "VK004917", + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "Reference": "ExternalAppId001", + "Description": "Example Invoice 001", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "986d98be-e74d-58f2-95f7-e641769ac64f", + "Attachments": [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ], + "InvoiceLine": [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + } + ] + }, + "salesjournalentry-2.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a sales journal entry.", + "required": [ + "AdministrationId", + "InvoiceDate", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceLine" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "VK004917" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntry.", + "examples": [ + "Example Invoice 001" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "PaymentConditionId": { + "type": "string", + "format": "uuid", + "description": "Payment condition guids can be requested with the PaymentCondition Get endpoint. Falls back to default when empty.", + "examples": [ + "986d98be-e74d-58f2-95f7-e641769ac64f" + ] + }, + "PaymentReference": { + "type": "string", + "description": "Can contain the PaymentReference", + "examples": [ + "tr_FLtHQ7oSDG" + ] + }, + "Attachments": { + "type": "array", + "default": [], + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "default": {}, + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "default": {}, + "required": [ + "LedgerAccountId", + "AmountExcludingVat", + "VatType" + ], + "allOf": [ + { + "if": { + "properties": { + "VatType": { + "enum": [ + "high", + "low" + ] + } + }, + "required": [ + "VatType" + ] + }, + "then": { + "required": [ + "AmountVat" + ] + } + } + ], + "properties": { + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntryLine.", + "examples": [ + "Sales with high vat type" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "IntraCommunityType": { + "type": "string", + "description": "Only include if sale is B2B and inside EU (ICP purposes). Falls back to default 'supplies' when empty.", + "enum": [ + "supplies", + "services", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "", + "null" + ] + } + } + }, + "examples": [ + [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "InvoiceDate": "2022-10-12", + "InvoiceNumber": "VK004917", + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "Reference": "ExternalAppId001", + "Description": "Example Invoice 001", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "986d98be-e74d-58f2-95f7-e641769ac64f", + "Attachments": [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ], + "InvoiceLine": [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + } + ] + }, + "salesjournalentry-2.0-Delete-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Delete a salesjournalentry", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of salesjournal.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + } + ] + }, + "salesjournalentry-2.0-Update-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Update a sales journal entry.", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the salesjournalentry.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "PaymentReference": { + "type": "string", + "description": "Can contain the PaymentReference", + "examples": [ + "tr_FLtHQ7oSDG" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "PaymentReference": "tr_FLtHQ7oSDG" + } + ] + }, + "salesjournalentry-2.1-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a sales journal entry.", + "required": [ + "AdministrationId", + "InvoiceDate", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceLine" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "VK004917" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntry.", + "maxLength": 255, + "examples": [ + "Example Invoice 001" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "PaymentConditionId": { + "type": "string", + "format": "uuid", + "description": "Payment condition guids can be requested with the PaymentCondition Get endpoint. Falls back to default when empty.", + "examples": [ + "986d98be-e74d-58f2-95f7-e641769ac64f" + ] + }, + "PaymentReference": { + "type": "string", + "description": "Can contain the PaymentReference", + "examples": [ + "tr_FLtHQ7oSDG" + ] + }, + "Attachments": { + "type": "array", + "default": [], + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "default": {}, + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "default": {}, + "required": [ + "LedgerAccountId", + "AmountExcludingVat" + ], + "allOf": [ + { + "if": { + "properties": { + "VatType": { + "enum": [ + "high", + "low" + ] + } + }, + "required": [ + "VatType" + ] + }, + "then": { + "required": [ + "AmountVat" + ] + } + }, + { + "if": { + "not": { + "properties": { + "VatCalculation": { + "const": "novat" + } + } + } + }, + "then": { + "required": [ + "VatType" + ] + } + } + ], + "properties": { + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntryLine.", + "maxLength": 255, + "examples": [ + "Sales with high vat type" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "IntraCommunityType": { + "type": "string", + "description": "Only include if sale is B2B and inside EU (ICP purposes). Falls back to default 'supplies' when empty.", + "enum": [ + "supplies", + "services", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "novat", + "", + "null" + ] + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + } + } + }, + "examples": [ + [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "InvoiceDate": "2022-10-12", + "InvoiceNumber": "VK004917", + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "Reference": "ExternalAppId001", + "Description": "Example Invoice 001", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "986d98be-e74d-58f2-95f7-e641769ac64f", + "Attachments": [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ], + "InvoiceLine": [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + } + ] + }, + "salesjournalentry-2.1-Delete-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Delete a salesjournalentry", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of salesjournal.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + } + ] + }, + "salesjournalentry-2.1-Update-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Update a sales journal entry.", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the salesjournalentry.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "PaymentReference": { + "type": "string", + "description": "Can contain the PaymentReference", + "examples": [ + "tr_FLtHQ7oSDG" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "PaymentReference": "tr_FLtHQ7oSDG" + } + ] + }, + "salesjournalentry-3.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a sales journal entry.", + "required": [ + "AdministrationId", + "InvoiceDate", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceLine" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "VK004917" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntry.", + "maxLength": 255, + "examples": [ + "Example Invoice 001" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "PaymentConditionId": { + "type": "string", + "format": "uuid", + "description": "Payment condition guids can be requested with the PaymentCondition Get endpoint. Falls back to default when empty.", + "examples": [ + "986d98be-e74d-58f2-95f7-e641769ac64f" + ] + }, + "PaymentReference": { + "type": "string", + "description": "Can contain the PaymentReference", + "examples": [ + "tr_FLtHQ7oSDG" + ] + }, + "Attachments": { + "type": "array", + "default": [], + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "default": {}, + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "ProjectId": { + "type": "string", + "format": "uuid", + "description": "Optional project guid. Can be retrieved through the projects endpoint." + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "default": {}, + "required": [ + "LedgerAccountId", + "AmountExcludingVat" + ], + "allOf": [ + { + "if": { + "properties": { + "VatType": { + "enum": [ + "high", + "low" + ] + } + }, + "required": [ + "VatType" + ] + }, + "then": { + "required": [ + "AmountVat" + ] + } + }, + { + "if": { + "not": { + "properties": { + "VatCalculation": { + "const": "novat" + } + } + } + }, + "then": { + "required": [ + "VatType" + ] + } + }, + { + "not": { + "required": [ + "LocationId", + "DepartmentId" + ] + } + } + ], + "properties": { + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntryLine.", + "maxLength": 255, + "examples": [ + "Sales with high vat type" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "IntraCommunityType": { + "type": "string", + "description": "Only include if sale is B2B and inside EU (ICP purposes). Falls back to default 'supplies' when empty.", + "enum": [ + "supplies", + "services", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "novat", + "", + "null" + ] + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "LocationId": { + "type": "string", + "format": "uuid", + "description": "Optional location (vestiging) guid. Can be retrieved through the locations endpoint." + }, + "DepartmentId": { + "type": "string", + "format": "uuid", + "description": "Optional department (afdeling) guid. Can be retrieved through the departments endpoint." + }, + "Quantity1": { + "type": "number", + "multipleOf": 0.01, + "description": "First quantity. Required when the LedgerAccount keeps one or two quantities (MethodKeepingQuantities).", + "examples": [ + 10 + ] + }, + "Unit1": { + "type": "string", + "description": "Unit of the first quantity. Required when the LedgerAccount keeps one or two quantities (MethodKeepingQuantities).", + "enum": [ + "stuks", + "kg", + "hectare", + "", + "null" + ] + }, + "Quantity2": { + "type": "number", + "multipleOf": 0.01, + "description": "Second quantity. Required when the LedgerAccount keeps two quantities (MethodKeepingQuantities).", + "examples": [ + 5 + ] + }, + "Unit2": { + "type": "string", + "description": "Unit of the second quantity. Required when the LedgerAccount keeps two quantities (MethodKeepingQuantities).", + "enum": [ + "stuks", + "kg", + "hectare", + "", + "null" + ] + } + } + }, + "examples": [ + [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "InvoiceDate": "2022-10-12", + "InvoiceNumber": "VK004917", + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "Reference": "ExternalAppId001", + "Description": "Example Invoice 001", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "986d98be-e74d-58f2-95f7-e641769ac64f", + "Attachments": [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ], + "InvoiceLine": [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + } + ] + }, + "salesjournalentrywof-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Write off a sales journal entry.", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the salesjournalentry.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Description": { + "type": "string", + "description": "Can contain the description of the write off. Default is 'Write off'.", + "maxLength": 255, + "examples": [ + "Write off" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "Description": "Write off" + } + ] + }, + "supplier-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "default": {}, + "description": "Create a supplier.", + "required": [ + "AdministrationId" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "EmailAddress": { + "type": "string", + "format": "email", + "examples": [ + "leverancier@afas.nl" + ] + }, + "PhoneNumber": { + "type": "string", + "examples": [ + "+31655887744" + ] + }, + "BankAccountNumber": { + "type": "string", + "description": "Must be in IBAN format. Creates a bankaccount record for the supplier", + "examples": [ + "NL03BOFA0011792833" + ] + }, + "BIC": { + "type": "string", + "description": "If the Bic code is not available the BIC code will be looked up. If its not found an error will be raised", + "examples": [ + "BOFANLNX" + ] + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Set default value for supplier.", + "examples": [ + "c0441b65-1ca8-534c-8e45-acab8d30b325" + ] + }, + "PaymentMethod": { + "type": "string", + "default": "banktransfer", + "description": "Set default value for supplier. Falls back to supplier default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "PaymentConditionId": { + "type": "string", + "format": "uuid", + "description": "Set default value for supplier. Payment condition guids can be requested with the PaymentCondition Get endpoint. Falls back to default when empty.", + "examples": [ + "986d98be-e74d-58f2-95f7-e641769ac64f" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Set de value for supplier.", + "enum": [ + "charged", + "novat", + "reversecharged", + "exempt", + "", + "null" + ] + }, + "Person": { + "type": "object", + "default": {}, + "title": "The Person Schema", + "required": [ + "Lastname" + ], + "properties": { + "Firstname": { + "type": "string", + "title": "The Firstname Schema", + "examples": [ + "Jan" + ] + }, + "Initials": { + "type": "string", + "title": "The Initials Schema", + "examples": [ + "JH" + ] + }, + "Prefix": { + "type": "string", + "title": "The Prefix Schema", + "examples": [ + "van" + ] + }, + "Lastname": { + "type": "string", + "title": "The Lastname Schema", + "examples": [ + "Pinksteren" + ] + } + }, + "examples": [ + { + "Firstname": "Jan", + "Initials": "JH", + "Prefix": "van", + "Lastname": "Pinksteren" + } + ] + }, + "Organisation": { + "type": "object", + "default": {}, + "title": "The Organisation Schema", + "required": [ + "Name" + ], + "properties": { + "Name": { + "type": "string", + "default": "", + "title": "The Name Schema", + "examples": [ + "Jansen IJzerwaren" + ] + }, + "CompanyIdCoc": { + "type": "string", + "description": "Contains the CompanyCode also known in dutch as KVK nummer", + "examples": [ + "04019167" + ] + }, + "CompanyIdVat": { + "type": "string", + "description": "Contains the VAT code of the supplier", + "examples": [ + "NL818785639B01" + ] + }, + "TradeName": { + "type": "string", + "description": "The formal trade name of the organisation. If empty will be filled with the field Name", + "examples": [ + "Jansen Holding B.V." + ] + } + }, + "examples": [ + { + "Name": "Jansen Haarden", + "CompanyIdCoc": "80446353", + "CompanyIdVat": "NL861674881B01", + "TradeName": "Jansen Holding B.V." + } + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "EmailAddress": "leverancier@afas.nl", + "PhoneNumber": "0645789865", + "BankAccountNumber": "NL29TRIO0110845005", + "Bic": "TRIONL2U", + "VatType": "high", + "PaymentMethod": "banktransfer", + "IncludeInBankFile": "true", + "LedgerAccountId": "7f9a01a1-0352-5726-9111-03214874de74", + "Person": { + "Firstname": "Jan", + "Initials": "JH", + "Prefix": "van", + "Lastname": "Pinksteren" + }, + "Organisation": { + "Name": "Jansen IJzerwaren", + "CompanyIdCoc": "80446353", + "CompanyIdVat": "NL861674881B01", + "TradeName": "Jansen IJzerwaren B.V." + } + } + ] + } + }, + "responses": { + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "type": "object", + "x-examples": { + "Example 1": { + "result": "PartiallySucceeded", + "traceId": "b06e41e4-4ff1-4b40-9331-5f2145b2a9a2", + "instances": [ + { + "Code": "Organisatie", + "Id": "1bfbc287-5fb4-59b5-9782-376fa601e4ad", + "Relatienummer": "000025" + }, + { + "Code": "Instelling", + "Id": "32a8c5d4-2227-512f-9f45-495192933809" + }, + { + "Code": "Leverancier", + "Id": "0afea90d-4ecb-5791-8e4b-787c70656f75" + }, + { + "Code": "Begunstigde", + "Id": "32a8c5d4-2227-512f-9f45-495192933809" + } + ], + "errors": [ + { + "Instelling": "'identificatie' bevat een verwijzing naar een ongeldige waarde." + } + ] + } + }, + "properties": { + "result": { + "type": "string" + }, + "traceId": { + "type": "string" + }, + "instances": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Code": { + "type": "string" + }, + "Id": { + "type": "string" + } + } + } + }, + "errors": { + "type": "array", + "items": { + "type": "object" + } + } + } + }, + "examples": { + "PartiallySucceeded": { + "value": { + "result": "PartiallySucceeded", + "traceId": "b06e41e4-4ff1-4b40-9331-5f2145b2a9a2", + "instances": [ + { + "Code": "Organisatie", + "Id": "1bfbc287-5fb4-59b5-9782-376fa601e4ad", + "Relatienummer": "000025" + }, + { + "Code": "Instelling", + "Id": "32a8c5d4-2227-512f-9f45-495192933809" + }, + { + "Code": "Leverancier", + "Id": "0afea90d-4ecb-5791-8e4b-787c70656f75" + }, + { + "Code": "Begunstigde", + "Id": "32a8c5d4-2227-512f-9f45-495192933809" + } + ], + "errors": [ + { + "Instelling": "'identificatie' bevat een verwijzing naar een ongeldige waarde." + } + ] + } + }, + "Bad Request - Invalid JSON": { + "value": { + "StatusCode": 400, + "Message": "Invalid JSON request String", + "ExceptionCode": "DS3100", + "TraceId": "802033b876ed48bbb83a01a717ccb960", + "AdditionalInfo": { + "ExceptionType": "DeserializationException", + "DefinitionName": "salesinvoice.UpdateConnectorHandler", + "PropertyNames": "" + } + } + }, + "Bad request - Invalid UUID": { + "value": { + "StatusCode": 400, + "Message": "Invalid JSON request String '' does not validate against format 'uuid'. Path 'RelationId', line 3, position 18.", + "ExceptionCode": "DS3100", + "TraceId": "57887d8213dd4327ae1429e860250b24", + "AdditionalInfo": { + "ExceptionType": "DeserializationException", + "DefinitionName": "address.UpdateConnectorHandler", + "PropertyNames": "" + } + } + }, + "Ongeldig gebruikersfilter": { + "value": { + "StatusCode": 400, + "Message": "Ongeldig gebruikersfilter.", + "TraceId": "3b022f499ab040dea4ef992d90901963", + "AdditionalInfo": { + "ExceptionType": "AntaUserException" + } + } + } + } + } + }, + "headers": { + "Server": { + "schema": { + "type": "string", + "example": "nginx" + } + }, + "Date": { + "schema": { + "type": "string", + "example": "Wed, 19 Oct 2022 12:05:20 GMT" + } + }, + "Content-Type": { + "schema": { + "type": "string", + "example": "application/json" + } + }, + "Transfer-Encoding": { + "schema": { + "type": "string", + "example": "chunked" + } + }, + "Connection": { + "schema": { + "type": "string", + "example": "keep-alive" + } + }, + "Content-Version": { + "schema": { + "type": "number", + "example": 1 + } + }, + "X-Content-Type-Options": { + "schema": { + "type": "string", + "example": "nosniff" + } + }, + "X-XSS-Protection": { + "schema": { + "type": "string", + "example": "1; mode=block" + } + }, + "X-Frame-Options": { + "schema": { + "type": "string", + "example": "SAMEORIGIN" + } + }, + "Strict-Transport-Security": { + "schema": { + "type": "string", + "example": "max-age=300" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "StatusCode": { + "type": "integer" + }, + "Message": { + "type": "string" + }, + "TraceId": { + "type": "string" + }, + "AdditionalInfo": { + "type": "object", + "properties": { + "ExceptionType": { + "type": "string" + } + } + } + } + }, + "examples": { + "Unauthorized": { + "value": { + "StatusCode": 401, + "Message": "Er is geen ingelogde gebruiker.", + "TraceId": "b41c2c8219494f40bef50bc24ea6844d", + "AdditionalInfo": { + "ExceptionType": "NotAuthenticatedException" + } + } + } + } + } + }, + "headers": { + "Server": { + "schema": { + "type": "string", + "example": "nginx" + } + }, + "Date": { + "schema": { + "type": "string", + "example": "Wed, 19 Oct 2024 12:05:20 GMT" + } + }, + "Transfer-Encoding": { + "schema": { + "type": "string", + "example": "chunked" + } + }, + "Connection": { + "schema": { + "type": "string", + "example": "keep-alive" + } + }, + "Content-Version": { + "schema": { + "type": "number", + "example": 1 + } + }, + "X-Content-Type-Options": { + "schema": { + "type": "string", + "example": "nosniff" + } + }, + "X-XSS-Protection": { + "schema": { + "type": "string", + "example": "1; mode=block" + } + }, + "X-Frame-Options": { + "schema": { + "type": "string", + "example": "SAMEORIGIN" + } + }, + "Strict-Transport-Security": { + "schema": { + "type": "string", + "example": "max-age=300" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "StatusCode": { + "type": "integer" + }, + "Message": { + "type": "string" + }, + "TraceId": { + "type": "string" + }, + "AdditionalInfo": { + "type": "object", + "properties": { + "ExceptionType": { + "type": "string" + } + } + } + } + }, + "examples": { + "Unauthorized": { + "value": { + "StatusCode": 403, + "Message": "De ingelogde gebruiker heeft niet voldoende rechten.", + "TraceId": "7c4cdf827b824c5384a3b9b22966c3c3", + "AdditionalInfo": { + "ExceptionType": "NotAuthorizedException" + } + } + } + } + } + } + }, + "404": { + "description": "Item Not Found", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "StatusCode": { + "type": "string" + }, + "Message": { + "type": "string" + }, + "TraceId": { + "type": "string" + }, + "AdditionalInfo": { + "type": "object", + "properties": { + "ExceptionType": { + "type": "string" + } + } + } + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/OpenApiSpecs/sb/nl/release-spec.json b/OpenApiSpecs/sb/nl/release-spec.json index 9e242c3..46bf0e8 100644 --- a/OpenApiSpecs/sb/nl/release-spec.json +++ b/OpenApiSpecs/sb/nl/release-spec.json @@ -1,7 +1,7 @@ { "openapi": "3.0.2", "info": { - "version": "7.4", + "version": "8.0", "title": "AFAS SB API", "description": "AFAS SB API for integrating with the accounting software for accountants and entrepreneurs." }, @@ -144,46 +144,16 @@ "name": "Blob-Upload-Type", "schema": { "type": "string", - "enum": ["Blob", "Image"], - "example": "Blob" + "example": "Blob/Image" }, - "required": true, - "examples": { - "Blob": { - "summary": "For non-image files (e.g. PDF, Word)", - "value": "Blob" - }, - "Image": { - "summary": "For image files (e.g. JPEG, PNG)", - "value": "Image" - } - } + "required": true }, { "in": "header", "name": "Blob-Format", "schema": { "type": "string", - "enum": ["Default", "Thumb", "Small", "Medium"], - "example": "Default" - }, - "examples": { - "Default": { - "summary": "Original file (default)", - "value": "Default" - }, - "Thumb": { - "summary": "Thumbnail image", - "value": "Thumb" - }, - "Small": { - "summary": "Small image", - "value": "Small" - }, - "Medium": { - "summary": "Medium image", - "value": "Medium" - } + "example": "Default/Thumb/Small/Medium" } }, { @@ -868,6 +838,7 @@ "version": "1.0", "deprecated": false, "tags": [ + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost", "Publiek: Relatiemanagement", "Relaties", @@ -982,6 +953,7 @@ "tags": [ "Loonjournaalpost", "POS Transacties", + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost", "Verkoopfactuur", "Verkoopjournaalpost" @@ -1102,6 +1074,7 @@ "Loonjournaalpost", "Publiek: POS Transacties", "POS Transacties", + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost", "Publiek: Relatiemanagement", "Publiek: Facturatie", @@ -1346,6 +1319,7 @@ "version": "1.0", "deprecated": false, "tags": [ + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost", "Publiek: Relatiemanagement", "Relaties", @@ -1711,6 +1685,7 @@ "version": "1.0", "deprecated": false, "tags": [ + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost", "Publiek: Relatiemanagement", "Relaties" @@ -2393,6 +2368,119 @@ ] } }, + "/api/departments": { + "get": { + "description": "Retrieve department (afdeling) information", + "summary": "departments 1.0", + "operationId": "getconnector-departments-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "AdministrationId Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "InstanceId": { + "type": "string", + "format": "uuid" + }, + "Omschrijving": { + "type": "string" + } + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, "/api/featuretoggles": { "get": { "description": "Retrieve feature toggle settings and configurations", @@ -2720,6 +2808,7 @@ "version": "1.1", "deprecated": false, "tags": [ + "Publiek: Financiële rapportage", "Financiele rapportage" ] } @@ -2727,8 +2816,8 @@ "/api/ledgeraccounts": { "get": { "description": "Retrieve all ledger accounts", - "summary": "ledgeraccounts 1.0", - "operationId": "getconnector-ledgeraccounts-get-1.0", + "summary": "ledgeraccounts 2.0", + "operationId": "getconnector-ledgeraccounts-get-2.0", "parameters": [ { "in": "header", @@ -2743,7 +2832,7 @@ "name": "Accept-Version", "schema": { "type": "string", - "example": "1.0" + "example": "2.0" } }, { @@ -2812,35 +2901,81 @@ "type": "string" }, "TypeId": { - "oneOf": [ - { - "const": "Activa", - "title": "activa" - }, - { - "const": "Kosten", - "title": "kosten" - }, - { - "const": "Opbrengsten", - "title": "opbrengsten" - }, - { - "const": "Passiva", - "title": "passiva" - } - ] + "type": "string", + "format": "uuid", + "description": "Guid of the ledger account type. See the Type field for the readable label." }, "InstanceId": { "type": "string", "format": "uuid" }, + "InvestInAsset": { + "type": "boolean" + }, + "VatAllowed": { + "type": "boolean" + }, + "MethodKeepingQuantitiesId": { + "type": "string", + "format": "uuid", + "nullable": true, + "description": "Guid of the quantity-keeping method, or null. See the MethodKeepingQuantities field for the readable label." + }, + "Unit1Id": { + "type": "string", + "format": "uuid", + "nullable": true, + "description": "Guid of the first quantity unit, or null. See the Unit1 field for the readable label." + }, + "Unit2Id": { + "type": "string", + "format": "uuid", + "nullable": true, + "description": "Guid of the second quantity unit, or null. See the Unit2 field for the readable label." + }, "AdministrationId": { "type": "string", "format": "uuid" }, - "InvestInAsset": { - "type": "boolean" + "Type": { + "type": "string", + "description": "Readable label of TypeId.", + "enum": [ + "Activa", + "Kosten", + "Opbrengsten", + "Passiva" + ] + }, + "MethodKeepingQuantities": { + "type": "string", + "description": "Readable label of MethodKeepingQuantitiesId. Empty when no quantities are kept.", + "enum": [ + "one", + "two", + "none", + "" + ] + }, + "Unit1": { + "type": "string", + "description": "Readable label of Unit1Id. Empty when not set.", + "enum": [ + "stuks", + "kg", + "hectare", + "" + ] + }, + "Unit2": { + "type": "string", + "description": "Readable label of Unit2Id. Empty when not set.", + "enum": [ + "stuks", + "kg", + "hectare", + "" + ] } } } @@ -2855,7 +2990,7 @@ "description": "Internal Server Error" } }, - "version": "1.0", + "version": "2.0", "deprecated": false, "tags": [ "Publiek: Financiële dashboarding", @@ -2866,6 +3001,7 @@ "Loonjournaalpost", "Publiek: POS Transacties", "POS Transacties", + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost", "Publiek: Externe facturatie", "Verkoopjournaalpost" @@ -3466,11 +3602,11 @@ ] } }, - "/api/organisations": { + "/api/locations": { "get": { - "description": "Retrieve organization information and business details", - "summary": "organisations 2.0", - "operationId": "getconnector-organisations-get-2.0", + "description": "Retrieve location (vestiging) information", + "summary": "locations 1.0", + "operationId": "getconnector-locations-get-1.0", "parameters": [ { "in": "header", @@ -3485,7 +3621,7 @@ "name": "Accept-Version", "schema": { "type": "string", - "example": "2.0" + "example": "1.0" } }, { @@ -3518,7 +3654,7 @@ "schema": { "type": "string", "format": "sort", - "example": "Id Ascending" + "example": "AdministrationId Ascending" }, "description": "FieldName Ascending|Descending" }, @@ -3543,36 +3679,16 @@ "items": { "type": "object", "properties": { - "Id": { + "AdministrationId": { "type": "string", "format": "uuid" }, - "Name": { - "type": "string" - }, - "CocNumber": { - "type": "string" - }, - "VatNumber": { - "type": "string" - }, - "PhoneNumber": { - "type": "string" - }, - "EmailAddress": { - "type": "string" - }, - "SbiCode": { - "type": "string" - }, - "RelationId": { - "type": "string" + "InstanceId": { + "type": "string", + "format": "uuid" }, - "ExternalId": { + "Omschrijving": { "type": "string" - }, - "IsArchived": { - "type": "boolean" } } } @@ -3587,14 +3703,11 @@ "description": "Internal Server Error" } }, - "version": "2.0", + "version": "1.0", "deprecated": false, "tags": [ - "Publiek: Externe verkoopregels", - "Verkoopregels", + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost", - "Publiek: Relatiemanagement", - "Relaties", "Publiek: Facturatie", "Verkoopfactuur", "Publiek: Externe facturatie", @@ -3602,11 +3715,11 @@ ] } }, - "/api/paymentconditions": { + "/api/organisations": { "get": { - "description": "Retrieve payment conditions and terms settings", - "summary": "paymentconditions 1.0", - "operationId": "getconnector-paymentconditions-get-1.0", + "description": "Retrieve organization information and business details", + "summary": "organisations 2.0", + "operationId": "getconnector-organisations-get-2.0", "parameters": [ { "in": "header", @@ -3621,7 +3734,7 @@ "name": "Accept-Version", "schema": { "type": "string", - "example": "1.0" + "example": "2.0" } }, { @@ -3683,12 +3796,32 @@ "type": "string", "format": "uuid" }, - "AdministrationId": { - "type": "string", - "format": "uuid" + "Name": { + "type": "string" }, - "Description": { + "CocNumber": { + "type": "string" + }, + "VatNumber": { + "type": "string" + }, + "PhoneNumber": { + "type": "string" + }, + "EmailAddress": { + "type": "string" + }, + "SbiCode": { + "type": "string" + }, + "RelationId": { + "type": "string" + }, + "ExternalId": { "type": "string" + }, + "IsArchived": { + "type": "boolean" } } } @@ -3703,21 +3836,139 @@ "description": "Internal Server Error" } }, - "version": "1.0", + "version": "2.0", "deprecated": false, "tags": [ "Publiek: Externe verkoopregels", "Verkoopregels", + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost", + "Publiek: Relatiemanagement", + "Relaties", + "Publiek: Facturatie", "Verkoopfactuur", "Publiek: Externe facturatie", "Verkoopjournaalpost" ] } }, - "/api/persons": { + "/api/paymentconditions": { "get": { - "description": "Retrieve person information and personal details", + "description": "Retrieve payment conditions and terms settings", + "summary": "paymentconditions 1.0", + "operationId": "getconnector-paymentconditions-get-1.0", + "parameters": [ + { + "in": "header", + "name": "Accept", + "schema": { + "type": "string", + "example": "application/xml" + } + }, + { + "in": "header", + "name": "Accept-Version", + "schema": { + "type": "string", + "example": "1.0" + } + }, + { + "in": "header", + "name": "AccessToken", + "schema": { + "type": "string" + }, + "required": false + }, + { + "in": "query", + "name": "Skip", + "schema": { + "type": "integer", + "example": "0" + } + }, + { + "in": "query", + "name": "Take", + "schema": { + "type": "integer", + "example": "50" + } + }, + { + "in": "query", + "name": "Sort", + "schema": { + "type": "string", + "format": "sort", + "example": "Id Ascending" + }, + "description": "FieldName Ascending|Descending" + }, + { + "in": "query", + "name": "Filter", + "schema": { + "type": "string", + "format": "filter" + }, + "required": false, + "description": "Filter items by property values, see [Filtering](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptionfilter)" + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string", + "format": "uuid" + }, + "AdministrationId": { + "type": "string", + "format": "uuid" + }, + "Description": { + "type": "string" + } + } + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/404" + }, + "5XX": { + "description": "Internal Server Error" + } + }, + "version": "1.0", + "deprecated": false, + "tags": [ + "Publiek: Externe verkoopregels", + "Verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" + ] + } + }, + "/api/persons": { + "get": { + "description": "Retrieve person information and personal details", "summary": "persons 2.0", "operationId": "getconnector-persons-get-2.0", "parameters": [ @@ -3841,6 +4092,7 @@ "tags": [ "Publiek: Externe verkoopregels", "Verkoopregels", + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost", "Publiek: Relatiemanagement", "Relaties", @@ -4307,7 +4559,13 @@ "deprecated": false, "tags": [ "Publiek: Externe verkoopregels", - "Verkoopregels" + "Verkoopregels", + "Publiek: Inkoopjournaalpost", + "Inkoopjournaalpost", + "Publiek: Facturatie", + "Verkoopfactuur", + "Publiek: Externe facturatie", + "Verkoopjournaalpost" ] } }, @@ -4969,6 +5227,7 @@ "tags": [ "Publiek: Externe verkoopregels", "Verkoopregels", + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost", "Publiek: Facturatie", "Verkoopfactuur", @@ -5077,6 +5336,7 @@ "version": "1.0", "deprecated": false, "tags": [ + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost" ] } @@ -5181,6 +5441,7 @@ "version": "1.0", "deprecated": false, "tags": [ + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost" ] } @@ -5717,6 +5978,7 @@ "deprecated": false, "tags": [ "Publiek: Externe verkoopregels", + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost", "Relaties", "Publiek: Externe facturatie" @@ -5777,6 +6039,7 @@ "deprecated": false, "tags": [ "Publiek: Externe verkoopregels", + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost", "Relaties", "Publiek: Externe facturatie" @@ -5898,6 +6161,7 @@ "deprecated": false, "tags": [ "Publiek: Externe verkoopregels", + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost", "Relaties", "Publiek: Externe facturatie" @@ -5958,6 +6222,7 @@ "deprecated": false, "tags": [ "Publiek: Externe verkoopregels", + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost", "Relaties", "Publiek: Externe facturatie" @@ -6026,8 +6291,8 @@ "/api/purchasejournalentry": { "post": { "description": "Create purchase journal entries for supplier transactions (C# script version)", - "summary": "purchasejournalentry 2.0", - "operationId": "updateconnector-purchasejournalentry-Post-2.0", + "summary": "purchasejournalentry 3.0", + "operationId": "updateconnector-purchasejournalentry-Post-3.0", "parameters": [ { "in": "header", @@ -6042,7 +6307,7 @@ "name": "Accept-Version", "schema": { "type": "string", - "example": "2.0" + "example": "3.0" } }, { @@ -6057,12 +6322,12 @@ } ], "requestBody": { - "description": "purchasejournalentry 2.0", + "description": "purchasejournalentry 3.0", "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/requestBodies/purchasejournalentry-2.0-Create-JsonSchema" + "$ref": "#/components/requestBodies/purchasejournalentry-3.0-Create-JsonSchema" } } } @@ -6075,18 +6340,19 @@ "description": "Internal Server Error" } }, - "version": "2.0", + "version": "3.0", "deprecated": false, "tags": [ + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost" ] } }, "/api/salesinvoice": { - "post": { - "description": "Create sales invoices for customer billing", + "delete": { + "description": "Delete sales invoices from customer billing", "summary": "salesinvoice 2.0", - "operationId": "updateconnector-salesinvoice-Post-2.0", + "operationId": "updateconnector-salesinvoice-Delete-2.0", "parameters": [ { "in": "header", @@ -6121,7 +6387,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/requestBodies/salesinvoice-2.0-Create-JsonSchema" + "$ref": "#/components/requestBodies/salesinvoice-2.0-Delete-JsonSchema" } } } @@ -6141,10 +6407,10 @@ "Verkoopfactuur" ] }, - "delete": { - "description": "Delete sales invoices from customer billing", - "summary": "salesinvoice 2.0", - "operationId": "updateconnector-salesinvoice-Delete-2.0", + "post": { + "description": "Create sales invoices for customer billing", + "summary": "salesinvoice 3.0", + "operationId": "updateconnector-salesinvoice-Post-3.0", "parameters": [ { "in": "header", @@ -6159,7 +6425,7 @@ "name": "Accept-Version", "schema": { "type": "string", - "example": "2.0" + "example": "3.0" } }, { @@ -6174,12 +6440,12 @@ } ], "requestBody": { - "description": "salesinvoice 2.0", + "description": "salesinvoice 3.0", "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/requestBodies/salesinvoice-2.0-Delete-JsonSchema" + "$ref": "#/components/requestBodies/salesinvoice-3.0-Create-JsonSchema" } } } @@ -6192,7 +6458,7 @@ "description": "Internal Server Error" } }, - "version": "2.0", + "version": "3.0", "deprecated": false, "tags": [ "Publiek: Facturatie", @@ -6201,10 +6467,10 @@ } }, "/api/salesjournalentry": { - "post": { - "description": "Create sales journal entries for customer transactions", + "delete": { + "description": "Delete sales journal entries from customer transactions", "summary": "salesjournalentry 2.1", - "operationId": "updateconnector-salesjournalentry-Post-2.1", + "operationId": "updateconnector-salesjournalentry-Delete-2.1", "parameters": [ { "in": "header", @@ -6239,7 +6505,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/requestBodies/salesjournalentry-2.1-Create-JsonSchema" + "$ref": "#/components/requestBodies/salesjournalentry-2.1-Delete-JsonSchema" } } } @@ -6259,10 +6525,10 @@ "Verkoopjournaalpost" ] }, - "delete": { - "description": "Delete sales journal entries from customer transactions", + "put": { + "description": "Update sales journal entries for customer transactions", "summary": "salesjournalentry 2.1", - "operationId": "updateconnector-salesjournalentry-Delete-2.1", + "operationId": "updateconnector-salesjournalentry-Put-2.1", "parameters": [ { "in": "header", @@ -6297,7 +6563,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/requestBodies/salesjournalentry-2.1-Delete-JsonSchema" + "$ref": "#/components/requestBodies/salesjournalentry-2.1-Update-JsonSchema" } } } @@ -6317,10 +6583,10 @@ "Verkoopjournaalpost" ] }, - "put": { - "description": "Update sales journal entries for customer transactions", - "summary": "salesjournalentry 2.1", - "operationId": "updateconnector-salesjournalentry-Put-2.1", + "post": { + "description": "Create sales journal entries for customer transactions", + "summary": "salesjournalentry 3.0", + "operationId": "updateconnector-salesjournalentry-Post-3.0", "parameters": [ { "in": "header", @@ -6335,7 +6601,7 @@ "name": "Accept-Version", "schema": { "type": "string", - "example": "2.1" + "example": "3.0" } }, { @@ -6350,12 +6616,12 @@ } ], "requestBody": { - "description": "salesjournalentry 2.1", + "description": "salesjournalentry 3.0", "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/requestBodies/salesjournalentry-2.1-Update-JsonSchema" + "$ref": "#/components/requestBodies/salesjournalentry-3.0-Create-JsonSchema" } } } @@ -6368,7 +6634,7 @@ "description": "Internal Server Error" } }, - "version": "2.1", + "version": "3.0", "deprecated": false, "tags": [ "Publiek: Externe facturatie", @@ -6490,6 +6756,7 @@ "version": "1.0", "deprecated": false, "tags": [ + "Publiek: Inkoopjournaalpost", "Inkoopjournaalpost" ] } @@ -6556,6 +6823,10 @@ "name": "POS Transacties", "description": "POS transacties" }, + { + "name": "Publiek: Inkoopjournaalpost", + "description": "Inkoopjournaalpost connectors voor publieke api" + }, { "name": "Inkoopjournaalpost", "description": "Inkoopjournaalpost connectors" @@ -12038,21 +12309,41 @@ } } }, - "salesinvoice-1.0-Create-JsonSchema": { + "purchasejournalentry-3.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", "type": "object", - "description": "Create a sales invoice.", + "description": "Create a purchase journal entry", + "required": [ + "AdministrationId", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceDate", + "InvoiceLine", + "DueDate" + ], "properties": { "AdministrationId": { "type": "string", + "format": "uuid", "description": "Must contain the Administration guid of the target Administration", - "format": "uuid" + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] }, - "IssueDate": { + "InvoiceNumber": { "type": "string", - "format": "date" + "description": "Must contain the InvoiceNumber", + "examples": [ + "PUR00001" + ] }, "Reference": { - "type": "string" + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] }, "RelationType": { "type": "string", @@ -12065,30 +12356,280 @@ }, "RelationId": { "type": "string", + "format": "uuid", "description": "Must contain the guid of the organisation, person or unknown relation.", - "format": "uuid" + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] }, - "AddressId": { + "InvoiceDate": { "type": "string", - "format": "uuid" + "format": "date", + "examples": [ + "2022-10-12" + ] }, - "SentInvoiceEmail": { - "type": "boolean", - "description": "Sent the invoice as an email to the relation.", - "default": true + "DueDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-31" + ] + }, + "PlannedPaymentDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-12-15" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to supplier default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] }, "Attachments": { "type": "array", "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", "items": { "type": "object", + "required": [ + "AttachmentId" + ], "properties": { "AttachmentId": { "type": "string", - "format": "uuid" + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] } - }, - "required": [ + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "items": { + "type": "object", + "required": [ + "LedgerAccountId", + "AmountExcludingVat", + "VatType" + ], + "allOf": [ + { + "not": { + "required": [ + "LocationId", + "DepartmentId" + ] + } + } + ], + "properties": { + "Description": { + "type": "string", + "maxLength": 255, + "examples": [ + "Dell Custom keyboard" + ] + }, + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "", + "null" + ] + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "ProjectId": { + "type": "string", + "format": "uuid", + "description": "Optional project guid. Can be retrieved through the projects endpoint." + }, + "LocationId": { + "type": "string", + "format": "uuid", + "description": "Optional location (vestiging) guid. Can be retrieved through the locations endpoint." + }, + "DepartmentId": { + "type": "string", + "format": "uuid", + "description": "Optional department (afdeling) guid. Can be retrieved through the departments endpoint." + }, + "Quantity1": { + "type": "number", + "multipleOf": 0.01, + "description": "First quantity. Required when the LedgerAccount keeps one or two quantities (MethodKeepingQuantities).", + "examples": [ + 10 + ] + }, + "Unit1": { + "type": "string", + "description": "Unit of the first quantity. Required when the LedgerAccount keeps one or two quantities (MethodKeepingQuantities).", + "enum": [ + "stuks", + "kg", + "hectare", + "", + "null" + ] + }, + "Quantity2": { + "type": "number", + "multipleOf": 0.01, + "description": "Second quantity. Required when the LedgerAccount keeps two quantities (MethodKeepingQuantities).", + "examples": [ + 5 + ] + }, + "Unit2": { + "type": "string", + "description": "Unit of the second quantity. Required when the LedgerAccount keeps two quantities (MethodKeepingQuantities).", + "enum": [ + "stuks", + "kg", + "hectare", + "", + "null" + ] + } + } + } + } + } + }, + "salesinvoice-1.0-Create-JsonSchema": { + "type": "object", + "description": "Create a sales invoice.", + "properties": { + "AdministrationId": { + "type": "string", + "description": "Must contain the Administration guid of the target Administration", + "format": "uuid" + }, + "IssueDate": { + "type": "string", + "format": "date" + }, + "Reference": { + "type": "string" + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "format": "uuid" + }, + "AddressId": { + "type": "string", + "format": "uuid" + }, + "SentInvoiceEmail": { + "type": "boolean", + "description": "Sent the invoice as an email to the relation.", + "default": true + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ "AttachmentId" ] } @@ -12415,7 +12956,442 @@ } ] }, - "salesjournalentry-1.0-Create-JsonSchema": { + "salesinvoice-3.0-Create-JsonSchema": { + "type": "object", + "description": "Create a sales invoice.", + "properties": { + "AdministrationId": { + "type": "string", + "description": "Must contain the Administration guid of the target Administration", + "format": "uuid" + }, + "IssueDate": { + "type": "string", + "format": "date" + }, + "Reference": { + "type": "string" + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "format": "uuid" + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "AddressId": { + "type": "string", + "format": "uuid" + }, + "SentInvoiceEmail": { + "type": "boolean", + "description": "Sent the invoice as an email to the relation." + }, + "ToBeInvoiced": { + "type": "boolean", + "description": "Make an invoice that is not yet completed or sent to the relation." + }, + "Attachments": { + "type": "array", + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid" + } + }, + "required": [ + "AttachmentId" + ] + } + }, + "ProjectId": { + "type": "string", + "format": "uuid", + "description": "Optional project guid. Can be retrieved through the projects endpoint." + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "allOf": [ + { + "not": { + "required": [ + "LocationId", + "DepartmentId" + ] + } + } + ], + "properties": { + "ItemId": { + "type": "string", + "description": "Must contain Product guid. This can be retrieved through the products endpoint.", + "format": "uuid" + }, + "Price": { + "type": "number", + "description": "Price per product excluding VAT. Falls back to product default when empty." + }, + "Quantity": { + "type": "number", + "description": "Quantity of products of this type", + "multipleOf": 0.01 + }, + "VatType": { + "type": "string", + "description": "VAT tariff. Falls back to product default when empty.", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "Description": { + "type": "string", + "description": "Optional alternative product description for the invoiceline. Falls back to the product description when empty." + }, + "ExtraDescription": { + "type": "string", + "description": "Optional field for extra information about the invoiceline" + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "LocationId": { + "type": "string", + "format": "uuid", + "description": "Optional location (vestiging) guid. Can be retrieved through the locations endpoint." + }, + "DepartmentId": { + "type": "string", + "format": "uuid", + "description": "Optional department (afdeling) guid. Can be retrieved through the departments endpoint." + } + }, + "required": [ + "ItemId", + "Quantity" + ] + } + } + }, + "required": [ + "AdministrationId", + "IssueDate", + "RelationType", + "RelationId", + "InvoiceLine", + "SentInvoiceEmail" + ] + }, + "salesjournalentry-1.0-Create-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Create a sales journal entry.", + "required": [ + "AdministrationId", + "InvoiceDate", + "InvoiceNumber", + "RelationType", + "RelationId", + "InvoiceLine" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "InvoiceDate": { + "type": "string", + "format": "date", + "examples": [ + "2022-10-12" + ] + }, + "InvoiceNumber": { + "type": "string", + "description": "Must contain the InvoiceNumber", + "examples": [ + "VK004917" + ] + }, + "RelationType": { + "type": "string", + "description": "Must contain one of the enums.", + "enum": [ + "organisation", + "person", + "unknown" + ] + }, + "RelationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the organisation, person or unknown relation.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "Reference": { + "type": "string", + "description": "Can contain a reference id to the origin app.", + "examples": [ + "ExternalAppId001" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntry.", + "examples": [ + "Example Invoice 001" + ] + }, + "PaymentMethod": { + "type": "string", + "description": "Payment method enum. Falls back to customer default when empty.", + "enum": [ + "creditcard", + "directdebit", + "debetcard", + "unknown", + "cash", + "ideal", + "banktransfer", + "", + "null" + ] + }, + "PaymentConditionId": { + "type": "string", + "format": "uuid", + "description": "Payment condition guids can be requested with the PaymentCondition Get endpoint. Falls back to default when empty.", + "examples": [ + "986d98be-e74d-58f2-95f7-e641769ac64f" + ] + }, + "Attachments": { + "type": "array", + "default": [], + "description": "Use the blob endpoint to create a Attachment. Fill the guid of the attachment.", + "items": { + "type": "object", + "default": {}, + "required": [ + "AttachmentId" + ], + "properties": { + "AttachmentId": { + "type": "string", + "format": "uuid", + "examples": [ + "72b17471-140e-413d-b4ff-f11c37fefccb" + ] + } + } + }, + "examples": [ + [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ] + ] + }, + "InvoiceLine": { + "type": "array", + "default": [], + "items": { + "type": "object", + "default": {}, + "required": [ + "LedgerAccountId", + "AmountExcludingVat", + "VatType" + ], + "allOf": [ + { + "if": { + "properties": { + "VatType": { + "enum": [ + "high", + "low" + ] + } + }, + "required": [ + "VatType" + ] + }, + "then": { + "required": [ + "AmountVat" + ] + } + } + ], + "properties": { + "LedgerAccountId": { + "type": "string", + "format": "uuid", + "description": "Must contain the LedgerAccountId. LedgerAccountIds can be requested through the LedgerAccount endpoint.", + "examples": [ + "93b4b2cb-2174-56ff-b6f6-0031527e01e1" + ] + }, + "Description": { + "type": "string", + "description": "Can contain a description for the JournalEntryLine.", + "examples": [ + "Sales with high vat type" + ] + }, + "AmountExcludingVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 100 + ] + }, + "AmountVat": { + "type": "number", + "default": 0.0, + "multipleOf": 0.01, + "examples": [ + 21 + ] + }, + "VatType": { + "type": "string", + "enum": [ + "high", + "low", + "zero", + "", + "null" + ] + }, + "IntraCommunityType": { + "type": "string", + "description": "Only include if sale is B2B and inside EU (ICP purposes). Falls back to setting (default 'supplies') when empty.", + "enum": [ + "supplies", + "services", + "", + "null" + ] + }, + "VatCalculation": { + "type": "string", + "description": "Only include if vat is reverse-charge or exemption.", + "enum": [ + "reversecharged", + "exempt", + "", + "null" + ] + } + } + }, + "examples": [ + [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "InvoiceDate": "2022-10-12", + "InvoiceNumber": "VK004917", + "RelationType": "organisation", + "RelationId": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "Reference": "ExternalAppId001", + "Description": "Example Invoice 001", + "PaymentMethod": "banktransfer", + "PaymentConditionId": "986d98be-e74d-58f2-95f7-e641769ac64f", + "Attachments": [ + { + "AttachmentId": "72b17471-140e-413d-b4ff-f11c37fefccb" + } + ], + "InvoiceLine": [ + { + "LedgerAccountId": "93b4b2cb-2174-56ff-b6f6-0031527e01e1", + "AmountExcludingVat": 116.52, + "AmountVat": 24.47, + "VatType": "high", + "VatCalculation": "exempt" + } + ] + } + ] + }, + "salesjournalentry-2.0-Create-JsonSchema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "type": "object", "description": "Create a sales journal entry.", @@ -12504,6 +13480,13 @@ "986d98be-e74d-58f2-95f7-e641769ac64f" ] }, + "PaymentReference": { + "type": "string", + "description": "Can contain the PaymentReference", + "examples": [ + "tr_FLtHQ7oSDG" + ] + }, "Attachments": { "type": "array", "default": [], @@ -12609,7 +13592,7 @@ }, "IntraCommunityType": { "type": "string", - "description": "Only include if sale is B2B and inside EU (ICP purposes). Falls back to setting (default 'supplies') when empty.", + "description": "Only include if sale is B2B and inside EU (ICP purposes). Falls back to default 'supplies' when empty.", "enum": [ "supplies", "services", @@ -12670,7 +13653,81 @@ } ] }, - "salesjournalentry-2.0-Create-JsonSchema": { + "salesjournalentry-2.0-Delete-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Delete a salesjournalentry", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of salesjournal.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + } + ] + }, + "salesjournalentry-2.0-Update-JsonSchema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "object", + "description": "Update a sales journal entry.", + "required": [ + "AdministrationId", + "Id" + ], + "properties": { + "AdministrationId": { + "type": "string", + "format": "uuid", + "description": "Must contain the Administration guid of the target Administration", + "examples": [ + "63fff54b-a110-53fe-92ed-44de73f0fb61" + ] + }, + "Id": { + "type": "string", + "format": "uuid", + "description": "Must contain the guid of the salesjournalentry.", + "examples": [ + "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" + ] + }, + "PaymentReference": { + "type": "string", + "description": "Can contain the PaymentReference", + "examples": [ + "tr_FLtHQ7oSDG" + ] + } + }, + "examples": [ + { + "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", + "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", + "PaymentReference": "tr_FLtHQ7oSDG" + } + ] + }, + "salesjournalentry-2.1-Create-JsonSchema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "type": "object", "description": "Create a sales journal entry.", @@ -12732,6 +13789,7 @@ "Description": { "type": "string", "description": "Can contain a description for the JournalEntry.", + "maxLength": 255, "examples": [ "Example Invoice 001" ] @@ -12802,8 +13860,7 @@ "default": {}, "required": [ "LedgerAccountId", - "AmountExcludingVat", - "VatType" + "AmountExcludingVat" ], "allOf": [ { @@ -12825,6 +13882,22 @@ "AmountVat" ] } + }, + { + "if": { + "not": { + "properties": { + "VatCalculation": { + "const": "novat" + } + } + } + }, + "then": { + "required": [ + "VatType" + ] + } } ], "properties": { @@ -12839,6 +13912,7 @@ "Description": { "type": "string", "description": "Can contain a description for the JournalEntryLine.", + "maxLength": 255, "examples": [ "Sales with high vat type" ] @@ -12885,9 +13959,36 @@ "enum": [ "reversecharged", "exempt", + "novat", "", "null" ] + }, + "AlternativeAllocationDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] + }, + "PeriodAllocation": { + "type": "boolean", + "description": "Apportion over a period", + "default": false + }, + "PeriodAllocationBeginDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-01-01" + ] + }, + "PeriodAllocationEndDate": { + "type": "string", + "format": "date", + "examples": [ + "2024-12-31" + ] } } }, @@ -12932,7 +14033,7 @@ } ] }, - "salesjournalentry-2.0-Delete-JsonSchema": { + "salesjournalentry-2.1-Delete-JsonSchema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "type": "object", "description": "Delete a salesjournalentry", @@ -12965,7 +14066,7 @@ } ] }, - "salesjournalentry-2.0-Update-JsonSchema": { + "salesjournalentry-2.1-Update-JsonSchema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "type": "object", "description": "Update a sales journal entry.", @@ -13006,7 +14107,7 @@ } ] }, - "salesjournalentry-2.1-Create-JsonSchema": { + "salesjournalentry-3.0-Create-JsonSchema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "type": "object", "description": "Create a sales journal entry.", @@ -13131,6 +14232,11 @@ ] ] }, + "ProjectId": { + "type": "string", + "format": "uuid", + "description": "Optional project guid. Can be retrieved through the projects endpoint." + }, "InvoiceLine": { "type": "array", "default": [], @@ -13177,6 +14283,14 @@ "VatType" ] } + }, + { + "not": { + "required": [ + "LocationId", + "DepartmentId" + ] + } } ], "properties": { @@ -13268,6 +14382,54 @@ "examples": [ "2024-12-31" ] + }, + "LocationId": { + "type": "string", + "format": "uuid", + "description": "Optional location (vestiging) guid. Can be retrieved through the locations endpoint." + }, + "DepartmentId": { + "type": "string", + "format": "uuid", + "description": "Optional department (afdeling) guid. Can be retrieved through the departments endpoint." + }, + "Quantity1": { + "type": "number", + "multipleOf": 0.01, + "description": "First quantity. Required when the LedgerAccount keeps one or two quantities (MethodKeepingQuantities).", + "examples": [ + 10 + ] + }, + "Unit1": { + "type": "string", + "description": "Unit of the first quantity. Required when the LedgerAccount keeps one or two quantities (MethodKeepingQuantities).", + "enum": [ + "stuks", + "kg", + "hectare", + "", + "null" + ] + }, + "Quantity2": { + "type": "number", + "multipleOf": 0.01, + "description": "Second quantity. Required when the LedgerAccount keeps two quantities (MethodKeepingQuantities).", + "examples": [ + 5 + ] + }, + "Unit2": { + "type": "string", + "description": "Unit of the second quantity. Required when the LedgerAccount keeps two quantities (MethodKeepingQuantities).", + "enum": [ + "stuks", + "kg", + "hectare", + "", + "null" + ] } } }, @@ -13312,80 +14474,6 @@ } ] }, - "salesjournalentry-2.1-Delete-JsonSchema": { - "$schema": "https://json-schema.org/draft/2019-09/schema", - "type": "object", - "description": "Delete a salesjournalentry", - "required": [ - "AdministrationId", - "Id" - ], - "properties": { - "AdministrationId": { - "type": "string", - "format": "uuid", - "description": "Must contain the Administration guid of the target Administration", - "examples": [ - "63fff54b-a110-53fe-92ed-44de73f0fb61" - ] - }, - "Id": { - "type": "string", - "format": "uuid", - "description": "Must contain the guid of salesjournal.", - "examples": [ - "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" - ] - } - }, - "examples": [ - { - "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", - "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" - } - ] - }, - "salesjournalentry-2.1-Update-JsonSchema": { - "$schema": "https://json-schema.org/draft/2019-09/schema", - "type": "object", - "description": "Update a sales journal entry.", - "required": [ - "AdministrationId", - "Id" - ], - "properties": { - "AdministrationId": { - "type": "string", - "format": "uuid", - "description": "Must contain the Administration guid of the target Administration", - "examples": [ - "63fff54b-a110-53fe-92ed-44de73f0fb61" - ] - }, - "Id": { - "type": "string", - "format": "uuid", - "description": "Must contain the guid of the salesjournalentry.", - "examples": [ - "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52" - ] - }, - "PaymentReference": { - "type": "string", - "description": "Can contain the PaymentReference", - "examples": [ - "tr_FLtHQ7oSDG" - ] - } - }, - "examples": [ - { - "AdministrationId": "63fff54b-a110-53fe-92ed-44de73f0fb61", - "Id": "a7b566cf-e03b-45f0-a294-d8ba1f1c8a52", - "PaymentReference": "tr_FLtHQ7oSDG" - } - ] - }, "salesjournalentrywof-1.0-Create-JsonSchema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "type": "object", diff --git a/markdownpages/sb/en/api-releasenotes.md b/markdownpages/sb/en/api-releasenotes.md new file mode 100644 index 0000000..92d6112 --- /dev/null +++ b/markdownpages/sb/en/api-releasenotes.md @@ -0,0 +1,69 @@ +--- +title: API release notes +author: AFAS API team +date: 2026-07-23 +tags: releasenotes, update, 8.0 +--- + +This page describes the changes in the AFAS SB API between version **7.4** and version **8.0**. + +The central theme of 8.0 is support for **locations (vestigingen)** and **departments (afdelingen)**. Two new GetConnectors expose these dimensions, and the financial UpdateConnectors have a new version that lets you allocate invoice lines to a location or a department. + +## New endpoints + +### Departments + +Endpoint: [departments](../../apidoc/sb/en/latest#get-/api/departments) + +Retrieve the departments (afdelingen) of an administration. Each department returns its `AdministrationId`, `InstanceId` and `Omschrijving` (description). Use the returned `InstanceId` as the `DepartmentId` on invoice lines. + +### Locations + +Endpoint: [locations](../../apidoc/sb/en/latest#get-/api/locations) + +Retrieve the locations (vestigingen) of an administration. The response has the same shape as departments (`AdministrationId`, `InstanceId`, `Omschrijving`). Use the returned `InstanceId` as the `LocationId` on invoice lines. + +## Updated GetConnectors + +### LedgerAccounts 2.0 + +Endpoint: [ledgeraccounts](../../apidoc/sb/en/latest#get-/api/ledgeraccounts) + +Version 2.0 adds fields for VAT handling and quantity keeping: + +- `VatAllowed` – whether VAT is allowed on the ledger account. +- `MethodKeepingQuantitiesId`, `Unit1Id`, `Unit2Id` – configuration for keeping one or two quantities. +- `Type`, `MethodKeepingQuantities`, `Unit1`, `Unit2` – readable labels for the corresponding id fields. + +## Updated UpdateConnectors + +All three financial UpdateConnectors below get a new **3.0** version. On every invoice line you can now optionally supply **one** of: + +- `LocationId` – the location (vestiging) guid, retrieved through the [locations](../../apidoc/sb/en/latest#get-/api/locations) endpoint. +- `DepartmentId` – the department (afdeling) guid, retrieved through the [departments](../../apidoc/sb/en/latest#get-/api/departments) endpoint. + +> *Note*: A single invoice line can contain a location **or** a department, but not both. + +### PurchaseJournalEntry 3.0 + +Endpoint: [purchasejournalentry](../../apidoc/sb/en/latest#post-/api/purchasejournalentry) + +Besides `LocationId` and `DepartmentId`, each invoice line now also supports `ProjectId`, period allocation (`AlternativeAllocationDate`, `PeriodAllocation`, `PeriodAllocationBeginDate`, `PeriodAllocationEndDate`), `VatCalculation`, and quantity keeping (`Quantity1`, `Unit1`, `Quantity2`, `Unit2`). + +### SalesInvoice 3.0 + +Endpoint: [salesinvoice](../../apidoc/sb/en/latest#post-/api/salesinvoice) + +Adds `LocationId` and `DepartmentId` per invoice line and an optional top-level `ProjectId`, alongside the existing period-allocation fields. + +### SalesJournalEntry 3.0 + +Endpoint: [salesjournalentry](../../apidoc/sb/en/latest#post-/api/salesjournalentry) + +Adds `LocationId` and `DepartmentId` per invoice line and an optional top-level `ProjectId`. Version 3.0 also keeps the `IntraCommunityType` and `VatCalculation` options (including `novat`) for cross-border and VAT-exempt entries. + +## Upgrading from 7.4 + +- The 8.0 changes are additive. Existing integrations continue to work on their current connector versions. +- To use locations and departments, first retrieve them through the new [locations](../../apidoc/sb/en/latest#get-/api/locations) and [departments](../../apidoc/sb/en/latest#get-/api/departments) endpoints, then send the `InstanceId` as `LocationId` or `DepartmentId` on the 3.0 versions of PurchaseJournalEntry, SalesInvoice or SalesJournalEntry. +- Set `Accept-Version: 3.0` (or `2.0` for LedgerAccounts) to opt in to the new versions. diff --git a/markdownpages/sb/nl/api-releasenotes.md b/markdownpages/sb/nl/api-releasenotes.md new file mode 100644 index 0000000..c6de8ca --- /dev/null +++ b/markdownpages/sb/nl/api-releasenotes.md @@ -0,0 +1,69 @@ +--- +title: API release notes +author: AFAS API team +date: 2026-07-23 +tags: releasenotes, update, 8.0 +--- + +Deze pagina beschrijft de wijzigingen in de AFAS SB API tussen versie **7.4** en versie **8.0**. + +Het centrale thema van 8.0 is ondersteuning voor **vestigingen (locations)** en **afdelingen (departments)**. Twee nieuwe GetConnectors ontsluiten deze dimensies en de financiële UpdateConnectors hebben een nieuwe versie waarmee je factuurregels kunt toewijzen aan een vestiging of afdeling. + +## Nieuwe endpoints + +### Afdelingen + +Endpoint: [departments](../../apidoc/sb/nl/latest#get-/api/departments) + +Haal de afdelingen (departments) van een administratie op. Elke afdeling bevat `AdministrationId`, `InstanceId` en `Omschrijving`. Gebruik de teruggegeven `InstanceId` als `DepartmentId` op factuurregels. + +### Vestigingen + +Endpoint: [locations](../../apidoc/sb/nl/latest#get-/api/locations) + +Haal de vestigingen (locations) van een administratie op. De response heeft dezelfde structuur als afdelingen (`AdministrationId`, `InstanceId`, `Omschrijving`). Gebruik de teruggegeven `InstanceId` als `LocationId` op factuurregels. + +## Bijgewerkte GetConnectors + +### LedgerAccounts 2.0 + +Endpoint: [ledgeraccounts](../../apidoc/sb/nl/latest#get-/api/ledgeraccounts) + +Versie 2.0 voegt velden toe voor btw-behandeling en het bijhouden van aantallen: + +- `VatAllowed` – of btw is toegestaan op de grootboekrekening. +- `MethodKeepingQuantitiesId`, `Unit1Id`, `Unit2Id` – instellingen voor het bijhouden van één of twee aantallen. +- `Type`, `MethodKeepingQuantities`, `Unit1`, `Unit2` – leesbare labels bij de bijbehorende id-velden. + +## Bijgewerkte UpdateConnectors + +De drie onderstaande financiële UpdateConnectors krijgen een nieuwe **3.0**-versie. Op elke factuurregel kun je nu optioneel **één** van de volgende velden opgeven: + +- `LocationId` – de guid van de vestiging, op te halen via het [locations](../../apidoc/sb/nl/latest#get-/api/locations)-endpoint. +- `DepartmentId` – de guid van de afdeling, op te halen via het [departments](../../apidoc/sb/nl/latest#get-/api/departments)-endpoint. + +> *Let op*: Eén factuurregel mag een vestiging **of** een afdeling bevatten, maar niet allebei. + +### PurchaseJournalEntry 3.0 + +Endpoint: [purchasejournalentry](../../apidoc/sb/nl/latest#post-/api/purchasejournalentry) + +Naast `LocationId` en `DepartmentId` ondersteunt elke factuurregel nu ook `ProjectId`, periodetoewijzing (`AlternativeAllocationDate`, `PeriodAllocation`, `PeriodAllocationBeginDate`, `PeriodAllocationEndDate`), `VatCalculation` en het bijhouden van aantallen (`Quantity1`, `Unit1`, `Quantity2`, `Unit2`). + +### SalesInvoice 3.0 + +Endpoint: [salesinvoice](../../apidoc/sb/nl/latest#post-/api/salesinvoice) + +Voegt `LocationId` en `DepartmentId` per factuurregel toe en een optioneel `ProjectId` op hoofdniveau, naast de bestaande velden voor periodetoewijzing. + +### SalesJournalEntry 3.0 + +Endpoint: [salesjournalentry](../../apidoc/sb/nl/latest#post-/api/salesjournalentry) + +Voegt `LocationId` en `DepartmentId` per factuurregel toe en een optioneel `ProjectId` op hoofdniveau. Versie 3.0 behoudt daarnaast de opties `IntraCommunityType` en `VatCalculation` (inclusief `novat`) voor grensoverschrijdende en btw-vrijgestelde boekingen. + +## Upgraden vanaf 7.4 + +- De wijzigingen in 8.0 zijn aanvullend. Bestaande koppelingen blijven werken op hun huidige connectorversies. +- Wil je vestigingen en afdelingen gebruiken, haal ze dan eerst op via de nieuwe endpoints [locations](../../apidoc/sb/nl/latest#get-/api/locations) en [departments](../../apidoc/sb/nl/latest#get-/api/departments), en stuur vervolgens de `InstanceId` mee als `LocationId` of `DepartmentId` op de 3.0-versies van PurchaseJournalEntry, SalesInvoice of SalesJournalEntry. +- Zet `Accept-Version: 3.0` (of `2.0` voor LedgerAccounts) om de nieuwe versies te gebruiken.