{ "openapi": "3.0.0", "info": { "version": "8.8.11", "title": "AFAS Budgetten en activa API", "description": "This API describes the endpoints related to Budgetten en activa. Use this API with the functional description of the API." }, "servers": [ { "url": "https://{id}.rest.afas.online/ProfitRestServices", "description": "Production environment", "variables": { "id": { "description": "5 digit environment number", "default": "12345" } } }, { "url": "https://{id}.resttest.afas.online/ProfitRestServices", "description": "Test environment", "variables": { "id": { "description": "5 digit environment number", "default": "12345" } } }, { "url": "https://{id}.restaccept.afas.online/ProfitRestServices", "description": "Accept environment", "variables": { "id": { "description": "5 digit environment number", "default": "12345" } } }, { "url": "https://{id}.restcursus.afas.online/ProfitRestServices", "description": "Cursus environment", "variables": { "id": { "description": "5 digit environment number", "default": "12345" } } } ], "paths": { "/MetaInfo": { "get": { "summary": "Retrieve the meta info of the Profit environment and the available connectors", "tags": [ "API Info" ], "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "properties": { "updateConnectors": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "description": { "type": "string" } } } }, "getConnectors": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "description": { "type": "string" } } } }, "customConnectors": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "description": { "type": "string" } } } }, "info": { "type": "object", "properties": { "envid": { "type": "string" }, "appName": { "type": "string" }, "group": { "type": "string" }, "tokenExpiry": { "type": "string" } } } } }, "examples": { "Example Result": { "value": { "updateConnectors": [ { "id": "HrCreateApplicant", "description": "Aanmaken sollicitatie" }, { "id": "FbSubscription", "description": "Abonnement" }, { "id": "KnAddress", "description": "Adres" } ], "getConnectors": [ { "id": "Profit_Fin_ChangedEntrydate", "description": "Profit_Fin_ChangedEntrydate" }, { "id": "Profit_Functions", "description": "Profit_Functions" } ], "customConnectors": [ { "id": "AppConnectorReport", "description": "AppConnectorReport" }, { "id": "AppConnectorSubject", "description": "AppConnectorSubject" } ], "info": { "envid": "A123456AC", "appName": "OpenAPI Spec Example", "group": "AuthorizationGroup 101 (12345.USER)", "tokenExpiry": "0" } } } } } } } }, "operationId": "get_MetaInfo" } }, "/Metainfo/{Type}/{Endpoint}": { "get": { "summary": "Retrieve the metainfo of a specific connector based on the endpoint id. This includes the fields and their properties.", "tags": [ "API Info" ], "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "fields": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "fieldId": { "type": "string" }, "dataType": { "type": "string" }, "label": { "type": "string" }, "length": { "type": "integer" }, "controlType": { "type": "integer" }, "decimals": { "type": "integer" }, "decimalsFieldId": { "type": "string" } } } } } }, "examples": { "Example Result": { "value": { "name": "Profit_Administrations", "description": "Administraties (Profit)", "fields": [ { "id": "AdminId", "fieldId": "U002", "dataType": "int", "label": "Administratie", "length": 3, "controlType": 5, "decimals": 0, "decimalsFieldId": "" }, { "id": "AdminNm", "fieldId": "U001", "dataType": "string", "label": "Naam administratie", "length": 80, "controlType": 1, "decimals": 0, "decimalsFieldId": "" }, { "id": "AdminCd", "fieldId": "UnCo", "dataType": "string", "label": "Administratie", "length": 10, "controlType": 1, "decimals": 0, "decimalsFieldId": "" } ] } } } } } } }, "operationId": "get_MetaInfoPerConnector", "parameters": [ { "schema": { "type": "string", "enum": [ "get", "update" ], "example": "update" }, "in": "path", "name": "Type", "description": "Add the type of connector you want to get the meta info from", "required": true }, { "schema": { "type": "string", "example": "KnEmployee" }, "in": "path", "name": "Endpoint", "description": "Add the endpoint id of the connector you want to get the meta info from", "required": true }, { "$ref": "#/components/parameters/Accept-Language" } ] } }, "/connectors/{Endpoint}": { "get": { "summary": "Retrieve the metainfo of a custom getconnector based on the endpoint id. This includes the fields and their properties. These id's can be found in the metainfo request result.", "tags": [ "GET" ], "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "properties": { "skip": { "type": "integer" }, "take": { "type": "integer" }, "rows": { "type": "array", "items": { "type": "object", "properties": { "EmployeeId": { "type": "string" }, "EmploymentEndDate": { "type": "string" }, "EmailForDigitalDocuments": { "type": "string", "nullable": true } } } } } }, "examples": { "Example response": { "value": { "skip": 0, "take": 100, "rows": [ { "EmployeeId": "000001005", "EmploymentEndDate": "2025-11-22T00:00:00Z", "EmailForDigitalDocuments": null }, { "EmployeeId": "000001006", "EmploymentEndDate": "2025-11-22T00:00:00Z", "EmailForDigitalDocuments": null } ] } } } } } } }, "operationId": "get_MetaInfoPerCustomConnector", "parameters": [ { "schema": { "type": "string", "example": "your_custom_endpoint_id" }, "in": "path", "name": "Endpoint", "description": "Add the id of connector you want to get the meta info from", "required": true }, { "name": "skip", "in": "query", "required": false, "description": "Pagination: amount of results skipped. Starts at 0", "schema": { "type": "number", "example": 0 } }, { "name": "take", "in": "query", "required": false, "description": "Pagination: amount of results returned", "schema": { "type": "number", "example": 100 } }, { "name": "orderbyfieldids", "in": "query", "required": false, "description": "Must be used to prevent unexpectedly ordered results", "schema": { "type": "string" } }, { "name": "filterfieldids", "in": "query", "required": false, "description": "The fieldIds of the values to filter on", "schema": { "type": "string" } }, { "name": "filtervalues", "in": "query", "required": false, "description": "The values to filter on", "schema": { "type": "string" } }, { "name": "operatortypes", "in": "query", "required": false, "description": "Operator for comparing filter values. Supported values include:\n\n* `1` - = (is equal to)\n* `2` - >= (is greater or equal to)\n* `3` - <= (is less or equal to)\n* `4` - > (is greater than)\n* `5` - < (is less than)\n* `6` - * (contains text)\n* `7` - != (is not equal to)\n* `8` - [] (is empty)\n* `9` - ![] (is not empty)\n* `10` - @ (starts with)\n* `11` - !* (does not contain text)\n* `12` - !@ (does not start with)\n* `13` - & (ends with)\n* `14` - !& (does not end with)\n* `15` - Sf (quickfilter)\n", "schema": { "type": "number", "enum": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ] } } ] } }, "/ProfitVersion": { "get": { "summary": "Get the current Profit version", "tags": [ "API Info" ], "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "properties": { "version": { "type": "string" } } }, "examples": { "Example Result": { "value": { "version": "7.7.10" } } } } } } }, "operationId": "get_ProfitVersion" } }, "/connectors/FiBudget": { "post": { "summary": "Budget", "description": "\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_240.htm", "operationId": "POST_FiBudget", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiBudget_POST" }, "examples": { "adm1": { "value": { "FiBudget": { "Element": [ { "Fields": { "unitId": "1", "year": "2013", "accountNr": "4000", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } }, { "Fields": { "unitId": "1", "year": "2013", "accountNr": "4005", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } }, { "Fields": { "unitId": "1", "year": "2013", "accountNr": "4015", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } }, { "Fields": { "unitId": "1", "year": "2013", "accountNr": "4010", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } }, { "Fields": { "unitId": "1", "year": "2013", "accountNr": "4020", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } } ] } } }, "adm1 2011": { "value": { "FiBudget": { "Element": [ { "Fields": { "unitId": "1", "year": "2011", "accountNr": "4000", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } }, { "Fields": { "unitId": "1", "year": "2011", "accountNr": "4005", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } }, { "Fields": { "unitId": "1", "year": "2011", "accountNr": "4015", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } }, { "Fields": { "unitId": "1", "year": "2011", "accountNr": "4010", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } }, { "Fields": { "unitId": "1", "year": "2011", "accountNr": "4020", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } } ] } } }, "adm2": { "value": { "FiBudget": { "Element": [ { "Fields": { "unitId": "2", "year": "2013", "accountNr": "4000", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } }, { "Fields": { "unitId": "2", "year": "2013", "accountNr": "4005", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } }, { "Fields": { "unitId": "2", "year": "2013", "accountNr": "4015", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } }, { "Fields": { "unitId": "2", "year": "2013", "accountNr": "4010", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } }, { "Fields": { "unitId": "2", "year": "2013", "accountNr": "4020", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "2", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "3", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "4", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "5", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "6", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "7", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "8", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "9", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "10", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "11", "amount": "1000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "1000" } } ] } } } ] } } }, "automatisch verdelen": { "value": { "FiBudget": { "Element": { "Fields": { "unitId": "2", "year": "2014", "accountNr": "8070", "budgetType": "index", "yearBudget": "0", "autoDivide": "1", "divTable": "2", "PeriodFrom": "1", "PeriodTo": "12" }, "Objects": { "BudgetLines": { "Element": { "Fields": { "amount": "24000" } } } } } } } }, "handmatig verdelen": { "value": { "FiBudget": { "Element": { "Fields": { "unitId": "3", "year": "2014", "accountNr": "4200", "budgetScenario": "001", "dimCode1": "ZUID", "yearBudget": "1", "autoDivide": "1", "divTable": "1", "periodFrom": "1", "periodTo": "12" }, "Objects": { "BudgetLines": { "Element": [ { "Fields": { "seqNo": "1", "periodId": "1", "amount": "12000" } }, { "Fields": { "seqNo": "1", "periodId": "12", "amount": "12000" } } ] } } } } } } } } } }, "responses": { "201": { "description": "Created" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Budget" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] }, "put": { "summary": "Budget", "description": "\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_240.htm", "operationId": "PUT_FiBudget", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiBudget_PUT" }, "examples": { "regel en kop adjusted": { "value": { "FiBudget": { "Element": { "Fields": { "unitId": "1", "year": "2023", "accountNr": "4000", "budgetType": "adjusted", "readAdjustment": "adjusted", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": { "Fields": { "seqNo": "1", "periodId": "1", "amount": "2000" } } } } } } } }, "regel en kop deviation": { "value": { "FiBudget": { "Element": { "Fields": { "unitId": "1", "year": "2013", "accountNr": "4000", "budgetType": "adjusted", "readAdjustment": "deviation", "yearBudget": "0", "divTable": "1" }, "Objects": { "BudgetLines": { "Element": { "Fields": { "seqNo": "1", "periodId": "1", "amount": "2000" } } } } } } } } } } } }, "responses": { "201": { "description": "Created" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Budget" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/FiBudget/BudgetLines": { "post": { "summary": "Budget", "description": "Update main record in FiBudget and insert subrecord into BudgetLines. \n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_240.htm", "operationId": "POSTSubRecordFiBudgetBudgetLines", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiBudget_POST" } } } }, "responses": { "201": { "description": "Created" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Budget" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/FiBudgetRequest": { "post": { "summary": "Budget request", "description": "\n\rAlleen beschikbaar onder conditie: Budgetaanvragen (activering)\n\r ", "operationId": "POST_FiBudgetRequest", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiBudgetRequest_POST" } } } }, "responses": { "201": { "description": "Created" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Budget request" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/FiCommitment": { "post": { "summary": "Obligation", "description": "\n\rAlleen beschikbaar onder conditie: Financieel\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_FiComt.htm", "operationId": "POST_FiCommitment", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiCommitment_POST" }, "examples": { "andere Admin": { "value": { "FiCommitment": { "Element": { "@UnId": "2", "@SeNo": "", "Fields": { "AcNr": "8100", "Yr": "2015", "PeNr": "12", "Ds": "Verplichting andere Administratie", "CrId": "50013", "Ref": "3456ADM2", "Amt": "999999999999" } } } } }, "artikel": { "value": { "FiCommitment": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "8070", "VaAs": "1", "Yr": "2015", "PeNr": "3", "Ds": "Verplichting op artikel", "CrId": "50003", "Ref": "C001-2010000001", "Set": "0", "PtId": "1", "PrId": "600000", "PrSt": "01", "VaIt": "2", "ItCd": "1000", "DiC1": "NOORD", "DiC2": "ICT", "DiC3": "ZO", "DiC4": "RAND", "DiC5": "SER", "Amt": "500", "Qua": "5", "Di01": "1", "Judg": "KEESZ", "JuYN": "1", "Cont": "C001-2010000001", "CoLn": "1" } } } } }, "artikel andere Admin": { "value": { "FiCommitment": { "Element": { "@UnId": "2", "@SeNo": "", "Fields": { "AcNr": "4330", "Yr": "2015", "PeNr": "12", "Ds": "Verplichting artikel andere Administratie", "CrId": "50034", "Ref": "C002-2023000002", "Set": "0", "PtId": "1", "PrId": "600000", "PrSt": "01", "VaIt": "2", "ItCd": "1000", "DiC1": "NOORD", "DiC2": "ICT", "DiC3": "ZO", "DiC4": "RAND", "DiC5": "SER", "Amt": "99", "Qua": "5", "Di01": "1", "Judg": "KEESZ", "JuYN": "1", "Cont": "C002-2023000002", "CoLn": "7" } } } } }, "artikel minimaal": { "value": { "FiCommitment": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4330", "Yr": "2015", "PeNr": "3", "Ds": "Verplichting minimale velden", "CrId": "50013", "PrId": "600000", "VaIt": "2", "ItCd": "1000", "Ref": "REF348975", "Amt": "500" } } } } }, "contract": { "value": { "FiCommitment": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4360", "Yr": "2015", "PeNr": "1", "Ds": "Verplichting op contract", "CrId": "50035", "Ref": "C001-2015000001", "Amt": "500", "Cont": "C001-2015000001", "CoLn": "2" } } } } }, "dimensie": { "value": { "FiCommitment": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4055", "Yr": "2015", "PeNr": "3", "Ds": "Verplichting dimensie", "CrId": "50013", "Ref": "REF3489354", "Amt": "1500", "Di01": "1" } } } } }, "kosten": { "value": { "FiCommitment": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "8070", "VaAs": "1", "Yr": "2015", "PeNr": "3", "Ds": "Verplichting op kosten", "CrId": "50003", "Ref": "C001-2010000001", "Set": "0", "PtId": "1", "PrId": "600000", "PrSt": "01", "VaIt": "6", "ItCd": "T1", "DiC1": "NOORD", "DiC2": "ICT", "DiC3": "ZO", "DiC4": "RAND", "DiC5": "SER", "Amt": "500", "Qua": "5", "Di01": "1", "Judg": "KEESZ", "JuYN": "1", "Cont": "C001-2010000001", "CoLn": "1" } } } } }, "kosten andere Admin": { "value": { "FiCommitment": { "Element": { "@UnId": "2", "@SeNo": "", "Fields": { "AcNr": "4330", "Yr": "2015", "PeNr": "12", "Ds": "Verplichting kosten andere Administratie", "CrId": "50034", "Ref": "C002-2023000002", "Set": "0", "PtId": "1", "PrId": "600000", "PrSt": "01", "VaIt": "6", "ItCd": "T1", "DiC1": "NOORD", "DiC2": "ICT", "DiC3": "ZO", "DiC4": "RAND", "DiC5": "SER", "Amt": "99", "Qua": "5", "Di01": "1", "Judg": "KEESZ", "JuYN": "1", "Cont": "C002-2023000002", "CoLn": "7" } } } } }, "kosten minimaal": { "value": { "FiCommitment": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4330", "Yr": "2015", "PeNr": "3", "Ds": "Verplichting minimale velden", "CrId": "50034", "PrId": "600000", "VaIt": "6", "ItCd": "T1", "Ref": "REF348975", "Amt": "500" } } } } }, "maximaal": { "value": { "FiCommitment": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "8070", "VaAs": "1", "Yr": "2015", "PeNr": "3", "Ds": "Reservering maximale velden", "CrId": "50003", "Ref": "C001-2010000001", "Set": "0", "PtId": "1", "PrId": "600000", "PrSt": "01", "VaIt": "6", "ItCd": "K01", "DiC1": "NOORD", "DiC2": "ICT", "DiC3": "ZO", "DiC4": "RAND", "DiC5": "SER", "Amt": "500", "Qua": "5", "Di01": "1", "Judg": "KEESZ", "JuYN": "1", "Cont": "C001-2010000001", "CoLn": "1" } } } } }, "meerdere": { "value": { "FiCommitment": { "Element": [ { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4810", "Yr": "2015", "PeNr": "4", "Ds": "Verplichting meerdere 1/3", "CrId": "50013", "Ref": "REF348100", "Amt": "1100" } }, { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4680", "Yr": "2015", "PeNr": "5", "Ds": "Verplichting meerdere 2/3", "CrId": "50013", "Ref": "REF348200", "Amt": "2200" } }, { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4610", "Yr": "2015", "PeNr": "6", "Ds": "Verplichting meerdere 3/3", "CrId": "50013", "Ref": "REF348300", "Amt": "3300" } } ] } } }, "minimaal": { "value": { "FiCommitment": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4005", "Yr": "2015", "PeNr": "3", "Ds": "Verplichting minimale velden", "CrId": "50013", "Ref": "REF348975", "Amt": "500" } } } } }, "negatief maximaal": { "value": { "FiCommitment": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "8070", "VaAs": "1", "Yr": "2015", "PeNr": "3", "Ds": "Negatieve verplichting maximale velden", "CrId": "50003", "Ref": "C001-2010000001", "Set": "0", "PtId": "1", "PrId": "600000", "PrSt": "01", "VaIt": "6", "ItCd": "K01", "DiC1": "NOORD", "DiC2": "ICT", "DiC3": "ZO", "DiC4": "RAND", "DiC5": "SER", "Amt": "-500", "Qua": "5", "Di01": "1", "Judg": "KEESZ", "JuYN": "1", "Cont": "C001-2010000001", "CoLn": "1" } } } } }, "negatief minimaal": { "value": { "FiCommitment": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4005", "Yr": "2015", "PeNr": "3", "Ds": "Negatieve verplichting minimale velden", "CrId": "50013", "Ref": "REF448975", "Amt": "-500", "Qua": "1" } } } } }, "project": { "value": { "FiCommitment": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4320", "Yr": "2015", "PeNr": "3", "Ds": "Verplichting Project en afgehandeld", "CrId": "50013", "Ref": "REF348975", "Set": "1", "PrId": "600000", "PrSt": "02", "Amt": "5500" } } } } }, "verbijzondering": { "value": { "FiCommitment": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4250", "Yr": "2015", "PeNr": "3", "Ds": "Verplichting verbijzondering", "CrId": "50013", "Ref": "REF346197", "DiC1": "NOORD", "DiC2": "ICT", "DiC3": "HAN", "DiC4": "MID", "DiC5": "MAAT", "Amt": "98900" } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "results": { "FiCommitment": { "UnId": "PrimaryKeyValue", "SeNo": "PrimaryKeyValue" } } } } } } }, "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Transfer-Encoding": { "description": "chunked", "schema": { "type": "string" } }, "Content-Type": { "description": "application/json; charset=utf-8", "schema": { "type": "string" } }, "Content-Encoding": { "description": "gzip", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(10ms), after response(609ms), after compressing(610ms), complete(610ms)", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Wed, 07 Feb 2024 10:39:26 GMT", "schema": { "type": "string" } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Obligation" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] }, "put": { "summary": "Obligation", "description": "\n\rAlleen beschikbaar onder conditie: Financieel\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_FiComt.htm", "operationId": "PUT_FiCommitment", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiCommitment_PUT" }, "examples": { "blokkering": { "value": { "FiCommitment": { "Element": { "@UnId": "1", "@SeNo": "1", "Fields": { "AcNr": "5000", "JuYN": "1" } } } } }, "vrijgeven blokkering": { "value": { "FiCommitment": { "Element": { "@UnId": "1", "@SeNo": "9", "Fields": { "AcNr": "5000", "JuYN": "0" } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "results": { "FiCommitment": { "UnId": "PrimaryKeyValue", "SeNo": "PrimaryKeyValue" } } } } } } }, "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Transfer-Encoding": { "description": "chunked", "schema": { "type": "string" } }, "Content-Type": { "description": "application/json; charset=utf-8", "schema": { "type": "string" } }, "Content-Encoding": { "description": "gzip", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(10ms), after response(609ms), after compressing(610ms), complete(610ms)", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Wed, 07 Feb 2024 10:39:26 GMT", "schema": { "type": "string" } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Obligation" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/FiCommitment/FiCommitment/@UnId,@SeNo/{UnId},{SeNo}": { "parameters": [ { "schema": { "type": "string" }, "name": "UnId", "in": "path", "required": true, "description": "Administration" }, { "schema": { "type": "string" }, "name": "SeNo", "in": "path", "required": true, "description": "Obligation number" } ], "delete": { "summary": "Obligation", "operationId": "DELETE_FiCommitment", "description": "\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_FiComt.htm", "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "$ref": "#/components/responses/200" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Obligation" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" } ] } }, "/connectors/FiContract": { "post": { "summary": "Contract", "description": "\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_FiContr.htm", "operationId": "POST_FiContract", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiContract_POST" }, "examples": { "Andere Admin": { "value": { "FiContract": { "Element": { "Fields": { "SeNo": "51647801", "PoKi": "Contract insert Andere Administratie", "PoNo": "REF:348961", "CmId": "50034", "DaBe": "2015-01-01", "DaEn": "2015-31-12", "TeEn": "1", "AmPr": "2400.24", "EmId": "ALLARDJ", "UnId": "2", "VaCt": "03" } } } } }, "Andere Admin met regels": { "value": { "FiContract": { "Element": { "Fields": { "SeNo": "51647801", "PoKi": "Contract insert Andere Administratie", "PoNo": "REF:348961", "CmId": "50034", "DaBe": "2015-01-01", "DaEn": "2015-31-12", "TeEn": "1", "AmPr": "2400.24", "EmId": "ALLARDJ", "UnId": "2", "VaCt": "03" }, "Objects": { "FiContractline": { "Element": { "Fields": { "DaBe": "2015-01-01", "DaEn": "2015-28-02", "AmPF": "0.00", "Prol": "1", "CuId": "EUR", "VaCm": "", "AcNr": "0110" } } } } } } } }, "Maximaal": { "value": { "FiContract": { "Element": { "Fields": { "SeNo": "51647801", "PoKi": "Contract insert maximaal", "PoNo": "REF:348957", "CmId": "50013", "DaBe": "2015-01-01", "DaEn": "2016-01-02", "TeEn": "1", "AmPr": "2400.24", "AmIn": "1200.12", "DaVa": "2015-02-02", "Re": "Opmerking bij contract. Geen idee hoe lang dit veld mag zijn maar dit is genoeg? \r\n En een nieuwe regel. \r\n Nog ��n.", "Prol": "0", "EmId": "FLOORA", "EmOw": "AllardJ", "EmAd": "john.doe@example.com", "UnId": "1", "CaDa": "2015-11-05", "CaUs": "KEESZ", "VaCt": "01", "SiCo": "0", "FuYN": "1" } } } } }, "met beoordeling workflow": { "value": { "FiContract": { "Element": { "Fields": { "Prof": -195, "PoKi": "Contract via workflow beoordelen", "PoNo": "REF:348960", "CmId": "50008", "Prol": "false", "UnId": "1", "VaCt": "02" } } } } }, "Met Contractregel En Verbijzondering": { "value": { "FiContract": { "Element": { "Fields": { "PoKi": "Contract Insert Met Contractregel En Verbijzondering", "PoNo": "REF:348961", "CmId": "50008", "CuId": "EUR", "Rate": "1", "UnId": "1", "VaCt": "02" }, "Objects": { "FiContractline": { "Element": { "Fields": { "DaBe": "2020-01-01", "DaEn": "2020-12-31", "AmPF": "12000.55", "VaCm": "0", "AcNr": "4250", "DiC1": "ZUID", "DiC2": "SAMA", "DiC3": "DIE", "DiC4": "ZUID", "DiC5": "MAAT", "JuYN": [ "1", "1" ] } } } } } } } }, "Met Verplichting": { "value": { "FiContract": { "Element": { "Fields": { "PoKi": "Contract insert met verplichting", "PoNo": "REF:348960", "CmId": "50008", "CuId": "EUR", "Rate": "1", "UnId": "1", "VaCt": "02" }, "Objects": { "FiContractline": { "Element": { "Fields": { "DaBe": "2020-07-15", "DaEn": "2021-07-14", "AmPF": "12000.55", "VaCm": "2", "AcNr": "4250", "DiC1": "ZUID", "DiC2": "SAMA", "DiC3": "DIE", "DiC4": "ZUID", "DiC5": "MAAT", "JuYN": "1" } } } } } } } }, "Met Verplichting Met Project En Kostencode": { "value": { "FiContract": { "Element": { "Fields": { "PoKi": "Contract insert met verplichting en project en kostencode", "PoNo": "REF:348963", "CmId": "50008", "CuId": "EUR", "Rate": "1", "UnId": "1", "VaCt": "02" }, "Objects": { "FiContractline": { "Element": { "Fields": { "DaBe": "2021-01-01", "DaEn": "2021-12-31", "AmPF": "320.55", "VaCm": "2", "AcNr": "8080", "PrId": "300000", "BiId": "T1", "JuYN": "1" } } } } } } } }, "Minimaal": { "value": { "FiContract": { "Element": { "Fields": { "PoKi": "Contract insert minimaal", "PoNo": "REF:348960", "CmId": "50008", "Prol": "false", "UnId": "1", "VaCt": "02" } } } } }, "Minimaal Zonder Contractregel": { "value": { "FiContract": { "Element": { "Fields": { "PoKi": "Contract insert minimaal zonder contractregel", "PoNo": "REF:348959", "CmId": "50008", "CuId": "EUR", "Rate": "1", "UnId": "1", "VaCt": "02" } } } } }, "Opgezegd contract": { "value": { "FiContract": { "Element": { "Fields": { "SeNo": "51647801", "PoKi": "Contract insert opgezegd", "PoNo": "REF:348965", "CmId": "60009", "DaBe": "2014-01-01", "DaEn": "2014-12-31", "AmPr": "24000.24", "AmIn": "1000000", "DaVa": "2013-12-02", "Re": "Opmerking bij contract. Geen idee hoe lang dit veld mag zijn maar dit is genoeg? \r\n En een nieuwe regel. \r\n Nog ��n.", "Prol": "1", "EmId": "FLOORA", "UnId": "1", "CaDa": "2014-12-20", "CaUs": "KEESZ", "VaCt": "01", "SiCo": "0" } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "results": { "FiContract": { "CoNu": "PrimaryKeyValue", "SeNo": "PrimaryKeyValue" } } } } } } }, "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Transfer-Encoding": { "description": "chunked", "schema": { "type": "string" } }, "Content-Type": { "description": "application/json; charset=utf-8", "schema": { "type": "string" } }, "Content-Encoding": { "description": "gzip", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(10ms), after response(609ms), after compressing(610ms), complete(610ms)", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Wed, 07 Feb 2024 10:39:26 GMT", "schema": { "type": "string" } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Contract" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] }, "put": { "summary": "Contract", "description": "\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_FiContr.htm", "operationId": "PUT_FiContract", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiContract_PUT" }, "examples": { "Met Verplichting Met Project En Kostencode": { "value": { "FiContract": { "Element": { "Fields": { "CoNu": "C001-2023000007", "PoKi": "Contract update met verplichting en project en kostencode", "PoNo": "REF:348964", "CmId": "50008", "CuId": "EUR", "Rate": "1", "UnId": "1", "VaCt": "02" }, "Objects": { "FiContractline": { "Element": { "Fields": { "Id": "6", "DaBe": "2021-01-01", "DaEn": "2022-12-31", "AmPF": "320.56", "Prol": "0", "CuId": "EUR", "Rate": "1", "VaCm": "2", "AcNr": "4250", "PrId": "300000", "BiId": "T1", "DiC1": "ZUID", "DiC2": "SAMA", "DiC3": "DIE", "DiC4": "ZUID", "DiC5": "MAAT", "JuYN": "1", "ReYN": "0" } } } } } } } }, "Omschrijving": { "value": { "FiContract": { "Element": { "Fields": { "SeNo": "51647801", "PoKi": "Contract update!" } } } } }, "Opzeggen": { "value": { "FiContract": { "Element": { "Fields": { "SeNo": "51647801", "CaDa": "2015-11-05", "CaUs": "KEESZ" } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "results": { "FiContract": { "CoNu": "PrimaryKeyValue", "SeNo": "PrimaryKeyValue" } } } } } } }, "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Transfer-Encoding": { "description": "chunked", "schema": { "type": "string" } }, "Content-Type": { "description": "application/json; charset=utf-8", "schema": { "type": "string" } }, "Content-Encoding": { "description": "gzip", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(10ms), after response(609ms), after compressing(610ms), complete(610ms)", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Wed, 07 Feb 2024 10:39:26 GMT", "schema": { "type": "string" } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Contract" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/FiContract/FiContractline": { "post": { "summary": "Contract", "description": "Update main record in FiContract and insert subrecord into FiContractline. \n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_FiContr.htm", "operationId": "POSTSubRecordFiContractFiContractline", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiContract_POST" } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "results": { "FiContract": { "CoNu": "PrimaryKeyValue", "SeNo": "PrimaryKeyValue" } } } } } } }, "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Transfer-Encoding": { "description": "chunked", "schema": { "type": "string" } }, "Content-Type": { "description": "application/json; charset=utf-8", "schema": { "type": "string" } }, "Content-Encoding": { "description": "gzip", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(10ms), after response(609ms), after compressing(610ms), complete(610ms)", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Wed, 07 Feb 2024 10:39:26 GMT", "schema": { "type": "string" } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Contract" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/FiFixedAssets": { "post": { "summary": "Fixed assets", "description": "\n\rAlleen beschikbaar onder conditie: Vaste Activa\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_FiFixedAssets.htm", "operationId": "POST_FiFixedAssets", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiFixedAssets_POST" }, "examples": { "Basic fixed assests": { "value": { "FiFixedAssets": { "Element": { "Fields": { "AutoNum": false, "SeNo": "51647801", "Ds": "Insert fixed asset with depreciation", "FgSn": "3", "DaPu": "2020-01-01", "DaSe": "2020-01-01", "NpBu": "10", "RefN": "", "BuVa": "45000", "AdVa": "750", "FiYn": "true", "ViAk": "3", "ViDf": "D", "SaVa": "9000", "DaSd": "2020-01-01" } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "results": { "FiFixedAssets": { "SeNo": "PrimaryKeyValue" } } } } } } }, "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Transfer-Encoding": { "description": "chunked", "schema": { "type": "string" } }, "Content-Type": { "description": "application/json; charset=utf-8", "schema": { "type": "string" } }, "Content-Encoding": { "description": "gzip", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(10ms), after response(609ms), after compressing(610ms), complete(610ms)", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Wed, 07 Feb 2024 10:39:26 GMT", "schema": { "type": "string" } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Fixed assets" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/FiFixedAssetsBuy": { "post": { "summary": "Fixed assets investment", "description": "\n\rAlleen beschikbaar onder conditie: Vaste Activa\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_FiFixedAssetsSale.htm", "operationId": "POST_FiFixedAssetsBuy", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiFixedAssetsBuy_POST" }, "examples": { "derving": { "value": { "FiFixedAssetsBuy": { "Element": { "Fields": { "FaSn": "116", "SeNo": "51647801", "Ds": "kwijtgeraakt in de trein", "DaBe": "2020-07-02", "MtBu": "-500", "ViTp": "T" } } } } }, "insert": { "value": { "FiFixedAssetsBuy": { "Element": { "Fields": { "FaSn": "116", "SeNo": "51647801", "Ds": "nog 1 erbij", "DaBe": "2020-07-02", "MtBu": "1000", "MtAd": "0", "ViTp": "D" } } } } } } } } }, "responses": { "201": { "description": "Created" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Fixed assets investment" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/FiFixedAssetsSale": { "post": { "summary": "Fixed assets sales", "description": "\n\rAlleen beschikbaar onder conditie: Vaste Activa\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_FiFixedAssetsSale.htm", "operationId": "POST_FiFixedAssetsSale", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiFixedAssetsSale_POST" }, "examples": { "verkoop deelverkoop": { "value": { "FiFixedAssetsSale": { "Element": { "Fields": { "FaSn": "1", "ViSa": "D", "SaDs": "Banden verkcoht", "ViRa": "01", "DaSa": "2017-12-15", "DaOs": "2017-10-01", "NpSe": "01", "SaAm": "200", "ViDr": "1" } } } } }, "verkoop deelverkoop 2": { "value": { "FiFixedAssetsSale": { "Element": { "Fields": { "FaSn": "1", "ViSa": "D", "SaDs": "Banden verkcoht", "ViRa": "01", "DaSa": "2017-12-15", "DaOs": "2017-10-01", "SaAm": "200", "ViDr": "1" } } } } }, "verkoop deelverkoop 3": { "value": { "FiFixedAssetsSale": { "Element": { "Fields": { "FaSn": "1", "ViSa": "D", "SaDs": "Banden verkcoht", "ViRa": "01", "DaSa": "2017-12-15", "DaOs": "2017-10-01", "SaAm": "200", "ViDr": "1" } } } } }, "volledige verkoop": { "value": { "FiFixedAssetsSale": { "Element": { "Fields": { "FaSn": "25", "ViSa": "V", "SaDs": "goed prijsje voor gekregen", "DaSa": "2017-12-15", "DaOs": "2009-01-02", "NpSe": "01", "SaAm": "200", "ViDr": "1" } } } } } } } } }, "responses": { "201": { "description": "Created" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Fixed assets sales" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] }, "put": { "summary": "Fixed assets sales", "description": "\n\rAlleen beschikbaar onder conditie: Vaste Activa\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_FiFixedAssetsSale.htm", "operationId": "PUT_FiFixedAssetsSale", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiFixedAssetsSale_PUT" }, "examples": { "verkoop deelverkoop 2": { "value": { "FiFixedAssetsSale": { "Element": { "Fields": { "FaSn": "1", "SeNo": "51647801", "SaDs": "Banden verkcoht", "ViRa": "02", "SaAm": "400" } } } } } } } } }, "responses": { "201": { "description": "Created" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Fixed assets sales" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/FiFixedAssetsSale/FiFixedAssetsSale/@FaSn,@SeNo/{FaSn},{SeNo}": { "parameters": [ { "schema": { "type": "string" }, "name": "FaSn", "in": "path", "required": true, "description": "Asset code" }, { "schema": { "type": "string" }, "name": "SeNo", "in": "path", "required": true, "description": "Sequence number" } ], "delete": { "summary": "Fixed assets sales", "operationId": "DELETE_FiFixedAssetsSale", "description": "\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_FiFixedAssetsSale.htm", "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "$ref": "#/components/responses/200" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Fixed assets sales" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" } ] } }, "/connectors/FiReservation": { "post": { "summary": "Reserve financial", "description": "\n\rAlleen beschikbaar onder conditie: Financieel\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_FiResv.htm", "operationId": "POST_FiReservation", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiReservation_POST" }, "examples": { "andere admin": { "value": { "FiReservation": { "Element": { "@UnId": "2", "@SeNo": "", "Fields": { "AcNr": "4300", "Yr": "2015", "PeNr": "1", "Ds": "Reservering admin 2", "Ref": "REF394875", "Amt": "1000" } } } } }, "dimensies": { "value": { "FiReservation": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4320", "VaAs": "1", "Yr": "2015", "PeNr": "6", "Ds": "dimensies", "Ref": "REF456456", "PrId": "600000", "PrSt": "01", "Amt": "1100", "Qua": "9", "Di01": "1" } } } } }, "Maximaal": { "value": { "FiReservation": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4250", "VaAs": "1", "Yr": "2015", "PeNr": "1", "Ds": "Reservering maximaal", "CrId": "50013", "Ref": "REF394875", "Set": "0", "PtId": "1", "BiId": "K01", "DiC1": "WEST", "DiC2": "PZ", "DiC3": "PRO", "DiC4": "NOORD", "DiC5": "INT", "Amt": "1000", "Qua": "10", "Di01": "1" } } } } }, "meerdere": { "value": { "FiReservation": { "Element": [ { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4095", "Yr": "2015", "PeNr": "1", "Ds": "Reservering meerdere 1/3", "Ref": "REF394875-1", "Amt": "1100" } }, { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4095", "Yr": "2015", "PeNr": "1", "Ds": "Reservering meerdere 2/3", "Ref": "REF394875-2", "Amt": "1200" } }, { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4095", "Yr": "2015", "PeNr": "1", "Ds": "Reservering meerdere 3/3", "Ref": "REF394875-3", "Amt": "1300" } } ] } } }, "minimaal": { "value": { "FiReservation": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4095", "Yr": "2015", "PeNr": "1", "Ds": "Reservering minimaal", "Ref": "REF394875", "Amt": "1000" } } } } }, "negatief maximaal": { "value": { "FiReservation": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4250", "VaAs": "1", "Yr": "2015", "PeNr": "1", "Ds": "Reservering maximaal", "CrId": "50013", "Ref": "REF394875", "Set": "0", "PtId": "1", "BiId": "K01", "DiC1": "WEST", "DiC2": "PZ", "DiC3": "PRO", "DiC4": "NOORD", "DiC5": "INT", "Amt": "1000", "Qua": "10", "Di01": "1" } } } } }, "negatief minimaal": { "value": { "FiReservation": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4095", "Yr": "2015", "PeNr": "1", "Ds": "Reservering minimaal", "Ref": "REF394875", "Amt": "-1000", "Qua": "10" } } } } }, "project": { "value": { "FiReservation": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4320", "VaAs": "1", "Yr": "2015", "PeNr": "5", "Ds": "Reservering project", "Ref": "REF394875", "PrId": "600000", "PrSt": "01", "BiId": "K01", "Amt": "1500", "Qua": "5" } } } } }, "SeNo meegeven": { "value": { "FiReservation": { "Element": { "@UnId": "1", "@SeNo": "99", "Fields": { "AcNr": "4095", "Yr": "2015", "PeNr": "1", "Ds": "Reservering SeNo meegeven", "Ref": "REF394875", "Amt": "999999999" } } } } }, "verbijzonderen": { "value": { "FiReservation": { "Element": { "@UnId": "1", "@SeNo": "", "Fields": { "AcNr": "4250", "VaAs": "1", "Yr": "2015", "PeNr": "1", "Ds": "Reservering verbijzonderen", "CrId": "50013", "Ref": "REF394875", "Set": "0", "PtId": "1", "DiC1": "ZUID", "DiC2": "SAMA", "DiC3": "DIE", "DiC4": "ZUID", "DiC5": "MAAT", "Amt": "1000", "Qua": "10" } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "results": { "FiReservation": { "UnId": "PrimaryKeyValue", "SeNo": "PrimaryKeyValue" } } } } } } }, "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Transfer-Encoding": { "description": "chunked", "schema": { "type": "string" } }, "Content-Type": { "description": "application/json; charset=utf-8", "schema": { "type": "string" } }, "Content-Encoding": { "description": "gzip", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(10ms), after response(609ms), after compressing(610ms), complete(610ms)", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Wed, 07 Feb 2024 10:39:26 GMT", "schema": { "type": "string" } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Reserve financial" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] }, "put": { "summary": "Reserve financial", "description": "\n\rAlleen beschikbaar onder conditie: Financieel\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_FiResv.htm", "operationId": "PUT_FiReservation", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FiReservation_PUT" }, "examples": { "enkel": { "value": { "FiReservation": { "Element": { "@UnId": "1", "@SeNo": "3", "Fields": { "AcNr": "4200", "Yr": "2015", "PeNr": "3", "Ds": "Reservering gewijzigd", "Ref": "REF394875 gew", "Amt": "9999" } } } } }, "meerdee": { "value": { "FiReservation": { "Element": [ { "@UnId": "1", "@SeNo": "2", "Fields": { "Ds": "Reservering gewijzigd 1/2", "Ref": "REF394875 gew" } }, { "@UnId": "1", "@SeNo": "4", "Fields": { "Ds": "Reservering gewijzigd 2/2", "Ref": "REF394875 gew" } } ] } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "results": { "FiReservation": { "UnId": "PrimaryKeyValue", "SeNo": "PrimaryKeyValue" } } } } } } }, "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Transfer-Encoding": { "description": "chunked", "schema": { "type": "string" } }, "Content-Type": { "description": "application/json; charset=utf-8", "schema": { "type": "string" } }, "Content-Encoding": { "description": "gzip", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(10ms), after response(609ms), after compressing(610ms), complete(610ms)", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Wed, 07 Feb 2024 10:39:26 GMT", "schema": { "type": "string" } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Reserve financial" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/FiReservation/FiReservation/@UnId,@SeNo/{UnId},{SeNo}": { "parameters": [ { "schema": { "type": "string" }, "name": "UnId", "in": "path", "required": true, "description": "Administration" }, { "schema": { "type": "string" }, "name": "SeNo", "in": "path", "required": true, "description": "Reservation number" } ], "delete": { "summary": "Reserve financial", "operationId": "DELETE_FiReservation", "description": "\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_FiResv.htm", "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "$ref": "#/components/responses/200" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Reserve financial" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" } ] } } }, "tags": [ { "name": "GET", "description": "GET" }, { "name": "API Info", "description": "API Info" }, { "name": "Budget", "description": "Budget" }, { "name": "Budget request", "description": "Budget request" }, { "name": "Obligation", "description": "Obligation" }, { "name": "Contract", "description": "Contract" }, { "name": "Fixed assets", "description": "Fixed assets" }, { "name": "Fixed assets investment", "description": "Fixed assets investment" }, { "name": "Fixed assets sales", "description": "Fixed assets sales" }, { "name": "Reserve financial", "description": "Reserve financial" } ], "components": { "schemas": { "FiBudgetRequest_POST": { "type": "object", "properties": { "FiBudgetRequest": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "BrNr": { "type": "string", "maxLength": 20, "description": "Request number", "format": "" }, "Prof": { "type": "integer", "description": "Profile", "format": "" }, "Appl": { "type": "string", "maxLength": 15, "description": "Requester", "format": "" }, "CkBn": { "type": "string", "enum": [ "A", "G", "V" ], "maxLength": 20, "description": "Control budget neutral\nA = Control on budget neutral;\nG = No check on budget neutral;\nV = Pose question if not budget neutral;", "format": "" }, "UnId": { "type": "integer", "description": "Administration", "format": "" }, "ScId": { "type": "string", "maxLength": 6, "description": "Budget scenario", "format": "" }, "Ds": { "type": "string", "maxLength": 100, "description": "Description", "format": "" }, "Dcsn": { "type": "string", "description": "Decision", "format": "byte" }, "ChTp": { "type": "string", "enum": [ "10", "20" ], "maxLength": 20, "description": "Type of change\n10 = Transfer;\n20 = Extension;", "format": "" }, "ChPe": { "type": "string", "enum": [ "I1", "I2", "I3", "I4", "I5", "S" ], "maxLength": 20, "description": "Periodic change\nI1 = Incidental;\nI2 = Incidental 2 years;\nI3 = \tIncidental 3 year;\nI4 = Incidental 4 years;\nI5 = Incidental 5 years;\nS = Structural;", "format": "" }, "Rm": { "type": "string", "description": "Remark", "format": "byte" }, "FiAtNa": { "type": "string", "maxLength": 255, "description": "Bestandsnaam bijlage", "format": "" }, "FiAtDa": { "type": "string", "description": "Inhoud bijlage", "format": "byte" } }, "required": [ "Prof", "CkBn", "UnId" ] }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "FiBudgetRequestLine": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "Yr": { "type": "integer", "description": "Financial year", "format": "" }, "PeFr": { "type": "integer", "description": "Period from", "format": "" }, "PeTo": { "type": "integer", "description": "Period up to and incl", "format": "" }, "AcNr": { "type": "string", "maxLength": 16, "description": "Account", "format": "" }, "V1Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 1", "format": "" }, "V2Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 2", "format": "" }, "V3Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 3", "format": "" }, "V4Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 4", "format": "" }, "V5Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 5", "format": "" }, "Amt": { "type": "number", "description": "Amount", "format": "number" }, "Qua": { "type": "number", "description": "Number", "format": "number" }, "Ds": { "type": "string", "maxLength": 100, "description": "Description", "format": "" }, "Rm": { "type": "string", "description": "Remark", "format": "byte" } }, "required": [ "Yr", "AcNr" ] } } } } } } } } } } } } } } }, "FiBudget_POST": { "type": "object", "properties": { "FiBudget": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "unitId": { "type": "integer", "description": "Administratie", "format": "" }, "year": { "type": "integer", "description": "Jaar", "format": "" }, "accountNr": { "type": "string", "maxLength": 16, "description": "Grootboekrekening", "format": "" }, "budgetScenario": { "type": "string", "maxLength": 6, "description": "Budgetscenario", "format": "" }, "dimCode1": { "type": "string", "maxLength": 16, "description": "Verbijzonderingscode as 1", "format": "" }, "dimCode2": { "type": "string", "maxLength": 16, "description": "Verbijzonderingscode as 2", "format": "" }, "dimCode3": { "type": "string", "maxLength": 16, "description": "Verbijzonderingscode as 3", "format": "" }, "dimCode4": { "type": "string", "maxLength": 16, "description": "Verbijzonderingscode as 4", "format": "" }, "dimCode5": { "type": "string", "maxLength": 16, "description": "Verbijzonderingscode as 5", "format": "" }, "budgetType": { "type": "string", "maxLength": 16, "description": "Type budget", "format": "" }, "readAdjustment": { "type": "string", "maxLength": 16, "description": "Aanpassing / Aangepaste waarde", "format": "" }, "yearBudget": { "type": "boolean", "description": "Jaarbudget", "format": "" }, "autoDivide": { "type": "boolean", "description": "Automatisch verdelen", "format": "" }, "divTable": { "type": "integer", "description": "Periodeverdeeltabel", "format": "" }, "periodFrom": { "type": "integer", "description": "PeriodeId van", "format": "" }, "periodTo": { "type": "integer", "description": "PeriodeId t/m", "format": "" } }, "required": [ "unitId", "year", "accountNr", "budgetScenario", "dimCode1", "dimCode2", "dimCode3", "dimCode4", "dimCode5", "budgetType", "readAdjustment", "yearBudget", "autoDivide", "divTable", "periodFrom", "periodTo" ] }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "BudgetLines": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "seqNo": { "type": "integer", "description": "Volgnummer", "format": "" }, "periodId": { "type": "integer", "description": "PeriodeId", "format": "" }, "amount": { "type": "number", "description": "Bedrag", "format": "number" }, "quantity": { "type": "number", "description": "Aantal", "format": "number" } }, "required": [ "seqNo", "periodId", "amount", "quantity" ] } } } } } } } } } } } } } } }, "FiBudget_PUT": { "type": "object", "properties": { "FiBudget": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "unitId": { "type": "integer", "description": "Administratie", "format": "" }, "year": { "type": "integer", "description": "Jaar", "format": "" }, "accountNr": { "type": "string", "maxLength": 16, "description": "Grootboekrekening", "format": "" }, "budgetScenario": { "type": "string", "maxLength": 6, "description": "Budgetscenario", "format": "" }, "dimCode1": { "type": "string", "maxLength": 16, "description": "Verbijzonderingscode as 1", "format": "" }, "dimCode2": { "type": "string", "maxLength": 16, "description": "Verbijzonderingscode as 2", "format": "" }, "dimCode3": { "type": "string", "maxLength": 16, "description": "Verbijzonderingscode as 3", "format": "" }, "dimCode4": { "type": "string", "maxLength": 16, "description": "Verbijzonderingscode as 4", "format": "" }, "dimCode5": { "type": "string", "maxLength": 16, "description": "Verbijzonderingscode as 5", "format": "" }, "budgetType": { "type": "string", "maxLength": 16, "description": "Type budget", "format": "" }, "readAdjustment": { "type": "string", "maxLength": 16, "description": "Aanpassing / Aangepaste waarde", "format": "" }, "yearBudget": { "type": "boolean", "description": "Jaarbudget", "format": "" }, "autoDivide": { "type": "boolean", "description": "Automatisch verdelen", "format": "" }, "divTable": { "type": "integer", "description": "Periodeverdeeltabel", "format": "" }, "periodFrom": { "type": "integer", "description": "PeriodeId van", "format": "" }, "periodTo": { "type": "integer", "description": "PeriodeId t/m", "format": "" } } }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "BudgetLines": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "seqNo": { "type": "integer", "description": "Volgnummer", "format": "" }, "periodId": { "type": "integer", "description": "PeriodeId", "format": "" }, "amount": { "type": "number", "multipleOf": 1E-10, "description": "Bedrag", "format": "float" }, "quantity": { "type": "number", "multipleOf": 1E-10, "description": "Aantal", "format": "float" } } } } } } } } } } } } } } } } }, "FiCommitment_POST": { "type": "object", "properties": { "FiCommitment": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "UnId": { "type": "integer", "description": "Administration", "format": "" }, "AcNr": { "type": "string", "maxLength": 16, "description": "Ledger account", "format": "" }, "Yr": { "type": "integer", "description": "Year", "format": "" }, "PeNr": { "type": "integer", "description": "Period number", "format": "" }, "SeNo": { "type": "integer", "description": "Obligation number", "format": "" }, "CuId": { "type": "string", "maxLength": 3, "description": "Currency", "format": "" }, "Rate": { "type": "number", "description": "Exchange rate", "format": "number" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "CrId": { "type": "string", "maxLength": 16, "description": "Creditor", "format": "" }, "Ref": { "type": "string", "maxLength": 30, "description": "Internal reference", "format": "" }, "RefE": { "type": "string", "maxLength": 50, "description": "External reference", "format": "" }, "Set": { "type": "boolean", "description": "Completed", "format": "" }, "ReId": { "type": "integer", "description": "Reservation", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "VaIt": { "type": "string", "enum": [ "1", "10", "11", "14", "2", "3", "4", "5", "6", "7", "8" ], "maxLength": 10, "description": "Item type\n1 = Work type;\n10 = Production indicator;\n11 = Dough;\n14 = Item dimension total;\n2 = Article;\n3 = Text;\n4 = Sub-total;\n5 = Allowance;\n6 = Costs;\n7 = Assembled item;\n8 = Course;", "format": "" }, "ItCd": { "type": "string", "maxLength": 40, "description": "Itemcode", "format": "" }, "DiC1": { "type": "string", "maxLength": 16, "description": "Exception axis code 1", "format": "" }, "DiC2": { "type": "string", "maxLength": 16, "description": "Exception axis code 2", "format": "" }, "DiC3": { "type": "string", "maxLength": 16, "description": "Exception axis code 3", "format": "" }, "DiC4": { "type": "string", "maxLength": 16, "description": "Exception axis code 4", "format": "" }, "DiC5": { "type": "string", "maxLength": 16, "description": "Exception axis code 5", "format": "" }, "Amt": { "type": "number", "description": "Obligation amount in basic currency", "format": "number" }, "AmtF": { "type": "number", "description": "Amount obligation", "format": "number" }, "AmEn": { "type": "number", "description": "Written off amount in basic currency", "format": "number" }, "AmEF": { "type": "number", "description": "Amount written off", "format": "number" }, "Qua": { "type": "number", "description": "Obligation quantity", "format": "number" }, "Di01": { "type": "integer", "description": "(Not used)", "format": "" }, "Di02": { "type": "integer", "description": "(Not used)", "format": "" }, "Di03": { "type": "integer", "description": "(Not used)", "format": "" }, "Di04": { "type": "integer", "description": "(Not used)", "format": "" }, "Di05": { "type": "integer", "description": "(Not used)", "format": "" }, "Judg": { "type": "string", "maxLength": 15, "description": "Reviewer", "format": "" }, "JuYN": { "type": "boolean", "description": "Block for payment", "format": "" }, "Cont": { "type": "string", "maxLength": 16, "description": "Contract", "format": "" }, "CoLn": { "type": "integer", "description": "Contract line number", "format": "" }, "VaId": { "type": "string", "maxLength": 3, "description": "VAT code", "format": "" }, "MoId": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "CoTy": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" }, "Rmrk": { "type": "string", "description": "Remark", "format": "byte" } }, "required": [ "UnId", "SeNo", "CuId" ] } } } } } } }, "FiCommitment_PUT": { "type": "object", "properties": { "FiCommitment": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "UnId": { "type": "integer", "description": "Administration", "format": "" }, "AcNr": { "type": "string", "maxLength": 16, "description": "Ledger account", "format": "" }, "Yr": { "type": "integer", "description": "Year", "format": "" }, "PeNr": { "type": "integer", "description": "Period number", "format": "" }, "SeNo": { "type": "integer", "description": "Obligation number", "format": "" }, "CuId": { "type": "string", "maxLength": 3, "description": "Currency", "format": "" }, "Rate": { "type": "number", "multipleOf": 1E-10, "description": "Exchange rate", "format": "float" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "CrId": { "type": "string", "maxLength": 16, "description": "Creditor", "format": "" }, "Ref": { "type": "string", "maxLength": 30, "description": "Internal reference", "format": "" }, "RefE": { "type": "string", "maxLength": 50, "description": "External reference", "format": "" }, "Set": { "type": "boolean", "description": "Completed", "format": "" }, "ReId": { "type": "integer", "description": "Reservation", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "VaIt": { "type": "string", "enum": [ "1", "10", "11", "14", "2", "3", "4", "5", "6", "7", "8" ], "maxLength": 10, "description": "Item type\n1 = Work type;\n10 = Production indicator;\n11 = Dough;\n14 = Item dimension total;\n2 = Article;\n3 = Text;\n4 = Sub-total;\n5 = Allowance;\n6 = Costs;\n7 = Assembled item;\n8 = Course;", "format": "" }, "ItCd": { "type": "string", "maxLength": 40, "description": "Itemcode", "format": "" }, "DiC1": { "type": "string", "maxLength": 16, "description": "Exception axis code 1", "format": "" }, "DiC2": { "type": "string", "maxLength": 16, "description": "Exception axis code 2", "format": "" }, "DiC3": { "type": "string", "maxLength": 16, "description": "Exception axis code 3", "format": "" }, "DiC4": { "type": "string", "maxLength": 16, "description": "Exception axis code 4", "format": "" }, "DiC5": { "type": "string", "maxLength": 16, "description": "Exception axis code 5", "format": "" }, "Amt": { "type": "number", "multipleOf": 1E-10, "description": "Obligation amount in basic currency", "format": "float" }, "AmtF": { "type": "number", "multipleOf": 1E-10, "description": "Amount obligation", "format": "float" }, "AmEn": { "type": "number", "multipleOf": 1E-10, "description": "Written off amount in basic currency", "format": "float" }, "AmEF": { "type": "number", "multipleOf": 1E-10, "description": "Amount written off", "format": "float" }, "Qua": { "type": "number", "multipleOf": 0.01, "description": "Obligation quantity", "format": "float" }, "Di01": { "type": "integer", "description": "(Not used)", "format": "" }, "Di02": { "type": "integer", "description": "(Not used)", "format": "" }, "Di03": { "type": "integer", "description": "(Not used)", "format": "" }, "Di04": { "type": "integer", "description": "(Not used)", "format": "" }, "Di05": { "type": "integer", "description": "(Not used)", "format": "" }, "Judg": { "type": "string", "maxLength": 15, "description": "Reviewer", "format": "" }, "JuYN": { "type": "boolean", "description": "Block for payment", "format": "" }, "Cont": { "type": "string", "maxLength": 16, "description": "Contract", "format": "" }, "CoLn": { "type": "integer", "description": "Contract line number", "format": "" }, "VaId": { "type": "string", "maxLength": 3, "description": "VAT code", "format": "" }, "MoId": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "CoTy": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" }, "Rmrk": { "type": "string", "description": "Remark", "format": "byte" } }, "required": [ "UnId", "SeNo" ] } } } } } } }, "FiContract_POST": { "type": "object", "properties": { "FiContract": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "Prof": { "type": "integer", "description": "Profile", "format": "" }, "SeNo": { "type": "integer", "description": "Contract sequence number", "format": "" }, "CoNu": { "type": "string", "maxLength": 16, "description": "Contract number", "format": "" }, "PoKi": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "PoNo": { "type": "string", "maxLength": 50, "description": "Purchase contact reference", "format": "" }, "CmId": { "type": "string", "maxLength": 16, "description": "Purchase contact", "format": "" }, "TeEn": { "type": "integer", "description": "Notice period", "format": "" }, "CuId": { "type": "string", "maxLength": 3, "description": "Currency", "format": "" }, "Rate": { "type": "number", "description": "Exchange rate", "format": "number" }, "AmIF": { "type": "number", "description": "Insured amount", "format": "number" }, "DaVa": { "type": "string", "description": "Valuation date", "format": "date" }, "Re": { "type": "string", "description": "Remark", "format": "byte" }, "EmId": { "type": "string", "maxLength": 15, "description": "Resp. person", "format": "" }, "EmOw": { "type": "string", "maxLength": 15, "description": "Contract owner", "format": "" }, "EmAd": { "type": "string", "maxLength": 15, "description": "Contract manager", "format": "" }, "UnId": { "type": "integer", "description": "Administration", "format": "" }, "CaDa": { "type": "string", "description": "Terminated on", "format": "date" }, "CaUs": { "type": "string", "maxLength": 80, "description": "Terminated by", "format": "" }, "VaCt": { "type": "string", "enum": [ "01", "02", "03", "04", "05", "06", "07" ], "maxLength": 20, "description": "Contract type\n01 = Insurance;\n02 = Maintenance;\n03 = Subscription;\n04 = Rental and lease contracts;\n05 = Certificate;\n06 = Sponsoring;\n07 = Framework contract;", "format": "" }, "SiCo": { "type": "boolean", "description": "One-time contract", "format": "" }, "FuYN": { "type": "boolean", "description": "In consideration", "format": "" }, "PaCd": { "type": "string", "maxLength": 5, "description": "Payment condition", "format": "" }, "WaPc": { "type": "number", "description": "Wage total (%)", "format": "number" }, "GaPc": { "type": "number", "description": "% G account", "format": "number" }, "AmLi": { "type": "boolean", "description": "Exceeding the contract value is not allowed", "format": "" }, "VaPr": { "type": "string", "enum": [ "J1", "J10", "J2", "J3", "J4", "J5", "J6", "J7", "J8", "J9", "M1", "M3", "M6", "M9" ], "maxLength": 20, "description": "Renewal duration\nJ1 = 1 year;\nJ10 = 10 jaar;\nJ2 = 2 year;\nJ3 = 3 year;\nJ4 = 4 year;\nJ5 = 5 year;\nJ6 = 6 jaar;\nJ7 = 7 jaar;\nJ8 = 8 jaar;\nJ9 = 9 jaar;\nM1 = 1 month;\nM3 = 3 maand;\nM6 = 6 maand;\nM9 = 9 maand;", "format": "" }, "LoId": { "type": "string", "maxLength": 25, "description": "Location", "format": "" } }, "required": [ "CuId" ] }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "FiContractline": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "Id": { "type": "integer", "description": "Contract line sequence number", "format": "" }, "VaRV": { "type": "string", "enum": [ "01", "02" ], "maxLength": 20, "description": "Contract value based on\n01 = Invoice value;\n02 = Contract value;", "format": "" }, "VaCy": { "type": "string", "enum": [ "J1", "M1", "M3", "M6", "W4" ], "maxLength": 20, "description": "Supplier billing cycle\nJ1 = Year;\nM1 = Month;\nM3 = Quarter;\nM6 = Half year;\nW4 = 4 weeks;", "format": "" }, "DaBe": { "type": "string", "description": "Start date", "format": "date" }, "DaEn": { "type": "string", "description": "End date", "format": "date" }, "AmPF": { "type": "number", "description": "Contract value", "format": "number" }, "VaPe": { "type": "string", "enum": [ "Y", "K", "M", "P", "T" ], "maxLength": 20, "description": "Contract value per\nY = Year;\nK = Quarter;\nM = Month;\nP = Period (4 week(s);\nT = Total contract line duration;", "format": "" }, "Prol": { "type": "boolean", "description": "Tacit extension", "format": "" }, "CuId": { "type": "string", "maxLength": 3, "description": "Currency", "format": "" }, "Rate": { "type": "number", "description": "Exchange rate", "format": "number" }, "VaCm": { "type": "string", "enum": [ "0", "1", "2", "3", "4", "5", "6" ], "maxLength": 20, "description": "Generate obligation\n0 = Do not generate obligation;\n1 = Per year as from the start date period;\n2 = Per year, distribute proportionally;\n3 = Per month, distribute proportionally;\n4 = Per month, distribute pro rata;\n5 = Per period (4 weeks), distribute proportionally;\n6 = Per period (4 weeks), distribute proportionally;", "format": "" }, "AcNr": { "type": "string", "maxLength": 16, "description": "Ledger account", "format": "" }, "ReId": { "type": "integer", "description": "Reservation", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "BiId": { "type": "string", "maxLength": 40, "description": "Item code", "format": "" }, "DiC1": { "type": "string", "maxLength": 16, "description": "Exception axis code 1", "format": "" }, "DiC2": { "type": "string", "maxLength": 16, "description": "Exception axis code 2", "format": "" }, "DiC3": { "type": "string", "maxLength": 16, "description": "Exception axis code 3", "format": "" }, "DiC4": { "type": "string", "maxLength": 16, "description": "Exception axis code 4", "format": "" }, "DiC5": { "type": "string", "maxLength": 16, "description": "Exception axis code 5", "format": "" }, "JuYN": { "type": "boolean", "description": "Block for payment", "format": "" }, "MoId": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "CoTy": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" }, "VaId": { "type": "string", "maxLength": 3, "description": "VAT code", "format": "" }, "CoVc": { "type": "string", "maxLength": 16, "description": "VAT reclaim", "format": "" }, "ReYN": { "type": "boolean", "description": "Write off reservation completely", "format": "" }, "APFC": { "type": "number", "description": "Invoice value period", "format": "number" }, "APBF": { "type": "number", "description": "Pro rata period start", "format": "number" }, "APEF": { "type": "number", "description": "Pro rata period end", "format": "number" }, "GCoF": { "type": "boolean", "description": "Generate obligation", "format": "" } }, "required": [ "VaRV" ] } } } } } } } } } } } } } } }, "FiContract_PUT": { "type": "object", "properties": { "FiContract": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "Prof": { "type": "integer", "description": "Profile", "format": "" }, "SeNo": { "type": "integer", "description": "Contract sequence number", "format": "" }, "CoNu": { "type": "string", "maxLength": 16, "description": "Contract number", "format": "" }, "PoKi": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "PoNo": { "type": "string", "maxLength": 50, "description": "Purchase contact reference", "format": "" }, "CmId": { "type": "string", "maxLength": 16, "description": "Purchase contact", "format": "" }, "TeEn": { "type": "integer", "description": "Notice period", "format": "" }, "CuId": { "type": "string", "maxLength": 3, "description": "Currency", "format": "" }, "Rate": { "type": "number", "multipleOf": 1E-10, "description": "Exchange rate", "format": "float" }, "AmIF": { "type": "number", "multipleOf": 1E-10, "description": "Insured amount", "format": "float" }, "DaVa": { "type": "string", "description": "Valuation date", "format": "date" }, "Re": { "type": "string", "description": "Remark", "format": "byte" }, "EmId": { "type": "string", "maxLength": 15, "description": "Resp. person", "format": "" }, "EmOw": { "type": "string", "maxLength": 15, "description": "Contract owner", "format": "" }, "EmAd": { "type": "string", "maxLength": 15, "description": "Contract manager", "format": "" }, "UnId": { "type": "integer", "description": "Administration", "format": "" }, "CaDa": { "type": "string", "description": "Terminated on", "format": "date" }, "CaUs": { "type": "string", "maxLength": 80, "description": "Terminated by", "format": "" }, "VaCt": { "type": "string", "enum": [ "01", "02", "03", "04", "05", "06", "07" ], "maxLength": 20, "description": "Contract type\n01 = Insurance;\n02 = Maintenance;\n03 = Subscription;\n04 = Rental and lease contracts;\n05 = Certificate;\n06 = Sponsoring;\n07 = Framework contract;", "format": "" }, "SiCo": { "type": "boolean", "description": "One-time contract", "format": "" }, "FuYN": { "type": "boolean", "description": "In consideration", "format": "" }, "PaCd": { "type": "string", "maxLength": 5, "description": "Payment condition", "format": "" }, "WaPc": { "type": "number", "multipleOf": 0.01, "description": "Wage total (%)", "format": "float" }, "GaPc": { "type": "number", "multipleOf": 0.01, "description": "% G account", "format": "float" }, "AmLi": { "type": "boolean", "description": "Exceeding the contract value is not allowed", "format": "" }, "VaPr": { "type": "string", "enum": [ "J1", "J10", "J2", "J3", "J4", "J5", "J6", "J7", "J8", "J9", "M1", "M3", "M6", "M9" ], "maxLength": 20, "description": "Renewal duration\nJ1 = 1 year;\nJ10 = 10 jaar;\nJ2 = 2 year;\nJ3 = 3 year;\nJ4 = 4 year;\nJ5 = 5 year;\nJ6 = 6 jaar;\nJ7 = 7 jaar;\nJ8 = 8 jaar;\nJ9 = 9 jaar;\nM1 = 1 month;\nM3 = 3 maand;\nM6 = 6 maand;\nM9 = 9 maand;", "format": "" }, "LoId": { "type": "string", "maxLength": 25, "description": "Location", "format": "" } }, "required": [ "SeNo" ] }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "FiContractline": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "Id": { "type": "integer", "description": "Contract line sequence number", "format": "" }, "VaRV": { "type": "string", "enum": [ "01", "02" ], "maxLength": 20, "description": "Contract value based on\n01 = Invoice value;\n02 = Contract value;", "format": "" }, "VaCy": { "type": "string", "enum": [ "J1", "M1", "M3", "M6", "W4" ], "maxLength": 20, "description": "Supplier billing cycle\nJ1 = Year;\nM1 = Month;\nM3 = Quarter;\nM6 = Half year;\nW4 = 4 weeks;", "format": "" }, "DaBe": { "type": "string", "description": "Start date", "format": "date" }, "DaEn": { "type": "string", "description": "End date", "format": "date" }, "AmPF": { "type": "number", "multipleOf": 1E-10, "description": "Contract value", "format": "float" }, "VaPe": { "type": "string", "enum": [ "Y", "K", "M", "P", "T" ], "maxLength": 20, "description": "Contract value per\nY = Year;\nK = Quarter;\nM = Month;\nP = Period (4 week(s);\nT = Total contract line duration;", "format": "" }, "Prol": { "type": "boolean", "description": "Tacit extension", "format": "" }, "CuId": { "type": "string", "maxLength": 3, "description": "Currency", "format": "" }, "Rate": { "type": "number", "multipleOf": 1E-10, "description": "Exchange rate", "format": "float" }, "VaCm": { "type": "string", "enum": [ "0", "1", "2", "3", "4", "5", "6" ], "maxLength": 20, "description": "Generate obligation\n0 = Do not generate obligation;\n1 = Per year as from the start date period;\n2 = Per year, distribute proportionally;\n3 = Per month, distribute proportionally;\n4 = Per month, distribute pro rata;\n5 = Per period (4 weeks), distribute proportionally;\n6 = Per period (4 weeks), distribute proportionally;", "format": "" }, "AcNr": { "type": "string", "maxLength": 16, "description": "Ledger account", "format": "" }, "ReId": { "type": "integer", "description": "Reservation", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "BiId": { "type": "string", "maxLength": 40, "description": "Item code", "format": "" }, "DiC1": { "type": "string", "maxLength": 16, "description": "Exception axis code 1", "format": "" }, "DiC2": { "type": "string", "maxLength": 16, "description": "Exception axis code 2", "format": "" }, "DiC3": { "type": "string", "maxLength": 16, "description": "Exception axis code 3", "format": "" }, "DiC4": { "type": "string", "maxLength": 16, "description": "Exception axis code 4", "format": "" }, "DiC5": { "type": "string", "maxLength": 16, "description": "Exception axis code 5", "format": "" }, "JuYN": { "type": "boolean", "description": "Block for payment", "format": "" }, "MoId": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "CoTy": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" }, "VaId": { "type": "string", "maxLength": 3, "description": "VAT code", "format": "" }, "CoVc": { "type": "string", "maxLength": 16, "description": "VAT reclaim", "format": "" }, "ReYN": { "type": "boolean", "description": "Write off reservation completely", "format": "" }, "APFC": { "type": "number", "multipleOf": 1E-10, "description": "Invoice value period", "format": "float" }, "APBF": { "type": "number", "multipleOf": 1E-10, "description": "Pro rata period start", "format": "float" }, "APEF": { "type": "number", "multipleOf": 1E-10, "description": "Pro rata period end", "format": "float" }, "GCoF": { "type": "boolean", "description": "Generate obligation", "format": "" } }, "required": [ "Id" ] } } } } } } } } } } } } } } }, "FiFixedAssetsBuy_POST": { "type": "object", "properties": { "FiFixedAssetsBuy": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "FaSn": { "type": "integer", "description": "Asset code", "format": "" }, "SeNo": { "type": "integer", "description": "Sequence number", "format": "" }, "Ds": { "type": "string", "maxLength": 80, "description": "Description", "format": "" }, "DaBe": { "type": "string", "description": "Purchase date", "format": "date" }, "MtBu": { "type": "number", "description": "Purchase value", "format": "number" }, "MtAd": { "type": "number", "description": "Additional costs", "format": "number" }, "ViTp": { "type": "string", "enum": [ "R", "D" ], "maxLength": 20, "description": "Calculation type\nR = With retroactive effect from start of depreciation;\nD = From date of change;", "format": "" } }, "required": [ "DaBe", "MtBu" ] } } } } } } }, "FiFixedAssetsSale_POST": { "type": "object", "properties": { "FiFixedAssetsSale": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "FaSn": { "type": "integer", "description": "Asset code", "format": "" }, "SeNo": { "type": "integer", "description": "Sequence number", "format": "" }, "ViSa": { "type": "string", "enum": [ "D", "V" ], "maxLength": 20, "description": "Type of sale\nD = Partial sale/disposal;\nV = Full sale/disposal;", "format": "" }, "SaDs": { "type": "string", "maxLength": 80, "description": "Sales description", "format": "" }, "ViRa": { "type": "string", "enum": [ "01", "02", "03", "04" ], "maxLength": 20, "description": "Reason for sale/disposal\n01 = Sales;\n02 = Defect;\n03 = Lost;\n04 = Theft;", "format": "" }, "DaSa": { "type": "string", "description": "Sales/removal date", "format": "date" }, "DaOs": { "type": "string", "description": "Date out of use", "format": "date" }, "NpSe": { "type": "integer", "description": "Quantity sold", "format": "" }, "DeAm": { "type": "number", "description": "Purchase reduction", "format": "number" }, "ReAm": { "type": "number", "description": "Residual value reduction", "format": "number" }, "CeAm": { "type": "number", "description": "Residual value reduction", "format": "number" }, "SaAm": { "type": "number", "description": "Sales amount", "format": "number" }, "ViDr": { "type": "string", "enum": [ "1", "2", "3", "4", "5" ], "maxLength": 20, "description": "Affect. perte/profit comptable\n1 = Account loss/profit Debit/Credit;\n2 = Reinvestment reserve account;\n3 = Reinvestment reserve replacement asset;\n4 = Commercial book profit on replacement asset;\n5 = Fiscal and commercial reserve;", "format": "" }, "ReSn": { "type": "integer", "description": "Replacement asset", "format": "" } }, "required": [ "ViSa" ] } } } } } } }, "FiFixedAssetsSale_PUT": { "type": "object", "properties": { "FiFixedAssetsSale": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "FaSn": { "type": "integer", "description": "Asset code", "format": "" }, "SeNo": { "type": "integer", "description": "Sequence number", "format": "" }, "ViSa": { "type": "string", "enum": [ "D", "V" ], "maxLength": 20, "description": "Type of sale\nD = Partial sale/disposal;\nV = Full sale/disposal;", "format": "" }, "SaDs": { "type": "string", "maxLength": 80, "description": "Sales description", "format": "" }, "ViRa": { "type": "string", "enum": [ "01", "02", "03", "04" ], "maxLength": 20, "description": "Reason for sale/disposal\n01 = Sales;\n02 = Defect;\n03 = Lost;\n04 = Theft;", "format": "" }, "DaSa": { "type": "string", "description": "Sales/removal date", "format": "date" }, "DaOs": { "type": "string", "description": "Date out of use", "format": "date" }, "NpSe": { "type": "integer", "description": "Quantity sold", "format": "" }, "DeAm": { "type": "number", "multipleOf": 1E-10, "description": "Purchase reduction", "format": "float" }, "ReAm": { "type": "number", "multipleOf": 1E-10, "description": "Residual value reduction", "format": "float" }, "CeAm": { "type": "number", "multipleOf": 1E-10, "description": "Residual value reduction", "format": "float" }, "SaAm": { "type": "number", "multipleOf": 1E-10, "description": "Sales amount", "format": "float" }, "ViDr": { "type": "string", "enum": [ "1", "2", "3", "4", "5" ], "maxLength": 20, "description": "Affect. perte/profit comptable\n1 = Account loss/profit Debit/Credit;\n2 = Reinvestment reserve account;\n3 = Reinvestment reserve replacement asset;\n4 = Commercial book profit on replacement asset;\n5 = Fiscal and commercial reserve;", "format": "" }, "ReSn": { "type": "integer", "description": "Replacement asset", "format": "" } }, "required": [ "FaSn", "SeNo" ] } } } } } } }, "FiFixedAssets_POST": { "type": "object", "properties": { "FiFixedAssets": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "AutoNum": { "type": "boolean", "description": "Vast actief autonummeren", "format": "" }, "SeNo": { "type": "integer", "description": "Asset code", "format": "" }, "Ds": { "type": "string", "maxLength": 120, "description": "Asset name", "format": "" }, "FgSn": { "type": "integer", "description": "Asset group", "format": "" }, "DaPu": { "type": "string", "description": "Date purchase", "format": "date" }, "DaSe": { "type": "string", "description": "Date in use", "format": "date" }, "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "SpId": { "type": "string", "maxLength": 16, "description": "Supplier", "format": "" }, "LoId": { "type": "string", "maxLength": 25, "description": "Location", "format": "" }, "NpBu": { "type": "integer", "description": "Quantity purchased", "format": "" }, "RefN": { "type": "string", "maxLength": 40, "description": "Reference number", "format": "" }, "LiFa": { "type": "integer", "description": "Linked to asset", "format": "" }, "BuVa": { "type": "number", "description": "Purchase value", "format": "number" }, "AdVa": { "type": "number", "description": "Additional costs", "format": "number" }, "ANO1": { "type": "string", "maxLength": 16, "description": "Allocation 1", "format": "" }, "ANO2": { "type": "string", "maxLength": 16, "description": "Allocation 2", "format": "" }, "ANO3": { "type": "string", "maxLength": 16, "description": "Allocation 3", "format": "" }, "ANO4": { "type": "string", "maxLength": 16, "description": "Allocation 4", "format": "" }, "ANO5": { "type": "string", "maxLength": 16, "description": "Allocation 5", "format": "" }, "FiYn": { "type": "boolean", "description": "Fisc. depreciation", "format": "" }, "ViAk": { "type": "string", "enum": [ "1", "2", "3", "4" ], "maxLength": 20, "description": "Type of asset\n1 = Business premises;\n2 = Goodwill;\n3 = Other assets;\n4 = Other assets (exceptions);", "format": "" }, "ViDf": { "type": "string", "enum": [ "D", "R", "L", "P", "B", "M", "R", "A" ], "maxLength": 20, "description": "Depreciation method\nD = Direct depreciation;\nR = Percentage straight-line depreciation incl. interest calculation;\nL = Straight line depreciation amount;\nP = Straight line depreciation percentage;\nB = Percentage of the book value asset sale;\nM = Degressive method;\nR = Random depreciation;\nA = Percentage annuity-based depreciation incl. interest calculation;", "format": "" }, "FiAm": { "type": "number", "description": "Deprec. amount by year", "format": "number" }, "LiYe": { "type": "integer", "description": "Depreciation period", "format": "" }, "RrFa": { "type": "number", "description": "Reinvestment.reserve previous asset", "format": "number" }, "Botm": { "type": "number", "description": "Bottom value", "format": "number" }, "SaVa": { "type": "number", "description": "Residual value", "format": "number" }, "DaSd": { "type": "string", "description": "Start date depreciation", "format": "date" }, "FyLi": { "type": "integer", "description": "Initial depreciation up to financial year", "format": "" }, "FpLi": { "type": "integer", "description": "Initial depreciation up to period", "format": "" }, "FiDi": { "type": "number", "description": "Depreciation initial", "format": "number" }, "AmEd": { "type": "number", "description": "Amount of depreciation (accelerated)", "format": "number" }, "FiYe": { "type": "integer", "description": "Number of years of accelerated deprec.", "format": "" }, "FiDp": { "type": "number", "description": "% Depreciation", "format": "number" }, "CoYn": { "type": "boolean", "description": "Comm. depreciation", "format": "" }, "ViDc": { "type": "string", "enum": [ "D", "R", "L", "P", "B", "M", "A" ], "maxLength": 20, "description": "Depreciation method\nD = Direct depreciation;\nR = Percentage straight-line depreciation incl. interest calculation;\nL = Straight line depreciation amount;\nP = Straight line depreciation percentage;\nB = Percentage of the book value asset sale;\nM = Degressive method;\nA = Percentage annuity-based depreciation incl. interest calculation;", "format": "" }, "FiCa": { "type": "number", "description": "Deprec. amount by year", "format": "number" }, "LiCo": { "type": "integer", "description": "Depreciation period", "format": "" }, "SaCo": { "type": "number", "description": "Residual value", "format": "number" }, "DaCo": { "type": "string", "description": "Start date depreciation", "format": "date" }, "CyLi": { "type": "integer", "description": "Initial depreciation up to financial year", "format": "" }, "CpLi": { "type": "integer", "description": "Initial depreciation up to period", "format": "" }, "CoCu": { "type": "number", "description": "Depreciation initial", "format": "number" }, "FiPc": { "type": "number", "description": "% Depreciation", "format": "number" }, "Bach": { "type": "string", "maxLength": 80, "description": "Serial number", "format": "" }, "Pik": { "type": "string", "maxLength": 40, "description": "PUK code", "format": "" }, "WaDa": { "type": "string", "description": "Guarantee until", "format": "date" }, "Memo": { "type": "string", "description": "Memo", "format": "byte" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "VaIt": { "type": "string", "maxLength": 10, "description": "Item type", "format": "" }, "ItCd": { "type": "string", "maxLength": 40, "description": "Itemcode", "format": "" }, "MoId": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "ViPr": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" }, "DiPt": { "type": "boolean", "description": "Tijdsafhankelijke verbijzondering op basis van pro", "format": "" }, "FileName": { "type": "string", "maxLength": 255, "description": "Filename", "format": "" }, "FileStream": { "type": "string", "description": "File as byte-array", "format": "byte" } }, "required": [ "AutoNum", "Ds", "FgSn", "DaPu" ] } } } } } } }, "FiReservation_POST": { "type": "object", "properties": { "FiReservation": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "UnId": { "type": "integer", "description": "Administration", "format": "" }, "AcNr": { "type": "string", "maxLength": 16, "description": "Ledger account", "format": "" }, "Yr": { "type": "integer", "description": "Year", "format": "" }, "PeNr": { "type": "integer", "description": "Period number", "format": "" }, "SeNo": { "type": "integer", "description": "Reservation number", "format": "" }, "CuId": { "type": "string", "maxLength": 3, "description": "Currency", "format": "" }, "Rate": { "type": "number", "description": "Exchange rate", "format": "number" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "CrId": { "type": "string", "maxLength": 16, "description": "Creditor", "format": "" }, "Ref": { "type": "string", "maxLength": 30, "description": "Internal reference", "format": "" }, "Set": { "type": "boolean", "description": "Completed", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "VaIt": { "type": "string", "enum": [ "1", "10", "11", "14", "2", "3", "4", "5", "6", "7", "8" ], "maxLength": 10, "description": "Item type\n1 = Work type;\n10 = Production indicator;\n11 = Dough;\n14 = Item dimension total;\n2 = Article;\n3 = Text;\n4 = Sub-total;\n5 = Allowance;\n6 = Costs;\n7 = Assembled item;\n8 = Course;", "format": "" }, "ItCd": { "type": "string", "maxLength": 40, "description": "Itemcode", "format": "" }, "DiC1": { "type": "string", "maxLength": 16, "description": "Axis allocation code 1", "format": "" }, "DiC2": { "type": "string", "maxLength": 16, "description": "Axis allocation code 2", "format": "" }, "DiC3": { "type": "string", "maxLength": 16, "description": "Axis allocation code 3", "format": "" }, "DiC4": { "type": "string", "maxLength": 16, "description": "Axis allocation code 4", "format": "" }, "DiC5": { "type": "string", "maxLength": 16, "description": "Axis allocation code 5", "format": "" }, "Amt": { "type": "number", "description": "Reservation amount in basic currency", "format": "number" }, "AmtF": { "type": "number", "description": "Amount reservation", "format": "number" }, "AmEn": { "type": "number", "description": "Written off amount in basic currency", "format": "number" }, "AmEF": { "type": "number", "description": "Amount written off", "format": "number" }, "Qua": { "type": "number", "description": "Reservation quantity", "format": "number" }, "Di01": { "type": "integer", "description": "(not used)", "format": "" }, "Di02": { "type": "integer", "description": "(not used)", "format": "" }, "Di03": { "type": "integer", "description": "(not used)", "format": "" }, "Di04": { "type": "integer", "description": "(not used)", "format": "" }, "Di05": { "type": "integer", "description": "(not used)", "format": "" }, "MoId": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "CoTy": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" } }, "required": [ "UnId", "SeNo", "CuId" ] } } } } } } }, "FiReservation_PUT": { "type": "object", "properties": { "FiReservation": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "UnId": { "type": "integer", "description": "Administration", "format": "" }, "AcNr": { "type": "string", "maxLength": 16, "description": "Ledger account", "format": "" }, "Yr": { "type": "integer", "description": "Year", "format": "" }, "PeNr": { "type": "integer", "description": "Period number", "format": "" }, "SeNo": { "type": "integer", "description": "Reservation number", "format": "" }, "CuId": { "type": "string", "maxLength": 3, "description": "Currency", "format": "" }, "Rate": { "type": "number", "multipleOf": 1E-10, "description": "Exchange rate", "format": "float" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "CrId": { "type": "string", "maxLength": 16, "description": "Creditor", "format": "" }, "Ref": { "type": "string", "maxLength": 30, "description": "Internal reference", "format": "" }, "Set": { "type": "boolean", "description": "Completed", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "VaIt": { "type": "string", "enum": [ "1", "10", "11", "14", "2", "3", "4", "5", "6", "7", "8" ], "maxLength": 10, "description": "Item type\n1 = Work type;\n10 = Production indicator;\n11 = Dough;\n14 = Item dimension total;\n2 = Article;\n3 = Text;\n4 = Sub-total;\n5 = Allowance;\n6 = Costs;\n7 = Assembled item;\n8 = Course;", "format": "" }, "ItCd": { "type": "string", "maxLength": 40, "description": "Itemcode", "format": "" }, "DiC1": { "type": "string", "maxLength": 16, "description": "Axis allocation code 1", "format": "" }, "DiC2": { "type": "string", "maxLength": 16, "description": "Axis allocation code 2", "format": "" }, "DiC3": { "type": "string", "maxLength": 16, "description": "Axis allocation code 3", "format": "" }, "DiC4": { "type": "string", "maxLength": 16, "description": "Axis allocation code 4", "format": "" }, "DiC5": { "type": "string", "maxLength": 16, "description": "Axis allocation code 5", "format": "" }, "Amt": { "type": "number", "multipleOf": 1E-10, "description": "Reservation amount in basic currency", "format": "float" }, "AmtF": { "type": "number", "multipleOf": 1E-10, "description": "Amount reservation", "format": "float" }, "AmEn": { "type": "number", "multipleOf": 1E-10, "description": "Written off amount in basic currency", "format": "float" }, "AmEF": { "type": "number", "multipleOf": 1E-10, "description": "Amount written off", "format": "float" }, "Qua": { "type": "number", "multipleOf": 0.01, "description": "Reservation quantity", "format": "float" }, "Di01": { "type": "integer", "description": "(not used)", "format": "" }, "Di02": { "type": "integer", "description": "(not used)", "format": "" }, "Di03": { "type": "integer", "description": "(not used)", "format": "" }, "Di04": { "type": "integer", "description": "(not used)", "format": "" }, "Di05": { "type": "integer", "description": "(not used)", "format": "" }, "MoId": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "CoTy": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" } }, "required": [ "UnId", "SeNo" ] } } } } } } } }, "securitySchemes": { "AfasToken": { "name": "Authorization", "type": "apiKey", "in": "header", "description": "Convert the XML token to Base64 and add 'AfasToken ' in front of it." } }, "parameters": { "Accept-Language": { "name": "Accept-Language", "in": "header", "required": false, "description": "Indicates the client's preferred language for the response. If not provided, the API defaults to the base environment language.", "schema": { "type": "string", "enum": [ "en-us", "nl-nl", "nl-be", "fr-fr", "de-de" ], "example": "en-us" } }, "Content-Type": { "name": "Content-Type", "in": "header", "required": false, "description": "Specifies the media type and character encoding for the request body. Ensures proper decoding and interpretation of the transmitted data.", "schema": { "type": "string", "example": "application/json;charset=utf-8" } } }, "responses": { "200": { "description": "OK; request is successfully executed.", "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Content-Type": { "description": "application/xml; charset=utf-8", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(0ms), complete(418ms)", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Thu, 23 Nov 2023 12:11:06 GMT", "schema": { "type": "string" } }, "Content-Length": { "description": "0", "schema": { "type": "string" } } } }, "400": { "description": "Bad Request; invalid request" }, "401": { "description": "Unauthorized; valid token but no access to this endpoint.", "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Content-Type": { "description": "application/xml; charset=utf-8", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(0ms), complete(418ms)", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Thu, 23 Nov 2023 12:11:06 GMT", "schema": { "type": "string" } }, "Content-Length": { "description": "0", "schema": { "type": "string" } } } }, "403": { "description": "Forbidden; Due to IP restrictions in AFAS environment.", "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Content-Type": { "description": "application/xml; charset=utf-8", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(0ms), complete(418ms)", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Thu, 23 Nov 2023 12:11:06 GMT", "schema": { "type": "string" } }, "Content-Length": { "description": "0", "schema": { "type": "string" } } } }, "404": { "description": "Not Found; requested resource is not available on the server.", "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Content-Type": { "description": "application/xml; charset=utf-8", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(0ms), complete(101ms)", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Thu, 23 Nov 2023 12:11:06 GMT", "schema": { "type": "string" } }, "Content-Length": { "description": "0", "schema": { "type": "string" } } } }, "413": { "description": "Payload Too Large.", "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Content-Type": { "description": "application/xml; charset=utf-8", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(0ms), complete(418ms)", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Thu, 23 Nov 2023 12:11:06 GMT", "schema": { "type": "string" } }, "Content-Length": { "description": "0", "schema": { "type": "string" } } } }, "500": { "description": "Internal Server Error", "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Content-Type": { "description": "application/xml; charset=utf-8", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(1ms), complete(2192ms)", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Tue, 30 Jan 2024 20:30:07 GMT", "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "errorNumber": { "type": "integer", "example": { "example": 0 } }, "externalMessage": { "type": "string", "example": { "example": "string" } }, "profitLogReference": { "type": "string", "example": { "example": "string" } } } } } } }, "503": { "description": "Service unavailable; retry at a later time. Contains the number of seconds to wait before retrying the request", "headers": { "Content-Type": { "description": "application/xml; charset=utf-8", "schema": { "type": "string" } }, "Content-Length": { "description": "61", "schema": { "type": "string" } }, "Retry-After": { "description": "7200", "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "error": { "type": "object", "properties": { "code": { "type": "string", "example": { "example": "503" } }, "message": { "type": "string", "example": { "example": "Service temporarily unavailable due to scheduled maintenance. Please check afasstatus.nl for details." } } } }, "retry_after": { "type": "integer", "example": 7200 } } } } } } } }, "security": [ { "AfasToken": [] } ] }