Introduction
Introduction in Efd API
efactuurdirect API
Endpoint: https://[subdomain].efactuurdirect.nl/api20/json/
The API has a rate limit of 10 requests per 10 seconds.
API Version |
Version Description |
Version ChangeLog |
1.1.2 |
Version 1.1.2 |
Added incoming invoices |
1.1.1 |
Version 1.1.1 |
Added extra fields to contacts |
1.1.0 |
Version 1.1.0 |
Init data |
|
Api Toolkit
Requirements
Download
|
ApiAuthentication
API Authentication
Authentication
Authentication
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
subdomain |
Subdomain |
string |
subdomain |
EFD subdomain |
Required |
login |
Login |
string |
[email protected] |
EFD email |
Required |
key |
Api key |
string |
efd-api-key |
EFD api key. Api need to be enabled if you want to use it! |
Required |
|
General
General API methods
getDocumentsList
Methods for get documents list
EXAMPLE
Api Call
getDocumentsList(); Api response
Array
(
[0] => Array
(
[id] => 2
[name] => Test_document_PDF.pdf
[description] => Test_document_PDF
[isdefault] => 0
)
)
Api Call
{
"method": "efd.getdocumentslist",
"jsonrpc": "2.0",
"id": "1646836255",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": [
{
"id": "2",
"name": "Test_document_PDF.pdf",
"description": "Test_document_PDF",
"isdefault": "0"
}
],
"id": "efd",
"error": null
}
|
validateIban
Methods for validate iban
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
bank |
Bank Number |
string |
Bank Number |
Has to be real bank number, max length 255 |
|
EXAMPLE
Api Call
validateIban("Bank Number"); Api response
Array
(
[Code] => 0
[success] => success
)
Api Call
{
"method": "efd.validateiban",
"jsonrpc": "2.0",
"id": "1646836266",
"params": [
{
"bank": "Bank Number"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"Code": "0",
"success": "success"
},
"id": "efd",
"error": null
}
|
getCustomerSettings
Methods for get customer settings
EXAMPLE
Api Call
getCustomerSettings(); Api response
Array
(
[days_for_pay] => 30
[product_incl_tax] => 0
[days_for_pay_offers] => 14
[general_default_tax] => 21
[creditorid] =>
[company] => efddevelopertestphp
[firstname] => efddevelopertestphp
[lastname] => efddevelopertestphp
[email] => [email protected]
[ispro] => 1
[country] => NL
[default_tax_id] => 5
)
Api Call
{
"method": "efd.getcustomersettings",
"jsonrpc": "2.0",
"id": "1646836276",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"days_for_pay": "30",
"product_incl_tax": "0",
"days_for_pay_offers": "14",
"general_default_tax": "21",
"creditorid": "",
"company": "efddevelopertestphp",
"firstname": "efddevelopertestphp",
"lastname": "efddevelopertestphp",
"email": "[email protected]",
"ispro": 1,
"country": "NL",
"default_tax_id": "5"
},
"id": "efd",
"error": null
}
|
getUomList
Methods for get Unit of measure list
EXAMPLE
Api Call
getUomList(); Api response
Array
(
[0] => Array
(
[id] => 3
[name] => Stuks
[iso] => C62
[active] => 1
[deleted] => 0
[pos] => 0
)
[1] => Array
(
[id] => 5
[name] => Uren
[iso] => HUR
[active] => 1
[deleted] => 0
[pos] => 0
)
[2] => Array
(
[id] => 7
[name] => Minuut
[iso] => MIN
[active] => 0
[deleted] => 0
[pos] => 0
)
[3] => Array
(
[id] => 9
[name] => Dag
[iso] => DAY
[active] => 0
[deleted] => 0
[pos] => 0
)
[4] => Array
(
[id] => 11
[name] => Meter
[iso] => MTR
[active] => 0
[deleted] => 0
[pos] => 0
)
[5] => Array
(
[id] => 13
[name] => Kilometer
[iso] => KMT
[active] => 1
[deleted] => 0
[pos] => 0
)
[6] => Array
(
[id] => 15
[name] => M2
[iso] => MTK
[active] => 0
[deleted] => 0
[pos] => 0
)
[7] => Array
(
[id] => 17
[name] => Liter
[iso] => LTR
[active] => 0
[deleted] => 0
[pos] => 0
)
[8] => Array
(
[id] => 19
[name] => Kilo
[iso] => KGM
[active] => 0
[deleted] => 0
[pos] => 0
)
)
Api Call
{
"method": "efd.getuomlist",
"jsonrpc": "2.0",
"id": "1646836287",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": [
{
"id": "3",
"name": "Stuks",
"iso": "C62",
"active": "1",
"deleted": "0",
"pos": "0"
},
{
"id": "5",
"name": "Uren",
"iso": "HUR",
"active": "1",
"deleted": "0",
"pos": "0"
},
{
"id": "7",
"name": "Minuut",
"iso": "MIN",
"active": "0",
"deleted": "0",
"pos": "0"
},
{
"id": "9",
"name": "Dag",
"iso": "DAY",
"active": "0",
"deleted": "0",
"pos": "0"
},
{
"id": "11",
"name": "Meter",
"iso": "MTR",
"active": "0",
"deleted": "0",
"pos": "0"
},
{
"id": "13",
"name": "Kilometer",
"iso": "KMT",
"active": "1",
"deleted": "0",
"pos": "0"
},
{
"id": "15",
"name": "M2",
"iso": "MTK",
"active": "0",
"deleted": "0",
"pos": "0"
},
{
"id": "17",
"name": "Liter",
"iso": "LTR",
"active": "0",
"deleted": "0",
"pos": "0"
},
{
"id": "19",
"name": "Kilo",
"iso": "KGM",
"active": "0",
"deleted": "0",
"pos": "0"
}
],
"id": "efd",
"error": null
}
|
getTaxesList
Methods for get tax list
EXAMPLE
Api Call
getTaxesList(); Api response
Array
(
[0] => Array
(
[id] => 1
[lowhigh] => 0
[pos] => 1
[active] => 1
[no_tax] => 0
[zero_tax] => 1
[shifted] => 0
[value] => 0
[label] => 0 %
[incoming] => 1
[outcoming] => 1
)
[1] => Array
(
[id] => 2
[lowhigh] => 1
[pos] => 2
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 6
[label] => 6 %
[incoming] => 1
[outcoming] => 1
)
[2] => Array
(
[id] => 55
[lowhigh] => 1
[pos] => 2
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 %
[incoming] => 1
[outcoming] => 1
)
[3] => Array
(
[id] => 4
[lowhigh] => 2
[pos] => 4
[active] => 0
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 19
[label] => 19 %
[incoming] => 1
[outcoming] => 1
)
[4] => Array
(
[id] => 5
[lowhigh] => 2
[pos] => 5
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 21
[label] => 21 %
[incoming] => 1
[outcoming] => 1
)
[5] => Array
(
[id] => 6
[lowhigh] => 0
[pos] => 6
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 1
[value] => 00
[label] => verlegd
[incoming] => 0
[outcoming] => 1
)
[6] => Array
(
[id] => 9
[lowhigh] => 0
[pos] => 9
[active] => 1
[no_tax] => 0
[zero_tax] => 1
[shifted] => 1
[value] => 0
[label] => verlegd 0%
[incoming] => 1
[outcoming] => 0
)
[7] => Array
(
[id] => 10
[lowhigh] => 1
[pos] => 10
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 1
[value] => 0
[label] => verlegd 6%
[incoming] => 1
[outcoming] => 0
)
[8] => Array
(
[id] => 46
[lowhigh] => 1
[pos] => 10
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 1
[value] => 0
[label] => verlegd 9%
[incoming] => 1
[outcoming] => 0
)
[9] => Array
(
[id] => 11
[lowhigh] => 2
[pos] => 11
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 1
[value] => 0
[label] => verlegd 21%
[incoming] => 1
[outcoming] => 0
)
[10] => Array
(
[id] => 12
[lowhigh] => 0
[pos] => 12
[active] => 1
[no_tax] => 0
[zero_tax] => 1
[shifted] => 1
[value] => 0
[label] => import 0%
[incoming] => 1
[outcoming] => 0
)
[11] => Array
(
[id] => 13
[lowhigh] => 1
[pos] => 13
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 1
[value] => 0
[label] => import 6%
[incoming] => 1
[outcoming] => 0
)
[12] => Array
(
[id] => 49
[lowhigh] => 1
[pos] => 13
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 1
[value] => 0
[label] => import 9%
[incoming] => 1
[outcoming] => 0
)
[13] => Array
(
[id] => 14
[lowhigh] => 2
[pos] => 14
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 1
[value] => 0
[label] => import 21%
[incoming] => 1
[outcoming] => 0
)
[14] => Array
(
[id] => 40
[lowhigh] => 2
[pos] => 14
[active] => 0
[no_tax] => 0
[zero_tax] => 0
[shifted] => 1
[value] => 0
[label] => verlegd 19%
[incoming] => 1
[outcoming] => 0
)
[15] => Array
(
[id] => 7
[lowhigh] => 0
[pos] => 15
[active] => 1
[no_tax] => 1
[zero_tax] => 0
[shifted] => 0
[value] => 000
[label] => vrijgesteld
[incoming] => 1
[outcoming] => 1
)
[16] => Array
(
[id] => 41
[lowhigh] => 2
[pos] => 15
[active] => 0
[no_tax] => 0
[zero_tax] => 0
[shifted] => 1
[value] => 0
[label] => import 19%
[incoming] => 1
[outcoming] => 0
)
[17] => Array
(
[id] => 158
[lowhigh] => 100
[pos] => 100
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 20
[label] => 20 % Product
[incoming] => 0
[outcoming] => 1
)
[18] => Array
(
[id] => 159
[lowhigh] => 100
[pos] => 101
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 20
[label] => 20 % Dienst
[incoming] => 0
[outcoming] => 1
)
[19] => Array
(
[id] => 160
[lowhigh] => 100
[pos] => 102
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 10
[label] => 10 % Product
[incoming] => 0
[outcoming] => 1
)
[20] => Array
(
[id] => 161
[lowhigh] => 100
[pos] => 103
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 10
[label] => 10 % Dienst
[incoming] => 0
[outcoming] => 1
)
[21] => Array
(
[id] => 162
[lowhigh] => 100
[pos] => 104
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 13
[label] => 13 % Product
[incoming] => 0
[outcoming] => 1
)
[22] => Array
(
[id] => 163
[lowhigh] => 100
[pos] => 105
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 13
[label] => 13 % Dienst
[incoming] => 0
[outcoming] => 1
)
[23] => Array
(
[id] => 164
[lowhigh] => 100
[pos] => 106
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 21
[label] => 21 % Product
[incoming] => 0
[outcoming] => 1
)
[24] => Array
(
[id] => 165
[lowhigh] => 100
[pos] => 107
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 21
[label] => 21 % Dienst
[incoming] => 0
[outcoming] => 1
)
[25] => Array
(
[id] => 166
[lowhigh] => 100
[pos] => 108
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 6
[label] => 6 % Product
[incoming] => 0
[outcoming] => 1
)
[26] => Array
(
[id] => 167
[lowhigh] => 100
[pos] => 109
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 6
[label] => 6 % Dienst
[incoming] => 0
[outcoming] => 1
)
[27] => Array
(
[id] => 168
[lowhigh] => 100
[pos] => 110
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 12
[label] => 12 % Product
[incoming] => 0
[outcoming] => 1
)
[28] => Array
(
[id] => 169
[lowhigh] => 100
[pos] => 111
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 12
[label] => 12 % Dienst
[incoming] => 0
[outcoming] => 1
)
[29] => Array
(
[id] => 170
[lowhigh] => 100
[pos] => 112
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 20
[label] => 20 % Product
[incoming] => 0
[outcoming] => 1
)
[30] => Array
(
[id] => 171
[lowhigh] => 100
[pos] => 113
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 20
[label] => 20 % Dienst
[incoming] => 0
[outcoming] => 1
)
[31] => Array
(
[id] => 172
[lowhigh] => 100
[pos] => 114
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 % Product
[incoming] => 0
[outcoming] => 1
)
[32] => Array
(
[id] => 173
[lowhigh] => 100
[pos] => 115
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 % Dienst
[incoming] => 0
[outcoming] => 1
)
[33] => Array
(
[id] => 174
[lowhigh] => 100
[pos] => 116
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 19
[label] => 19 % Product
[incoming] => 0
[outcoming] => 1
)
[34] => Array
(
[id] => 175
[lowhigh] => 100
[pos] => 117
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 19
[label] => 19 % Dienst
[incoming] => 0
[outcoming] => 1
)
[35] => Array
(
[id] => 176
[lowhigh] => 100
[pos] => 118
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Product
[incoming] => 0
[outcoming] => 1
)
[36] => Array
(
[id] => 177
[lowhigh] => 100
[pos] => 119
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Dienst
[incoming] => 0
[outcoming] => 1
)
[37] => Array
(
[id] => 178
[lowhigh] => 100
[pos] => 120
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 % Product
[incoming] => 0
[outcoming] => 1
)
[38] => Array
(
[id] => 179
[lowhigh] => 100
[pos] => 121
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 % Dienst
[incoming] => 0
[outcoming] => 1
)
[39] => Array
(
[id] => 180
[lowhigh] => 100
[pos] => 122
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 21
[label] => 21 % Product
[incoming] => 0
[outcoming] => 1
)
[40] => Array
(
[id] => 181
[lowhigh] => 100
[pos] => 123
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 21
[label] => 21 % Dienst
[incoming] => 0
[outcoming] => 1
)
[41] => Array
(
[id] => 182
[lowhigh] => 100
[pos] => 124
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 10
[label] => 10 % Product
[incoming] => 0
[outcoming] => 1
)
[42] => Array
(
[id] => 183
[lowhigh] => 100
[pos] => 125
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 10
[label] => 10 % Dienst
[incoming] => 0
[outcoming] => 1
)
[43] => Array
(
[id] => 184
[lowhigh] => 100
[pos] => 126
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 15
[label] => 15 % Product
[incoming] => 0
[outcoming] => 1
)
[44] => Array
(
[id] => 185
[lowhigh] => 100
[pos] => 127
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 15
[label] => 15 % Dienst
[incoming] => 0
[outcoming] => 1
)
[45] => Array
(
[id] => 186
[lowhigh] => 100
[pos] => 128
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 19
[label] => 19 % Product
[incoming] => 0
[outcoming] => 1
)
[46] => Array
(
[id] => 187
[lowhigh] => 100
[pos] => 129
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 19
[label] => 19 % Dienst
[incoming] => 0
[outcoming] => 1
)
[47] => Array
(
[id] => 188
[lowhigh] => 100
[pos] => 130
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 7
[label] => 7 % Product
[incoming] => 0
[outcoming] => 1
)
[48] => Array
(
[id] => 189
[lowhigh] => 100
[pos] => 131
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 7
[label] => 7 % Dienst
[incoming] => 0
[outcoming] => 1
)
[49] => Array
(
[id] => 190
[lowhigh] => 100
[pos] => 132
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 25
[label] => 25 % Product
[incoming] => 0
[outcoming] => 1
)
[50] => Array
(
[id] => 191
[lowhigh] => 100
[pos] => 133
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 25
[label] => 25 % Dienst
[incoming] => 0
[outcoming] => 1
)
[51] => Array
(
[id] => 192
[lowhigh] => 100
[pos] => 134
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 20
[label] => 20 % Product
[incoming] => 0
[outcoming] => 1
)
[52] => Array
(
[id] => 193
[lowhigh] => 100
[pos] => 135
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 20
[label] => 20 % Dienst
[incoming] => 0
[outcoming] => 1
)
[53] => Array
(
[id] => 194
[lowhigh] => 100
[pos] => 136
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 % Product
[incoming] => 0
[outcoming] => 1
)
[54] => Array
(
[id] => 195
[lowhigh] => 100
[pos] => 137
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 % Dienst
[incoming] => 0
[outcoming] => 1
)
[55] => Array
(
[id] => 196
[lowhigh] => 100
[pos] => 138
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 24
[label] => 24 % Product
[incoming] => 0
[outcoming] => 1
)
[56] => Array
(
[id] => 197
[lowhigh] => 100
[pos] => 139
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 24
[label] => 24 % Dienst
[incoming] => 0
[outcoming] => 1
)
[57] => Array
(
[id] => 198
[lowhigh] => 100
[pos] => 140
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 6
[label] => 6 % Product
[incoming] => 0
[outcoming] => 1
)
[58] => Array
(
[id] => 199
[lowhigh] => 100
[pos] => 141
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 6
[label] => 6 % Dienst
[incoming] => 0
[outcoming] => 1
)
[59] => Array
(
[id] => 200
[lowhigh] => 100
[pos] => 142
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 13
[label] => 13 % Product
[incoming] => 0
[outcoming] => 1
)
[60] => Array
(
[id] => 201
[lowhigh] => 100
[pos] => 143
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 13
[label] => 13 % Dienst
[incoming] => 0
[outcoming] => 1
)
[61] => Array
(
[id] => 202
[lowhigh] => 100
[pos] => 144
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 21
[label] => 21 % Product
[incoming] => 0
[outcoming] => 1
)
[62] => Array
(
[id] => 203
[lowhigh] => 100
[pos] => 145
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 21
[label] => 21 % Dienst
[incoming] => 0
[outcoming] => 1
)
[63] => Array
(
[id] => 204
[lowhigh] => 100
[pos] => 146
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 10
[label] => 10 % Product
[incoming] => 0
[outcoming] => 1
)
[64] => Array
(
[id] => 205
[lowhigh] => 100
[pos] => 147
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 10
[label] => 10 % Dienst
[incoming] => 0
[outcoming] => 1
)
[65] => Array
(
[id] => 206
[lowhigh] => 100
[pos] => 148
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 4
[label] => 4 % Product
[incoming] => 0
[outcoming] => 1
)
[66] => Array
(
[id] => 207
[lowhigh] => 100
[pos] => 149
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 4
[label] => 4 % Dienst
[incoming] => 0
[outcoming] => 1
)
[67] => Array
(
[id] => 208
[lowhigh] => 100
[pos] => 150
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 24
[label] => 24 % Product
[incoming] => 0
[outcoming] => 1
)
[68] => Array
(
[id] => 209
[lowhigh] => 100
[pos] => 151
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 24
[label] => 24 % Dienst
[incoming] => 0
[outcoming] => 1
)
[69] => Array
(
[id] => 210
[lowhigh] => 100
[pos] => 152
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 10
[label] => 10 % Product
[incoming] => 0
[outcoming] => 1
)
[70] => Array
(
[id] => 211
[lowhigh] => 100
[pos] => 153
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 10
[label] => 10 % Dienst
[incoming] => 0
[outcoming] => 1
)
[71] => Array
(
[id] => 212
[lowhigh] => 100
[pos] => 154
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 14
[label] => 14 % Product
[incoming] => 0
[outcoming] => 1
)
[72] => Array
(
[id] => 213
[lowhigh] => 100
[pos] => 155
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 14
[label] => 14 % Dienst
[incoming] => 0
[outcoming] => 1
)
[73] => Array
(
[id] => 214
[lowhigh] => 100
[pos] => 156
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 20
[label] => 20 % Product
[incoming] => 0
[outcoming] => 1
)
[74] => Array
(
[id] => 215
[lowhigh] => 100
[pos] => 157
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 20
[label] => 20 % Dienst
[incoming] => 0
[outcoming] => 1
)
[75] => Array
(
[id] => 216
[lowhigh] => 100
[pos] => 158
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5.5
[label] => 5.5 % Product
[incoming] => 0
[outcoming] => 1
)
[76] => Array
(
[id] => 217
[lowhigh] => 100
[pos] => 159
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5.5
[label] => 5.5 % Dienst
[incoming] => 0
[outcoming] => 1
)
[77] => Array
(
[id] => 218
[lowhigh] => 100
[pos] => 160
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 10
[label] => 10 % Product
[incoming] => 0
[outcoming] => 1
)
[78] => Array
(
[id] => 219
[lowhigh] => 100
[pos] => 161
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 10
[label] => 10 % Dienst
[incoming] => 0
[outcoming] => 1
)
[79] => Array
(
[id] => 220
[lowhigh] => 100
[pos] => 162
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 2.1
[label] => 2.1 % Product
[incoming] => 0
[outcoming] => 1
)
[80] => Array
(
[id] => 221
[lowhigh] => 100
[pos] => 163
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 2.1
[label] => 2.1 % Dienst
[incoming] => 0
[outcoming] => 1
)
[81] => Array
(
[id] => 222
[lowhigh] => 100
[pos] => 164
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 25
[label] => 25 % Product
[incoming] => 0
[outcoming] => 1
)
[82] => Array
(
[id] => 223
[lowhigh] => 100
[pos] => 165
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 25
[label] => 25 % Dienst
[incoming] => 0
[outcoming] => 1
)
[83] => Array
(
[id] => 224
[lowhigh] => 100
[pos] => 166
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Product
[incoming] => 0
[outcoming] => 1
)
[84] => Array
(
[id] => 225
[lowhigh] => 100
[pos] => 167
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Dienst
[incoming] => 0
[outcoming] => 1
)
[85] => Array
(
[id] => 226
[lowhigh] => 100
[pos] => 168
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 13
[label] => 13 % Product
[incoming] => 0
[outcoming] => 1
)
[86] => Array
(
[id] => 227
[lowhigh] => 100
[pos] => 169
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 13
[label] => 13 % Dienst
[incoming] => 0
[outcoming] => 1
)
[87] => Array
(
[id] => 228
[lowhigh] => 100
[pos] => 170
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 27
[label] => 27 % Product
[incoming] => 0
[outcoming] => 1
)
[88] => Array
(
[id] => 229
[lowhigh] => 100
[pos] => 171
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 27
[label] => 27 % Dienst
[incoming] => 0
[outcoming] => 1
)
[89] => Array
(
[id] => 230
[lowhigh] => 100
[pos] => 172
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Product
[incoming] => 0
[outcoming] => 1
)
[90] => Array
(
[id] => 231
[lowhigh] => 100
[pos] => 173
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Dienst
[incoming] => 0
[outcoming] => 1
)
[91] => Array
(
[id] => 232
[lowhigh] => 100
[pos] => 174
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 18
[label] => 18 % Product
[incoming] => 0
[outcoming] => 1
)
[92] => Array
(
[id] => 233
[lowhigh] => 100
[pos] => 175
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 18
[label] => 18 % Dienst
[incoming] => 0
[outcoming] => 1
)
[93] => Array
(
[id] => 234
[lowhigh] => 100
[pos] => 176
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 23
[label] => 23 % Product
[incoming] => 0
[outcoming] => 1
)
[94] => Array
(
[id] => 235
[lowhigh] => 100
[pos] => 177
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 23
[label] => 23 % Dienst
[incoming] => 0
[outcoming] => 1
)
[95] => Array
(
[id] => 236
[lowhigh] => 100
[pos] => 178
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 % Product
[incoming] => 0
[outcoming] => 1
)
[96] => Array
(
[id] => 237
[lowhigh] => 100
[pos] => 179
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 % Dienst
[incoming] => 0
[outcoming] => 1
)
[97] => Array
(
[id] => 238
[lowhigh] => 100
[pos] => 180
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 13.5
[label] => 13.5 % Product
[incoming] => 0
[outcoming] => 1
)
[98] => Array
(
[id] => 239
[lowhigh] => 100
[pos] => 181
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 13.5
[label] => 13.5 % Dienst
[incoming] => 0
[outcoming] => 1
)
[99] => Array
(
[id] => 240
[lowhigh] => 100
[pos] => 182
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 4.8
[label] => 4.8 % Product
[incoming] => 0
[outcoming] => 1
)
[100] => Array
(
[id] => 241
[lowhigh] => 100
[pos] => 183
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 4.8
[label] => 4.8 % Dienst
[incoming] => 0
[outcoming] => 1
)
[101] => Array
(
[id] => 242
[lowhigh] => 100
[pos] => 184
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 22
[label] => 22 % Product
[incoming] => 0
[outcoming] => 1
)
[102] => Array
(
[id] => 243
[lowhigh] => 100
[pos] => 185
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 22
[label] => 22 % Dienst
[incoming] => 0
[outcoming] => 1
)
[103] => Array
(
[id] => 244
[lowhigh] => 100
[pos] => 186
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Product
[incoming] => 0
[outcoming] => 1
)
[104] => Array
(
[id] => 245
[lowhigh] => 100
[pos] => 187
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Dienst
[incoming] => 0
[outcoming] => 1
)
[105] => Array
(
[id] => 246
[lowhigh] => 100
[pos] => 188
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 10
[label] => 10 % Product
[incoming] => 0
[outcoming] => 1
)
[106] => Array
(
[id] => 247
[lowhigh] => 100
[pos] => 189
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 10
[label] => 10 % Dienst
[incoming] => 0
[outcoming] => 1
)
[107] => Array
(
[id] => 248
[lowhigh] => 100
[pos] => 190
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 4
[label] => 4 % Product
[incoming] => 0
[outcoming] => 1
)
[108] => Array
(
[id] => 249
[lowhigh] => 100
[pos] => 192
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 4
[label] => 4 % Dienst
[incoming] => 0
[outcoming] => 1
)
[109] => Array
(
[id] => 250
[lowhigh] => 100
[pos] => 193
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 21
[label] => 21 % Product
[incoming] => 0
[outcoming] => 1
)
[110] => Array
(
[id] => 251
[lowhigh] => 100
[pos] => 194
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 21
[label] => 21 % Dienst
[incoming] => 0
[outcoming] => 1
)
[111] => Array
(
[id] => 252
[lowhigh] => 100
[pos] => 195
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Product
[incoming] => 0
[outcoming] => 1
)
[112] => Array
(
[id] => 253
[lowhigh] => 100
[pos] => 196
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Dienst
[incoming] => 0
[outcoming] => 1
)
[113] => Array
(
[id] => 254
[lowhigh] => 100
[pos] => 197
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 % Product
[incoming] => 0
[outcoming] => 1
)
[114] => Array
(
[id] => 255
[lowhigh] => 100
[pos] => 198
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 % Dienst
[incoming] => 0
[outcoming] => 1
)
[115] => Array
(
[id] => 256
[lowhigh] => 100
[pos] => 199
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 17
[label] => 17 % Product
[incoming] => 0
[outcoming] => 1
)
[116] => Array
(
[id] => 257
[lowhigh] => 100
[pos] => 200
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 17
[label] => 17 % Dienst
[incoming] => 0
[outcoming] => 1
)
[117] => Array
(
[id] => 258
[lowhigh] => 100
[pos] => 201
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 8
[label] => 8 % Product
[incoming] => 0
[outcoming] => 1
)
[118] => Array
(
[id] => 259
[lowhigh] => 100
[pos] => 202
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 8
[label] => 8 % Dienst
[incoming] => 0
[outcoming] => 1
)
[119] => Array
(
[id] => 260
[lowhigh] => 100
[pos] => 203
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 3
[label] => 3 % Product
[incoming] => 0
[outcoming] => 1
)
[120] => Array
(
[id] => 261
[lowhigh] => 100
[pos] => 204
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 3
[label] => 3 % Dienst
[incoming] => 0
[outcoming] => 1
)
[121] => Array
(
[id] => 262
[lowhigh] => 100
[pos] => 205
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 14
[label] => 14 % Product
[incoming] => 0
[outcoming] => 1
)
[122] => Array
(
[id] => 263
[lowhigh] => 100
[pos] => 206
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 14
[label] => 14 % Dienst
[incoming] => 0
[outcoming] => 1
)
[123] => Array
(
[id] => 264
[lowhigh] => 100
[pos] => 207
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 21
[label] => 21 % Product
[incoming] => 0
[outcoming] => 1
)
[124] => Array
(
[id] => 265
[lowhigh] => 100
[pos] => 208
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 21
[label] => 21 % Dienst
[incoming] => 0
[outcoming] => 1
)
[125] => Array
(
[id] => 266
[lowhigh] => 100
[pos] => 209
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 12
[label] => 12 % Product
[incoming] => 0
[outcoming] => 1
)
[126] => Array
(
[id] => 267
[lowhigh] => 100
[pos] => 210
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 12
[label] => 12 % Dienst
[incoming] => 0
[outcoming] => 1
)
[127] => Array
(
[id] => 268
[lowhigh] => 100
[pos] => 211
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Product
[incoming] => 0
[outcoming] => 1
)
[128] => Array
(
[id] => 269
[lowhigh] => 100
[pos] => 212
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Dienst
[incoming] => 0
[outcoming] => 1
)
[129] => Array
(
[id] => 270
[lowhigh] => 100
[pos] => 213
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 18
[label] => 18 % Product
[incoming] => 0
[outcoming] => 1
)
[130] => Array
(
[id] => 271
[lowhigh] => 100
[pos] => 214
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 18
[label] => 18 % Dienst
[incoming] => 0
[outcoming] => 1
)
[131] => Array
(
[id] => 272
[lowhigh] => 100
[pos] => 215
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Product
[incoming] => 0
[outcoming] => 1
)
[132] => Array
(
[id] => 273
[lowhigh] => 100
[pos] => 216
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Dienst
[incoming] => 0
[outcoming] => 1
)
[133] => Array
(
[id] => 274
[lowhigh] => 100
[pos] => 217
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 7
[label] => 7 % Product
[incoming] => 0
[outcoming] => 1
)
[134] => Array
(
[id] => 275
[lowhigh] => 100
[pos] => 218
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 7
[label] => 7 % Dienst
[incoming] => 0
[outcoming] => 1
)
[135] => Array
(
[id] => 276
[lowhigh] => 100
[pos] => 219
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 21
[label] => 21 % Product
[incoming] => 0
[outcoming] => 1
)
[136] => Array
(
[id] => 277
[lowhigh] => 100
[pos] => 220
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 21
[label] => 21 % Dienst
[incoming] => 0
[outcoming] => 1
)
[137] => Array
(
[id] => 278
[lowhigh] => 100
[pos] => 221
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 % Product
[incoming] => 0
[outcoming] => 1
)
[138] => Array
(
[id] => 279
[lowhigh] => 100
[pos] => 222
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 % Dienst
[incoming] => 0
[outcoming] => 1
)
[139] => Array
(
[id] => 280
[lowhigh] => 100
[pos] => 223
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 23
[label] => 23 % Product
[incoming] => 0
[outcoming] => 1
)
[140] => Array
(
[id] => 281
[lowhigh] => 100
[pos] => 224
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 23
[label] => 23 % Dienst
[incoming] => 0
[outcoming] => 1
)
[141] => Array
(
[id] => 282
[lowhigh] => 100
[pos] => 225
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Product
[incoming] => 0
[outcoming] => 1
)
[142] => Array
(
[id] => 283
[lowhigh] => 100
[pos] => 226
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Dienst
[incoming] => 0
[outcoming] => 1
)
[143] => Array
(
[id] => 284
[lowhigh] => 100
[pos] => 227
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 8
[label] => 8 % Product
[incoming] => 0
[outcoming] => 1
)
[144] => Array
(
[id] => 285
[lowhigh] => 100
[pos] => 228
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 8
[label] => 8 % Dienst
[incoming] => 0
[outcoming] => 1
)
[145] => Array
(
[id] => 286
[lowhigh] => 100
[pos] => 229
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 23
[label] => 23 % Product
[incoming] => 0
[outcoming] => 1
)
[146] => Array
(
[id] => 287
[lowhigh] => 100
[pos] => 230
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 23
[label] => 23 % Dienst
[incoming] => 0
[outcoming] => 1
)
[147] => Array
(
[id] => 288
[lowhigh] => 100
[pos] => 231
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 6
[label] => 6 % Product
[incoming] => 0
[outcoming] => 1
)
[148] => Array
(
[id] => 289
[lowhigh] => 100
[pos] => 232
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 6
[label] => 6 % Dienst
[incoming] => 0
[outcoming] => 1
)
[149] => Array
(
[id] => 290
[lowhigh] => 100
[pos] => 233
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 13
[label] => 13 % Product
[incoming] => 0
[outcoming] => 1
)
[150] => Array
(
[id] => 291
[lowhigh] => 100
[pos] => 234
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 13
[label] => 13 % Dienst
[incoming] => 0
[outcoming] => 1
)
[151] => Array
(
[id] => 292
[lowhigh] => 100
[pos] => 235
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 19
[label] => 19 % Product
[incoming] => 0
[outcoming] => 1
)
[152] => Array
(
[id] => 293
[lowhigh] => 100
[pos] => 236
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 19
[label] => 19 % Dienst
[incoming] => 0
[outcoming] => 1
)
[153] => Array
(
[id] => 294
[lowhigh] => 100
[pos] => 237
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Product
[incoming] => 0
[outcoming] => 1
)
[154] => Array
(
[id] => 295
[lowhigh] => 100
[pos] => 238
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 5
[label] => 5 % Dienst
[incoming] => 0
[outcoming] => 1
)
[155] => Array
(
[id] => 296
[lowhigh] => 100
[pos] => 239
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 % Product
[incoming] => 0
[outcoming] => 1
)
[156] => Array
(
[id] => 297
[lowhigh] => 100
[pos] => 240
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9
[label] => 9 % Dienst
[incoming] => 0
[outcoming] => 1
)
[157] => Array
(
[id] => 298
[lowhigh] => 100
[pos] => 241
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 25
[label] => 25 % Product
[incoming] => 0
[outcoming] => 1
)
[158] => Array
(
[id] => 299
[lowhigh] => 100
[pos] => 242
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 25
[label] => 25 % Dienst
[incoming] => 0
[outcoming] => 1
)
[159] => Array
(
[id] => 300
[lowhigh] => 100
[pos] => 243
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 6
[label] => 6 % Product
[incoming] => 0
[outcoming] => 1
)
[160] => Array
(
[id] => 301
[lowhigh] => 100
[pos] => 244
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 6
[label] => 6 % Dienst
[incoming] => 0
[outcoming] => 1
)
[161] => Array
(
[id] => 302
[lowhigh] => 100
[pos] => 245
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 12
[label] => 12 % Product
[incoming] => 0
[outcoming] => 1
)
[162] => Array
(
[id] => 303
[lowhigh] => 100
[pos] => 246
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 12
[label] => 12 % Dienst
[incoming] => 0
[outcoming] => 1
)
[163] => Array
(
[id] => 304
[lowhigh] => 100
[pos] => 247
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 22
[label] => 22 % Product
[incoming] => 0
[outcoming] => 1
)
[164] => Array
(
[id] => 305
[lowhigh] => 100
[pos] => 248
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 22
[label] => 22 % Dienst
[incoming] => 0
[outcoming] => 1
)
[165] => Array
(
[id] => 306
[lowhigh] => 100
[pos] => 249
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9.5
[label] => 9.5 % Product
[incoming] => 0
[outcoming] => 1
)
[166] => Array
(
[id] => 307
[lowhigh] => 100
[pos] => 250
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 9.5
[label] => 9.5 % Dienst
[incoming] => 0
[outcoming] => 1
)
[167] => Array
(
[id] => 308
[lowhigh] => 100
[pos] => 251
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 20
[label] => 20 % Product
[incoming] => 0
[outcoming] => 1
)
[168] => Array
(
[id] => 309
[lowhigh] => 100
[pos] => 252
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 20
[label] => 20 % Dienst
[incoming] => 0
[outcoming] => 1
)
[169] => Array
(
[id] => 310
[lowhigh] => 100
[pos] => 253
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 10
[label] => 10 % Product
[incoming] => 0
[outcoming] => 1
)
[170] => Array
(
[id] => 311
[lowhigh] => 100
[pos] => 254
[active] => 1
[no_tax] => 0
[zero_tax] => 0
[shifted] => 0
[value] => 10
[label] => 10 % Dienst
[incoming] => 0
[outcoming] => 1
)
)
Api Call
{
"method": "efd.gettaxeslist",
"jsonrpc": "2.0",
"id": "1646836297",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": [
{
"id": "1",
"lowhigh": "0",
"pos": "1",
"active": "1",
"no_tax": "0",
"zero_tax": "1",
"shifted": "0",
"value": "0",
"label": "0 %",
"incoming": "1",
"outcoming": "1"
},
{
"id": "2",
"lowhigh": "1",
"pos": "2",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "6",
"label": "6 %",
"incoming": "1",
"outcoming": "1"
},
{
"id": "55",
"lowhigh": "1",
"pos": "2",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 %",
"incoming": "1",
"outcoming": "1"
},
{
"id": "4",
"lowhigh": "2",
"pos": "4",
"active": "0",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "19",
"label": "19 %",
"incoming": "1",
"outcoming": "1"
},
{
"id": "5",
"lowhigh": "2",
"pos": "5",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "21",
"label": "21 %",
"incoming": "1",
"outcoming": "1"
},
{
"id": "6",
"lowhigh": "0",
"pos": "6",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "1",
"value": "00",
"label": "verlegd",
"incoming": "0",
"outcoming": "1"
},
{
"id": "9",
"lowhigh": "0",
"pos": "9",
"active": "1",
"no_tax": "0",
"zero_tax": "1",
"shifted": "1",
"value": "0",
"label": "verlegd 0%",
"incoming": "1",
"outcoming": "0"
},
{
"id": "10",
"lowhigh": "1",
"pos": "10",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "1",
"value": "0",
"label": "verlegd 6%",
"incoming": "1",
"outcoming": "0"
},
{
"id": "46",
"lowhigh": "1",
"pos": "10",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "1",
"value": "0",
"label": "verlegd 9%",
"incoming": "1",
"outcoming": "0"
},
{
"id": "11",
"lowhigh": "2",
"pos": "11",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "1",
"value": "0",
"label": "verlegd 21%",
"incoming": "1",
"outcoming": "0"
},
{
"id": "12",
"lowhigh": "0",
"pos": "12",
"active": "1",
"no_tax": "0",
"zero_tax": "1",
"shifted": "1",
"value": "0",
"label": "import 0%",
"incoming": "1",
"outcoming": "0"
},
{
"id": "13",
"lowhigh": "1",
"pos": "13",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "1",
"value": "0",
"label": "import 6%",
"incoming": "1",
"outcoming": "0"
},
{
"id": "49",
"lowhigh": "1",
"pos": "13",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "1",
"value": "0",
"label": "import 9%",
"incoming": "1",
"outcoming": "0"
},
{
"id": "14",
"lowhigh": "2",
"pos": "14",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "1",
"value": "0",
"label": "import 21%",
"incoming": "1",
"outcoming": "0"
},
{
"id": "40",
"lowhigh": "2",
"pos": "14",
"active": "0",
"no_tax": "0",
"zero_tax": "0",
"shifted": "1",
"value": "0",
"label": "verlegd 19%",
"incoming": "1",
"outcoming": "0"
},
{
"id": "7",
"lowhigh": "0",
"pos": "15",
"active": "1",
"no_tax": "1",
"zero_tax": "0",
"shifted": "0",
"value": "000",
"label": "vrijgesteld",
"incoming": "1",
"outcoming": "1"
},
{
"id": "41",
"lowhigh": "2",
"pos": "15",
"active": "0",
"no_tax": "0",
"zero_tax": "0",
"shifted": "1",
"value": "0",
"label": "import 19%",
"incoming": "1",
"outcoming": "0"
},
{
"id": "158",
"lowhigh": "100",
"pos": "100",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "20",
"label": "20 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "159",
"lowhigh": "100",
"pos": "101",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "20",
"label": "20 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "160",
"lowhigh": "100",
"pos": "102",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "10",
"label": "10 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "161",
"lowhigh": "100",
"pos": "103",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "10",
"label": "10 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "162",
"lowhigh": "100",
"pos": "104",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "13",
"label": "13 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "163",
"lowhigh": "100",
"pos": "105",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "13",
"label": "13 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "164",
"lowhigh": "100",
"pos": "106",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "21",
"label": "21 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "165",
"lowhigh": "100",
"pos": "107",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "21",
"label": "21 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "166",
"lowhigh": "100",
"pos": "108",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "6",
"label": "6 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "167",
"lowhigh": "100",
"pos": "109",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "6",
"label": "6 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "168",
"lowhigh": "100",
"pos": "110",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "12",
"label": "12 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "169",
"lowhigh": "100",
"pos": "111",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "12",
"label": "12 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "170",
"lowhigh": "100",
"pos": "112",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "20",
"label": "20 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "171",
"lowhigh": "100",
"pos": "113",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "20",
"label": "20 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "172",
"lowhigh": "100",
"pos": "114",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "173",
"lowhigh": "100",
"pos": "115",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "174",
"lowhigh": "100",
"pos": "116",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "19",
"label": "19 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "175",
"lowhigh": "100",
"pos": "117",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "19",
"label": "19 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "176",
"lowhigh": "100",
"pos": "118",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "177",
"lowhigh": "100",
"pos": "119",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "178",
"lowhigh": "100",
"pos": "120",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "179",
"lowhigh": "100",
"pos": "121",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "180",
"lowhigh": "100",
"pos": "122",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "21",
"label": "21 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "181",
"lowhigh": "100",
"pos": "123",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "21",
"label": "21 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "182",
"lowhigh": "100",
"pos": "124",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "10",
"label": "10 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "183",
"lowhigh": "100",
"pos": "125",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "10",
"label": "10 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "184",
"lowhigh": "100",
"pos": "126",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "15",
"label": "15 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "185",
"lowhigh": "100",
"pos": "127",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "15",
"label": "15 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "186",
"lowhigh": "100",
"pos": "128",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "19",
"label": "19 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "187",
"lowhigh": "100",
"pos": "129",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "19",
"label": "19 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "188",
"lowhigh": "100",
"pos": "130",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "7",
"label": "7 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "189",
"lowhigh": "100",
"pos": "131",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "7",
"label": "7 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "190",
"lowhigh": "100",
"pos": "132",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "25",
"label": "25 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "191",
"lowhigh": "100",
"pos": "133",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "25",
"label": "25 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "192",
"lowhigh": "100",
"pos": "134",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "20",
"label": "20 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "193",
"lowhigh": "100",
"pos": "135",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "20",
"label": "20 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "194",
"lowhigh": "100",
"pos": "136",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "195",
"lowhigh": "100",
"pos": "137",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "196",
"lowhigh": "100",
"pos": "138",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "24",
"label": "24 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "197",
"lowhigh": "100",
"pos": "139",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "24",
"label": "24 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "198",
"lowhigh": "100",
"pos": "140",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "6",
"label": "6 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "199",
"lowhigh": "100",
"pos": "141",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "6",
"label": "6 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "200",
"lowhigh": "100",
"pos": "142",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "13",
"label": "13 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "201",
"lowhigh": "100",
"pos": "143",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "13",
"label": "13 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "202",
"lowhigh": "100",
"pos": "144",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "21",
"label": "21 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "203",
"lowhigh": "100",
"pos": "145",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "21",
"label": "21 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "204",
"lowhigh": "100",
"pos": "146",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "10",
"label": "10 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "205",
"lowhigh": "100",
"pos": "147",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "10",
"label": "10 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "206",
"lowhigh": "100",
"pos": "148",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "4",
"label": "4 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "207",
"lowhigh": "100",
"pos": "149",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "4",
"label": "4 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "208",
"lowhigh": "100",
"pos": "150",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "24",
"label": "24 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "209",
"lowhigh": "100",
"pos": "151",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "24",
"label": "24 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "210",
"lowhigh": "100",
"pos": "152",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "10",
"label": "10 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "211",
"lowhigh": "100",
"pos": "153",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "10",
"label": "10 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "212",
"lowhigh": "100",
"pos": "154",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "14",
"label": "14 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "213",
"lowhigh": "100",
"pos": "155",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "14",
"label": "14 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "214",
"lowhigh": "100",
"pos": "156",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "20",
"label": "20 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "215",
"lowhigh": "100",
"pos": "157",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "20",
"label": "20 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "216",
"lowhigh": "100",
"pos": "158",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5.5",
"label": "5.5 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "217",
"lowhigh": "100",
"pos": "159",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5.5",
"label": "5.5 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "218",
"lowhigh": "100",
"pos": "160",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "10",
"label": "10 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "219",
"lowhigh": "100",
"pos": "161",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "10",
"label": "10 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "220",
"lowhigh": "100",
"pos": "162",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "2.1",
"label": "2.1 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "221",
"lowhigh": "100",
"pos": "163",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "2.1",
"label": "2.1 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "222",
"lowhigh": "100",
"pos": "164",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "25",
"label": "25 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "223",
"lowhigh": "100",
"pos": "165",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "25",
"label": "25 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "224",
"lowhigh": "100",
"pos": "166",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "225",
"lowhigh": "100",
"pos": "167",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "226",
"lowhigh": "100",
"pos": "168",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "13",
"label": "13 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "227",
"lowhigh": "100",
"pos": "169",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "13",
"label": "13 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "228",
"lowhigh": "100",
"pos": "170",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "27",
"label": "27 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "229",
"lowhigh": "100",
"pos": "171",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "27",
"label": "27 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "230",
"lowhigh": "100",
"pos": "172",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "231",
"lowhigh": "100",
"pos": "173",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "232",
"lowhigh": "100",
"pos": "174",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "18",
"label": "18 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "233",
"lowhigh": "100",
"pos": "175",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "18",
"label": "18 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "234",
"lowhigh": "100",
"pos": "176",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "23",
"label": "23 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "235",
"lowhigh": "100",
"pos": "177",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "23",
"label": "23 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "236",
"lowhigh": "100",
"pos": "178",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "237",
"lowhigh": "100",
"pos": "179",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "238",
"lowhigh": "100",
"pos": "180",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "13.5",
"label": "13.5 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "239",
"lowhigh": "100",
"pos": "181",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "13.5",
"label": "13.5 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "240",
"lowhigh": "100",
"pos": "182",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "4.8",
"label": "4.8 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "241",
"lowhigh": "100",
"pos": "183",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "4.8",
"label": "4.8 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "242",
"lowhigh": "100",
"pos": "184",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "22",
"label": "22 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "243",
"lowhigh": "100",
"pos": "185",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "22",
"label": "22 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "244",
"lowhigh": "100",
"pos": "186",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "245",
"lowhigh": "100",
"pos": "187",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "246",
"lowhigh": "100",
"pos": "188",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "10",
"label": "10 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "247",
"lowhigh": "100",
"pos": "189",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "10",
"label": "10 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "248",
"lowhigh": "100",
"pos": "190",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "4",
"label": "4 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "249",
"lowhigh": "100",
"pos": "192",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "4",
"label": "4 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "250",
"lowhigh": "100",
"pos": "193",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "21",
"label": "21 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "251",
"lowhigh": "100",
"pos": "194",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "21",
"label": "21 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "252",
"lowhigh": "100",
"pos": "195",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "253",
"lowhigh": "100",
"pos": "196",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "254",
"lowhigh": "100",
"pos": "197",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "255",
"lowhigh": "100",
"pos": "198",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "256",
"lowhigh": "100",
"pos": "199",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "17",
"label": "17 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "257",
"lowhigh": "100",
"pos": "200",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "17",
"label": "17 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "258",
"lowhigh": "100",
"pos": "201",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "8",
"label": "8 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "259",
"lowhigh": "100",
"pos": "202",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "8",
"label": "8 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "260",
"lowhigh": "100",
"pos": "203",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "3",
"label": "3 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "261",
"lowhigh": "100",
"pos": "204",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "3",
"label": "3 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "262",
"lowhigh": "100",
"pos": "205",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "14",
"label": "14 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "263",
"lowhigh": "100",
"pos": "206",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "14",
"label": "14 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "264",
"lowhigh": "100",
"pos": "207",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "21",
"label": "21 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "265",
"lowhigh": "100",
"pos": "208",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "21",
"label": "21 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "266",
"lowhigh": "100",
"pos": "209",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "12",
"label": "12 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "267",
"lowhigh": "100",
"pos": "210",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "12",
"label": "12 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "268",
"lowhigh": "100",
"pos": "211",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "269",
"lowhigh": "100",
"pos": "212",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "270",
"lowhigh": "100",
"pos": "213",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "18",
"label": "18 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "271",
"lowhigh": "100",
"pos": "214",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "18",
"label": "18 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "272",
"lowhigh": "100",
"pos": "215",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "273",
"lowhigh": "100",
"pos": "216",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "274",
"lowhigh": "100",
"pos": "217",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "7",
"label": "7 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "275",
"lowhigh": "100",
"pos": "218",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "7",
"label": "7 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "276",
"lowhigh": "100",
"pos": "219",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "21",
"label": "21 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "277",
"lowhigh": "100",
"pos": "220",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "21",
"label": "21 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "278",
"lowhigh": "100",
"pos": "221",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "279",
"lowhigh": "100",
"pos": "222",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "280",
"lowhigh": "100",
"pos": "223",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "23",
"label": "23 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "281",
"lowhigh": "100",
"pos": "224",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "23",
"label": "23 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "282",
"lowhigh": "100",
"pos": "225",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "283",
"lowhigh": "100",
"pos": "226",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "284",
"lowhigh": "100",
"pos": "227",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "8",
"label": "8 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "285",
"lowhigh": "100",
"pos": "228",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "8",
"label": "8 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "286",
"lowhigh": "100",
"pos": "229",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "23",
"label": "23 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "287",
"lowhigh": "100",
"pos": "230",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "23",
"label": "23 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "288",
"lowhigh": "100",
"pos": "231",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "6",
"label": "6 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "289",
"lowhigh": "100",
"pos": "232",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "6",
"label": "6 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "290",
"lowhigh": "100",
"pos": "233",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "13",
"label": "13 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "291",
"lowhigh": "100",
"pos": "234",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "13",
"label": "13 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "292",
"lowhigh": "100",
"pos": "235",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "19",
"label": "19 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "293",
"lowhigh": "100",
"pos": "236",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "19",
"label": "19 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "294",
"lowhigh": "100",
"pos": "237",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "295",
"lowhigh": "100",
"pos": "238",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "5",
"label": "5 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "296",
"lowhigh": "100",
"pos": "239",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "297",
"lowhigh": "100",
"pos": "240",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9",
"label": "9 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "298",
"lowhigh": "100",
"pos": "241",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "25",
"label": "25 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "299",
"lowhigh": "100",
"pos": "242",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "25",
"label": "25 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "300",
"lowhigh": "100",
"pos": "243",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "6",
"label": "6 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "301",
"lowhigh": "100",
"pos": "244",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "6",
"label": "6 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "302",
"lowhigh": "100",
"pos": "245",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "12",
"label": "12 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "303",
"lowhigh": "100",
"pos": "246",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "12",
"label": "12 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "304",
"lowhigh": "100",
"pos": "247",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "22",
"label": "22 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "305",
"lowhigh": "100",
"pos": "248",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "22",
"label": "22 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "306",
"lowhigh": "100",
"pos": "249",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9.5",
"label": "9.5 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "307",
"lowhigh": "100",
"pos": "250",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "9.5",
"label": "9.5 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "308",
"lowhigh": "100",
"pos": "251",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "20",
"label": "20 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "309",
"lowhigh": "100",
"pos": "252",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "20",
"label": "20 % Dienst",
"incoming": "0",
"outcoming": "1"
},
{
"id": "310",
"lowhigh": "100",
"pos": "253",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "10",
"label": "10 % Product",
"incoming": "0",
"outcoming": "1"
},
{
"id": "311",
"lowhigh": "100",
"pos": "254",
"active": "1",
"no_tax": "0",
"zero_tax": "0",
"shifted": "0",
"value": "10",
"label": "10 % Dienst",
"incoming": "0",
"outcoming": "1"
}
],
"id": "efd",
"error": null
}
|
Possible VAT values
Possible VAT values
ID |
Type |
Description |
0 |
string |
0% |
6 |
string |
6% |
21 |
string |
21% |
00 |
string |
shifted (verlegd) |
000 |
string |
no vat (vrijgesteld) |
getCategoriesList
Methods for get products categories list
EXAMPLE
Api Call
getCategoriesList(); Api response
Array
(
[0] => Array
(
[id] => 2
[name] => TestGroup
)
)
Api Call
{
"method": "efd.getcategorieslist",
"jsonrpc": "2.0",
"id": "1646836308",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": [
{
"id": "2",
"name": "TestGroup"
}
],
"id": "efd",
"error": null
}
|
getPaymentMethods
Methods for get payment methods
EXAMPLE
Api Call
getPaymentMethods(); Api response
Array
(
[3] => Bank
[5] => Contant
[7] => iDEAL
[9] => Incasso
)
Api Call
{
"method": "efd.getpaymentmethods",
"jsonrpc": "2.0",
"id": "1646836318",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"3": "Bank",
"5": "Contant",
"7": "iDEAL",
"9": "Incasso"
},
"id": "efd",
"error": null
}
|
getCurrenciesList
Methods for get currencies list
EXAMPLE
Api Call
getCurrenciesList(); Api response
Array
(
[EUR] => Array
(
[locale] => nl_NL
[symbol] => EUR (€)
)
[USD] => Array
(
[locale] => en_US
[symbol] => USD ($)
)
[GBP] => Array
(
[locale] => en_GB
[symbol] => GBP (£)
)
[AED] => Array
(
[symbol] => AED (AED )
)
[AFN] => Array
(
[symbol] => AFN (AFN )
)
[ALL] => Array
(
[symbol] => ALL (ALL )
)
[AMD] => Array
(
[symbol] => AMD (AMD )
)
[ANG] => Array
(
[symbol] => ANG (ANG )
)
[AOA] => Array
(
[symbol] => AOA (AOA )
)
[ARS] => Array
(
[symbol] => ARS (ARS )
)
[AUD] => Array
(
[locale] => en_AU
[symbol] => AUD ($)
)
[AWG] => Array
(
[symbol] => AWG (AWG )
)
[AZN] => Array
(
[symbol] => AZN (AZN )
)
[BAM] => Array
(
[symbol] => BAM (BAM )
)
[BBD] => Array
(
[symbol] => BBD (BBD )
)
[BDT] => Array
(
[symbol] => BDT (BDT )
)
[BGN] => Array
(
[locale] => bg_BG
[symbol] => BGN (лв. )
)
[BHD] => Array
(
[symbol] => BHD (BHD )
)
[BIF] => Array
(
[symbol] => BIF (BIF )
)
[BMD] => Array
(
[symbol] => BMD (BMD )
)
[BND] => Array
(
[symbol] => BND (BND )
)
[BOB] => Array
(
[symbol] => BOB (BOB )
)
[BRL] => Array
(
[locale] => pt_BR
[symbol] => BRL (R$)
)
[BSD] => Array
(
[symbol] => BSD (BSD )
)
[BTC] => Array
(
[symbol] => BTC (BTC )
)
[BTN] => Array
(
[symbol] => BTN (BTN )
)
[BWP] => Array
(
[symbol] => BWP (BWP )
)
[BYN] => Array
(
[symbol] => BYN (BYN )
)
[BYR] => Array
(
[symbol] => BYR (BYR )
)
[BZD] => Array
(
[symbol] => BZD (BZD )
)
[CAD] => Array
(
[locale] => en_CA
[symbol] => CAD ($)
)
[CDF] => Array
(
[symbol] => CDF (CDF )
)
[CHF] => Array
(
[locale] => de_CH
[symbol] => CHF (CHF )
)
[CLF] => Array
(
[symbol] => CLF (CLF )
)
[CLP] => Array
(
[symbol] => CLP (CLP )
)
[CNY] => Array
(
[locale] => zh_ZH
[symbol] => CNY (¥)
)
[COP] => Array
(
[symbol] => COP (COP )
)
[CRC] => Array
(
[symbol] => CRC (CRC )
)
[CUC] => Array
(
[symbol] => CUC (CUC )
)
[CUP] => Array
(
[symbol] => CUP (CUP )
)
[CVE] => Array
(
[symbol] => CVE (CVE )
)
[CZK] => Array
(
[locale] => cs_CZ
[symbol] => CZK (Kč )
)
[DJF] => Array
(
[symbol] => DJF (DJF )
)
[DKK] => Array
(
[locale] => da_DK
[symbol] => DKK (kr. )
)
[DOP] => Array
(
[symbol] => DOP (DOP )
)
[DZD] => Array
(
[symbol] => DZD (DZD )
)
[EGP] => Array
(
[symbol] => EGP (EGP )
)
[ERN] => Array
(
[symbol] => ERN (ERN )
)
[ETB] => Array
(
[symbol] => ETB (ETB )
)
[FJD] => Array
(
[symbol] => FJD (FJ$)
)
[FKP] => Array
(
[symbol] => FKP (FKP )
)
[GEL] => Array
(
[symbol] => GEL (GEL )
)
[GGP] => Array
(
[symbol] => GGP (GGP )
)
[GHS] => Array
(
[symbol] => GHS (GHS )
)
[GIP] => Array
(
[symbol] => GIP (GIP )
)
[GMD] => Array
(
[symbol] => GMD (GMD )
)
[GNF] => Array
(
[symbol] => GNF (GNF )
)
[GTQ] => Array
(
[symbol] => GTQ (GTQ )
)
[GYD] => Array
(
[symbol] => GYD (GYD )
)
[HKD] => Array
(
[locale] => en_HK
[symbol] => HKD (HK$)
)
[HNL] => Array
(
[symbol] => HNL (HNL )
)
[HRK] => Array
(
[locale] => hr_HR
[symbol] => HRK (HRK )
)
[HTG] => Array
(
[symbol] => HTG (HTG )
)
[HUF] => Array
(
[locale] => hu_HU
[symbol] => HUF (Ft )
)
[IDR] => Array
(
[locale] => id_ID
[symbol] => IDR (Rp )
)
[ILS] => Array
(
[locale] => he_IL
[symbol] => ILS (₪)
)
[IMP] => Array
(
[symbol] => IMP (IMP )
)
[INR] => Array
(
[locale] => hi_IN
[symbol] => INR (₹)
)
[IQD] => Array
(
[symbol] => IQD (IQD )
)
[IRR] => Array
(
[symbol] => IRR (IRR )
)
[ISK] => Array
(
[symbol] => ISK (ISK )
)
[JEP] => Array
(
[symbol] => JEP (JEP )
)
[JMD] => Array
(
[symbol] => JMD (JMD )
)
[JOD] => Array
(
[symbol] => JOD (JOD )
)
[JPY] => Array
(
[locale] => ja_JP
[symbol] => JPY (¥)
)
[KES] => Array
(
[symbol] => KES (KES )
)
[KGS] => Array
(
[symbol] => KGS (KGS )
)
[KHR] => Array
(
[symbol] => KHR (KHR )
)
[KMF] => Array
(
[symbol] => KMF (KMF )
)
[KPW] => Array
(
[symbol] => KPW (KPW )
)
[KRW] => Array
(
[locale] => ko_KR
[symbol] => KRW (₩)
)
[KWD] => Array
(
[symbol] => KWD (KWD )
)
[KYD] => Array
(
[symbol] => KYD (KYD )
)
[KZT] => Array
(
[symbol] => KZT (KZT )
)
[LAK] => Array
(
[symbol] => LAK (LAK )
)
[LBP] => Array
(
[symbol] => LBP (LBP )
)
[LKR] => Array
(
[symbol] => LKR (LKR )
)
[LRD] => Array
(
[symbol] => LRD (LRD )
)
[LSL] => Array
(
[symbol] => LSL (LSL )
)
[LTL] => Array
(
[symbol] => LTL (LTL )
)
[LVL] => Array
(
[symbol] => LVL (LVL )
)
[LYD] => Array
(
[symbol] => LYD (LYD )
)
[MAD] => Array
(
[symbol] => MAD (MAD )
)
[MDL] => Array
(
[symbol] => MDL (MDL )
)
[MGA] => Array
(
[symbol] => MGA (MGA )
)
[MKD] => Array
(
[symbol] => MKD (MKD )
)
[MMK] => Array
(
[symbol] => MMK (MMK )
)
[MNT] => Array
(
[symbol] => MNT (MNT )
)
[MOP] => Array
(
[symbol] => MOP (MOP )
)
[MRO] => Array
(
[symbol] => MRO (MRO )
)
[MUR] => Array
(
[symbol] => MUR (MUR )
)
[MVR] => Array
(
[symbol] => MVR (MVR )
)
[MWK] => Array
(
[symbol] => MWK (MWK )
)
[MXN] => Array
(
[locale] => es_MX
[symbol] => MXN ($)
)
[MYR] => Array
(
[locale] => ms_MY
[symbol] => MYR (RM )
)
[MZN] => Array
(
[symbol] => MZN (MZN )
)
[NAD] => Array
(
[symbol] => NAD (NAD )
)
[NGN] => Array
(
[symbol] => NGN (NGN )
)
[NIO] => Array
(
[symbol] => NIO (NIO )
)
[NOK] => Array
(
[locale] => no_NO
[symbol] => NOK (kr )
)
[NPR] => Array
(
[symbol] => NPR (NPR )
)
[NZD] => Array
(
[locale] => en_NZ
[symbol] => NZD ($)
)
[OMR] => Array
(
[symbol] => OMR (OMR )
)
[PAB] => Array
(
[symbol] => PAB (PAB )
)
[PEN] => Array
(
[symbol] => PEN (PEN )
)
[PGK] => Array
(
[symbol] => PGK (PGK )
)
[PHP] => Array
(
[locale] => en_PH
[symbol] => PHP (₱)
)
[PKR] => Array
(
[symbol] => PKR (PKR )
)
[PLN] => Array
(
[locale] => pl_PL
[symbol] => PLN (zł )
)
[PYG] => Array
(
[symbol] => PYG (PYG )
)
[QAR] => Array
(
[symbol] => QAR (QAR )
)
[RON] => Array
(
[locale] => ro_RO
[symbol] => RON (RON )
)
[RSD] => Array
(
[symbol] => RSD (RSD )
)
[RUB] => Array
(
[locale] => ru_RU
[symbol] => RUB (₽)
)
[RWF] => Array
(
[symbol] => RWF (RWF )
)
[SAR] => Array
(
[symbol] => SAR (SAR )
)
[SBD] => Array
(
[symbol] => SBD (SI$)
)
[SCR] => Array
(
[symbol] => SCR (SCR )
)
[SDG] => Array
(
[symbol] => SDG (SDG )
)
[SEK] => Array
(
[locale] => sv_SE
[symbol] => SEK (kr )
)
[SGD] => Array
(
[locale] => zh_SG
[symbol] => SGD ($)
)
[SHP] => Array
(
[symbol] => SHP (SHP )
)
[SLL] => Array
(
[symbol] => SLL (SLL )
)
[SOS] => Array
(
[symbol] => SOS (SOS )
)
[SRD] => Array
(
[symbol] => SRD (SRD )
)
[STD] => Array
(
[symbol] => STD (STD )
)
[SVC] => Array
(
[symbol] => SVC (SVC )
)
[SYP] => Array
(
[symbol] => SYP (SYP )
)
[SZL] => Array
(
[symbol] => SZL (SZL )
)
[THB] => Array
(
[locale] => th_TH
[symbol] => THB
)
[TJS] => Array
(
[symbol] => TJS (TJS )
)
[TMT] => Array
(
[symbol] => TMT (TMT )
)
[TND] => Array
(
[symbol] => TND (TND )
)
[TOP] => Array
(
[symbol] => TOP (TOP )
)
[TRY] => Array
(
[locale] => tr_TR
[symbol] => TRY (₺)
)
[TTD] => Array
(
[symbol] => TTD (TTD )
)
[TWD] => Array
(
[symbol] => TWD (NT$)
)
[TZS] => Array
(
[symbol] => TZS (TZS )
)
[UAH] => Array
(
[symbol] => UAH (UAH )
)
[UGX] => Array
(
[symbol] => UGX (UGX )
)
[UYU] => Array
(
[symbol] => UYU (UYU )
)
[UZS] => Array
(
[symbol] => UZS (UZS )
)
[VEF] => Array
(
[symbol] => VEF (VEF )
)
[VND] => Array
(
[symbol] => VND (₫)
)
[VUV] => Array
(
[symbol] => VUV (VUV )
)
[WST] => Array
(
[symbol] => WST (WST )
)
[XAF] => Array
(
[symbol] => XAF (FCFA )
)
[XAG] => Array
(
[symbol] => XAG (XAG )
)
[XAU] => Array
(
[symbol] => XAU (XAU )
)
[XCD] => Array
(
[symbol] => XCD (EC$)
)
[XDR] => Array
(
[symbol] => XDR (XDR )
)
[XOF] => Array
(
[symbol] => XOF (CFA )
)
[XPF] => Array
(
[symbol] => XPF (XPF )
)
[YER] => Array
(
[symbol] => YER (YER )
)
[ZAR] => Array
(
[locale] => zu_ZA
[symbol] => ZAR (R )
)
[ZMK] => Array
(
[symbol] => ZMK (ZMK )
)
[ZMW] => Array
(
[symbol] => ZMW (ZMW )
)
[ZWL] => Array
(
[symbol] => ZWL (ZWL )
)
)
Api Call
{
"method": "efd.getcurrencieslist",
"jsonrpc": "2.0",
"id": "1646836329",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"EUR": {
"locale": "nl_NL",
"symbol": "EUR (\u20ac)"
},
"USD": {
"locale": "en_US",
"symbol": "USD ($)"
},
"GBP": {
"locale": "en_GB",
"symbol": "GBP (\u00a3)"
},
"AED": {
"symbol": "AED (AED\u00a0)"
},
"AFN": {
"symbol": "AFN (AFN\u00a0)"
},
"ALL": {
"symbol": "ALL (ALL\u00a0)"
},
"AMD": {
"symbol": "AMD (AMD\u00a0)"
},
"ANG": {
"symbol": "ANG (ANG\u00a0)"
},
"AOA": {
"symbol": "AOA (AOA\u00a0)"
},
"ARS": {
"symbol": "ARS (ARS\u00a0)"
},
"AUD": {
"locale": "en_AU",
"symbol": "AUD ($)"
},
"AWG": {
"symbol": "AWG (AWG\u00a0)"
},
"AZN": {
"symbol": "AZN (AZN\u00a0)"
},
"BAM": {
"symbol": "BAM (BAM\u00a0)"
},
"BBD": {
"symbol": "BBD (BBD\u00a0)"
},
"BDT": {
"symbol": "BDT (BDT\u00a0)"
},
"BGN": {
"locale": "bg_BG",
"symbol": "BGN (\u043b\u0432.\u00a0)"
},
"BHD": {
"symbol": "BHD (BHD\u00a0)"
},
"BIF": {
"symbol": "BIF (BIF\u00a0)"
},
"BMD": {
"symbol": "BMD (BMD\u00a0)"
},
"BND": {
"symbol": "BND (BND\u00a0)"
},
"BOB": {
"symbol": "BOB (BOB\u00a0)"
},
"BRL": {
"locale": "pt_BR",
"symbol": "BRL (R$)"
},
"BSD": {
"symbol": "BSD (BSD\u00a0)"
},
"BTC": {
"symbol": "BTC (BTC\u00a0)"
},
"BTN": {
"symbol": "BTN (BTN\u00a0)"
},
"BWP": {
"symbol": "BWP (BWP\u00a0)"
},
"BYN": {
"symbol": "BYN (BYN\u00a0)"
},
"BYR": {
"symbol": "BYR (BYR\u00a0)"
},
"BZD": {
"symbol": "BZD (BZD\u00a0)"
},
"CAD": {
"locale": "en_CA",
"symbol": "CAD ($)"
},
"CDF": {
"symbol": "CDF (CDF\u00a0)"
},
"CHF": {
"locale": "de_CH",
"symbol": "CHF (CHF\u00a0)"
},
"CLF": {
"symbol": "CLF (CLF\u00a0)"
},
"CLP": {
"symbol": "CLP (CLP\u00a0)"
},
"CNY": {
"locale": "zh_ZH",
"symbol": "CNY (¥)"
},
"COP": {
"symbol": "COP (COP\u00a0)"
},
"CRC": {
"symbol": "CRC (CRC\u00a0)"
},
"CUC": {
"symbol": "CUC (CUC\u00a0)"
},
"CUP": {
"symbol": "CUP (CUP\u00a0)"
},
"CVE": {
"symbol": "CVE (CVE\u00a0)"
},
"CZK": {
"locale": "cs_CZ",
"symbol": "CZK (K\u010d\u00a0)"
},
"DJF": {
"symbol": "DJF (DJF\u00a0)"
},
"DKK": {
"locale": "da_DK",
"symbol": "DKK (kr.\u00a0)"
},
"DOP": {
"symbol": "DOP (DOP\u00a0)"
},
"DZD": {
"symbol": "DZD (DZD\u00a0)"
},
"EGP": {
"symbol": "EGP (EGP\u00a0)"
},
"ERN": {
"symbol": "ERN (ERN\u00a0)"
},
"ETB": {
"symbol": "ETB (ETB\u00a0)"
},
"FJD": {
"symbol": "FJD (FJ$)"
},
"FKP": {
"symbol": "FKP (FKP\u00a0)"
},
"GEL": {
"symbol": "GEL (GEL\u00a0)"
},
"GGP": {
"symbol": "GGP (GGP\u00a0)"
},
"GHS": {
"symbol": "GHS (GHS\u00a0)"
},
"GIP": {
"symbol": "GIP (GIP\u00a0)"
},
"GMD": {
"symbol": "GMD (GMD\u00a0)"
},
"GNF": {
"symbol": "GNF (GNF\u00a0)"
},
"GTQ": {
"symbol": "GTQ (GTQ\u00a0)"
},
"GYD": {
"symbol": "GYD (GYD\u00a0)"
},
"HKD": {
"locale": "en_HK",
"symbol": "HKD (HK$)"
},
"HNL": {
"symbol": "HNL (HNL\u00a0)"
},
"HRK": {
"locale": "hr_HR",
"symbol": "HRK (HRK\u00a0)"
},
"HTG": {
"symbol": "HTG (HTG\u00a0)"
},
"HUF": {
"locale": "hu_HU",
"symbol": "HUF (Ft\u00a0)"
},
"IDR": {
"locale": "id_ID",
"symbol": "IDR (Rp\u00a0)"
},
"ILS": {
"locale": "he_IL",
"symbol": "ILS (\u20aa)"
},
"IMP": {
"symbol": "IMP (IMP\u00a0)"
},
"INR": {
"locale": "hi_IN",
"symbol": "INR (\u20b9)"
},
"IQD": {
"symbol": "IQD (IQD\u00a0)"
},
"IRR": {
"symbol": "IRR (IRR\u00a0)"
},
"ISK": {
"symbol": "ISK (ISK\u00a0)"
},
"JEP": {
"symbol": "JEP (JEP\u00a0)"
},
"JMD": {
"symbol": "JMD (JMD\u00a0)"
},
"JOD": {
"symbol": "JOD (JOD\u00a0)"
},
"JPY": {
"locale": "ja_JP",
"symbol": "JPY (¥)"
},
"KES": {
"symbol": "KES (KES\u00a0)"
},
"KGS": {
"symbol": "KGS (KGS\u00a0)"
},
"KHR": {
"symbol": "KHR (KHR\u00a0)"
},
"KMF": {
"symbol": "KMF (KMF\u00a0)"
},
"KPW": {
"symbol": "KPW (KPW\u00a0)"
},
"KRW": {
"locale": "ko_KR",
"symbol": "KRW (\u20a9)"
},
"KWD": {
"symbol": "KWD (KWD\u00a0)"
},
"KYD": {
"symbol": "KYD (KYD\u00a0)"
},
"KZT": {
"symbol": "KZT (KZT\u00a0)"
},
"LAK": {
"symbol": "LAK (LAK\u00a0)"
},
"LBP": {
"symbol": "LBP (LBP\u00a0)"
},
"LKR": {
"symbol": "LKR (LKR\u00a0)"
},
"LRD": {
"symbol": "LRD (LRD\u00a0)"
},
"LSL": {
"symbol": "LSL (LSL\u00a0)"
},
"LTL": {
"symbol": "LTL (LTL\u00a0)"
},
"LVL": {
"symbol": "LVL (LVL\u00a0)"
},
"LYD": {
"symbol": "LYD (LYD\u00a0)"
},
"MAD": {
"symbol": "MAD (MAD\u00a0)"
},
"MDL": {
"symbol": "MDL (MDL\u00a0)"
},
"MGA": {
"symbol": "MGA (MGA\u00a0)"
},
"MKD": {
"symbol": "MKD (MKD\u00a0)"
},
"MMK": {
"symbol": "MMK (MMK\u00a0)"
},
"MNT": {
"symbol": "MNT (MNT\u00a0)"
},
"MOP": {
"symbol": "MOP (MOP\u00a0)"
},
"MRO": {
"symbol": "MRO (MRO\u00a0)"
},
"MUR": {
"symbol": "MUR (MUR\u00a0)"
},
"MVR": {
"symbol": "MVR (MVR\u00a0)"
},
"MWK": {
"symbol": "MWK (MWK\u00a0)"
},
"MXN": {
"locale": "es_MX",
"symbol": "MXN ($)"
},
"MYR": {
"locale": "ms_MY",
"symbol": "MYR (RM\u00a0)"
},
"MZN": {
"symbol": "MZN (MZN\u00a0)"
},
"NAD": {
"symbol": "NAD (NAD\u00a0)"
},
"NGN": {
"symbol": "NGN (NGN\u00a0)"
},
"NIO": {
"symbol": "NIO (NIO\u00a0)"
},
"NOK": {
"locale": "no_NO",
"symbol": "NOK (kr\u00a0)"
},
"NPR": {
"symbol": "NPR (NPR\u00a0)"
},
"NZD": {
"locale": "en_NZ",
"symbol": "NZD ($)"
},
"OMR": {
"symbol": "OMR (OMR\u00a0)"
},
"PAB": {
"symbol": "PAB (PAB\u00a0)"
},
"PEN": {
"symbol": "PEN (PEN\u00a0)"
},
"PGK": {
"symbol": "PGK (PGK\u00a0)"
},
"PHP": {
"locale": "en_PH",
"symbol": "PHP (\u20b1)"
},
"PKR": {
"symbol": "PKR (PKR\u00a0)"
},
"PLN": {
"locale": "pl_PL",
"symbol": "PLN (z\u0142\u00a0)"
},
"PYG": {
"symbol": "PYG (PYG\u00a0)"
},
"QAR": {
"symbol": "QAR (QAR\u00a0)"
},
"RON": {
"locale": "ro_RO",
"symbol": "RON (RON\u00a0)"
},
"RSD": {
"symbol": "RSD (RSD\u00a0)"
},
"RUB": {
"locale": "ru_RU",
"symbol": "RUB (\u20bd)"
},
"RWF": {
"symbol": "RWF (RWF\u00a0)"
},
"SAR": {
"symbol": "SAR (SAR\u00a0)"
},
"SBD": {
"symbol": "SBD (SI$)"
},
"SCR": {
"symbol": "SCR (SCR\u00a0)"
},
"SDG": {
"symbol": "SDG (SDG\u00a0)"
},
"SEK": {
"locale": "sv_SE",
"symbol": "SEK (kr\u00a0)"
},
"SGD": {
"locale": "zh_SG",
"symbol": "SGD ($)"
},
"SHP": {
"symbol": "SHP (SHP\u00a0)"
},
"SLL": {
"symbol": "SLL (SLL\u00a0)"
},
"SOS": {
"symbol": "SOS (SOS\u00a0)"
},
"SRD": {
"symbol": "SRD (SRD\u00a0)"
},
"STD": {
"symbol": "STD (STD\u00a0)"
},
"SVC": {
"symbol": "SVC (SVC\u00a0)"
},
"SYP": {
"symbol": "SYP (SYP\u00a0)"
},
"SZL": {
"symbol": "SZL (SZL\u00a0)"
},
"THB": {
"locale": "th_TH",
"symbol": "THB"
},
"TJS": {
"symbol": "TJS (TJS\u00a0)"
},
"TMT": {
"symbol": "TMT (TMT\u00a0)"
},
"TND": {
"symbol": "TND (TND\u00a0)"
},
"TOP": {
"symbol": "TOP (TOP\u00a0)"
},
"TRY": {
"locale": "tr_TR",
"symbol": "TRY (\u20ba)"
},
"TTD": {
"symbol": "TTD (TTD\u00a0)"
},
"TWD": {
"symbol": "TWD (NT$)"
},
"TZS": {
"symbol": "TZS (TZS\u00a0)"
},
"UAH": {
"symbol": "UAH (UAH\u00a0)"
},
"UGX": {
"symbol": "UGX (UGX\u00a0)"
},
"UYU": {
"symbol": "UYU (UYU\u00a0)"
},
"UZS": {
"symbol": "UZS (UZS\u00a0)"
},
"VEF": {
"symbol": "VEF (VEF\u00a0)"
},
"VND": {
"symbol": "VND (\u20ab)"
},
"VUV": {
"symbol": "VUV (VUV\u00a0)"
},
"WST": {
"symbol": "WST (WST\u00a0)"
},
"XAF": {
"symbol": "XAF (FCFA\u00a0)"
},
"XAG": {
"symbol": "XAG (XAG\u00a0)"
},
"XAU": {
"symbol": "XAU (XAU\u00a0)"
},
"XCD": {
"symbol": "XCD (EC$)"
},
"XDR": {
"symbol": "XDR (XDR\u00a0)"
},
"XOF": {
"symbol": "XOF (CFA\u00a0)"
},
"XPF": {
"symbol": "XPF (XPF\u00a0)"
},
"YER": {
"symbol": "YER (YER\u00a0)"
},
"ZAR": {
"locale": "zu_ZA",
"symbol": "ZAR (R\u00a0)"
},
"ZMK": {
"symbol": "ZMK (ZMK\u00a0)"
},
"ZMW": {
"symbol": "ZMW (ZMW\u00a0)"
},
"ZWL": {
"symbol": "ZWL (ZWL\u00a0)"
}
},
"id": "efd",
"error": null
}
|
getDashboardData
Methods for get dashboard data
EXAMPLE
Api Call
getDashboardData(); Api response
Array
(
[invoices] => Array
(
[0] => Array
(
[name] => Concept
[break] => 0
[total_count] => 147
[total_amount] => 18192.67
)
[1] => Array
(
[name] => Openstaand
[break] => 1
[total_count] => 7
[total_amount] => 850.92
)
[2] => Array
(
[name] => Verstuurd
[break] => 0
[total_count] => 0
[total_amount] => 0
)
[3] => Array
(
[name] => Verlopen
[break] => 0
[total_count] => 7
[total_amount] => 850.92
)
[4] => Array
(
[name] => Herinnering
[break] => 0
[total_count] => 0
[total_amount] => 0
)
[5] => Array
(
[name] => Aanmaning
[break] => 0
[total_count] => 0
[total_amount] => 0
)
[6] => Array
(
[name] => Ingebreke
[break] => 0
[total_count] => 0
[total_amount] => 0
)
)
[offers] => Array
(
[0] => Array
(
[name] => Concept
[break] => 0
[total_count] => 0
[total_amount] => 0
)
[1] => Array
(
[name] => Openstaand
[break] => 0
[total_count] => 144
[total_amount] => 17847.57
)
)
)
Api Call
{
"method": "efd.getdashboarddata",
"jsonrpc": "2.0",
"id": "1646836340",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"invoices": [
{
"name": "Concept",
"break": 0,
"total_count": "147",
"total_amount": "18192.67"
},
{
"name": "Openstaand",
"break": 1,
"total_count": "7",
"total_amount": "850.92"
},
{
"name": "Verstuurd",
"break": 0,
"total_count": "0",
"total_amount": "0"
},
{
"name": "Verlopen",
"break": 0,
"total_count": "7",
"total_amount": "850.92"
},
{
"name": "Herinnering",
"break": 0,
"total_count": "0",
"total_amount": "0"
},
{
"name": "Aanmaning",
"break": 0,
"total_count": "0",
"total_amount": "0"
},
{
"name": "Ingebreke",
"break": 0,
"total_count": "0",
"total_amount": "0"
}
],
"offers": [
{
"name": "Concept",
"break": 0,
"total_count": 0,
"total_amount": 0
},
{
"name": "Openstaand",
"break": 0,
"total_count": 144,
"total_amount": 17847.569999999978
}
]
},
"id": "efd",
"error": null
}
|
getTemplateProfileList
Methods for get template profile list
EXAMPLE
Api Call
getTemplateProfileList(); Api response
Array
(
[0] => Array
(
[profile_id] => 1
[name] => Nederlands
)
[1] => Array
(
[profile_id] => 2
[name] => Engels
)
)
Api Call
{
"method": "efd.gettemplateprofilelist",
"jsonrpc": "2.0",
"id": "1646836350",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": [
{
"profile_id": "1",
"name": "Nederlands"
},
{
"profile_id": "2",
"name": "Engels"
}
],
"id": "efd",
"error": null
}
|
getChangeRates
Methods for get change rates
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
date |
Exchange currency date |
string |
20-04-2017 |
Exchange currency date |
|
currency |
Currency ISO code |
string |
USD |
Currency ISO code |
|
EXAMPLE
Api Call
getChangeRates("20-04-2017","USD"); Api response
Array
(
[date] => 12-12-2016
[currencies] => Array
(
[USD] => 1.0576
[JPY] => 119.48
[BGN] => 1.9558
[CZK] => 27.045
[DKK] => 7.4391
[GBP] => 0.84815
[HUF] => 311.48
[PLN] => 4.4299
[RON] => 4.5172
[SEK] => 9.7668
[CHF] => 1.0752
[NOK] => 9.0765
[HRK] => 7.5368
[RUB] => 69.0453
[TRY] => 3.6267
[AUD] => 1.4210
[BRL] => 3.6009
[CAD] => 1.4232
[CNY] => 7.2972
[HKD] => 8.2024
[IDR] => 14354.28
[ILS] => 4.0680
[INR] => 72.6565
[KRW] => 1241.38
[MXN] => 21.8756
[MYR] => 4.7232
[NZD] => 1.4912
[PHP] => 52.664
[SGD] => 1.5113
[THB] => 37.756
[ZAR] => 14.7958
[EUR] => 1
[AED] => 4.38964
[AFN] => 81.953615
[ALL] => 133.393582
[AMD] => 571.162622
[ANG] => 2.115712
[AOA] => 197.31875
[ARS] => 20.292886
[AWG] => 2.136974
[AZN] => 2.032036
[BAM] => 1.958533
[BBD] => 2.390352
[BDT] => 96.438745
[BHD] => 0.450704
[BIF] => 2071.94492
[BMD] => 1.195176
[BND] => 1.608346
[BOB] => 8.238717
[BSD] => 1.195176
[BTC] => 0.000294
[BTN] => 76.551019
[BWP] => 12.115501
[BYN] => 2.306714
[BYR] => 23927.4212
[BZD] => 2.387726
[CDF] => 1859.59811
[CLF] => 0.02774
[CLP] => 746.793732
[COP] => 3463.97832
[CRC] => 685.098686
[CUC] => 1.195176
[CUP] => 31.672161
[CVE] => 110.290829
[DJF] => 212.40666
[DOP] => 56.233024
[DZD] => 132.565303
[EGP] => 21.082901
[ERN] => 18.274301
[ETB] => 27.859549
[FJD] => 2.433348
[FKP] => 0.881919
[GEL] => 2.935713
[GGP] => 0.881294
[GHS] => 5.286862
[GIP] => 0.882281
[GMD] => 53.424363
[GNF] => 10649.0171
[GTQ] => 8.715819
[GYD] => 244.36567
[HNL] => 27.870318
[HTG] => 73.455509
[IMP] => 0.881294
[IQD] => 1393.57508
[IRR] => 40020.4647
[ISK] => 126.999392
[JEP] => 0.881294
[JMD] => 155.683605
[JOD] => 0.845584
[KES] => 122.923837
[KGS] => 81.756005
[KHR] => 4845.24296
[KMF] => 494.025959
[KPW] => 1075.65855
[KWD] => 0.359764
[KYD] => 0.980434
[KZT] => 406.80201
[LAK] => 9879.32415
[LBP] => 1799.34214
[LKR] => 182.861317
[LRD] => 139.190281
[LSL] => 15.752285
[LTL] => 3.643734
[LVL] => 0.741666
[LYD] => 1.623643
[MAD] => 11.158147
[MDL] => 20.981342
[MGA] => 3806.63486
[MKD] => 61.240815
[MMK] => 1603.92548
[MNT] => 2947.30377
[MOP] => 9.621288
[MRO] => 431.458137
[MUR] => 39.775452
[MVR] => 18.549309
[MWK] => 855.996947
[MZN] => 72.571081
[NAD] => 15.846865
[NGN] => 420.702216
[NIO] => 36.291873
[NPR] => 122.087219
[OMR] => 0.459904
[PAB] => 1.195176
[PEN] => 3.881091
[PGK] => 3.821572
[PKR] => 125.7325
[PYG] => 6753.34651
[QAR] => 4.351988
[RSD] => 118.855698
[RWF] => 989.964171
[SAR] => 4.481793
[SBD] => 9.352608
[SCR] => 16.140895
[SDG] => 7.959635
[SHP] => 0.882284
[SLL] => 8963.81948
[SOS] => 665.712672
[SRD] => 8.808192
[STD] => 24507.6791
[SVC] => 10.457515
[SYP] => 615.491653
[SZL] => 15.848606
[TJS] => 10.517071
[TMT] => 4.07555
[TND] => 2.910969
[TOP] => 2.670737
[TTD] => 8.034021
[TWD] => 35.9736
[TZS] => 2672.41357
[UAH] => 31.198307
[UGX] => 4289.48592
[UYU] => 34.504729
[UZS] => 9657.02160
[VEF] => 11.921281
[VND] => 27160.3719
[VUV] => 126.174811
[WST] => 3.000727
[XAF] => 655.374668
[XAG] => 0.068892
[XAU] => 0.000911
[XCD] => 3.228534
[XDR] => 0.839815
[XOF] => 649.434679
[XPF] => 119.846224
[YER] => 298.614702
[ZMK] => 10758.0179
[ZMW] => 11.461545
[ZWL] => 385.270936
)
)
Api Call
{
"method": "efd.getchangerates",
"jsonrpc": "2.0",
"id": "1646836372",
"params": [
{
"date": "20-04-2017",
"currency": "USD"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"date": "12-12-2016",
"currencies": {
"USD": "1.0576",
"JPY": "119.48",
"BGN": "1.9558",
"CZK": "27.045",
"DKK": "7.4391",
"GBP": "0.84815",
"HUF": "311.48",
"PLN": "4.4299",
"RON": "4.5172",
"SEK": "9.7668",
"CHF": "1.0752",
"NOK": "9.0765",
"HRK": "7.5368",
"RUB": "69.0453",
"TRY": "3.6267",
"AUD": "1.4210",
"BRL": "3.6009",
"CAD": "1.4232",
"CNY": "7.2972",
"HKD": "8.2024",
"IDR": "14354.28",
"ILS": "4.0680",
"INR": "72.6565",
"KRW": "1241.38",
"MXN": "21.8756",
"MYR": "4.7232",
"NZD": "1.4912",
"PHP": "52.664",
"SGD": "1.5113",
"THB": "37.756",
"ZAR": "14.7958",
"EUR": "1",
"AED": "4.38964",
"AFN": "81.953615",
"ALL": "133.393582",
"AMD": "571.162622",
"ANG": "2.115712",
"AOA": "197.31875",
"ARS": "20.292886",
"AWG": "2.136974",
"AZN": "2.032036",
"BAM": "1.958533",
"BBD": "2.390352",
"BDT": "96.438745",
"BHD": "0.450704",
"BIF": "2071.94492",
"BMD": "1.195176",
"BND": "1.608346",
"BOB": "8.238717",
"BSD": "1.195176",
"BTC": "0.000294",
"BTN": "76.551019",
"BWP": "12.115501",
"BYN": "2.306714",
"BYR": "23927.4212",
"BZD": "2.387726",
"CDF": "1859.59811",
"CLF": "0.02774",
"CLP": "746.793732",
"COP": "3463.97832",
"CRC": "685.098686",
"CUC": "1.195176",
"CUP": "31.672161",
"CVE": "110.290829",
"DJF": "212.40666",
"DOP": "56.233024",
"DZD": "132.565303",
"EGP": "21.082901",
"ERN": "18.274301",
"ETB": "27.859549",
"FJD": "2.433348",
"FKP": "0.881919",
"GEL": "2.935713",
"GGP": "0.881294",
"GHS": "5.286862",
"GIP": "0.882281",
"GMD": "53.424363",
"GNF": "10649.0171",
"GTQ": "8.715819",
"GYD": "244.36567",
"HNL": "27.870318",
"HTG": "73.455509",
"IMP": "0.881294",
"IQD": "1393.57508",
"IRR": "40020.4647",
"ISK": "126.999392",
"JEP": "0.881294",
"JMD": "155.683605",
"JOD": "0.845584",
"KES": "122.923837",
"KGS": "81.756005",
"KHR": "4845.24296",
"KMF": "494.025959",
"KPW": "1075.65855",
"KWD": "0.359764",
"KYD": "0.980434",
"KZT": "406.80201",
"LAK": "9879.32415",
"LBP": "1799.34214",
"LKR": "182.861317",
"LRD": "139.190281",
"LSL": "15.752285",
"LTL": "3.643734",
"LVL": "0.741666",
"LYD": "1.623643",
"MAD": "11.158147",
"MDL": "20.981342",
"MGA": "3806.63486",
"MKD": "61.240815",
"MMK": "1603.92548",
"MNT": "2947.30377",
"MOP": "9.621288",
"MRO": "431.458137",
"MUR": "39.775452",
"MVR": "18.549309",
"MWK": "855.996947",
"MZN": "72.571081",
"NAD": "15.846865",
"NGN": "420.702216",
"NIO": "36.291873",
"NPR": "122.087219",
"OMR": "0.459904",
"PAB": "1.195176",
"PEN": "3.881091",
"PGK": "3.821572",
"PKR": "125.7325",
"PYG": "6753.34651",
"QAR": "4.351988",
"RSD": "118.855698",
"RWF": "989.964171",
"SAR": "4.481793",
"SBD": "9.352608",
"SCR": "16.140895",
"SDG": "7.959635",
"SHP": "0.882284",
"SLL": "8963.81948",
"SOS": "665.712672",
"SRD": "8.808192",
"STD": "24507.6791",
"SVC": "10.457515",
"SYP": "615.491653",
"SZL": "15.848606",
"TJS": "10.517071",
"TMT": "4.07555",
"TND": "2.910969",
"TOP": "2.670737",
"TTD": "8.034021",
"TWD": "35.9736",
"TZS": "2672.41357",
"UAH": "31.198307",
"UGX": "4289.48592",
"UYU": "34.504729",
"UZS": "9657.02160",
"VEF": "11.921281",
"VND": "27160.3719",
"VUV": "126.174811",
"WST": "3.000727",
"XAF": "655.374668",
"XAG": "0.068892",
"XAU": "0.000911",
"XCD": "3.228534",
"XDR": "0.839815",
"XOF": "649.434679",
"XPF": "119.846224",
"YER": "298.614702",
"ZMK": "10758.0179",
"ZMW": "11.461545",
"ZWL": "385.270936"
}
},
"id": "efd",
"error": null
}
|
|
Contact
API methods for Contact
|
Products
API methods for Products
addProduct
Methods for add product
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
name |
Product name |
string |
Name |
Product name |
Required |
description |
Product description |
string |
Description |
Product description |
|
remarks |
Product remarks |
string |
Remarks |
Product remarks |
|
quantity |
Product quantity |
string |
10 |
Product quantity |
|
price |
Product price |
string |
100 |
Product price |
|
vat |
Product vat |
int |
21 |
Product vat |
|
uom |
Product unit of measure |
int |
1 |
Product unit of measure |
|
sku |
Product sku |
string |
SKU123 |
Product sku |
|
EXAMPLE
Api Call
addProduct(
array(
'name'=>"Name",
'description'=>"Description",
'remarks'=>"Remarks",
'quantity'=>"10",
'price'=>"100",
'vat'=>"21",
'uom'=>"1",
'sku'=>"SKU123")); Api response
Array
(
[status] => added
[id] => 135
)
Api Call
{
"method": "efd.addproduct",
"jsonrpc": "2.0",
"id": "1646836488",
"params": [
{
"name": "Name",
"description": "Description",
"remarks": "Remarks",
"quantity": "10",
"price": "100",
"vat": "21",
"uom": "1",
"sku": "SKU123"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "added",
"id": "135"
},
"id": "efd",
"error": null
}
|
updateProduct
Methods for update product
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD product id |
Required |
name |
Product name |
string |
Name |
Product name |
Required |
description |
Product description |
string |
Description |
Product description |
|
remarks |
Product remarks |
string |
Remarks |
Product remarks |
|
quantity |
Product quantity |
string |
10 |
Product quantity |
|
price |
Product price |
string |
100 |
Product price |
|
vat |
Product vat |
int |
21 |
Product vat |
|
uom |
Product unit of measure |
int |
1 |
Product unit of measure |
|
sku |
Product sku |
string |
SKU123 |
Product sku |
|
EXAMPLE
Api Call
updateProduct(
array(
'id'=>"100",
'name'=>"Name",
'description'=>"Description",
'remarks'=>"Remarks",
'quantity'=>"10",
'price'=>"100",
'vat'=>"21",
'uom'=>"1",
'sku'=>"SKU123")); Api response
Array
(
[status] => edited
[id] => 135
)
Api Call
{
"method": "efd.updateproduct",
"jsonrpc": "2.0",
"id": "1646836499",
"params": [
{
"id": "100",
"name": "Name",
"description": "Description",
"remarks": "Remarks",
"quantity": "10",
"price": "100",
"vat": "21",
"uom": "1",
"sku": "SKU123"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "edited",
"id": "135"
},
"id": "efd",
"error": null
}
|
deleteProduct
Methods for delete product
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD product id |
Required |
EXAMPLE
Api Call
deleteProduct("100"); Api response
Array
(
[Code] => 0
[success] => success
)
Api Call
{
"method": "efd.deleteproduct",
"jsonrpc": "2.0",
"id": "1646836509",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"Code": "0",
"success": "success"
},
"id": "efd",
"error": null
}
|
getProductsList
Methods for get products list
EXAMPLE
Api Call
getProductsList(); Api response
Array
(
[0] => Array
(
[id] => 3
[time_stamp_changes] => 2017-04-20 10:32:32
[products_cat_id] => 2
[product_group_id] => 2
[product_group_name] => TestGroup
[name] => Product 1
[description] => Test product 1
[quantity] => 1
[uom] => 3
[price] => 100
[vat] => 0
[remarks] =>
[deleted] => 0
[cat_name] => TestGroup
[prices] => Array
(
)
)
)
Api Call
{
"method": "efd.getproductslist",
"jsonrpc": "2.0",
"id": "1646836520",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": [
{
"id": "3",
"time_stamp_changes": "2017-04-20 10:32:32",
"products_cat_id": "2",
"product_group_id": "2",
"product_group_name": "TestGroup",
"name": "Product 1",
"description": "Test product 1",
"quantity": "1",
"uom": "3",
"price": "100",
"vat": "0",
"remarks": "",
"deleted": "0",
"cat_name": "TestGroup",
"prices": []
}
],
"id": "efd",
"error": null
}
|
getProductsGroupsList
Methods for get products groups list
EXAMPLE
Api Call
getProductsGroupsList(); Api response
Array
(
[0] => Array
(
[id] => 2
[name] => TestGroup
)
)
Api Call
{
"method": "efd.getproductsgroupslist",
"jsonrpc": "2.0",
"id": "1646836530",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": [
{
"id": "2",
"name": "TestGroup"
}
],
"id": "efd",
"error": null
}
|
getProductsListByGroupId
Methods for get products list by group id
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
group_id |
Product category id |
integer |
1 |
Product category id |
|
EXAMPLE
Api Call
getProductsListByGroupId("1"); Api response
Array
(
[0] => Array
(
[id] => 3
[time_stamp_changes] => 2017-04-20 10:32:32
[products_cat_id] => 2
[product_group_id] => 2
[product_group_name] => TestGroup
[name] => Product 1
[description] => Test product 1
[quantity] => 1
[uom] => 3
[price] => 100
[vat] => 0
[remarks] =>
[deleted] => 0
[cat_name] => TestGroup
[prices] => Array
(
)
)
)
Api Call
{
"method": "efd.getproductslistbygroupid",
"jsonrpc": "2.0",
"id": "1646836541",
"params": [
{
"group_id": "1"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": [
{
"id": "3",
"time_stamp_changes": "2017-04-20 10:32:32",
"products_cat_id": "2",
"product_group_id": "2",
"product_group_name": "TestGroup",
"name": "Product 1",
"description": "Test product 1",
"quantity": "1",
"uom": "3",
"price": "100",
"vat": "0",
"remarks": "",
"deleted": "0",
"cat_name": "TestGroup",
"prices": []
}
],
"id": "efd",
"error": null
}
|
|
Stocks
API methods for Stocks
getStocksList
Methods for get stocks list
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
filter |
Filter |
array |
array('product_id'=>3) |
Filter for getStocksList(), allow filtering by stocks fields. |
|
start |
Start |
integer |
0 |
Start from |
|
count |
Count |
integer |
10 |
Max select count |
|
EXAMPLE
Api Call
getStocksList('filter'=>array('product_id'=>3),"0","10"); Api response
Array
(
[Code] => 5
[error] => No stocks for this criteria
)
Api Call
{
"method": "efd.getstockslist",
"jsonrpc": "2.0",
"id": "1646836551",
"params": [
{
"filter": {
"product_id": 3
},
"start": "0",
"count": "10"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"Code": "5",
"error": "No stocks for this criteria"
},
"id": "efd",
"error": null
}
|
addStock
Methods for add stock
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
experation_date |
Stock experation date |
string |
01-01-2017 |
Stock experation date |
|
stock_number |
Stock number |
string |
ST-1 |
max length 255 |
|
location |
Location |
string |
Locaion 1 |
max length 255 |
|
contact_id |
id |
integer |
100 |
EFD contact id |
|
product_id |
Product id |
integer |
10 |
EFD product id |
|
original_count |
Stock count |
string |
100 |
Stock count |
|
price |
Stock price |
string |
100 |
Stock purchase price |
|
EXAMPLE
Api Call
addStock(
array(
'experation_date'=>"01-01-2017",
'stock_number'=>"ST-1",
'location'=>"Locaion 1",
'contact_id'=>"100",
'product_id'=>"10",
'original_count'=>"100",
'price'=>"100")); Api response
Array
(
[Code] => 5
[error] => No products with these id ("0")
)
Api Call
{
"method": "efd.addstock",
"jsonrpc": "2.0",
"id": "1646836562",
"params": [
{
"experation_date": "01-01-2017",
"stock_number": "ST-1",
"location": "Locaion 1",
"contact_id": "100",
"product_id": "10",
"original_count": "100",
"price": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"Code": "5",
"error": "No products with these id (\"0\")"
},
"id": "efd",
"error": null
}
|
|
Invoices
API methods for Invoices
addInvoice
Methods for add invoice
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
invoice_date |
Invoice date |
string |
01-01-2017 |
Invoice creation date, or start date |
|
invoice_expire_date |
Invoice expire date |
string |
01-03-2017 |
Date when invoice will be expired |
|
cyclus |
Cyclus |
integer |
1 |
Possible values of element cyclus: 0 - Single,1 - Weekly,2 - 2 Weekly,3 - 4 Weekly,4 - Monthly,5 - 2 Monthly,6 - Quarterly,7 - Biannual,8 - Annual
The recurring invoices works like a schema and create normal invoices.
|
Mandatory for recurring invoice |
active |
Active |
integer |
1 |
Status of recurring invoice, Default value 1 |
|
autosend |
Autosend |
integer |
1 |
0 - Create concept invoice, 1 - Auto send invoice |
|
is_incl_tax |
Prices including TAX |
integer |
0 |
0 - No, 1 - Yes |
|
contact_id |
id |
integer |
100 |
EFD contact id |
|
currency |
Currency |
string |
GBP |
Invoice currency |
|
profile_id |
Template profile |
string |
1 |
Invoice template profile |
|
cost_center_code |
Cost center code |
integer |
8000 |
Cost center code |
|
subcontact_id |
Subcontact id |
integer |
0 |
Extra contact (if not main contact) |
|
direct_debit |
Direct debit |
integer |
1 |
Automatic incasso is optional (0 - No, 1 Yes, No value - getting from contact) |
|
already_paid |
Already paid |
integer |
1 |
Payment method |
|
products |
Products |
array |
array(array('name'=>'product1','description'=>'Product1 description','quantity'=>1,'uom'=> 2,'price'=>'100,15','discount_type'=> 2,'discount_value'=> 0,'vat'=>21),array('is_comment_line'=>1,'description'=>'Text row')), |
Products array, with similar data as products |
|
documents |
Documents |
array |
array(1,2), |
Array with documents id for attachment |
|
attachments |
Attachments |
array |
array('File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='), |
Array with attachments files: key - file name, value - content in base64 |
|
products_id |
Products id |
array |
array(17,18), |
Array with products id |
|
products_id (custom) |
Products id |
array |
array(array('id'=>1,'quantity' => 2,'description' => 'description test'),array('id'=>2,'quantity' => 5)), |
Array with products id and custom values (name,description etc) |
|
products_id (stocks) |
Products id |
array |
array(array('id'=>1,'quantity' => 5,'stocks' => array(10 => 1))), |
Array with products id and custom values (name,description etc) |
|
products_groups_id |
Products groups id |
array |
array(1,2,3), |
Array with products categories id |
|
invoice_discount |
Invoice discount |
string |
10 |
Invoice discount in % |
|
invoice_remark |
Invoice remark |
string |
Invoice remark |
Invoice remark |
|
external_id |
id |
string |
95c991fd-1c59-457d-bde5-87df5d08d775 |
EFD external id |
|
EXAMPLE
Api Call
addInvoice(
array(
'invoice_date'=>"01-01-2017",
'invoice_expire_date'=>"01-03-2017",
'cyclus'=>"1",
'active'=>"1",
'autosend'=>"1",
'is_incl_tax'=>"0",
'contact_id'=>"100",
'currency'=>"GBP",
'profile_id'=>"1",
'cost_center_code'=>"8000",
'subcontact_id'=>"0",
'direct_debit'=>"1",
'already_paid'=>"1",
'products'=>array(
array(
'name'=>'product1',
'description'=>'Product1 description',
'quantity'=>1,
'uom'=> 2,
'price'=>'100,
15',
'discount_type'=> 2,
'discount_value'=> 0,
'vat'=>21),
array(
'is_comment_line'=>1,
'description'=>'Text row')),
,
'documents'=>array(
1,
2),
,
'attachments'=>array(
'File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='),
,
'products_id'=>array(
17,
18),
,
'products_groups_id'=>array(
1,
2,
3),
,
'invoice_discount'=>"10",
'invoice_remark'=>"Invoice remark",
'external_id'=>"95c991fd-1c59-457d-bde5-87df5d08d775")); Api response
Array
(
[status] => added
[id] => 918
)
Api Call
{
"method": "efd.addinvoice",
"jsonrpc": "2.0",
"id": "1646836573",
"params": [
{
"invoice_date": "01-01-2017",
"invoice_expire_date": "01-03-2017",
"cyclus": "1",
"active": "1",
"autosend": "1",
"is_incl_tax": "0",
"contact_id": "100",
"currency": "GBP",
"profile_id": "1",
"cost_center_code": "8000",
"subcontact_id": "0",
"direct_debit": "1",
"already_paid": "1",
"products": [
{
"name": "product1",
"description": "Product1 description",
"quantity": 1,
"uom": 2,
"price": "100,15",
"discount_type": 2,
"discount_value": 0,
"vat": 21
},
{
"is_comment_line": 1,
"description": "Text row"
}
],
"documents": [
1,
2
],
"attachments": {
"File2.txt": "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4="
},
"products_id": [
17,
18
],
"products_id (custom)": [
{
"id": 1,
"quantity": 2,
"description": "description test"
},
{
"id": 2,
"quantity": 5
}
],
"products_id (stocks)": [
{
"id": 1,
"quantity": 5,
"stocks": {
"10": 1
}
}
],
"products_groups_id": [
1,
2,
3
],
"invoice_discount": "10",
"invoice_remark": "Invoice remark",
"external_id": "95c991fd-1c59-457d-bde5-87df5d08d775"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "added",
"id": "918"
},
"id": "efd",
"error": null
}
Api Call
Example of recurring invoice data
addInvoice(
array(
'invoice_date'=>"01-01-2017",
'end_date'=>"01-01-2018",
'cyclus'=>"1",
'active'=>"1",
'autosend'=>"1",
'is_incl_tax'=>"0",
'contact_id'=>"100",
'currency'=>"GBP",
'profile_id'=>"1",
'cost_center_code'=>"8000",
'subcontact_id'=>"0",
'direct_debit'=>"1",
'already_paid'=>"1",
'products'=>array(
array(
'name'=>'product1',
'description'=>'Product1 description',
'quantity'=>1,
'uom'=> 2,
'price'=>'100,
15',
'discount_type'=> 2,
'discount_value'=> 0,
'vat'=>21),
array(
'is_comment_line'=>1,
'description'=>'Text row')),
,
'documents'=>array(
1,
2),
,
'attachments'=>array(
'File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='),
,
'invoice_discount'=>"10",
'invoice_remark'=>"Invoice remark",
'external_id'=>"95c991fd-1c59-457d-bde5-87df5d08d775")); Api response
Array
(
[status] => added
[id] => 273
)
Api Call
Example of recurring invoice data
{
"method": "efd.addinvoice",
"jsonrpc": "2.0",
"id": "1646836584",
"params": [
{
"invoice_date": "01-01-2017",
"end_date": "01-01-2018",
"cyclus": "1",
"active": "1",
"autosend": "1",
"is_incl_tax": "0",
"contact_id": "100",
"currency": "GBP",
"profile_id": "1",
"cost_center_code": "8000",
"subcontact_id": "0",
"direct_debit": "1",
"already_paid": "1",
"products": [
{
"name": "product1",
"description": "Product1 description",
"quantity": 1,
"uom": 2,
"price": "100,15",
"discount_type": 2,
"discount_value": 0,
"vat": 21
},
{
"is_comment_line": 1,
"description": "Text row"
}
],
"documents": [
1,
2
],
"attachments": {
"File2.txt": "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4="
},
"invoice_discount": "10",
"invoice_remark": "Invoice remark",
"external_id": "95c991fd-1c59-457d-bde5-87df5d08d775"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "added",
"id": "273"
},
"id": "efd",
"error": null
}
|
editInvoice
Methods for edit invoice
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
invoice_date |
Invoice date |
string |
01-01-2017 |
Invoice creation date, or start date |
|
invoice_expire_date |
Invoice expire date |
string |
01-03-2017 |
Date when invoice will be expired |
|
is_incl_tax |
Prices including TAX |
integer |
0 |
0 - No, 1 - Yes |
|
contact_id |
id |
integer |
100 |
EFD contact id |
|
currency |
Currency |
string |
GBP |
Invoice currency |
|
profile_id |
Template profile |
string |
1 |
Invoice template profile |
|
cost_center_code |
Cost center code |
integer |
8000 |
Cost center code |
|
subcontact_id |
Subcontact id |
integer |
0 |
Extra contact (if not main contact) |
|
direct_debit |
Direct debit |
integer |
1 |
Automatic incasso is optional (0 - No, 1 Yes, No value - getting from contact) |
|
already_paid |
Already paid |
integer |
1 |
Payment method |
|
products |
Products |
array |
array(array('name'=>'product1','description'=>'Product1 description','quantity'=>1,'uom'=> 2,'price'=>'100,15','discount_type'=> 2,'discount_value'=> 0,'vat'=>21),array('is_comment_line'=>1,'description'=>'Text row')), |
Products array, with similar data as products |
|
documents |
Documents |
array |
array(1,2), |
Array with documents id for attachment |
|
attachments |
Attachments |
array |
array('File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='), |
Array with attachments files: key - file name, value - content in base64 |
|
products_id (stocks) |
Products id |
array |
array(array('id'=>1,'quantity' => 5,'stocks' => array(10 => 1))), |
Array with products id and custom values (name,description etc) |
|
invoice_discount |
Invoice discount |
string |
10 |
Invoice discount in % |
|
invoice_remark |
Invoice remark |
string |
Invoice remark |
Invoice remark |
|
external_id |
id |
string |
95c991fd-1c59-457d-bde5-87df5d08d775 |
EFD external id |
|
EXAMPLE
Api Call
editInvoice(
array(
'id'=>"100",
'invoice_date'=>"01-01-2017",
'invoice_expire_date'=>"01-03-2017",
'is_incl_tax'=>"0",
'contact_id'=>"100",
'currency'=>"GBP",
'profile_id'=>"1",
'cost_center_code'=>"8000",
'subcontact_id'=>"0",
'direct_debit'=>"1",
'already_paid'=>"1",
'products'=>array(
array(
'name'=>'product1',
'description'=>'Product1 description',
'quantity'=>1,
'uom'=> 2,
'price'=>'100,
15',
'discount_type'=> 2,
'discount_value'=> 0,
'vat'=>21),
array(
'is_comment_line'=>1,
'description'=>'Text row')),
,
'documents'=>array(
1,
2),
,
'attachments'=>array(
'File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='),
,
'products_id (
stocks)'=>array(
array(
'id'=>1,
'quantity' => 5,
'stocks' => array(
10 => 1))),
,
'invoice_discount'=>"10",
'invoice_remark'=>"Invoice remark",
'external_id'=>"95c991fd-1c59-457d-bde5-87df5d08d775")); Api response
Array
(
[status] => edited
[id] => 918
)
Api Call
{
"method": "efd.editinvoice",
"jsonrpc": "2.0",
"id": "1646836596",
"params": [
{
"id": "100",
"invoice_date": "01-01-2017",
"invoice_expire_date": "01-03-2017",
"is_incl_tax": "0",
"contact_id": "100",
"currency": "GBP",
"profile_id": "1",
"cost_center_code": "8000",
"subcontact_id": "0",
"direct_debit": "1",
"already_paid": "1",
"products": [
{
"name": "product1",
"description": "Product1 description",
"quantity": 1,
"uom": 2,
"price": "100,15",
"discount_type": 2,
"discount_value": 0,
"vat": 21
},
{
"is_comment_line": 1,
"description": "Text row"
}
],
"documents": [
1,
2
],
"attachments": {
"File2.txt": "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4="
},
"products_id (stocks)": [
{
"id": 1,
"quantity": 5,
"stocks": {
"10": 1
}
}
],
"invoice_discount": "10",
"invoice_remark": "Invoice remark",
"external_id": "95c991fd-1c59-457d-bde5-87df5d08d775"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "edited",
"id": "918"
},
"id": "efd",
"error": null
}
|
editRecurringInvoice
Methods for edit recurring invoice
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
invoice_date |
Invoice date |
string |
01-01-2017 |
Invoice creation date, or start date |
|
end_date |
End date |
string |
01-01-2018 |
End date for recurring invoices |
|
cyclus |
Cyclus |
integer |
1 |
Possible values of element cyclus: 0 - Single,1 - Weekly,2 - 2 Weekly,3 - 4 Weekly,4 - Monthly,5 - 2 Monthly,6 - Quarterly,7 - Biannual,8 - Annual
The recurring invoices works like a schema and create normal invoices.
|
Mandatory for recurring invoice |
active |
Active |
integer |
1 |
Status of recurring invoice, Default value 1 |
|
autosend |
Autosend |
integer |
1 |
0 - Create concept invoice, 1 - Auto send invoice |
|
is_incl_tax |
Prices including TAX |
integer |
0 |
0 - No, 1 - Yes |
|
contact_id |
id |
integer |
100 |
EFD contact id |
|
currency |
Currency |
string |
GBP |
Invoice currency |
|
profile_id |
Template profile |
string |
1 |
Invoice template profile |
|
cost_center_code |
Cost center code |
integer |
8000 |
Cost center code |
|
subcontact_id |
Subcontact id |
integer |
0 |
Extra contact (if not main contact) |
|
direct_debit |
Direct debit |
integer |
1 |
Automatic incasso is optional (0 - No, 1 Yes, No value - getting from contact) |
|
already_paid |
Already paid |
integer |
1 |
Payment method |
|
products |
Products |
array |
array(array('name'=>'product1','description'=>'Product1 description','quantity'=>1,'uom'=> 2,'price'=>'100,15','discount_type'=> 2,'discount_value'=> 0,'vat'=>21),array('is_comment_line'=>1,'description'=>'Text row')), |
Products array, with similar data as products |
|
documents |
Documents |
array |
array(1,2), |
Array with documents id for attachment |
|
attachments |
Attachments |
array |
array('File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='), |
Array with attachments files: key - file name, value - content in base64 |
|
products_id (stocks) |
Products id |
array |
array(array('id'=>1,'quantity' => 5,'stocks' => array(10 => 1))), |
Array with products id and custom values (name,description etc) |
|
invoice_discount |
Invoice discount |
string |
10 |
Invoice discount in % |
|
invoice_remark |
Invoice remark |
string |
Invoice remark |
Invoice remark |
|
external_id |
id |
string |
95c991fd-1c59-457d-bde5-87df5d08d775 |
EFD external id |
|
EXAMPLE
Api Call
editRecurringInvoice(
array(
'id'=>"100",
'invoice_date'=>"01-01-2017",
'end_date'=>"01-01-2018",
'cyclus'=>"1",
'active'=>"1",
'autosend'=>"1",
'is_incl_tax'=>"0",
'contact_id'=>"100",
'currency'=>"GBP",
'profile_id'=>"1",
'cost_center_code'=>"8000",
'subcontact_id'=>"0",
'direct_debit'=>"1",
'already_paid'=>"1",
'products'=>array(
array(
'name'=>'product1',
'description'=>'Product1 description',
'quantity'=>1,
'uom'=> 2,
'price'=>'100,
15',
'discount_type'=> 2,
'discount_value'=> 0,
'vat'=>21),
array(
'is_comment_line'=>1,
'description'=>'Text row')),
,
'documents'=>array(
1,
2),
,
'attachments'=>array(
'File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='),
,
'products_id (
stocks)'=>array(
array(
'id'=>1,
'quantity' => 5,
'stocks' => array(
10 => 1))),
,
'invoice_discount'=>"10",
'invoice_remark'=>"Invoice remark",
'external_id'=>"95c991fd-1c59-457d-bde5-87df5d08d775")); Api response
Array
(
[status] => updated
[id] => 273
)
Api Call
{
"method": "efd.editrecurringinvoice",
"jsonrpc": "2.0",
"id": "1646836607",
"params": [
{
"id": "100",
"invoice_date": "01-01-2017",
"end_date": "01-01-2018",
"cyclus": "1",
"active": "1",
"autosend": "1",
"is_incl_tax": "0",
"contact_id": "100",
"currency": "GBP",
"profile_id": "1",
"cost_center_code": "8000",
"subcontact_id": "0",
"direct_debit": "1",
"already_paid": "1",
"products": [
{
"name": "product1",
"description": "Product1 description",
"quantity": 1,
"uom": 2,
"price": "100,15",
"discount_type": 2,
"discount_value": 0,
"vat": 21
},
{
"is_comment_line": 1,
"description": "Text row"
}
],
"documents": [
1,
2
],
"attachments": {
"File2.txt": "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4="
},
"products_id (stocks)": [
{
"id": 1,
"quantity": 5,
"stocks": {
"10": 1
}
}
],
"invoice_discount": "10",
"invoice_remark": "Invoice remark",
"external_id": "95c991fd-1c59-457d-bde5-87df5d08d775"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "updated",
"id": "273"
},
"id": "efd",
"error": null
}
|
deleteRecurringInvoice
Methods for delete recurring invoice
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
deleteRecurringInvoice("100"); Api response
Array
(
[Code] => 0
[success] => success
)
Api Call
{
"method": "efd.deleterecurringinvoice",
"jsonrpc": "2.0",
"id": "1646836618",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"Code": "0",
"success": "success"
},
"id": "efd",
"error": null
}
|
getPayStatusOfInvoice
Methods for get pay status of invoice
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
getPayStatusOfInvoice("100"); Api response
Array
(
[status] => 1
)
Api Call
{
"method": "efd.getpaystatusofinvoice",
"jsonrpc": "2.0",
"id": "1646836628",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "1"
},
"id": "efd",
"error": null
}
|
getStatusOfInvoice
Methods for get status of invoice
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
getStatusOfInvoice("100"); Api response
Array
(
[status] => 4
)
Api Call
{
"method": "efd.getstatusofinvoice",
"jsonrpc": "2.0",
"id": "1646836639",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "4"
},
"id": "efd",
"error": null
}
|
getStatusesOfInvoices
Methods for get statuses of invoices
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
string |
100,101,102 |
EFD invoice id |
|
EXAMPLE
Api Call
getStatusesOfInvoices("100,101,102"); Api response
Array
(
[Code] => 3
[error] => No invoice with this number (3,6)
)
Api Call
{
"method": "efd.getstatusesofinvoices",
"jsonrpc": "2.0",
"id": "1646836650",
"params": [
{
"id": "100,101,102"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"Code": "3",
"error": "No invoice with this number (3,6)"
},
"id": "efd",
"error": null
}
|
getInvoicePdf
Methods for get invoice pdf
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
getInvoicePdf("100"); Api response
Array
(
[status] => done
[content] => JVBERi0xLjQKJeLjz9MKCjEgMCBvYmoKPDwvVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFI+PgplbmRvYmoKCjIgMCBvYmoKPDwvVHlwZSAvUGFnZXMKL0tpZHMgWzMgMCBSXQovQ291bnQgMT4+Cm...
)
Api Call
{
"method": "efd.getinvoicepdf",
"jsonrpc": "2.0",
"id": "1646836660",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "done",
"content": "JVBERi0xLjQKJeLjz9MKCjEgMCBvYmoKPDwvVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFI+PgplbmRvYmoKCjIgMCBvYmoKPDwvVHlwZSAvUGFnZXMKL0tpZHMgWzMgMCBSXQovQ291bnQgMT4+Cm..."
},
"id": "efd",
"error": null
}
|
getInvoiceByID
Methods for get invoice by id
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
getInvoiceByID("100"); Api response
Array
(
[id] => 3
[log_code] =>
[is_incl_tax] => 0
[currency] => EUR
[profile_id] => 0
[exchange_rate] => 1
[cost_center_code] => 0
[invoice_date] => 30-03-2017
[invoice_expire_date] => 13-04-2017
[invoice_payment_date] => 01-01-2017
[invoice_paid_amount] => 17424
[invoice_paid_amount_foreign_currency] => 17424
[amount_paid_type] => 1
[is_paid] => 1
[invoice_remark] =>
[invoice_discount] => 0
[invoice_total] => 121
[invoice_vat] => 21
[invoice_subtotal] => 100
[invoice_total_foreign_currency] => 121
[invoice_vat_foreign_currency] => 21
[invoice_subtotal_foreign_currency] => 100
[invoice_number] => 2017001
[contact_id] => 5
[subcontact_id] => 0
[contact_number] => 100500
[company] => Demo bedrijf
[firstname] => Test
[lastname] => Klant
[streetname] => Straatnaam
[housenr] => 50
[zipcode] => 1234AB
[city] => Plaats
[country] => NL
[box] =>
[box_zip] =>
[box_city] =>
[box_country] => NL
[usepobox] => 0
[direct_debit] => 0
[already_paid] => 0
[deleted] => 0
[pending] => 0
[send_method] => 1
[sent] => 4
[is_sent] => 1
[external_id] =>
[ownername] => Demo bedrijf
[status] => Betaald
[status_color] => 2
[statuses] => Array
(
[0] => Array
(
[status] => Betaald
[status_color] => 2
)
)
[products] => Array
(
[0] => Array
(
[id] => 3
[cost_center_code] => 0
[is_comment_line] => 0
[is_discount] => 0
[time_stamp_changes] => 2017-03-30 09:57:15
[products_cat_id] =>
[products_id] => 0
[name] => Product 1
[description] => Test product 1
[quantity] => 1
[uom] => 1
[price] => 100
[price_foreign_currency] => 100.00
[vat] => 21
[tax_id] => 5
[remarks] =>
[deleted] =>
[cat_name] =>
[discount] => 0
[discount_foreign_currency] => 0
[discount_type] => 2
[discount_value] => 0
)
)
)
Api Call
{
"method": "efd.getinvoicebyid",
"jsonrpc": "2.0",
"id": "1646836671",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"id": "3",
"log_code": null,
"is_incl_tax": "0",
"currency": "EUR",
"profile_id": "0",
"exchange_rate": "1",
"cost_center_code": 0,
"invoice_date": "30-03-2017",
"invoice_expire_date": "13-04-2017",
"invoice_payment_date": "01-01-2017",
"invoice_paid_amount": "17424",
"invoice_paid_amount_foreign_currency": "17424",
"amount_paid_type": "1",
"is_paid": "1",
"invoice_remark": "",
"invoice_discount": 0,
"invoice_total": "121",
"invoice_vat": "21",
"invoice_subtotal": "100",
"invoice_total_foreign_currency": "121",
"invoice_vat_foreign_currency": "21",
"invoice_subtotal_foreign_currency": "100",
"invoice_number": "2017001",
"contact_id": "5",
"subcontact_id": "0",
"contact_number": "100500",
"company": "Demo bedrijf",
"firstname": "Test",
"lastname": "Klant",
"streetname": "Straatnaam",
"housenr": "50",
"zipcode": "1234AB",
"city": "Plaats",
"country": "NL",
"box": "",
"box_zip": "",
"box_city": "",
"box_country": "NL",
"usepobox": "0",
"direct_debit": "0",
"already_paid": "0",
"deleted": "0",
"pending": "0",
"send_method": "1",
"sent": "4",
"is_sent": 1,
"external_id": "",
"ownername": "Demo bedrijf",
"status": "Betaald",
"status_color": 2,
"statuses": [
{
"status": "Betaald",
"status_color": 2
}
],
"products": [
{
"id": "3",
"cost_center_code": 0,
"is_comment_line": "0",
"is_discount": "0",
"time_stamp_changes": "2017-03-30 09:57:15",
"products_cat_id": null,
"products_id": "0",
"name": "Product 1",
"description": "Test product 1",
"quantity": "1",
"uom": "1",
"price": "100",
"price_foreign_currency": "100.00",
"vat": "21",
"tax_id": "5",
"remarks": null,
"deleted": null,
"cat_name": null,
"discount": "0",
"discount_foreign_currency": "0",
"discount_type": "2",
"discount_value": "0"
}
]
},
"id": "efd",
"error": null
}
|
getRepeatingInvoicesById
Methods for get repeating invoices by id
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
getRepeatingInvoicesById("100"); Api response
Array
(
[id] => 2
[is_incl_tax] => 0
[cost_center_code] => 0
[autosend] => 1
[active] => 1
[invoice_date] => 1492639200
[end_date] => 1893452400
[next_sending_date] => 1650405600
[cyclus] => 8
[discount] => 0
[invoice_remark] =>
[invoice_currency] => EUR
[invoice_profile_id] =>
[exchange_rate] => 1
[invoice_total] => 121
[invoice_vat] => 21
[invoice_subtotal] => 100
[invoice_total_foreign_currency] => 121
[invoice_vat_foreign_currency] => 21
[invoice_subtotal_foreign_currency] => 100
[ownername] => Demo bedrijf
[contact_id] => 5
[contact_group_id] => 0
[subcontact_id] => 0
[company] => Demo bedrijf
[firstname] => Test
[lastname] => Klant
[streetname] => Straatnaam
[housenr] => 50
[zipcode] => 1234AB
[city] => Plaats
[country] => NL
[box] =>
[box_zip] =>
[box_city] =>
[box_country] => NL
[usepobox] => 0
[direct_debit] => 0
[already_paid] => 0
[contact_group_name] => Demo bedrijf
[invoice_discount] => 0
[products] => Array
(
[0] => Array
(
[id] => 2
[cost_center_code] => 0
[is_comment_line] => 0
[time_stamp_changes] => 2017-04-20 10:44:57
[products_cat_id] =>
[products_id] => 0
[name] => Product 1
[description] => Test product 1
[quantity] => 1
[unit] => Stuks
[uom] => 3
[price] => 100
[price_foreign_currency] => 100
[vat] => 21
[tax_id] => 5
[remarks] =>
[deleted] =>
[discount] => 0
[discount_foreign_currency] => 0
[cat_name] =>
[is_discount] => 0
[discount_type] => 2
[total] => 100
)
)
)
Api Call
{
"method": "efd.getrepeatinginvoicesbyid",
"jsonrpc": "2.0",
"id": "1646836682",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"id": "2",
"is_incl_tax": 0,
"cost_center_code": 0,
"autosend": "1",
"active": "1",
"invoice_date": "1492639200",
"end_date": "1893452400",
"next_sending_date": 1650405600,
"cyclus": "8",
"discount": 0,
"invoice_remark": "",
"invoice_currency": "EUR",
"invoice_profile_id": null,
"exchange_rate": "1",
"invoice_total": "121",
"invoice_vat": "21",
"invoice_subtotal": "100",
"invoice_total_foreign_currency": "121",
"invoice_vat_foreign_currency": "21",
"invoice_subtotal_foreign_currency": "100",
"ownername": "Demo bedrijf",
"contact_id": "5",
"contact_group_id": "0",
"subcontact_id": "0",
"company": "Demo bedrijf",
"firstname": "Test",
"lastname": "Klant",
"streetname": "Straatnaam",
"housenr": "50",
"zipcode": "1234AB",
"city": "Plaats",
"country": "NL",
"box": "",
"box_zip": "",
"box_city": "",
"box_country": "NL",
"usepobox": "0",
"direct_debit": "0",
"already_paid": "0",
"contact_group_name": "Demo bedrijf",
"invoice_discount": 0,
"products": [
{
"id": "2",
"cost_center_code": 0,
"is_comment_line": "0",
"time_stamp_changes": "2017-04-20 10:44:57",
"products_cat_id": null,
"products_id": "0",
"name": "Product 1",
"description": "Test product 1",
"quantity": "1",
"unit": "Stuks",
"uom": "3",
"price": "100",
"price_foreign_currency": "100",
"vat": "21",
"tax_id": "5",
"remarks": null,
"deleted": null,
"discount": "0",
"discount_foreign_currency": "0",
"cat_name": null,
"is_discount": "0",
"discount_type": "2",
"total": "100"
}
]
},
"id": "efd",
"error": null
}
|
sendInvoice
Methods for send invoice
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
sendInvoice("100"); Api response
Array
(
[status] => sent
)
Api Call
{
"method": "efd.sendinvoice",
"jsonrpc": "2.0",
"id": "1646836693",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "sent"
},
"id": "efd",
"error": null
}
|
addAndSendInvoice
Methods for add and send invoice
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
invoice_date |
Invoice date |
string |
01-01-2017 |
Invoice creation date, or start date |
|
invoice_expire_date |
Invoice expire date |
string |
01-03-2017 |
Date when invoice will be expired |
|
is_incl_tax |
Prices including TAX |
integer |
0 |
0 - No, 1 - Yes |
|
contact_id |
id |
integer |
100 |
EFD contact id |
|
currency |
Currency |
string |
GBP |
Invoice currency |
|
profile_id |
Template profile |
string |
1 |
Invoice template profile |
|
cost_center_code |
Cost center code |
integer |
8000 |
Cost center code |
|
subcontact_id |
Subcontact id |
integer |
0 |
Extra contact (if not main contact) |
|
direct_debit |
Direct debit |
integer |
1 |
Automatic incasso is optional (0 - No, 1 Yes, No value - getting from contact) |
|
already_paid |
Already paid |
integer |
1 |
Payment method |
|
products |
Products |
array |
array(array('name'=>'product1','description'=>'Product1 description','quantity'=>1,'uom'=> 2,'price'=>'100,15','discount_type'=> 2,'discount_value'=> 0,'vat'=>21),array('is_comment_line'=>1,'description'=>'Text row')), |
Products array, with similar data as products |
|
documents |
Documents |
array |
array(1,2), |
Array with documents id for attachment |
|
attachments |
Attachments |
array |
array('File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='), |
Array with attachments files: key - file name, value - content in base64 |
|
products_id (stocks) |
Products id |
array |
array(array('id'=>1,'quantity' => 5,'stocks' => array(10 => 1))), |
Array with products id and custom values (name,description etc) |
|
invoice_discount |
Invoice discount |
string |
10 |
Invoice discount in % |
|
invoice_remark |
Invoice remark |
string |
Invoice remark |
Invoice remark |
|
external_id |
id |
string |
95c991fd-1c59-457d-bde5-87df5d08d775 |
EFD external id |
|
EXAMPLE
Api Call
addAndSendInvoice(
array(
'invoice_date'=>"01-01-2017",
'invoice_expire_date'=>"01-03-2017",
'is_incl_tax'=>"0",
'contact_id'=>"100",
'currency'=>"GBP",
'profile_id'=>"1",
'cost_center_code'=>"8000",
'subcontact_id'=>"0",
'direct_debit'=>"1",
'already_paid'=>"1",
'products'=>array(
array(
'name'=>'product1',
'description'=>'Product1 description',
'quantity'=>1,
'uom'=> 2,
'price'=>'100,
15',
'discount_type'=> 2,
'discount_value'=> 0,
'vat'=>21),
array(
'is_comment_line'=>1,
'description'=>'Text row')),
,
'documents'=>array(
1,
2),
,
'attachments'=>array(
'File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='),
,
'products_id (
stocks)'=>array(
array(
'id'=>1,
'quantity' => 5,
'stocks' => array(
10 => 1))),
,
'invoice_discount'=>"10",
'invoice_remark'=>"Invoice remark",
'external_id'=>"95c991fd-1c59-457d-bde5-87df5d08d775")); Api response
Array
(
[status] => sent
[id] => 921
)
Api Call
{
"method": "efd.addandsendinvoice",
"jsonrpc": "2.0",
"id": "1646836707",
"params": [
{
"invoice_date": "01-01-2017",
"invoice_expire_date": "01-03-2017",
"is_incl_tax": "0",
"contact_id": "100",
"currency": "GBP",
"profile_id": "1",
"cost_center_code": "8000",
"subcontact_id": "0",
"direct_debit": "1",
"already_paid": "1",
"products": [
{
"name": "product1",
"description": "Product1 description",
"quantity": 1,
"uom": 2,
"price": "100,15",
"discount_type": 2,
"discount_value": 0,
"vat": 21
},
{
"is_comment_line": 1,
"description": "Text row"
}
],
"documents": [
1,
2
],
"attachments": {
"File2.txt": "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4="
},
"products_id (stocks)": [
{
"id": 1,
"quantity": 5,
"stocks": {
"10": 1
}
}
],
"invoice_discount": "10",
"invoice_remark": "Invoice remark",
"external_id": "95c991fd-1c59-457d-bde5-87df5d08d775"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "sent",
"id": "921"
},
"id": "efd",
"error": null
}
|
getInvoicesList
Methods for get invoices list
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
filter |
Filter |
array |
array('contact_id'=>3,'is_paid'=>0,'is_sent'=>1,'invoice_date'=>array('01-01-2017','01-12-2020'),'invoice_expire_date'=>array('01-01-2017','01-12-2020'),'invoice_payment_date'=>array('01-01-2017','01-12-2020')) |
Filter for getInvoicesList(), allow filtering by invoice fields.
already_paid 0 normal invoice or value from https://www.efactuurdirect.nl/api-doc/#getPaymentMethods as already paid invoice.
is_paid payment status 0: not paid 1: fully paid, 2: partial paid.
sent = 0: not sent 1: sent, 2: first reminder, 3: second reminder etc.
is_sent = yes:1 no:0 if the invoice is sent
|
|
start |
Start |
integer |
0 |
Start from |
|
count |
Count |
integer |
10 |
Max select count |
|
EXAMPLE
Api Call
getInvoicesList('filter'=>array('contact_id'=>3,'is_paid'=>0,'is_sent'=>1,'invoice_date'=>array('01-01-2017','01-12-2020'),'invoice_expire_date'=>array('01-01-2017','01-12-2020'),'invoice_payment_date'=>array('01-01-2017','01-12-2020')),"0","10"); Api response
Array
(
[total_count_in_db] => 297
[results] => Array
(
[0] => Array
(
[id] => 3
[log_code] =>
[is_incl_tax] => 0
[currency] => EUR
[profile_id] => 0
[exchange_rate] => 1
[cost_center_code] => 0
[invoice_date] => 30-03-2017
[invoice_expire_date] => 13-04-2017
[invoice_payment_date] => 01-01-2017
[invoice_paid_amount] => 17424
[invoice_paid_amount_foreign_currency] => 17424
[amount_paid_type] => 1
[is_paid] => 1
[invoice_remark] =>
[invoice_discount] => 0
[invoice_total] => 121
[invoice_vat] => 21
[invoice_subtotal] => 100
[invoice_total_foreign_currency] => 121
[invoice_vat_foreign_currency] => 21
[invoice_subtotal_foreign_currency] => 100
[invoice_number] => 2017001
[contact_id] => 5
[subcontact_id] => 0
[contact_number] => 100500
[company] => Demo bedrijf
[firstname] => Test
[lastname] => Klant
[streetname] => Straatnaam
[housenr] => 50
[zipcode] => 1234AB
[city] => Plaats
[country] => NL
[box] =>
[box_zip] =>
[box_city] =>
[box_country] => NL
[usepobox] => 0
[direct_debit] => 0
[already_paid] => 0
[deleted] => 0
[pending] => 0
[send_method] => 1
[sent] => 4
[is_sent] => 1
[external_id] =>
[ownername] => Demo bedrijf
[status] => Betaald
[status_color] => 2
[statuses] => Array
(
[0] => Array
(
[status] => Betaald
[status_color] => 2
)
)
[products] => Array
(
[0] => Array
(
[id] => 3
[cost_center_code] => 0
[is_comment_line] => 0
[is_discount] => 0
[time_stamp_changes] => 2017-03-30 09:57:15
[products_cat_id] =>
[products_id] => 0
[name] => Product 1
[description] => Test product 1
[quantity] => 1
[uom] => 1
[price] => 100
[price_foreign_currency] => 100.00
[vat] => 21
[tax_id] => 5
[remarks] =>
[deleted] =>
[cat_name] =>
[discount] => 0
[discount_foreign_currency] => 0
[discount_type] => 2
[discount_value] => 0
)
)
)
[1] => Array
(
[id] => 6
[log_code] =>
[is_incl_tax] => 0
[currency] => EUR
[profile_id] => 0
[exchange_rate] => 1
[cost_center_code] => 0
[invoice_date] => 0
[invoice_expire_date] => 0
[invoice_payment_date] => 0
[invoice_paid_amount] => 0
[invoice_paid_amount_foreign_currency] => 0
[amount_paid_type] => 1
[is_paid] => 0
[invoice_remark] =>
[invoice_discount] => 0
[invoice_total] => 121
[invoice_vat] => 21
[invoice_subtotal] => 100
[invoice_total_foreign_currency] => 121
[invoice_vat_foreign_currency] => 21
[invoice_subtotal_foreign_currency] => 100
[invoice_number] =>
[contact_id] => 5
[subcontact_id] => 0
[contact_number] => 100500
[company] => Demo bedrijf
[firstname] => Test
[lastname] => Klant
[streetname] => Straatnaam
[housenr] => 50
[zipcode] => 1234AB
[city] => Plaats
[country] => NL
[box] =>
[box_zip] =>
[box_city] =>
[box_country] => NL
[usepobox] => 0
[direct_debit] => 0
[already_paid] => 0
[deleted] => 0
[pending] => 0
[send_method] => 1
[sent] => 0
[is_sent] => 0
[external_id] =>
[ownername] => Demo bedrijf
[status] => Concept
[status_color] => 1
[statuses] => Array
(
[0] => Array
(
[status] => Concept
[status_color] => 1
)
)
[products] => Array
(
[0] => Array
(
[id] => 6
[cost_center_code] => 0
[is_comment_line] => 0
[is_discount] => 0
[time_stamp_changes] => 2017-04-20 10:41:09
[products_cat_id] =>
[products_id] => 0
[name] => Product 1
[description] => Test product 1
[quantity] => 1
[uom] => 3
[price] => 100
[price_foreign_currency] => 100
[vat] => 21
[tax_id] => 5
[remarks] =>
[deleted] =>
[cat_name] =>
[discount] => 0
[discount_foreign_currency] => 0
[discount_type] => 2
[discount_value] => 0
)
)
)
)
)
Api Call
{
"method": "efd.getinvoiceslist",
"jsonrpc": "2.0",
"id": "1646836718",
"params": [
{
"filter": {
"contact_id": 3,
"is_paid": 0,
"is_sent": 1,
"invoice_date": [
"01-01-2017",
"01-12-2020"
],
"invoice_expire_date": [
"01-01-2017",
"01-12-2020"
],
"invoice_payment_date": [
"01-01-2017",
"01-12-2020"
]
},
"start": "0",
"count": "10"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"total_count_in_db": "297",
"results": [
{
"id": "3",
"log_code": null,
"is_incl_tax": "0",
"currency": "EUR",
"profile_id": "0",
"exchange_rate": "1",
"cost_center_code": 0,
"invoice_date": "30-03-2017",
"invoice_expire_date": "13-04-2017",
"invoice_payment_date": "01-01-2017",
"invoice_paid_amount": "17424",
"invoice_paid_amount_foreign_currency": "17424",
"amount_paid_type": "1",
"is_paid": "1",
"invoice_remark": "",
"invoice_discount": 0,
"invoice_total": "121",
"invoice_vat": "21",
"invoice_subtotal": "100",
"invoice_total_foreign_currency": "121",
"invoice_vat_foreign_currency": "21",
"invoice_subtotal_foreign_currency": "100",
"invoice_number": "2017001",
"contact_id": "5",
"subcontact_id": "0",
"contact_number": "100500",
"company": "Demo bedrijf",
"firstname": "Test",
"lastname": "Klant",
"streetname": "Straatnaam",
"housenr": "50",
"zipcode": "1234AB",
"city": "Plaats",
"country": "NL",
"box": "",
"box_zip": "",
"box_city": "",
"box_country": "NL",
"usepobox": "0",
"direct_debit": "0",
"already_paid": "0",
"deleted": "0",
"pending": "0",
"send_method": "1",
"sent": "4",
"is_sent": 1,
"external_id": "",
"ownername": "Demo bedrijf",
"status": "Betaald",
"status_color": 2,
"statuses": [
{
"status": "Betaald",
"status_color": 2
}
],
"products": [
{
"id": "3",
"cost_center_code": 0,
"is_comment_line": "0",
"is_discount": "0",
"time_stamp_changes": "2017-03-30 09:57:15",
"products_cat_id": null,
"products_id": "0",
"name": "Product 1",
"description": "Test product 1",
"quantity": "1",
"uom": "1",
"price": "100",
"price_foreign_currency": "100.00",
"vat": "21",
"tax_id": "5",
"remarks": null,
"deleted": null,
"cat_name": null,
"discount": "0",
"discount_foreign_currency": "0",
"discount_type": "2",
"discount_value": "0"
}
]
},
{
"id": "6",
"log_code": null,
"is_incl_tax": "0",
"currency": "EUR",
"profile_id": "0",
"exchange_rate": "1",
"cost_center_code": 0,
"invoice_date": 0,
"invoice_expire_date": 0,
"invoice_payment_date": 0,
"invoice_paid_amount": "0",
"invoice_paid_amount_foreign_currency": "0",
"amount_paid_type": "1",
"is_paid": "0",
"invoice_remark": "",
"invoice_discount": 0,
"invoice_total": "121",
"invoice_vat": "21",
"invoice_subtotal": "100",
"invoice_total_foreign_currency": "121",
"invoice_vat_foreign_currency": "21",
"invoice_subtotal_foreign_currency": "100",
"invoice_number": "",
"contact_id": "5",
"subcontact_id": "0",
"contact_number": "100500",
"company": "Demo bedrijf",
"firstname": "Test",
"lastname": "Klant",
"streetname": "Straatnaam",
"housenr": "50",
"zipcode": "1234AB",
"city": "Plaats",
"country": "NL",
"box": "",
"box_zip": "",
"box_city": "",
"box_country": "NL",
"usepobox": 0,
"direct_debit": "0",
"already_paid": "0",
"deleted": "0",
"pending": "0",
"send_method": "1",
"sent": "0",
"is_sent": 0,
"external_id": "",
"ownername": "Demo bedrijf",
"status": "Concept",
"status_color": 1,
"statuses": [
{
"status": "Concept",
"status_color": 1
}
],
"products": [
{
"id": "6",
"cost_center_code": 0,
"is_comment_line": "0",
"is_discount": "0",
"time_stamp_changes": "2017-04-20 10:41:09",
"products_cat_id": null,
"products_id": "0",
"name": "Product 1",
"description": "Test product 1",
"quantity": "1",
"uom": "3",
"price": "100",
"price_foreign_currency": "100",
"vat": "21",
"tax_id": "5",
"remarks": null,
"deleted": null,
"cat_name": null,
"discount": "0",
"discount_foreign_currency": "0",
"discount_type": "2",
"discount_value": "0"
}
]
}
]
},
"id": "efd",
"error": null
}
|
getCostCenterListForInvoice
Methods for get cost center list for invoice
EXAMPLE
Api Call
getCostCenterListForInvoice(); Api response
Array
(
[8000] => Array
(
[name] => Netto omzet
[code] => 8000
)
[8010] => Array
(
[name] => Overige opbrengsten
[code] => 8010
)
[7000] => Array
(
[name] => Inkoopprijs van de verkopen
[code] => 7000
)
[7010] => Array
(
[name] => Kosten uitbesteed werk e.d.
[code] => 7010
)
[0_2] => Array
(
[name] => Inkoopkosten, uitbesteed werk e.d.
[code] => 0
)
[4000] => Array
(
[name] => Lonen en salarissen
[code] => 4000
)
[4010] => Array
(
[name] => Sociale lasten
[code] => 4010
)
[4020] => Array
(
[name] => Pensioenlasten
[code] => 4020
)
[4030] => Array
(
[name] => Overige personeelkosten
[code] => 4030
)
[0_3] => Array
(
[name] => Personeelskosten
[code] => 0
)
[4100] => Array
(
[name] => Immateriele vaste activa
[code] => 4100
)
[4120] => Array
(
[name] => Gebouwen en terreinen
[code] => 4120
)
[4130] => Array
(
[name] => Machines en installaties
[code] => 4130
)
[4141] => Array
(
[name] => Inventaris
[code] => 4141
)
[4142] => Array
(
[name] => Vervoermiddelen
[code] => 4142
)
[4140] => Array
(
[name] => Overige materiele vaste activa
[code] => 4140
)
[0_4] => Array
(
[name] => Afschrijvingen
[code] => 0
)
[4200] => Array
(
[name] => Auto- en transportkosten
[code] => 4200
)
[4210] => Array
(
[name] => Huisvestingskosten
[code] => 4210
)
[4220] => Array
(
[name] => Verkoopkosten
[code] => 4220
)
[4231] => Array
(
[name] => Marketingkosten
[code] => 4231
)
[4232] => Array
(
[name] => Accountantskosten
[code] => 4232
)
[4233] => Array
(
[name] => Kantoorkosten
[code] => 4233
)
[4234] => Array
(
[name] => Verzekeringskosten
[code] => 4234
)
[4235] => Array
(
[name] => Abonnementen en contributies
[code] => 4235
)
[4230] => Array
(
[name] => Andere kosten
[code] => 4230
)
[0_5] => Array
(
[name] => Overige bedrijfskosten
[code] => 0
)
[9000] => Array
(
[name] => Opbrengst banktegoeden
[code] => 9000
)
[9010] => Array
(
[name] => Opbrengsten overige vorderingen
[code] => 9010
)
[9020] => Array
(
[name] => Kosten van schulden, rentelasten e.d.
[code] => 9020
)
[0_6] => Array
(
[name] => Financiele baten en lasten
[code] => 0
)
[9999_7] => Array
(
[name] => Tijdelijk
[code] => 9999
)
)
Api Call
{
"method": "efd.getcostcenterlistforinvoice",
"jsonrpc": "2.0",
"id": "1646836728",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"8000": {
"name": "Netto omzet",
"code": "8000"
},
"8010": {
"name": "Overige opbrengsten",
"code": "8010"
},
"7000": {
"name": "Inkoopprijs van de verkopen",
"code": "7000"
},
"7010": {
"name": "Kosten uitbesteed werk e.d.",
"code": "7010"
},
"0_2": {
"name": "Inkoopkosten, uitbesteed werk e.d.",
"code": "0"
},
"4000": {
"name": "Lonen en salarissen",
"code": "4000"
},
"4010": {
"name": "Sociale lasten",
"code": "4010"
},
"4020": {
"name": "Pensioenlasten",
"code": "4020"
},
"4030": {
"name": "Overige personeelkosten",
"code": "4030"
},
"0_3": {
"name": "Personeelskosten",
"code": "0"
},
"4100": {
"name": "Immateriele vaste activa",
"code": "4100"
},
"4120": {
"name": "Gebouwen en terreinen",
"code": "4120"
},
"4130": {
"name": "Machines en installaties",
"code": "4130"
},
"4141": {
"name": "Inventaris",
"code": "4141"
},
"4142": {
"name": "Vervoermiddelen",
"code": "4142"
},
"4140": {
"name": "Overige materiele vaste activa",
"code": "4140"
},
"0_4": {
"name": "Afschrijvingen",
"code": "0"
},
"4200": {
"name": "Auto- en transportkosten",
"code": "4200"
},
"4210": {
"name": "Huisvestingskosten",
"code": "4210"
},
"4220": {
"name": "Verkoopkosten",
"code": "4220"
},
"4231": {
"name": "Marketingkosten",
"code": "4231"
},
"4232": {
"name": "Accountantskosten",
"code": "4232"
},
"4233": {
"name": "Kantoorkosten",
"code": "4233"
},
"4234": {
"name": "Verzekeringskosten",
"code": "4234"
},
"4235": {
"name": "Abonnementen en contributies",
"code": "4235"
},
"4230": {
"name": "Andere kosten",
"code": "4230"
},
"0_5": {
"name": "Overige bedrijfskosten",
"code": "0"
},
"9000": {
"name": "Opbrengst banktegoeden",
"code": "9000"
},
"9010": {
"name": "Opbrengsten overige vorderingen",
"code": "9010"
},
"9020": {
"name": "Kosten van schulden, rentelasten e.d.",
"code": "9020"
},
"0_6": {
"name": "Financiele baten en lasten",
"code": "0"
},
"9999_7": {
"name": "Tijdelijk",
"code": "9999"
}
},
"id": "efd",
"error": null
}
|
getCostCenterListForIncomingInvoice
Methods for get cost center list for incoming invoice
EXAMPLE
Api Call
getCostCenterListForIncomingInvoice(); Api response
Array
(
[8000] => Array
(
[name] => Netto omzet
[code] => 8000
)
[8010] => Array
(
[name] => Overige opbrengsten
[code] => 8010
)
[7000] => Array
(
[name] => Inkoopprijs van de verkopen
[code] => 7000
)
[7010] => Array
(
[name] => Kosten uitbesteed werk e.d.
[code] => 7010
)
[0_2] => Array
(
[name] => Inkoopkosten, uitbesteed werk e.d.
[code] => 0
)
[4000] => Array
(
[name] => Lonen en salarissen
[code] => 4000
)
[4010] => Array
(
[name] => Sociale lasten
[code] => 4010
)
[4020] => Array
(
[name] => Pensioenlasten
[code] => 4020
)
[4030] => Array
(
[name] => Overige personeelkosten
[code] => 4030
)
[0_3] => Array
(
[name] => Personeelskosten
[code] => 0
)
[4100] => Array
(
[name] => Immateriele vaste activa
[code] => 4100
)
[4120] => Array
(
[name] => Gebouwen en terreinen
[code] => 4120
)
[4130] => Array
(
[name] => Machines en installaties
[code] => 4130
)
[4141] => Array
(
[name] => Inventaris
[code] => 4141
)
[4142] => Array
(
[name] => Vervoermiddelen
[code] => 4142
)
[4140] => Array
(
[name] => Overige materiele vaste activa
[code] => 4140
)
[0_4] => Array
(
[name] => Afschrijvingen
[code] => 0
)
[4200] => Array
(
[name] => Auto- en transportkosten
[code] => 4200
)
[4210] => Array
(
[name] => Huisvestingskosten
[code] => 4210
)
[4220] => Array
(
[name] => Verkoopkosten
[code] => 4220
)
[4231] => Array
(
[name] => Marketingkosten
[code] => 4231
)
[4232] => Array
(
[name] => Accountantskosten
[code] => 4232
)
[4233] => Array
(
[name] => Kantoorkosten
[code] => 4233
)
[4234] => Array
(
[name] => Verzekeringskosten
[code] => 4234
)
[4235] => Array
(
[name] => Abonnementen en contributies
[code] => 4235
)
[4230] => Array
(
[name] => Andere kosten
[code] => 4230
)
[0_5] => Array
(
[name] => Overige bedrijfskosten
[code] => 0
)
[9000] => Array
(
[name] => Opbrengst banktegoeden
[code] => 9000
)
[9010] => Array
(
[name] => Opbrengsten overige vorderingen
[code] => 9010
)
[9020] => Array
(
[name] => Kosten van schulden, rentelasten e.d.
[code] => 9020
)
[0_6] => Array
(
[name] => Financiele baten en lasten
[code] => 0
)
[9999_7] => Array
(
[name] => Tijdelijk
[code] => 9999
)
)
Api Call
{
"method": "efd.getcostcenterlistforincominginvoice",
"jsonrpc": "2.0",
"id": "1646836739",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"8000": {
"name": "Netto omzet",
"code": "8000"
},
"8010": {
"name": "Overige opbrengsten",
"code": "8010"
},
"7000": {
"name": "Inkoopprijs van de verkopen",
"code": "7000"
},
"7010": {
"name": "Kosten uitbesteed werk e.d.",
"code": "7010"
},
"0_2": {
"name": "Inkoopkosten, uitbesteed werk e.d.",
"code": "0"
},
"4000": {
"name": "Lonen en salarissen",
"code": "4000"
},
"4010": {
"name": "Sociale lasten",
"code": "4010"
},
"4020": {
"name": "Pensioenlasten",
"code": "4020"
},
"4030": {
"name": "Overige personeelkosten",
"code": "4030"
},
"0_3": {
"name": "Personeelskosten",
"code": "0"
},
"4100": {
"name": "Immateriele vaste activa",
"code": "4100"
},
"4120": {
"name": "Gebouwen en terreinen",
"code": "4120"
},
"4130": {
"name": "Machines en installaties",
"code": "4130"
},
"4141": {
"name": "Inventaris",
"code": "4141"
},
"4142": {
"name": "Vervoermiddelen",
"code": "4142"
},
"4140": {
"name": "Overige materiele vaste activa",
"code": "4140"
},
"0_4": {
"name": "Afschrijvingen",
"code": "0"
},
"4200": {
"name": "Auto- en transportkosten",
"code": "4200"
},
"4210": {
"name": "Huisvestingskosten",
"code": "4210"
},
"4220": {
"name": "Verkoopkosten",
"code": "4220"
},
"4231": {
"name": "Marketingkosten",
"code": "4231"
},
"4232": {
"name": "Accountantskosten",
"code": "4232"
},
"4233": {
"name": "Kantoorkosten",
"code": "4233"
},
"4234": {
"name": "Verzekeringskosten",
"code": "4234"
},
"4235": {
"name": "Abonnementen en contributies",
"code": "4235"
},
"4230": {
"name": "Andere kosten",
"code": "4230"
},
"0_5": {
"name": "Overige bedrijfskosten",
"code": "0"
},
"9000": {
"name": "Opbrengst banktegoeden",
"code": "9000"
},
"9010": {
"name": "Opbrengsten overige vorderingen",
"code": "9010"
},
"9020": {
"name": "Kosten van schulden, rentelasten e.d.",
"code": "9020"
},
"0_6": {
"name": "Financiele baten en lasten",
"code": "0"
},
"9999_7": {
"name": "Tijdelijk",
"code": "9999"
}
},
"id": "efd",
"error": null
}
|
getRecurringInvoicePdf
Methods for get recurring invoice pdf
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
getRecurringInvoicePdf("100"); Api response
Array
(
[status] => done
[content] => JVBERi0xLjcKJeLjz9MKMyAwIG9iago8PC9QIDQgMCBSL1N1YnR5cGUvV2lkZ2V0L1QoU2lnbmF0dXJlMSkvViAxIDAgUi9GIDEzMi9UeXBlL0Fubm90L0ZUL1NpZy9EUjw8Pj4vUmVjdFswIDAgMC...
)
Api Call
{
"method": "efd.getrecurringinvoicepdf",
"jsonrpc": "2.0",
"id": "1646836751",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "done",
"content": "JVBERi0xLjcKJeLjz9MKMyAwIG9iago8PC9QIDQgMCBSL1N1YnR5cGUvV2lkZ2V0L1QoU2lnbmF0dXJlMSkvViAxIDAgUi9GIDEzMi9UeXBlL0Fubm90L0ZUL1NpZy9EUjw8Pj4vUmVjdFswIDAgMC..."
},
"id": "efd",
"error": null
}
|
getPaymentInfoOfInvoice
Methods for get payment info of invoice
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
getPaymentInfoOfInvoice("100"); Api response
Array
(
[paid_amount] => 17424.00
[invoice_amount] => 121.00
[interest] => 0.00
[collection] => 0.00
[paid_amount_foreign_currency] => 17424.00
[invoice_amount_foreign_currency] => 121.00
[collection_foreign_currency] => 0.00
[interest_foreign_currency] =>
[status] => 1
)
Api Call
{
"method": "efd.getpaymentinfoofinvoice",
"jsonrpc": "2.0",
"id": "1646836762",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"paid_amount": "17424.00",
"invoice_amount": "121.00",
"interest": "0.00",
"collection": "0.00",
"paid_amount_foreign_currency": "17424.00",
"invoice_amount_foreign_currency": "121.00",
"collection_foreign_currency": "0.00",
"interest_foreign_currency": null,
"status": "1"
},
"id": "efd",
"error": null
}
|
updateInvoicePayment
Methods for update invoice payment
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
status |
Status |
array |
1 |
0-Auto, 1-Paid, 2-Reset payment, 3-Not collectable |
|
date |
Date |
string |
01-01-2017 |
Date, using only for status paid, not mandatory. if does not exist, then set current date |
|
amount |
Amount |
string |
702.43 |
Paid amount, using only for status paid, not mandatory if does not exist paid amount = total |
|
method |
Method |
string |
1 |
Payment method id |
|
amount_foreign_currency |
Amount foreign currency |
string |
1 |
Amount in foreign currency |
|
include_collection_foreign |
Collection |
string |
1 |
If value is 0 collection excluded from payment |
|
include_interest_foreign |
Interest |
string |
1 |
Payment method id |
If value is 0 interest excluded from payment |
EXAMPLE
Api Call
updateInvoicePayment(
array(
'id'=>"100",
'status'=>"1",
'date'=>"01-01-2017",
'amount'=>"702.43",
'method'=>"1",
'amount_foreign_currency'=>"1",
'include_collection_foreign'=>"1",
'include_interest_foreign'=>"1")); Api response
Array
(
[status] => 1
[payment_status] => 1
)
Api Call
{
"method": "efd.updateinvoicepayment",
"jsonrpc": "2.0",
"id": "1646836772",
"params": [
{
"id": "100",
"status": "1",
"date": "01-01-2017",
"amount": "702.43",
"method": "1",
"amount_foreign_currency": "1",
"include_collection_foreign": "1",
"include_interest_foreign": "1"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": 1,
"payment_status": 1
},
"id": "efd",
"error": null
}
|
getRepeatingInvoicesList
Methods for get repeating invoices list
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
filter |
Filter |
array |
array('contact_id'=>3, 'cyclus'=>array(1)) |
Filter for getRepeatingInvoicesList(), allow filtering by invoice fields.
|
|
start |
Start |
integer |
0 |
Start from |
|
count |
Count |
integer |
10 |
Max select count |
|
EXAMPLE
Api Call
getRepeatingInvoicesList('filter'=>array('contact_id'=>3, 'cyclus'=>array(1)),"0","10"); Api response
Array
(
[total_count_in_db] => 1
[results] => Array
(
[0] => Array
(
[id] => 50
[ownername] => Demo bedrijf
[contact_id] => 5
[next_sending_date] => 0
[exchange_rate] => 0.87380
[currency] => GBP
[profile_id] =>
[total] => 124.81
[total_foreign_currency] => 109.06
[cyclus_name] => Wekelijks
[cyclus_id] => 1
)
[1] => Array
(
[id] => 47
[ownername] => Demo bedrijf
[contact_id] => 5
[next_sending_date] => 0
[exchange_rate] => 0.87380
[currency] => GBP
[profile_id] =>
[total] => 124.81
[total_foreign_currency] => 109.06
[cyclus_name] => Wekelijks
[cyclus_id] => 1
)
[2] => Array
(
[id] => 44
[ownername] => Demo bedrijf
[contact_id] => 5
[next_sending_date] => 0
[exchange_rate] => 0.87380
[currency] => GBP
[profile_id] =>
[total] => 124.81
[total_foreign_currency] => 109.06
[cyclus_name] => Wekelijks
[cyclus_id] => 1
)
[3] => Array
(
[id] => 41
[ownername] => Demo bedrijf
[contact_id] => 5
[next_sending_date] => 0
[exchange_rate] => 0.87380
[currency] => GBP
[profile_id] =>
[total] => 124.81
[total_foreign_currency] => 109.06
[cyclus_name] => Wekelijks
[cyclus_id] => 1
)
[4] => Array
(
[id] => 2
[ownername] => Demo bedrijf
[contact_id] => 5
[next_sending_date] => 1650405600
[exchange_rate] => 1
[currency] => EUR
[profile_id] =>
[total] => 121
[total_foreign_currency] => 121
[cyclus_name] => Jaarlijks
[cyclus_id] => 8
)
)
)
Api Call
{
"method": "efd.getrepeatinginvoiceslist",
"jsonrpc": "2.0",
"id": "1646836783",
"params": [
{
"filter": {
"contact_id": 3,
"cyclus": [
1
]
},
"start": "0",
"count": "10"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"total_count_in_db": "1",
"results": [
{
"id": "50",
"ownername": "Demo bedrijf",
"contact_id": "5",
"next_sending_date": "0",
"exchange_rate": "0.87380",
"currency": "GBP",
"profile_id": null,
"total": "124.81",
"total_foreign_currency": "109.06",
"cyclus_name": "Wekelijks",
"cyclus_id": "1"
},
{
"id": "47",
"ownername": "Demo bedrijf",
"contact_id": "5",
"next_sending_date": "0",
"exchange_rate": "0.87380",
"currency": "GBP",
"profile_id": null,
"total": "124.81",
"total_foreign_currency": "109.06",
"cyclus_name": "Wekelijks",
"cyclus_id": "1"
},
{
"id": "44",
"ownername": "Demo bedrijf",
"contact_id": "5",
"next_sending_date": "0",
"exchange_rate": "0.87380",
"currency": "GBP",
"profile_id": null,
"total": "124.81",
"total_foreign_currency": "109.06",
"cyclus_name": "Wekelijks",
"cyclus_id": "1"
},
{
"id": "41",
"ownername": "Demo bedrijf",
"contact_id": "5",
"next_sending_date": "0",
"exchange_rate": "0.87380",
"currency": "GBP",
"profile_id": null,
"total": "124.81",
"total_foreign_currency": "109.06",
"cyclus_name": "Wekelijks",
"cyclus_id": "1"
},
{
"id": "2",
"ownername": "Demo bedrijf",
"contact_id": "5",
"next_sending_date": "1650405600",
"exchange_rate": "1",
"currency": "EUR",
"profile_id": null,
"total": "121",
"total_foreign_currency": "121",
"cyclus_name": "Jaarlijks",
"cyclus_id": "8"
}
]
},
"id": "efd",
"error": null
}
|
getCostcenterFull
Methods for get costcenter list for incoming invoice
EXAMPLE
Api Call
getCostcenterFull(); Api response
Array
(
[1] => Array
(
[id] => 1
[pos] => 100
[parent_id] => 0
[name] => Opbrengsten
[code] => 0
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
[childrens] => Array
(
[8] => Array
(
[id] => 8
[pos] => 0
[parent_id] => 1
[name] => Netto omzet
[code] => 8000
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[9] => Array
(
[id] => 9
[pos] => 0
[parent_id] => 1
[name] => Overige opbrengsten
[code] => 8010
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
)
[type] => 3
)
[2] => Array
(
[id] => 2
[pos] => 200
[parent_id] => 0
[name] => Inkoopkosten, uitbesteed werk e.d.
[code] => 0
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
[childrens] => Array
(
[10] => Array
(
[id] => 10
[pos] => 0
[parent_id] => 2
[name] => Inkoopprijs van de verkopen
[code] => 7000
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[11] => Array
(
[id] => 11
[pos] => 0
[parent_id] => 2
[name] => Kosten uitbesteed werk e.d.
[code] => 7010
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
)
[type] => 3
)
[3] => Array
(
[id] => 3
[pos] => 300
[parent_id] => 0
[name] => Personeelskosten
[code] => 0
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
[childrens] => Array
(
[12] => Array
(
[id] => 12
[pos] => 0
[parent_id] => 3
[name] => Lonen en salarissen
[code] => 4000
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[13] => Array
(
[id] => 13
[pos] => 0
[parent_id] => 3
[name] => Sociale lasten
[code] => 4010
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[14] => Array
(
[id] => 14
[pos] => 0
[parent_id] => 3
[name] => Pensioenlasten
[code] => 4020
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[15] => Array
(
[id] => 15
[pos] => 0
[parent_id] => 3
[name] => Overige personeelkosten
[code] => 4030
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
)
[type] => 3
)
[4] => Array
(
[id] => 4
[pos] => 400
[parent_id] => 0
[name] => Afschrijvingen
[code] => 0
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
[childrens] => Array
(
[16] => Array
(
[id] => 16
[pos] => 0
[parent_id] => 4
[name] => Immateriele vaste activa
[code] => 4100
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[17] => Array
(
[id] => 17
[pos] => 0
[parent_id] => 4
[name] => Gebouwen en terreinen
[code] => 4120
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[18] => Array
(
[id] => 18
[pos] => 0
[parent_id] => 4
[name] => Machines en installaties
[code] => 4130
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[19] => Array
(
[id] => 19
[pos] => 0
[parent_id] => 4
[name] => Overige materiele vaste activa
[code] => 4140
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
[childrens] => Array
(
[20] => Array
(
[id] => 20
[pos] => 0
[parent_id] => 19
[name] => Inventaris
[code] => 4141
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[21] => Array
(
[id] => 21
[pos] => 0
[parent_id] => 19
[name] => Vervoermiddelen
[code] => 4142
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
)
)
)
[type] => 3
)
[5] => Array
(
[id] => 5
[pos] => 500
[parent_id] => 0
[name] => Overige bedrijfskosten
[code] => 0
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
[childrens] => Array
(
[22] => Array
(
[id] => 22
[pos] => 0
[parent_id] => 5
[name] => Auto- en transportkosten
[code] => 4200
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[23] => Array
(
[id] => 23
[pos] => 0
[parent_id] => 5
[name] => Huisvestingskosten
[code] => 4210
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[24] => Array
(
[id] => 24
[pos] => 0
[parent_id] => 5
[name] => Verkoopkosten
[code] => 4220
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[25] => Array
(
[id] => 25
[pos] => 0
[parent_id] => 5
[name] => Andere kosten
[code] => 4230
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
[childrens] => Array
(
[26] => Array
(
[id] => 26
[pos] => 0
[parent_id] => 25
[name] => Marketingkosten
[code] => 4231
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[27] => Array
(
[id] => 27
[pos] => 0
[parent_id] => 25
[name] => Accountantskosten
[code] => 4232
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[28] => Array
(
[id] => 28
[pos] => 0
[parent_id] => 25
[name] => Kantoorkosten
[code] => 4233
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[29] => Array
(
[id] => 29
[pos] => 0
[parent_id] => 25
[name] => Verzekeringskosten
[code] => 4234
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[30] => Array
(
[id] => 30
[pos] => 0
[parent_id] => 25
[name] => Abonnementen en contributies
[code] => 4235
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
)
)
)
[type] => 3
)
[6] => Array
(
[id] => 6
[pos] => 600
[parent_id] => 0
[name] => Financiele baten en lasten
[code] => 0
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
[childrens] => Array
(
[31] => Array
(
[id] => 31
[pos] => 0
[parent_id] => 6
[name] => Opbrengst banktegoeden
[code] => 9000
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[32] => Array
(
[id] => 32
[pos] => 0
[parent_id] => 6
[name] => Opbrengsten overige vorderingen
[code] => 9010
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
[33] => Array
(
[id] => 33
[pos] => 0
[parent_id] => 6
[name] => Kosten van schulden, rentelasten e.d.
[code] => 9020
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
)
[type] => 3
)
[34] => Array
(
[id] => 34
[pos] => 700
[parent_id] => 0
[name] => Vaste activa
[code] => 0
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
[childrens] => Array
(
[35] => Array
(
[id] => 35
[pos] => 0
[parent_id] => 34
[name] => Investering
[code] => 0100
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
)
[type] => 0
)
[36] => Array
(
[id] => 36
[pos] => 800
[parent_id] => 0
[name] => Vlottende activa
[code] => 0
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
[childrens] => Array
(
[37] => Array
(
[id] => 37
[pos] => 0
[parent_id] => 36
[name] => Voorraad
[code] => 3000
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
)
)
[type] => 0
)
[7] => Array
(
[id] => 7
[pos] => 900
[parent_id] => 0
[name] => Tijdelijk
[code] => 9999
[exact_code] =>
[twinfield_code] =>
[del] => 0
[nodel] => 1
[type] => 3
)
)
Api Call
{
"method": "efd.getcostcenterfull",
"jsonrpc": "2.0",
"id": "1646836793",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"1": {
"id": "1",
"pos": "100",
"parent_id": "0",
"name": "Opbrengsten",
"code": "0",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1",
"childrens": {
"8": {
"id": "8",
"pos": "0",
"parent_id": "1",
"name": "Netto omzet",
"code": "8000",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"9": {
"id": "9",
"pos": "0",
"parent_id": "1",
"name": "Overige opbrengsten",
"code": "8010",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
}
},
"type": 3
},
"2": {
"id": "2",
"pos": "200",
"parent_id": "0",
"name": "Inkoopkosten, uitbesteed werk e.d.",
"code": "0",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1",
"childrens": {
"10": {
"id": "10",
"pos": "0",
"parent_id": "2",
"name": "Inkoopprijs van de verkopen",
"code": "7000",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"11": {
"id": "11",
"pos": "0",
"parent_id": "2",
"name": "Kosten uitbesteed werk e.d.",
"code": "7010",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
}
},
"type": 3
},
"3": {
"id": "3",
"pos": "300",
"parent_id": "0",
"name": "Personeelskosten",
"code": "0",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1",
"childrens": {
"12": {
"id": "12",
"pos": "0",
"parent_id": "3",
"name": "Lonen en salarissen",
"code": "4000",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"13": {
"id": "13",
"pos": "0",
"parent_id": "3",
"name": "Sociale lasten",
"code": "4010",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"14": {
"id": "14",
"pos": "0",
"parent_id": "3",
"name": "Pensioenlasten",
"code": "4020",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"15": {
"id": "15",
"pos": "0",
"parent_id": "3",
"name": "Overige personeelkosten",
"code": "4030",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
}
},
"type": 3
},
"4": {
"id": "4",
"pos": "400",
"parent_id": "0",
"name": "Afschrijvingen",
"code": "0",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1",
"childrens": {
"16": {
"id": "16",
"pos": "0",
"parent_id": "4",
"name": "Immateriele vaste activa",
"code": "4100",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"17": {
"id": "17",
"pos": "0",
"parent_id": "4",
"name": "Gebouwen en terreinen",
"code": "4120",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"18": {
"id": "18",
"pos": "0",
"parent_id": "4",
"name": "Machines en installaties",
"code": "4130",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"19": {
"id": "19",
"pos": "0",
"parent_id": "4",
"name": "Overige materiele vaste activa",
"code": "4140",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1",
"childrens": {
"20": {
"id": "20",
"pos": "0",
"parent_id": "19",
"name": "Inventaris",
"code": "4141",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"21": {
"id": "21",
"pos": "0",
"parent_id": "19",
"name": "Vervoermiddelen",
"code": "4142",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
}
}
}
},
"type": 3
},
"5": {
"id": "5",
"pos": "500",
"parent_id": "0",
"name": "Overige bedrijfskosten",
"code": "0",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1",
"childrens": {
"22": {
"id": "22",
"pos": "0",
"parent_id": "5",
"name": "Auto- en transportkosten",
"code": "4200",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"23": {
"id": "23",
"pos": "0",
"parent_id": "5",
"name": "Huisvestingskosten",
"code": "4210",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"24": {
"id": "24",
"pos": "0",
"parent_id": "5",
"name": "Verkoopkosten",
"code": "4220",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"25": {
"id": "25",
"pos": "0",
"parent_id": "5",
"name": "Andere kosten",
"code": "4230",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1",
"childrens": {
"26": {
"id": "26",
"pos": "0",
"parent_id": "25",
"name": "Marketingkosten",
"code": "4231",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"27": {
"id": "27",
"pos": "0",
"parent_id": "25",
"name": "Accountantskosten",
"code": "4232",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"28": {
"id": "28",
"pos": "0",
"parent_id": "25",
"name": "Kantoorkosten",
"code": "4233",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"29": {
"id": "29",
"pos": "0",
"parent_id": "25",
"name": "Verzekeringskosten",
"code": "4234",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"30": {
"id": "30",
"pos": "0",
"parent_id": "25",
"name": "Abonnementen en contributies",
"code": "4235",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
}
}
}
},
"type": 3
},
"6": {
"id": "6",
"pos": "600",
"parent_id": "0",
"name": "Financiele baten en lasten",
"code": "0",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1",
"childrens": {
"31": {
"id": "31",
"pos": "0",
"parent_id": "6",
"name": "Opbrengst banktegoeden",
"code": "9000",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"32": {
"id": "32",
"pos": "0",
"parent_id": "6",
"name": "Opbrengsten overige vorderingen",
"code": "9010",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
},
"33": {
"id": "33",
"pos": "0",
"parent_id": "6",
"name": "Kosten van schulden, rentelasten e.d.",
"code": "9020",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
}
},
"type": 3
},
"34": {
"id": "34",
"pos": "700",
"parent_id": "0",
"name": "Vaste activa",
"code": "0",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1",
"childrens": {
"35": {
"id": "35",
"pos": "0",
"parent_id": "34",
"name": "Investering",
"code": "0100",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
}
},
"type": 0
},
"36": {
"id": "36",
"pos": "800",
"parent_id": "0",
"name": "Vlottende activa",
"code": "0",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1",
"childrens": {
"37": {
"id": "37",
"pos": "0",
"parent_id": "36",
"name": "Voorraad",
"code": "3000",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1"
}
},
"type": 0
},
"7": {
"id": "7",
"pos": "900",
"parent_id": "0",
"name": "Tijdelijk",
"code": "9999",
"exact_code": "",
"twinfield_code": "",
"del": "0",
"nodel": "1",
"type": 3
}
},
"id": "efd",
"error": null
}
|
getRemindersList
Methods for get reminders list
EXAMPLE
Api Call
getRemindersList(); Api response
Array
(
[0] => Array
(
[id] => 3
[pos] => 1
[active] => 0
[name] => Herinnering
[days] => 1
[interest] => 0
[collection] => 0
)
[1] => Array
(
[id] => 5
[pos] => 2
[active] => 0
[name] => Aanmaning
[days] => 15
[interest] => 0
[collection] => 0
)
[2] => Array
(
[id] => 7
[pos] => 3
[active] => 0
[name] => Ingebreke
[days] => 29
[interest] => 0
[collection] => 0
)
)
Api Call
{
"method": "efd.getreminderslist",
"jsonrpc": "2.0",
"id": "1646836804",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": [
{
"id": "3",
"pos": 1,
"active": "0",
"name": "Herinnering",
"days": "1",
"interest": "0",
"collection": "0"
},
{
"id": "5",
"pos": 2,
"active": "0",
"name": "Aanmaning",
"days": "15",
"interest": "0",
"collection": "0"
},
{
"id": "7",
"pos": 3,
"active": "0",
"name": "Ingebreke",
"days": "29",
"interest": "0",
"collection": "0"
}
],
"id": "efd",
"error": null
}
|
getPaymentUrl
Methods for get payment url
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
getPaymentUrl("100"); Api response
https://efddevelopertestphp.efactuurdirect.nl/paymentgateways/pay/token/OTgwYzE2MmYzYTY4YTMyMWQyMjdmNjMwYzIyMzFlNTNfNWNlM2FiY2E5MzNiYQ==
Api Call
{
"method": "efd.getpaymenturl",
"jsonrpc": "2.0",
"id": "1646836814",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": "https:\/\/efddevelopertestphp.efactuurdirect.nl\/paymentgateways\/pay\/token\/OTgwYzE2MmYzYTY4YTMyMWQyMjdmNjMwYzIyMzFlNTNfNWNlM2FiY2E5MzNiYQ==",
"id": "efd",
"error": null
}
|
getInvoicePdfByExternalId
Methods for get pdf by External Id
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
external_id |
id |
string |
95c991fd-1c59-457d-bde5-87df5d08d775 |
EFD external id |
|
EXAMPLE
Api Call
getInvoicePdfByExternalId("95c991fd-1c59-457d-bde5-87df5d08d775"); Api response
Array
(
[status] => done
[content] => JVBERi0xLjcKJeLjz9MKMyAwIG9iago8PC9QIDQgMCBSL1N1YnR5cGUvV2lkZ2V0L1QoU2lnbmF0dXJlMSkvViAxIDAgUi9GIDEzMi9UeXBlL0Fubm90L0ZUL1NpZy9EUjw8Pj4vUmVjdFswIDAgMC...
)
Api Call
{
"method": "efd.getinvoicepdfbyexternalid",
"jsonrpc": "2.0",
"id": "1646836828",
"params": [
{
"external_id": "95c991fd-1c59-457d-bde5-87df5d08d775"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "done",
"content": "JVBERi0xLjcKJeLjz9MKMyAwIG9iago8PC9QIDQgMCBSL1N1YnR5cGUvV2lkZ2V0L1QoU2lnbmF0dXJlMSkvViAxIDAgUi9GIDEzMi9UeXBlL0Fubm90L0ZUL1NpZy9EUjw8Pj4vUmVjdFswIDAgMC..."
},
"id": "efd",
"error": null
}
|
getExternalIdByInvoiceId
Methods for get External Id by Invoice Id
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
getExternalIdByInvoiceId("100"); Api response
Array
(
[status] => done
[id] => 95c991fd-1c59-457d-bde5-87df5d08d775
)
Api Call
{
"method": "efd.getexternalidbyinvoiceid",
"jsonrpc": "2.0",
"id": "1646836839",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "done",
"id": "95c991fd-1c59-457d-bde5-87df5d08d775"
},
"id": "efd",
"error": null
}
|
getInvoiceIdByExternalId
Methods for get Invoice Id by External Id
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
getInvoiceIdByExternalId("100"); Api response
Array
(
[status] => done
[id] => 320
)
Api Call
{
"method": "efd.getinvoiceidbyexternalid",
"jsonrpc": "2.0",
"id": "1646836850",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "done",
"id": "320"
},
"id": "efd",
"error": null
}
|
|
Offers
API methods for Offers
addOffer
Methods for add offer
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
offer_date_start |
Start date |
string |
01-01-2017 |
Offer date start |
|
offer_date_end |
End date |
string |
01-03-2017 |
Offer date end |
|
offer_discount |
Offer discount |
string |
10 |
Offer discount in % |
|
currency |
Currency |
string |
GBP |
Offer currency |
|
profile_id |
Template profile |
string |
1 |
Offer template profile |
|
documents |
Documents |
array |
array(1,2), |
Array with documents id for attachment |
|
attachments |
Attachments |
array |
array('File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='), |
Array with attachments files: key - file name, value - content in base64 |
|
contact_id |
id |
integer |
100 |
EFD contact id |
|
subcontact_id |
Subcontact id |
integer |
0 |
Extra contact (if not main contact) |
|
notes |
Notes |
string |
Notes |
Offer notes |
|
description |
Description |
string |
Description |
Offer description |
|
products |
Products |
array |
array(array('name'=>'product1','description'=>'Product1 description','quantity'=>1,'uom'=> 2,'price'=>'100,15','discount_type'=> 2,'discount_value'=> 0,'vat'=>21),array('is_comment_line'=>1,'description'=>'Text row')), |
Products array, with similar data as products |
|
products_id |
Products id |
array |
array(17,18), |
Array with products id |
|
products_id (stocks) |
Products id |
array |
array(1=>array('quantity' => 5,'stocks' => array(10 => 1))), |
Array with products id and custom values (name,description etc) |
|
products_groups_id |
Products groups id |
array |
array(1,2,3), |
Array with products categories id |
|
EXAMPLE
Api Call
addOffer(
array(
'offer_date_start'=>"01-01-2017",
'offer_date_end'=>"01-03-2017",
'offer_discount'=>"10",
'currency'=>"GBP",
'profile_id'=>"1",
'documents'=>array(
1,
2),
,
'attachments'=>array(
'File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='),
,
'contact_id'=>"100",
'subcontact_id'=>"0",
'notes'=>"Notes",
'description'=>"Description",
'products'=>array(
array(
'name'=>'product1',
'description'=>'Product1 description',
'quantity'=>1,
'uom'=> 2,
'price'=>'100,
15',
'discount_type'=> 2,
'discount_value'=> 0,
'vat'=>21),
array(
'is_comment_line'=>1,
'description'=>'Text row')),
,
'products_id'=>array(
17,
18),
,
'products_id (
stocks)'=>array(
1=>array(
'quantity' => 5,
'stocks' => array(
10 => 1))),
,
'products_groups_id'=>array(
1,
2,
3),
)); Api response
Array
(
[status] => added
[id] => 897
)
Api Call
{
"method": "efd.addoffer",
"jsonrpc": "2.0",
"id": "1646836862",
"params": [
{
"offer_date_start": "01-01-2017",
"offer_date_end": "01-03-2017",
"offer_discount": "10",
"currency": "GBP",
"profile_id": "1",
"documents": [
1,
2
],
"attachments": {
"File2.txt": "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4="
},
"contact_id": "100",
"subcontact_id": "0",
"notes": "Notes",
"description": "Description",
"products": [
{
"name": "product1",
"description": "Product1 description",
"quantity": 1,
"uom": 2,
"price": "100,15",
"discount_type": 2,
"discount_value": 0,
"vat": 21
},
{
"is_comment_line": 1,
"description": "Text row"
}
],
"products_id": [
17,
18
],
"products_id (stocks)": {
"1": {
"quantity": 5,
"stocks": {
"10": 1
}
}
},
"products_groups_id": [
1,
2,
3
]
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "added",
"id": "897"
},
"id": "efd",
"error": null
}
|
editOffer
Methods for edit offer
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD offer id |
Required |
offer_date_start |
Start date |
string |
01-01-2017 |
Offer date start |
|
offer_date_end |
End date |
string |
01-03-2017 |
Offer date end |
|
offer_discount |
Offer discount |
string |
10 |
Offer discount in % |
|
currency |
Currency |
string |
GBP |
Offer currency |
|
profile_id |
Template profile |
string |
1 |
Offer template profile |
|
documents |
Documents |
array |
array(1,2), |
Array with documents id for attachment |
|
attachments |
Attachments |
array |
array('File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='), |
Array with attachments files: key - file name, value - content in base64 |
|
contact_id |
id |
integer |
100 |
EFD contact id |
|
subcontact_id |
Subcontact id |
integer |
0 |
Extra contact (if not main contact) |
|
notes |
Notes |
string |
Notes |
Offer notes |
|
description |
Description |
string |
Description |
Offer description |
|
products |
Products |
array |
array(array('name'=>'product1','description'=>'Product1 description','quantity'=>1,'uom'=> 2,'price'=>'100,15','discount_type'=> 2,'discount_value'=> 0,'vat'=>21),array('is_comment_line'=>1,'description'=>'Text row')), |
Products array, with similar data as products |
|
products_id |
Products id |
array |
array(17,18), |
Array with products id |
|
products_id (stocks) |
Products id |
array |
array(1=>array('quantity' => 5,'stocks' => array(10 => 1))), |
Array with products id and custom values (name,description etc) |
|
products_groups_id |
Products groups id |
array |
array(1,2,3), |
Array with products categories id |
|
EXAMPLE
Api Call
editOffer(
array(
'id'=>"100",
'offer_date_start'=>"01-01-2017",
'offer_date_end'=>"01-03-2017",
'offer_discount'=>"10",
'currency'=>"GBP",
'profile_id'=>"1",
'documents'=>array(
1,
2),
,
'attachments'=>array(
'File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='),
,
'contact_id'=>"100",
'subcontact_id'=>"0",
'notes'=>"Notes",
'description'=>"Description",
'products'=>array(
array(
'name'=>'product1',
'description'=>'Product1 description',
'quantity'=>1,
'uom'=> 2,
'price'=>'100,
15',
'discount_type'=> 2,
'discount_value'=> 0,
'vat'=>21),
array(
'is_comment_line'=>1,
'description'=>'Text row')),
,
'products_id'=>array(
17,
18),
,
'products_id (
stocks)'=>array(
1=>array(
'quantity' => 5,
'stocks' => array(
10 => 1))),
,
'products_groups_id'=>array(
1,
2,
3),
)); Api response
Array
(
[status] => edited
[id] => 897
)
Api Call
{
"method": "efd.editoffer",
"jsonrpc": "2.0",
"id": "1646836873",
"params": [
{
"id": "100",
"offer_date_start": "01-01-2017",
"offer_date_end": "01-03-2017",
"offer_discount": "10",
"currency": "GBP",
"profile_id": "1",
"documents": [
1,
2
],
"attachments": {
"File2.txt": "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4="
},
"contact_id": "100",
"subcontact_id": "0",
"notes": "Notes",
"description": "Description",
"products": [
{
"name": "product1",
"description": "Product1 description",
"quantity": 1,
"uom": 2,
"price": "100,15",
"discount_type": 2,
"discount_value": 0,
"vat": 21
},
{
"is_comment_line": 1,
"description": "Text row"
}
],
"products_id": [
17,
18
],
"products_id (stocks)": {
"1": {
"quantity": 5,
"stocks": {
"10": 1
}
}
},
"products_groups_id": [
1,
2,
3
]
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "edited",
"id": "897"
},
"id": "efd",
"error": null
}
|
sendOffer
Methods for send offer
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD offer id |
Required |
EXAMPLE
Api Call
sendOffer("100"); Api response
Array
(
[status] => sent
)
Api Call
{
"method": "efd.sendoffer",
"jsonrpc": "2.0",
"id": "1646836886",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "sent"
},
"id": "efd",
"error": null
}
|
getOfferPdf
Methods for get offer pdf
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD offer id |
Required |
EXAMPLE
Api Call
getOfferPdf("100"); Api response
Array
(
[status] => done
[content] => JVBERi0xLjcKJeLjz9MKCjEgMCBvYmoKPDwvVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFIKL0FGIFtdCi9NZXRhZGF0YSA0IDAgUgovT3V0cHV0SW50ZW50cyBbNSAwIFJdPj4KZW5kb2JqCgo2ID...
)
Api Call
{
"method": "efd.getofferpdf",
"jsonrpc": "2.0",
"id": "1646836897",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "done",
"content": "JVBERi0xLjcKJeLjz9MKCjEgMCBvYmoKPDwvVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFIKL0FGIFtdCi9NZXRhZGF0YSA0IDAgUgovT3V0cHV0SW50ZW50cyBbNSAwIFJdPj4KZW5kb2JqCgo2ID..."
},
"id": "efd",
"error": null
}
|
getOfferByID
Methods for get get offer by id
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD offer id |
Required |
EXAMPLE
Api Call
getOfferByID("100"); Api response
Array
(
[id] => 2
[is_incl_tax] => 0
[offer_number] => 2017001
[subtotal] => 100
[project_id] => 0
[project_name] =>
[employees] =>
[offer_total] => 121
[offer_invoice_vat] => 21
[offer_subtotal] => 100
[offer_total_foreign_currency] => 121
[offer_vat_foreign_currency] => 21
[offer_subtotal_foreign_currency] => 100
[offer_currency] => EUR
[offer_profile_id] => 0
[exchange_rate] => 1
[offer_date] => 20-04-2017
[offer_remark] =>
[offer_date_start] => 20-04-2017
[offer_date_end] => 04-05-2017
[offer_discount] => 0
[pending] => 0
[accepted] => 0
[rejected] => 0
[contact_id] => 5
[subcontact_id] => 0
[company] => Demo bedrijf
[firstname] => Test
[lastname] => Klant
[streetname] =>
[housenr] => 50
[zipcode] => 1234AB
[city] => Plaats
[country] => Nederland
[country_iso] =>
[box] =>
[box_zip] =>
[box_city] =>
[box_country] =>
[usepobox] => 0
[send_method] => 1
[sent] => 1
[invoiced] => 0
[invoiced_partial] => 0
[printed] => 0
[status] => Verlopen
[status_color] => 3
[statuses] => Array
(
[0] => Array
(
[status] => Verlopen
[status_color] => 3
)
)
[ownername] => Demo bedrijf
[products] => Array
(
[0] => Array
(
[id] => 12
[is_comment_line] => 0
[is_discount] => 0
[time_stamp_changes] => 2017-04-20 10:55:23
[products_cat_id] =>
[products_id] => 0
[name] => Product 1
[description] => Test product 1
[quantity] => 1
[uom] => 3
[price] => 100
[price_foreign_currency] => 100
[vat] => 21
[tax_id] => 5
[remarks] =>
[deleted] =>
[cat_name] =>
[discount] => 0
[discount_foreign_currency] => 0
[discount_type] => 2
[discount_value] => 0
)
)
)
Api Call
{
"method": "efd.getofferbyid",
"jsonrpc": "2.0",
"id": "1646836908",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"id": "2",
"is_incl_tax": "0",
"offer_number": "2017001",
"subtotal": "100",
"project_id": "0",
"project_name": null,
"employees": null,
"offer_total": "121",
"offer_invoice_vat": "21",
"offer_subtotal": "100",
"offer_total_foreign_currency": "121",
"offer_vat_foreign_currency": "21",
"offer_subtotal_foreign_currency": "100",
"offer_currency": "EUR",
"offer_profile_id": "0",
"exchange_rate": "1",
"offer_date": "20-04-2017",
"offer_remark": "",
"offer_date_start": "20-04-2017",
"offer_date_end": "04-05-2017",
"offer_discount": 0,
"pending": "0",
"accepted": "0",
"rejected": "0",
"contact_id": "5",
"subcontact_id": "0",
"company": "Demo bedrijf",
"firstname": "Test",
"lastname": "Klant",
"streetname": null,
"housenr": "50",
"zipcode": "1234AB",
"city": "Plaats",
"country": "Nederland",
"country_iso": null,
"box": "",
"box_zip": "",
"box_city": "",
"box_country": null,
"usepobox": "0",
"send_method": "1",
"sent": "1",
"invoiced": "0",
"invoiced_partial": "0",
"printed": "0",
"status": "Verlopen",
"status_color": 3,
"statuses": [
{
"status": "Verlopen",
"status_color": 3
}
],
"ownername": "Demo bedrijf",
"products": [
{
"id": "12",
"is_comment_line": "0",
"is_discount": "0",
"time_stamp_changes": "2017-04-20 10:55:23",
"products_cat_id": null,
"products_id": "0",
"name": "Product 1",
"description": "Test product 1",
"quantity": "1",
"uom": "3",
"price": "100",
"price_foreign_currency": "100",
"vat": "21",
"tax_id": "5",
"remarks": null,
"deleted": null,
"cat_name": null,
"discount": "0",
"discount_foreign_currency": "0",
"discount_type": "2",
"discount_value": "0"
}
]
},
"id": "efd",
"error": null
}
|
deleteOffer
Methods for delete offer
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD offer id |
Required |
EXAMPLE
Api Call
deleteOffer("100"); Api response
Array
(
[status] => deleted
[id] => 897
)
Api Call
{
"method": "efd.deleteoffer",
"jsonrpc": "2.0",
"id": "1646836920",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "deleted",
"id": "897"
},
"id": "efd",
"error": null
}
|
getOfferslist
Methods for get offers list
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
filter |
Filter |
array |
array('contact_id'=>3,'is_paid'=>0,'is_sent'=>1,'invoice_date'=>array('01-01-2017','01-12-2020'),'invoice_expire_date'=>array('01-01-2017','01-12-2020'),'invoice_payment_date'=>array('01-01-2017','01-12-2020')) |
Filter for getInvoicesList(), allow filtering by invoice fields.
already_paid 0 normal invoice or value from https://www.efactuurdirect.nl/api-doc/#getPaymentMethods as already paid invoice.
is_paid payment status 0: not paid 1: fully paid, 2: partial paid.
sent = 0: not sent 1: sent, 2: first reminder, 3: second reminder etc.
is_sent = yes:1 no:0 if the invoice is sent
|
|
start |
Start |
integer |
0 |
Start from |
|
count |
Count |
integer |
10 |
Max select count |
|
EXAMPLE
Api Call
getOfferslist('filter'=>array('contact_id'=>3,'is_paid'=>0,'is_sent'=>1,'invoice_date'=>array('01-01-2017','01-12-2020'),'invoice_expire_date'=>array('01-01-2017','01-12-2020'),'invoice_payment_date'=>array('01-01-2017','01-12-2020')),"0","10"); Api response
Array
(
[total_count_in_db] => 144
[results] => Array
(
[0] => Array
(
[id] => 894
[is_incl_tax] => 0
[offer_number] => 2022006
[subtotal] => 108.35
[project_id] => 0
[project_name] =>
[employees] =>
[offer_total] => 131.1
[offer_invoice_vat] => 22.75
[offer_subtotal] => 108.35
[offer_total_foreign_currency] => 109.06
[offer_vat_foreign_currency] => 18.93
[offer_subtotal_foreign_currency] => 90.13
[offer_currency] => GBP
[offer_profile_id] => 0
[exchange_rate] => 0.83185
[offer_date] => 09-03-2022
[offer_remark] => Description
[offer_date_start] => 01-01-2017
[offer_date_end] => 01-03-2017
[offer_discount] => 10
[pending] => 0
[accepted] => 0
[rejected] => 0
[contact_id] => 5
[subcontact_id] => 0
[company] => Demo bedrijf
[firstname] => Test
[lastname] => Klant
[streetname] =>
[housenr] => 50
[zipcode] => 1234AB
[city] => Plaats
[country] => Nederland
[country_iso] =>
[box] =>
[box_zip] =>
[box_city] =>
[box_country] =>
[usepobox] => 0
[send_method] => 1
[sent] => 1
[invoiced] => 0
[invoiced_partial] => 0
[printed] => 0
[status] => Verlopen
[status_color] => 3
[statuses] => Array
(
[0] => Array
(
[status] => Verlopen
[status_color] => 3
)
)
[ownername] => Demo bedrijf
[products] => Array
(
[0] => Array
(
[id] => 6756
[is_comment_line] => 0
[is_discount] => 0
[time_stamp_changes] => 2022-03-09 15:26:09
[products_cat_id] =>
[products_id] => 0
[name] => product1
[description] => Product1 description
[quantity] => 1
[uom] => 1
[price] => 120.39430185731
[price_foreign_currency] => 100.15
[vat] => 21
[tax_id] => 5
[remarks] =>
[deleted] =>
[cat_name] =>
[discount] => 0
[discount_foreign_currency] => 0
[discount_type] => 2
[discount_value] => 0
)
[1] => Array
(
[id] => 6759
[is_comment_line] => 1
[is_discount] => 0
[time_stamp_changes] => 2022-03-09 15:26:09
[products_cat_id] =>
[products_id] => 0
[name] =>
[description] => Text row
[quantity] => 0
[uom] => 1
[price] => 0
[price_foreign_currency] => 0
[vat] => 0
[tax_id] => 0
[remarks] =>
[deleted] =>
[cat_name] =>
[discount] => 0
[discount_foreign_currency] => 0
[discount_type] => 2
[discount_value] => 0
)
[2] => Array
(
[id] => 6762
[is_comment_line] => 0
[is_discount] => 1
[time_stamp_changes] => 2022-03-09 15:26:09
[products_cat_id] =>
[products_id] => 0
[name] => Korting 10%
[description] =>
[quantity] => 0
[uom] => 1
[price] => -12.04
[price_foreign_currency] => -10.02
[vat] => 21
[tax_id] => 5
[remarks] =>
[deleted] =>
[cat_name] =>
[discount] => 0
[discount_foreign_currency] => 0
[discount_type] => 2
[discount_value] => 0
)
)
)
[1] => Array
(
[id] => 888
[is_incl_tax] => 0
[offer_number] => 2022004
[subtotal] => 108.22
[project_id] => 0
[project_name] =>
[employees] =>
[offer_total] => 130.95
[offer_invoice_vat] => 22.73
[offer_subtotal] => 108.22
[offer_total_foreign_currency] => 109.06
[offer_vat_foreign_currency] => 18.93
[offer_subtotal_foreign_currency] => 90.13
[offer_currency] => GBP
[offer_profile_id] => 0
[exchange_rate] => 0.83290
[offer_date] => 01-03-2022
[offer_remark] => Description
[offer_date_start] => 01-01-2017
[offer_date_end] => 01-03-2017
[offer_discount] => 10
[pending] => 0
[accepted] => 0
[rejected] => 0
[contact_id] => 5
[subcontact_id] => 0
[company] => Demo bedrijf
[firstname] => Test
[lastname] => Klant
[streetname] =>
[housenr] => 50
[zipcode] => 1234AB
[city] => Plaats
[country] => Nederland
[country_iso] =>
[box] =>
[box_zip] =>
[box_city] =>
[box_country] =>
[usepobox] => 0
[send_method] => 1
[sent] => 1
[invoiced] => 0
[invoiced_partial] => 0
[printed] => 0
[status] => Verlopen
[status_color] => 3
[statuses] => Array
(
[0] => Array
(
[status] => Verlopen
[status_color] => 3
)
)
[ownername] => Demo bedrijf
[products] => Array
(
[0] => Array
(
[id] => 6702
[is_comment_line] => 0
[is_discount] => 0
[time_stamp_changes] => 2022-03-01 16:30:00
[products_cat_id] =>
[products_id] => 0
[name] => product1
[description] => Product1 description
[quantity] => 1
[uom] => 1
[price] => 120.24252611358
[price_foreign_currency] => 100.15
[vat] => 21
[tax_id] => 5
[remarks] =>
[deleted] =>
[cat_name] =>
[discount] => 0
[discount_foreign_currency] => 0
[discount_type] => 2
[discount_value] => 0
)
[1] => Array
(
[id] => 6705
[is_comment_line] => 1
[is_discount] => 0
[time_stamp_changes] => 2022-03-01 16:30:00
[products_cat_id] =>
[products_id] => 0
[name] =>
[description] => Text row
[quantity] => 0
[uom] => 1
[price] => 0
[price_foreign_currency] => 0
[vat] => 0
[tax_id] => 0
[remarks] =>
[deleted] =>
[cat_name] =>
[discount] => 0
[discount_foreign_currency] => 0
[discount_type] => 2
[discount_value] => 0
)
[2] => Array
(
[id] => 6708
[is_comment_line] => 0
[is_discount] => 1
[time_stamp_changes] => 2022-03-01 16:30:01
[products_cat_id] =>
[products_id] => 0
[name] => Korting 10%
[description] =>
[quantity] => 0
[uom] => 1
[price] => -12.02
[price_foreign_currency] => -10.02
[vat] => 21
[tax_id] => 5
[remarks] =>
[deleted] =>
[cat_name] =>
[discount] => 0
[discount_foreign_currency] => 0
[discount_type] => 2
[discount_value] => 0
)
)
)
)
)
Api Call
{
"method": "efd.getofferslist",
"jsonrpc": "2.0",
"id": "1646836930",
"params": [
{
"filter": {
"contact_id": 3,
"is_paid": 0,
"is_sent": 1,
"invoice_date": [
"01-01-2017",
"01-12-2020"
],
"invoice_expire_date": [
"01-01-2017",
"01-12-2020"
],
"invoice_payment_date": [
"01-01-2017",
"01-12-2020"
]
},
"start": "0",
"count": "10"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"total_count_in_db": "144",
"results": [
{
"id": "894",
"is_incl_tax": "0",
"offer_number": "2022006",
"subtotal": "108.35",
"project_id": "0",
"project_name": null,
"employees": null,
"offer_total": "131.1",
"offer_invoice_vat": "22.75",
"offer_subtotal": "108.35",
"offer_total_foreign_currency": "109.06",
"offer_vat_foreign_currency": "18.93",
"offer_subtotal_foreign_currency": "90.13",
"offer_currency": "GBP",
"offer_profile_id": "0",
"exchange_rate": "0.83185",
"offer_date": "09-03-2022",
"offer_remark": "Description",
"offer_date_start": "01-01-2017",
"offer_date_end": "01-03-2017",
"offer_discount": 10,
"pending": "0",
"accepted": "0",
"rejected": "0",
"contact_id": "5",
"subcontact_id": "0",
"company": "Demo bedrijf",
"firstname": "Test",
"lastname": "Klant",
"streetname": null,
"housenr": "50",
"zipcode": "1234AB",
"city": "Plaats",
"country": "Nederland",
"country_iso": null,
"box": "",
"box_zip": "",
"box_city": "",
"box_country": null,
"usepobox": "0",
"send_method": "1",
"sent": "1",
"invoiced": "0",
"invoiced_partial": "0",
"printed": "0",
"status": "Verlopen",
"status_color": 3,
"statuses": [
{
"status": "Verlopen",
"status_color": 3
}
],
"ownername": "Demo bedrijf",
"products": [
{
"id": "6756",
"is_comment_line": "0",
"is_discount": "0",
"time_stamp_changes": "2022-03-09 15:26:09",
"products_cat_id": null,
"products_id": "0",
"name": "product1",
"description": "Product1 description",
"quantity": "1",
"uom": "1",
"price": "120.39430185731",
"price_foreign_currency": "100.15",
"vat": "21",
"tax_id": "5",
"remarks": null,
"deleted": null,
"cat_name": null,
"discount": "0",
"discount_foreign_currency": "0",
"discount_type": "2",
"discount_value": "0"
},
{
"id": "6759",
"is_comment_line": "1",
"is_discount": "0",
"time_stamp_changes": "2022-03-09 15:26:09",
"products_cat_id": null,
"products_id": "0",
"name": "",
"description": "Text row",
"quantity": "0",
"uom": "1",
"price": "0",
"price_foreign_currency": "0",
"vat": "0",
"tax_id": "0",
"remarks": null,
"deleted": null,
"cat_name": null,
"discount": "0",
"discount_foreign_currency": "0",
"discount_type": "2",
"discount_value": "0"
},
{
"id": "6762",
"is_comment_line": "0",
"is_discount": "1",
"time_stamp_changes": "2022-03-09 15:26:09",
"products_cat_id": null,
"products_id": "0",
"name": "Korting 10%",
"description": "",
"quantity": "0",
"uom": "1",
"price": "-12.04",
"price_foreign_currency": "-10.02",
"vat": "21",
"tax_id": "5",
"remarks": null,
"deleted": null,
"cat_name": null,
"discount": "0",
"discount_foreign_currency": "0",
"discount_type": "2",
"discount_value": "0"
}
]
},
{
"id": "888",
"is_incl_tax": "0",
"offer_number": "2022004",
"subtotal": "108.22",
"project_id": "0",
"project_name": null,
"employees": null,
"offer_total": "130.95",
"offer_invoice_vat": "22.73",
"offer_subtotal": "108.22",
"offer_total_foreign_currency": "109.06",
"offer_vat_foreign_currency": "18.93",
"offer_subtotal_foreign_currency": "90.13",
"offer_currency": "GBP",
"offer_profile_id": "0",
"exchange_rate": "0.83290",
"offer_date": "01-03-2022",
"offer_remark": "Description",
"offer_date_start": "01-01-2017",
"offer_date_end": "01-03-2017",
"offer_discount": 10,
"pending": "0",
"accepted": "0",
"rejected": "0",
"contact_id": "5",
"subcontact_id": "0",
"company": "Demo bedrijf",
"firstname": "Test",
"lastname": "Klant",
"streetname": null,
"housenr": "50",
"zipcode": "1234AB",
"city": "Plaats",
"country": "Nederland",
"country_iso": null,
"box": "",
"box_zip": "",
"box_city": "",
"box_country": null,
"usepobox": "0",
"send_method": "1",
"sent": "1",
"invoiced": "0",
"invoiced_partial": "0",
"printed": "0",
"status": "Verlopen",
"status_color": 3,
"statuses": [
{
"status": "Verlopen",
"status_color": 3
}
],
"ownername": "Demo bedrijf",
"products": [
{
"id": "6702",
"is_comment_line": "0",
"is_discount": "0",
"time_stamp_changes": "2022-03-01 16:30:00",
"products_cat_id": null,
"products_id": "0",
"name": "product1",
"description": "Product1 description",
"quantity": "1",
"uom": "1",
"price": "120.24252611358",
"price_foreign_currency": "100.15",
"vat": "21",
"tax_id": "5",
"remarks": null,
"deleted": null,
"cat_name": null,
"discount": "0",
"discount_foreign_currency": "0",
"discount_type": "2",
"discount_value": "0"
},
{
"id": "6705",
"is_comment_line": "1",
"is_discount": "0",
"time_stamp_changes": "2022-03-01 16:30:00",
"products_cat_id": null,
"products_id": "0",
"name": "",
"description": "Text row",
"quantity": "0",
"uom": "1",
"price": "0",
"price_foreign_currency": "0",
"vat": "0",
"tax_id": "0",
"remarks": null,
"deleted": null,
"cat_name": null,
"discount": "0",
"discount_foreign_currency": "0",
"discount_type": "2",
"discount_value": "0"
},
{
"id": "6708",
"is_comment_line": "0",
"is_discount": "1",
"time_stamp_changes": "2022-03-01 16:30:01",
"products_cat_id": null,
"products_id": "0",
"name": "Korting 10%",
"description": "",
"quantity": "0",
"uom": "1",
"price": "-12.02",
"price_foreign_currency": "-10.02",
"vat": "21",
"tax_id": "5",
"remarks": null,
"deleted": null,
"cat_name": null,
"discount": "0",
"discount_foreign_currency": "0",
"discount_type": "2",
"discount_value": "0"
}
]
}
]
},
"id": "efd",
"error": null
}
|
addAndSendOffer
Methods for add and send offer
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
offer_date_start |
Start date |
string |
01-01-2017 |
Offer date start |
|
offer_date_end |
End date |
string |
01-03-2017 |
Offer date end |
|
offer_discount |
Offer discount |
string |
10 |
Offer discount in % |
|
currency |
Currency |
string |
GBP |
Offer currency |
|
profile_id |
Template profile |
string |
1 |
Offer template profile |
|
documents |
Documents |
array |
array(1,2), |
Array with documents id for attachment |
|
attachments |
Attachments |
array |
array('File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='), |
Array with attachments files: key - file name, value - content in base64 |
|
contact_id |
id |
integer |
100 |
EFD contact id |
|
subcontact_id |
Subcontact id |
integer |
0 |
Extra contact (if not main contact) |
|
notes |
Notes |
string |
Notes |
Offer notes |
|
description |
Description |
string |
Description |
Offer description |
|
products |
Products |
array |
array(array('name'=>'product1','description'=>'Product1 description','quantity'=>1,'uom'=> 2,'price'=>'100,15','discount_type'=> 2,'discount_value'=> 0,'vat'=>21),array('is_comment_line'=>1,'description'=>'Text row')), |
Products array, with similar data as products |
|
products_id |
Products id |
array |
array(17,18), |
Array with products id |
|
products_id (custom) |
Products id |
array |
array(1=>array('quantity' => 2,'description' => 'description test'),2=>array('quantity' => 5)), |
Array with products id and custom values (name,description etc) |
|
products_id (stocks) |
Products id |
array |
array(1=>array('quantity' => 5,'stocks' => array(10 => 1))), |
Array with products id and custom values (name,description etc) |
|
products_groups_id |
Products groups id |
array |
array(1,2,3), |
Array with products categories id |
|
EXAMPLE
Api Call
addAndSendOffer(
array(
'offer_date_start'=>"01-01-2017",
'offer_date_end'=>"01-03-2017",
'offer_discount'=>"10",
'currency'=>"GBP",
'profile_id'=>"1",
'documents'=>array(
1,
2),
,
'attachments'=>array(
'File2.txt' => 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4='),
,
'contact_id'=>"100",
'subcontact_id'=>"0",
'notes'=>"Notes",
'description'=>"Description",
'products'=>array(
array(
'name'=>'product1',
'description'=>'Product1 description',
'quantity'=>1,
'uom'=> 2,
'price'=>'100,
15',
'discount_type'=> 2,
'discount_value'=> 0,
'vat'=>21),
array(
'is_comment_line'=>1,
'description'=>'Text row')),
,
'products_id'=>array(
17,
18),
,
'products_id (
custom)'=>array(
1=>array(
'quantity' => 2,
'description' => 'description test'),
2=>array(
'quantity' => 5)),
,
'products_id (
stocks)'=>array(
1=>array(
'quantity' => 5,
'stocks' => array(
10 => 1))),
,
'products_groups_id'=>array(
1,
2,
3),
)); Api response
Array
(
[status] => sent
[id] => 900
)
Api Call
{
"method": "efd.addandsendoffer",
"jsonrpc": "2.0",
"id": "1646836946",
"params": [
{
"offer_date_start": "01-01-2017",
"offer_date_end": "01-03-2017",
"offer_discount": "10",
"currency": "GBP",
"profile_id": "1",
"documents": [
1,
2
],
"attachments": {
"File2.txt": "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4="
},
"contact_id": "100",
"subcontact_id": "0",
"notes": "Notes",
"description": "Description",
"products": [
{
"name": "product1",
"description": "Product1 description",
"quantity": 1,
"uom": 2,
"price": "100,15",
"discount_type": 2,
"discount_value": 0,
"vat": 21
},
{
"is_comment_line": 1,
"description": "Text row"
}
],
"products_id": [
17,
18
],
"products_id (custom)": {
"1": {
"quantity": 2,
"description": "description test"
},
"2": {
"quantity": 5
}
},
"products_id (stocks)": {
"1": {
"quantity": 5,
"stocks": {
"10": 1
}
}
},
"products_groups_id": [
1,
2,
3
]
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "sent",
"id": "900"
},
"id": "efd",
"error": null
}
|
updateOfferStatus
Methods for update offer status
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD offer id |
Required |
status |
Status |
integer |
2 |
Offer status: 1-Clear status,2-Agree,3-Reject,4-Invoiced,5-Partial Invoiced |
Required |
reason |
Reason Text |
string |
Reason |
Reason Text |
Required |
EXAMPLE
Api Call
updateOfferStatus("100",'status'=>2,"Reason"); Api response
Array
(
[status_id] => 1
[offer_id] => 2
)
Api Call
{
"method": "efd.updateofferstatus",
"jsonrpc": "2.0",
"id": "1646836956",
"params": [
{
"id": "100",
"status": 2,
"reason": "Reason"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status_id": 1,
"offer_id": 2
},
"id": "efd",
"error": null
}
|
|
Incoming
API methods for Incoming
addIncomingInvoice
Methods for add incoming invoice
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
invoice_date |
Invoice date |
string |
01-01-2017 |
Invoice creation date, or start date |
|
invoice_expire_date |
Invoice expire date |
string |
01-03-2017 |
Date when invoice will be expired |
|
contact_id |
id |
integer |
100 |
EFD contact id |
|
currency |
Currency |
string |
GBP |
Invoice currency |
|
cost_center_code |
Cost center code |
integer |
8000 |
Cost center code |
|
products |
Products |
array |
array(array('name'=>'product1','description'=>'Product1 description','quantity'=>1,'uom'=> 2,'price'=>'100,15','vat'=>21),array('is_comment_line'=>1,'description'=>'Text row')), |
Products array, with similar data as products |
|
paid_invoice |
Paid invoice |
int |
1 |
Paid incoming invoice, 0-Not paid,1-Paid, by default 0 |
|
already_paid |
Already paid |
integer |
1 |
Payment method |
|
original_file |
Original invoice file |
base64 |
TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4= |
Original invoice file, allowed extensions (gif,jpg,jpeg,png,pdf,txt,xml) |
|
EXAMPLE
Api Call
addIncomingInvoice(
array(
'invoice_date'=>"01-01-2017",
'invoice_expire_date'=>"01-03-2017",
'contact_id'=>"100",
'currency'=>"GBP",
'cost_center_code'=>"8000",
'products'=>array(
array(
'name'=>'product1',
'description'=>'Product1 description',
'quantity'=>1,
'uom'=> 2,
'price'=>'100,
15',
'vat'=>21),
array(
'is_comment_line'=>1,
'description'=>'Text row')),
,
'paid_invoice'=>"1",
'already_paid'=>"1",
'original_file'=>"TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4=")); Api response
Array
(
[status] => added
[id] => 486
)
Api Call
{
"method": "efd.addincominginvoice",
"jsonrpc": "2.0",
"id": "1646836967",
"params": [
{
"invoice_date": "01-01-2017",
"invoice_expire_date": "01-03-2017",
"contact_id": "100",
"currency": "GBP",
"cost_center_code": "8000",
"products": [
{
"name": "product1",
"description": "Product1 description",
"quantity": 1,
"uom": 2,
"price": "100,15",
"vat": 21
},
{
"is_comment_line": 1,
"description": "Text row"
}
],
"paid_invoice": "1",
"already_paid": "1",
"original_file": "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4="
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "added",
"id": "486"
},
"id": "efd",
"error": null
}
|
editIncomingInvoice
Methods for edit incoming invoice
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
invoice_date |
Invoice date |
string |
01-01-2017 |
Invoice creation date, or start date |
|
invoice_expire_date |
Invoice expire date |
string |
01-03-2017 |
Date when invoice will be expired |
|
contact_id |
id |
integer |
100 |
EFD contact id |
|
currency |
Currency |
string |
GBP |
Invoice currency |
|
cost_center_code |
Cost center code |
integer |
8000 |
Cost center code |
|
products |
Products |
array |
array(array('name'=>'product1','description'=>'Product1 description','quantity'=>1,'uom'=> 2,'price'=>'100,15','vat'=>21),array('is_comment_line'=>1,'description'=>'Text row')), |
Products array, with similar data as products |
|
paid_invoice |
Paid invoice |
int |
1 |
Paid incoming invoice, 0-Not paid,1-Paid, by default 0 |
|
original_file |
Original invoice file |
base64 |
TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4= |
Original invoice file, allowed extensions (gif,jpg,jpeg,png,pdf,txt,xml) |
|
EXAMPLE
Api Call
editIncomingInvoice(
array(
'id'=>"100",
'invoice_date'=>"01-01-2017",
'invoice_expire_date'=>"01-03-2017",
'contact_id'=>"100",
'currency'=>"GBP",
'cost_center_code'=>"8000",
'products'=>array(
array(
'name'=>'product1',
'description'=>'Product1 description',
'quantity'=>1,
'uom'=> 2,
'price'=>'100,
15',
'vat'=>21),
array(
'is_comment_line'=>1,
'description'=>'Text row')),
,
'paid_invoice'=>"1",
'original_file'=>"TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4=")); Api response
Array
(
[status] => edited
[id] => 486
)
Api Call
{
"method": "efd.editincominginvoice",
"jsonrpc": "2.0",
"id": "1646836979",
"params": [
{
"id": "100",
"invoice_date": "01-01-2017",
"invoice_expire_date": "01-03-2017",
"contact_id": "100",
"currency": "GBP",
"cost_center_code": "8000",
"products": [
{
"name": "product1",
"description": "Product1 description",
"quantity": 1,
"uom": 2,
"price": "100,15",
"vat": 21
},
{
"is_comment_line": 1,
"description": "Text row"
}
],
"paid_invoice": "1",
"original_file": "TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gUHJvaW4gc29kYWxlcyBtaSB1dCBudWxsYSBhbGlxdWV0IG1hdHRpcy4gVmVzdGlidWx1bSB0ZW1wb3IgZGlhbSBub24gcmlzdXMgZWxlbWVudHVtLCBzZWQgZGljdHVtIG5pc2kgdGluY2lkdW50LiBTZWQgZWdlc3RhcywgdmVsaXQgdmVsIGNvbW1vZG8gb3JuYXJlLCBsZW8gZXN0IGNvbnZhbGxpcyBtZXR1cywgbm9uIHNjZWxlcmlzcXVlIGxpZ3VsYSBuaXNpIGEgYXJjdS4gTWF1cmlzIHByZXRpdW0gZ3JhdmlkYSBsb3JlbSwgaW4gY3Vyc3VzIG5lcXVlIGZyaW5naWxsYSB1dC4gUGVsbGVudGVzcXVlIG1hbGVzdWFkYSBoZW5kcmVyaXQgdmVsaXQsIGV1IHZhcml1cyBtYWduYSBkYXBpYnVzIGV1LiBDdXJhYml0dXIgYWNjdW1zYW4gbmVxdWUgZWxpdCwgaW4gZWxlaWZlbmQgc2FwaWVuIGFsaXF1YW0gaW4uIE51bmMgZmV1Z2lhdCB0b3J0b3IgYSBleCBhbGlxdWFtIHRlbXB1cy4gU2VkIGVyb3MgbWF1cmlzLCBjb25zZXF1YXQgbmVjIGF1Z3VlIHF1aXMsIGxvYm9ydGlzIGVsZW1lbnR1bSBlcmF0LiBEdWlzIHNpdCBhbWV0IGludGVyZHVtIGRvbG9yLiBBZW5lYW4gaWQgZGFwaWJ1cyBhdWd1ZS4gTG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4="
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "edited",
"id": "486"
},
"id": "efd",
"error": null
}
|
deleteIncomingInvoice
Methods for delete incoming invoice
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
deleteIncomingInvoice("100"); Api response
Array
(
[status] => deleted
[id] => 486
)
Api Call
{
"method": "efd.deleteincominginvoice",
"jsonrpc": "2.0",
"id": "1646836990",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "deleted",
"id": "486"
},
"id": "efd",
"error": null
}
|
getIncomingInvoiceById
Methods for get incoming by id
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
getIncomingInvoiceById("100"); Api response
Array
(
[id] => 2
[is_incl_tax] => 0
[currency] => GBP
[exchange_rate] => 0.85363
[cost_center_code] => 0
[invoice_date] => 19-05-2017
[invoice_expire_date] => 18-06-2017
[invoice_payment_date] => 01-01-2017
[invoice_paid_amount] => 116
[invoice_paid_amount_foreign_currency] => 115.85
[amount_paid_type] => 1
[invoice_total] => 117.15
[invoice_vat] => 0
[invoice_subtotal] => 117.15
[invoice_total_foreign_currency] => 100
[invoice_vat_foreign_currency] => 0
[invoice_subtotal_foreign_currency] => 100
[invoice_number] => 2017001
[incom_number] => 123456789
[contact_id] => 5
[company] => Demo bedrijf
[firstname] => Test
[lastname] => Klant
[streetname] => Straatnaam
[housenr] => 50
[zipcode] => 1234AB
[city] => Plaats
[country] => NL
[box] =>
[box_zip] =>
[box_city] =>
[box_country] => NL
[usepobox] => 0
[deleted] => 1
[ownername] => Demo bedrijf
[file_type] => png
[status] => Deels betaald
[status_color] => 3
[statuses] => Array
(
[0] => Array
(
[status] => Deels betaald
[status_color] => 3
)
)
[products] => Array
(
[0] => Array
(
[id] => 4
[cost_center_code] => 0
[is_comment_line] => 0
[products_id] => 3
[name] => Product 1
[description] => Test product 1
[quantity] => 1
[uom] => 3
[price] => 117.14677319213
[price_foreign_currency] => 100
[vat] => 0
[tax_id] => 1
)
)
)
Api Call
{
"method": "efd.getincominginvoicebyid",
"jsonrpc": "2.0",
"id": "1646837000",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"id": "2",
"is_incl_tax": "0",
"currency": "GBP",
"exchange_rate": "0.85363",
"cost_center_code": 0,
"invoice_date": "19-05-2017",
"invoice_expire_date": "18-06-2017",
"invoice_payment_date": "01-01-2017",
"invoice_paid_amount": "116",
"invoice_paid_amount_foreign_currency": "115.85",
"amount_paid_type": "1",
"invoice_total": "117.15",
"invoice_vat": "0",
"invoice_subtotal": "117.15",
"invoice_total_foreign_currency": "100",
"invoice_vat_foreign_currency": "0",
"invoice_subtotal_foreign_currency": "100",
"invoice_number": "2017001",
"incom_number": "123456789",
"contact_id": "5",
"company": "Demo bedrijf",
"firstname": "Test",
"lastname": "Klant",
"streetname": "Straatnaam",
"housenr": "50",
"zipcode": "1234AB",
"city": "Plaats",
"country": "NL",
"box": "",
"box_zip": "",
"box_city": "",
"box_country": "NL",
"usepobox": 0,
"deleted": "1",
"ownername": "Demo bedrijf",
"file_type": "png",
"status": "Deels betaald",
"status_color": 3,
"statuses": [
{
"status": "Deels betaald",
"status_color": 3
}
],
"products": [
{
"id": "4",
"cost_center_code": 0,
"is_comment_line": "0",
"products_id": "3",
"name": "Product 1",
"description": "Test product 1",
"quantity": "1",
"uom": "3",
"price": "117.14677319213",
"price_foreign_currency": "100",
"vat": "0",
"tax_id": "1"
}
]
},
"id": "efd",
"error": null
}
|
getIncomingInvoicesList
Methods for get incoming list
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
start |
Start |
integer |
0 |
Start from |
|
count |
Count |
integer |
10 |
Max select count |
|
EXAMPLE
Api Call
getIncomingInvoicesList("0","10"); Api response
Array
(
[total_count_in_db] => 7
[results] => Array
(
[0] => Array
(
[id] => 271
[is_incl_tax] => 0
[currency] => EUR
[exchange_rate] => 1
[cost_center_code] => 0
[invoice_date] => 23-07-2018
[invoice_expire_date] => 22-08-2018
[invoice_payment_date] => 0
[invoice_paid_amount] => 0
[invoice_paid_amount_foreign_currency] => 0
[amount_paid_type] => 1
[invoice_total] => 1.21
[invoice_vat] => 0.21
[invoice_subtotal] => 1
[invoice_total_foreign_currency] => 1.21
[invoice_vat_foreign_currency] => 0.21
[invoice_subtotal_foreign_currency] => 1
[invoice_number] =>
[incom_number] => 2018107
[contact_id] => 319
[company] => efddevelopertest
[firstname] =>
[lastname] =>
[streetname] => 43
[housenr] => 43
[zipcode] => 43
[city] => 534
[country] => NL
[box] =>
[box_zip] => 43
[box_city] => 534
[box_country] => NL
[usepobox] => 0
[deleted] => 0
[ownername] => efddevelopertest
[file_type] => pdf
[status] => Concept
[status_color] => 1
[statuses] => Array
(
[0] => Array
(
[status] => Concept
[status_color] => 1
)
)
[products] => Array
(
[0] => Array
(
[id] => 724
[cost_center_code] => 0
[is_comment_line] => 0
[products_id] => 0
[name] => 1
[description] => 1
[quantity] => 1
[uom] => 3
[price] => 1
[price_foreign_currency] => 1
[vat] => 21
[tax_id] => 5
)
)
)
[1] => Array
(
[id] => 265
[is_incl_tax] => 0
[currency] => EUR
[exchange_rate] => 1
[cost_center_code] => 0
[invoice_date] => 23-07-2018
[invoice_expire_date] => 22-08-2018
[invoice_payment_date] => 0
[invoice_paid_amount] => 0
[invoice_paid_amount_foreign_currency] => 0
[amount_paid_type] => 1
[invoice_total] => 1.21
[invoice_vat] => 0.21
[invoice_subtotal] => 1
[invoice_total_foreign_currency] => 1.21
[invoice_vat_foreign_currency] => 0.21
[invoice_subtotal_foreign_currency] => 1
[invoice_number] =>
[incom_number] => 2018107
[contact_id] => 319
[company] => efddevelopertest
[firstname] =>
[lastname] =>
[streetname] => 43
[housenr] => 43
[zipcode] => 43
[city] => 534
[country] => NL
[box] =>
[box_zip] => 43
[box_city] => 534
[box_country] => NL
[usepobox] => 0
[deleted] => 0
[ownername] => efddevelopertest
[file_type] => pdf
[status] => Concept
[status_color] => 1
[statuses] => Array
(
[0] => Array
(
[status] => Concept
[status_color] => 1
)
)
[products] => Array
(
[0] => Array
(
[id] => 718
[cost_center_code] => 0
[is_comment_line] => 0
[products_id] => 0
[name] => 1
[description] => 1
[quantity] => 1
[uom] => 3
[price] => 1
[price_foreign_currency] => 1
[vat] => 21
[tax_id] => 5
)
)
)
)
)
Api Call
{
"method": "efd.getincominginvoiceslist",
"jsonrpc": "2.0",
"id": "1646837011",
"params": [
{
"start": "0",
"count": "10"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"total_count_in_db": "7",
"results": [
{
"id": "271",
"is_incl_tax": "0",
"currency": "EUR",
"exchange_rate": "1",
"cost_center_code": 0,
"invoice_date": "23-07-2018",
"invoice_expire_date": "22-08-2018",
"invoice_payment_date": 0,
"invoice_paid_amount": "0",
"invoice_paid_amount_foreign_currency": "0",
"amount_paid_type": "1",
"invoice_total": "1.21",
"invoice_vat": "0.21",
"invoice_subtotal": "1",
"invoice_total_foreign_currency": "1.21",
"invoice_vat_foreign_currency": "0.21",
"invoice_subtotal_foreign_currency": "1",
"invoice_number": "",
"incom_number": "2018107",
"contact_id": "319",
"company": "efddevelopertest",
"firstname": null,
"lastname": "",
"streetname": "43",
"housenr": "43",
"zipcode": "43",
"city": "534",
"country": "NL",
"box": "",
"box_zip": "43",
"box_city": "534",
"box_country": "NL",
"usepobox": 0,
"deleted": "0",
"ownername": "efddevelopertest",
"file_type": "pdf",
"status": "Concept",
"status_color": 1,
"statuses": [
{
"status": "Concept",
"status_color": 1
}
],
"products": [
{
"id": "724",
"cost_center_code": 0,
"is_comment_line": "0",
"products_id": "0",
"name": "1",
"description": "1",
"quantity": "1",
"uom": "3",
"price": "1",
"price_foreign_currency": "1",
"vat": "21",
"tax_id": "5"
}
]
},
{
"id": "265",
"is_incl_tax": "0",
"currency": "EUR",
"exchange_rate": "1",
"cost_center_code": 0,
"invoice_date": "23-07-2018",
"invoice_expire_date": "22-08-2018",
"invoice_payment_date": 0,
"invoice_paid_amount": "0",
"invoice_paid_amount_foreign_currency": "0",
"amount_paid_type": "1",
"invoice_total": "1.21",
"invoice_vat": "0.21",
"invoice_subtotal": "1",
"invoice_total_foreign_currency": "1.21",
"invoice_vat_foreign_currency": "0.21",
"invoice_subtotal_foreign_currency": "1",
"invoice_number": "",
"incom_number": "2018107",
"contact_id": "319",
"company": "efddevelopertest",
"firstname": null,
"lastname": "",
"streetname": "43",
"housenr": "43",
"zipcode": "43",
"city": "534",
"country": "NL",
"box": "",
"box_zip": "43",
"box_city": "534",
"box_country": "NL",
"usepobox": 0,
"deleted": "0",
"ownername": "efddevelopertest",
"file_type": "pdf",
"status": "Concept",
"status_color": 1,
"statuses": [
{
"status": "Concept",
"status_color": 1
}
],
"products": [
{
"id": "718",
"cost_center_code": 0,
"is_comment_line": "0",
"products_id": "0",
"name": "1",
"description": "1",
"quantity": "1",
"uom": "3",
"price": "1",
"price_foreign_currency": "1",
"vat": "21",
"tax_id": "5"
}
]
}
]
},
"id": "efd",
"error": null
}
|
getOriginalIncomingInvoice
Methods for get original incoming invoice file
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
getOriginalIncomingInvoice("100"); Api response
Array
(
[status] => done
[content] => iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAACoFBMVEUAAAAGAP8GAf8HAv8IA/8JBP8KBf8LBv8MB/8NCP8OCf8PCv8QC/8RDP8SDf8TDv8UD/8VEP8WEf8XEv8YE/8ZFP8aFf8bFv...
[type] => png
)
Api Call
{
"method": "efd.getoriginalincominginvoice",
"jsonrpc": "2.0",
"id": "1646837022",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "done",
"content": "iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAACoFBMVEUAAAAGAP8GAf8HAv8IA\/8JBP8KBf8LBv8MB\/8NCP8OCf8PCv8QC\/8RDP8SDf8TDv8UD\/8VEP8WEf8XEv8YE\/8ZFP8aFf8bFv...",
"type": "png"
},
"id": "efd",
"error": null
}
|
getPaymentInfoOfIncoming
Methods for get payment info of incoming
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
EXAMPLE
Api Call
getPaymentInfoOfIncoming("100"); Api response
Array
(
[paid_amount] => 116.00
[invoice_amount] => 117.15
[paid_amount_foreign_currency] => 115.85
[invoice_amount_foreign_currency] => 100.00
[status] => 2
)
Api Call
{
"method": "efd.getpaymentinfoofincoming",
"jsonrpc": "2.0",
"id": "1646837032",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"paid_amount": "116.00",
"invoice_amount": "117.15",
"paid_amount_foreign_currency": "115.85",
"invoice_amount_foreign_currency": "100.00",
"status": "2"
},
"id": "efd",
"error": null
}
|
updateIncomingPayment
Methods for update incoming payment
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
id |
integer |
100 |
EFD invoice id |
Required |
status |
Status |
array |
1 |
0-Auto, 1-Reset, 2-Paid, 3-Part paid |
|
date |
Date |
string |
01-01-2017 |
Date, using only for status paid, not mandatory. if does not exist, then set current date |
|
amount |
Amount |
string |
702.43 |
Paid amount, using only for status paid, not mandatory if does not exist paid amount = total |
|
method |
Method |
string |
1 |
Payment method id |
|
amount_foreign_currency |
Amount foreign currency |
string |
1 |
Amount in foreign currency |
|
EXAMPLE
Api Call
updateIncomingPayment(
array(
'id'=>"100",
'status'=>"1",
'date'=>"01-01-2017",
'amount'=>"702.43",
'method'=>"1",
'amount_foreign_currency'=>"1")); Api response
Array
(
[status] => 1
[payment_status] => 3
)
Api Call
{
"method": "efd.updateincomingpayment",
"jsonrpc": "2.0",
"id": "1646837043",
"params": [
{
"id": "100",
"status": "1",
"date": "01-01-2017",
"amount": "702.43",
"method": "1",
"amount_foreign_currency": "1"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": 1,
"payment_status": 3
},
"id": "efd",
"error": null
}
|
|
Subdomains
API methods for Subdomains
attachSubdomain
Methods for attach subdomain
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
subdomain |
Subdomain |
string |
subdomain |
EFD subdomain |
Required |
login |
Login |
string |
login |
EFD login |
Required |
api_key |
Api key |
string |
efd-api-key |
EFD api key. Api need to be enabled if you want to use it! |
Required |
EXAMPLE
Api Call
attachSubdomain(
array(
'subdomain'=>"subdomain",
'login'=>"login",
'api_key'=>"efd-api-key")); Api response
Array
(
[status] => Attached
[id] => 213
)
Api Call
{
"method": "efd.attachsubdomain",
"jsonrpc": "2.0",
"id": "1646837053",
"params": [
{
"subdomain": "subdomain",
"login": "login",
"api_key": "efd-api-key"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"status": "Attached",
"id": "213"
},
"id": "efd",
"error": null
}
|
getAttachedSubdomains
Methods for get attached subdomains
EXAMPLE
Api Call
getAttachedSubdomains(); Api response
Array
(
[0] => Array
(
[id] => 213
[base_domain] => efactuurdirect.nl
[subdomain] => efddevelopertest
[login] => efddevelopertest
[api_key] => 6Kf3vf)kP5nj*$
[company] => efddevelopertest
[firstname] => efddevelopertest
[lastname] => efddevelopertest
[email] => [email protected]
)
)
Api Call
{
"method": "efd.getattachedsubdomains",
"jsonrpc": "2.0",
"id": "1646837064",
"params": [
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": [
{
"id": "213",
"base_domain": "efactuurdirect.nl",
"subdomain": "efddevelopertest",
"login": "efddevelopertest",
"api_key": "6Kf3vf)kP5nj*$",
"company": "efddevelopertest",
"firstname": "efddevelopertest",
"lastname": "efddevelopertest",
"email": "[email protected]"
}
],
"id": "efd",
"error": null
}
|
detachSubdomain
Methods for detach subdomain
Attribute |
General Description |
Type |
Example value |
Description |
Required Field |
id |
Attached subdomain id |
integer |
100 |
Attached subdomain id |
Required |
EXAMPLE
Api Call
detachSubdomain("100"); Api response
Array
(
[Code] => 0
[success] => success
)
Api Call
{
"method": "efd.detachsubdomain",
"jsonrpc": "2.0",
"id": "1646837074",
"params": [
{
"id": "100"
},
{
"login": "[email protected]",
"key": "efd-api-key"
}
]
} Api response
{
"result": {
"Code": "0",
"success": "success"
},
"id": "efd",
"error": null
}
|
|