# Panel (dbd_debt_check)

Check subject for debts, insolvencies and distraints in multiple registries

# Description

Panels offers testing subject for debts, insolvencies and distraints from multiple registries. Client is charged for every request to the registries.

Received result can be stored to result variable for later usage.

You can check subject for debts by

  • company ID
  • personal ID
  • personal firstName, lastName and date of birth

If some API error occurs, the error => TRUE, and error_message => string will be stored in result variable. If API returns valid response following fields will be stored in result variable:

  • error FALSE
  • error_message ''
  • xml (raw API response)
  • subject (the subject checked)
  • date_performed (when the check was performed)
  • is_debtor (boolean if subject has some record)
  • debt_count (number of debts found)
  • insolvency_count (number of insolvencies found)
  • distraint_count (number of distraints found)

Client is charged for every request to the registries.

# Screenshots

dbd_debt_check

# Config

dbd_debt_check:

	config:

		# Required | Type: string | Default: null
		# DSN string with API URL and credentials
		#
		### Examples
		### - https://user:pass@nms.ispalliance.cz/api/
		connection: "https://username:password@host"

		# Company
		#
		### Note
		### Input company data (required if person is empty)
		company:

			# Required | Type: string | Default: null
			# ID
			id: 123456789

			# Optional | Type: string | Default: null
			# Name
			firmName: "Floweye"

		# Person
		#
		### Note
		### Input person data (required if company is empty)
		person:

			# Optional | Type: string | Default: null
			# Pin
			pin: 123456789

			# Optional | Type: string | Default: 
			# First name
			firstName: "Martin"

			# Optional | Type: string | Default: 
			# Last name
			lastName: "Šárfy"

			# Optional | Type: string | Default: null
			# Birthday
			birthDate: "1981-04-14"

		# Optional | Type: string | Default: null
		# Name of variable in which result from registries should be stored
		output: "myvar"

		# Required | Type: mixed | Default: null
		# Price in CZK which will be displayed in result table in row: "Price charged"
		price: null

		# Mode
		mode:

			# Optional | Type: string | Default: company
			# Define for which type of subject will be default form displayed
			default: "company"

			# Optional | Type: bool | Default: true
			# Whether to allow change of modes
			switch: true

		# Log
		log:

			# Optional | Type: bool | Default: false
			# Whether the performed requests to registries should be logged on process wall
			wall: false

		# UI
		ui:

			# Optional | Type: string | Default: null
			# Panel title
			title: "Panel title"

			# Optional | Type: string | Default: null
			# Panel description
			description: "Panel description"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83