Skip to main content
Version: v2

Periodical income service

The Periodical income service has been designed to predict fixed and regular income. Among other things this contains:

  • Salary/benefits (various breadwinners, various employers)
  • Taxes (periodical returns, etc.)
  • Allowances (child support, etc.)
  • Alimony, retirement fund, student grants, etc.
  • Transactions of other (internal) accounts

Calling the Periodical Income Service

Endpoint:             https://linx.invers.nl:8100/api/linx/periodical_income
Method: POST

Header: ApiKey: string (required)
X-Request-ID: string (required)
ClientId: string (optional)
InputHash: string (optional)
Options: int (optional) (default = 33)

Body: Data: byte[] (required)

Errors: 400, 403 or 500

Information

FieldTypeDescription
accountstringBank account
itemsArray van itemsPeriodical income

Account

FieldTypeDescription
numberStringBank account number without layout formatting
formattedNumberStringBank account number with layout formatting
ibanStringIBAN
bicStringBIC
beginBalanceDateDateDate of opening balance
beginBalanceDecimalValue of opening balance
endBalanceDateDateDate of closing balance
endBalanceDecimalValue of closing balance
countryStringCountry code in ISO 2 characters

Items

FieldTypeDescription
probabilityEnumLow
Medium
High
frequencyTypeEnumNone
Daily
Weekly
Monthly
Yearly
intervalIntegerInterval of recurrency (i.e. 3 months)
contractStringIBAN
dateDateDate of recurrence
amountDecimal
typeStringPayment code
categoryCategoryCategory
accountString[Contra Account](#Contra Account)
nameStringName
patternStringInternal parameter
transactionsArray of transactionsTransactions

Category

FieldTypeDescription
idIntegerCategory identifier
nameStringCategory name
typeEnumNone
Income
Expenses
costTypeNone
Fix
Variable
isInternalBooleanTrue if it is an internal transaction
isStrictBooleanInternal Parameter
colorIntegerInternal parameter
taxpostStringTaxpost
SyncKeyUUIDInternal Parameter
groupIdGroupGroup identifier to which the category belongs

Contra Account

FieldTypeDescription
numberStringBank account number
formattedNumberStringBank account number with layout formatting
ibanStringIBAN
incassantStringCollection identifier
mandateStringCollection mandate
idIntegerInternal parameter
countryStringCountry code ISO 2 characters
nameStringname of contra account
originalNameStringOriginal name of the contra account
referenceStringMutation reference
businessIdIntegerBusiness identifier of the counterpart. Can be empty.

Transactions

FieldTypeDescription
bookDateDateBook date
interestDateDateInterest date
amountDecimalAmount of mutation
endBalanceDecimalEnd balance
beneficiaryBeneficiaryCounterpart of the mutation
codeTransactionCodeMutation type, see Properties and transaction types
descriptionStringDetected description of the transaction
originaldescriptionStringOrginal, unrefined, description
flagsFlagsInternal parameter
sequenceIntegerserial number

Beneficiary

FieldTypeDescription
numberStringBank account number without layout formatting
formattedNumberStringBank account number with layout formatting
ibanStringIBAN
incassantStringIdentity in case of collection
mandateStringCollection mandate
targetBusinessIdIntegerIdentity of the real counterpart (in case of a payment service such as iDeal)
idIntegerInternal parameter
countryStringCountry code ISO 2 characters
nameStringName Counterpart
originalNameStringOriginal, unrefined, name of counterpart
referenceStringReference of the transaction
businessIdIntegerBusiness identifier of the counterpart, may be empty

Business

FieldTypeDescription
idIntegerCounterpart identifier
nameStringName of counterpart
countryStringCountry code ISO 2 characters
numberStringChamber of Commerce (KvK) number
tradenamesArray

Output (example)


[
{
"account": {
"iban": "string",
"bic": "string",
"id": 0,
"country": "string",
"name": "string",
"originalName": "string",
"reference": "string",
"businessId": 0,
"business": {
"id": 0,
"name": "string",
"country": "string",
"number": "string",
"subsidiary": "string",
"addresses": [
{
"id": "string",
"default": true,
"street": "string",
"houseNumber": "string",
"houseNumberAddition": "string",
"zipcode": "string",
"city": {
"id": "string",
"name": "string"
},
"municipality": {
"id": "string",
"name": "string"
},
"province": {
"id": "string",
"name": "string"
},
"country": "string",
"type": "string",
"purpose": "unknown",
"surface": 0,
"surfaceArea": 0,
"latitude": 0,
"longitude": 0
}
],
"contacts": [
{
"type": "email",
"value": "string"
}
],
"activities": [
{
"code": "string",
"name": "string",
"isMain": true
}
],
"tradenames": [
"string"
]
},
"number": "string",
"formattedNumber": "string",
"beginBalanceDate": "YYYY-MM-DDTHH:MM:SS+HH:MM",
"beginBalance": 0,
"endBalanceDate": "YYYY-MM-DDTHH:MM:SS+HH:MM",
"endBalance": 0,
"transactions": [
{
"id": "string",
"bookDate": "YYYY-MM-DDTHH:MM:SS+HH:MM",
"interestDate": "YYYY-MM-DDTHH:MM:SS+HH:MM",
"amount": 0,
"endBalance": 0,
"beneficiary": {
"id": 0,
"country": "string",
"name": "string",
"originalName": "string",
"reference": "string",
"businessId": 0,
"business": {
"id": 0,
"name": "string",
"country": "string",
"number": "string",
"subsidiary": "string",
"addresses": [
{
"id": "string",
"default": true,
"street": "string",
"houseNumber": "string",
"houseNumberAddition": "string",
"zipcode": "string",
"city": {
"id": "string",
"name": "string"
},
"municipality": {
"id": "string",
"name": "string"
},
"province": {
"id": "string",
"name": "string"
},
"country": "string",
"type": "string",
"purpose": "unknown",
"surface": 0,
"surfaceArea": 0,
"latitude": 0,
"longitude": 0
}
],
"contacts": [
{
"type": "email",
"value": "string"
}
],
"activities": [
{
"code": "string",
"name": "string",
"isMain": true
}
],
"tradenames": [
"string"
]
}
},
"code": {
"id": 0,
"type": "aC",
"code": "string",
"numeric": 0,
"name": "string"
},
"description": "string",
"originalDescription": "string",
"flags": "none",
"sequence": 0,
"categoryId": 0,
"category": {
"id": 0,
"name": "string",
"type": "none",
"costType": "none",
"isInternal": true,
"isStrict": true,
"color": 0,
"taxPost": "string",
"syncKey": "string",
"groupId": 0,
"nibuds": [
0
],
"group": {
"id": 0,
"name": "string",
"type": "none",
"isInternal": true,
"color": 0,
"syncKey": "string",
"categories": [
null
]
},
"posten": [
{
"id": 0,
"name": "string",
"description": "string",
"years": [
0
]
}
]
},
"naceId": 0,
"nace": {
"id": 0,
"code": "string",
"description": "string"
},
"properties": [
{
"id": 0,
"type": "none",
"context": "transaction",
"name": "string",
"value": "string",
"properties": [
null
]
}
],
"contract": "string"
}
]
},
"items": [
{
"probability": "medium",
"frequenceType": "none",
"interval": 0,
"contract": "string",
"date": "YYYY-MM-DDTHH:MM:SS+HH:MM",
"amount": 0,
"type": "aC",
"category": {
"id": 0,
"name": "string",
"type": "none",
"costType": "none",
"isInternal": true,
"isStrict": true,
"color": 0,
"taxPost": "string",
"syncKey": "string",
"groupId": 0,
"nibuds": [
0
],
"group": {
"id": 0,
"name": "string",
"type": "none",
"isInternal": true,
"color": 0,
"syncKey": "string",
"categories": [
null
]
},
"posten": [
{
"id": 0,
"name": "string",
"description": "string",
"years": [
0
]
}
]
},
"nace": {
"id": 0,
"code": "string",
"description": "string"
},
"account": {
"iban": "string",
"bic": "string",
"id": 0,
"country": "string",
"name": "string",
"originalName": "string",
"reference": "string",
"businessId": 0,
"business": {
"id": 0,
"name": "string",
"country": "string",
"number": "string",
"subsidiary": "string",
"addresses": [
{
"id": "string",
"default": true,
"street": "string",
"houseNumber": "string",
"houseNumberAddition": "string",
"zipcode": "string",
"city": {
"id": "string",
"name": "string"
},
"municipality": {
"id": "string",
"name": "string"
},
"province": {
"id": "string",
"name": "string"
},
"country": "string",
"type": "string",
"purpose": "unknown",
"surface": 0,
"surfaceArea": 0,
"latitude": 0,
"longitude": 0
}
],
"contacts": [
{
"type": "email",
"value": "string"
}
],
"activities": [
{
"code": "string",
"name": "string",
"isMain": true
}
],
"tradenames": [
"string"
]
},
"number": "string",
"formattedNumber": "string",
"incassant": "string",
"mandate": "string",
"targetBusinessId": 0,
"targetBusiness": {
"id": 0,
"name": "string",
"country": "string",
"number": "string",
"subsidiary": "string",
"addresses": [
{
"id": "string",
"default": true,
"street": "string",
"houseNumber": "string",
"houseNumberAddition": "string",
"zipcode": "string",
"city": {
"id": "string",
"name": "string"
},
"municipality": {
"id": "string",
"name": "string"
},
"province": {
"id": "string",
"name": "string"
},
"country": "string",
"type": "string",
"purpose": "unknown",
"surface": 0,
"surfaceArea": 0,
"latitude": 0,
"longitude": 0
}
],
"contacts": [
{
"type": "email",
"value": "string"
}
],
"activities": [
{
"code": "string",
"name": "string",
"isMain": true
}
],
"tradenames": [
"string"
]
},
"targetName": "string"
},
"business": {
"id": 0,
"name": "string",
"country": "string",
"number": "string",
"subsidiary": "string",
"addresses": [
{
"id": "string",
"default": true,
"street": "string",
"houseNumber": "string",
"houseNumberAddition": "string",
"zipcode": "string",
"city": {
"id": "string",
"name": "string"
},
"municipality": {
"id": "string",
"name": "string"
},
"province": {
"id": "string",
"name": "string"
},
"country": "string",
"type": "string",
"purpose": "unknown",
"surface": 0,
"surfaceArea": 0,
"latitude": 0,
"longitude": 0
}
],
"contacts": [
{
"type": "email",
"value": "string"
}
],
"activities": [
{
"code": "string",
"name": "string",
"isMain": true
}
],
"tradenames": [
"string"
]
},
"name": "string",
"description": "string",
"pattern": "string",
"transactions": [
{
"id": "string",
"bookDate": "YYYY-MM-DDTHH:MM:SS+HH:MM",
"interestDate": "YYYY-MM-DDTHH:MM:SS+HH:MM",
"amount": 0,
"endBalance": 0,
"beneficiary": {
"id": 0,
"country": "string",
"name": "string",
"originalName": "string",
"reference": "string",
"businessId": 0,
"business": {
"id": 0,
"name": "string",
"country": "string",
"number": "string",
"subsidiary": "string",
"addresses": [
{
"id": "string",
"default": true,
"street": "string",
"houseNumber": "string",
"houseNumberAddition": "string",
"zipcode": "string",
"city": {
"id": "string",
"name": "string"
},
"municipality": {
"id": "string",
"name": "string"
},
"province": {
"id": "string",
"name": "string"
},
"country": "string",
"type": "string",
"purpose": "unknown",
"surface": 0,
"surfaceArea": 0,
"latitude": 0,
"longitude": 0
}
],
"contacts": [
{
"type": "email",
"value": "string"
}
],
"activities": [
{
"code": "string",
"name": "string",
"isMain": true
}
],
"tradenames": [
"string"
]
}
},
"code": {
"id": 0,
"type": "aC",
"code": "string",
"numeric": 0,
"name": "string"
},
"description": "string",
"originalDescription": "string",
"flags": "none",
"sequence": 0,
"categoryId": 0,
"category": {
"id": 0,
"name": "string",
"type": "none",
"costType": "none",
"isInternal": true,
"isStrict": true,
"color": 0,
"taxPost": "string",
"syncKey": "string",
"groupId": 0,
"nibuds": [
0
],
"group": {
"id": 0,
"name": "string",
"type": "none",
"isInternal": true,
"color": 0,
"syncKey": "string",
"categories": [
null
]
},
"posten": [
{
"id": 0,
"name": "string",
"description": "string",
"years": [
0
]
}
]
},
"naceId": 0,
"nace": {
"id": 0,
"code": "string",
"description": "string"
},
"properties": [
{
"id": 0,
"type": "none",
"context": "transaction",
"name": "string",
"value": "string",
"properties": [
null
]
}
],
"contract": "string"
}
]
}
]
}
]