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

  • PHP >= 5.2
  • cURL

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

validateEmailFormat

Methods for validate email format

Attribute General Description Type Example value Description Required Field
email Email string [email protected] Valid Email
contact_id id integer 100 EFD contact id

EXAMPLE

Api Call

validateEmailFormat("[email protected]","100");                                                        

Api response

Array
(
    [Code] => 0
    [success] => success
    [unique] => 1
)
                                                        

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
        )

)
                                                        

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
)
                                                        

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
)
                                                        

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
        )

)
                                                        

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
        )

)
                                                        

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
        )

)
                                                        

getPaymentMethods

Methods for get payment methods

EXAMPLE

Api Call

getPaymentMethods();                                                        

Api response

Array
(
    [3] => Bank
    [5] => Contant
    [7] => iDEAL
    [9] => Incasso
)
                                                        

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 )
        )

)
                                                        

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
                )

        )

)
                                                        

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
        )

)
                                                        

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
        )

)
                                                        

Contact

API methods for Contact

validateContact

Methods for validate contact data

Attribute General Description Type Example value Description Required Field
salutation Gender integer 0 0-Unknown, 1-Male, 2-Female
email Email string [email protected] Valid Email
firstname Firstname string Firstname Min length 1, max length 255
lastname Lastname string Lastname Min length 1, max length 255
company Company Name string Company Max length 255
phone Phone number string 012-3456789 Max length 255
fax Fax string 012-3456789 Max length 255
mobile Mobile string 012-3456789 Max length 255
department Department Name string department name Max length 255
zip ZIP Code string 1234AB Max length 100
housenr House number string 1 Min length 1, max length 20
street Street name string street name Min length 2, max length 100
city City string city Min length 2, max length 100
country Country code string NL ISO 3166-1 alpha-2
box_zip Postbus ZIP code string 4321AB Max length 100
box Postbus string Postbus Max length 255
box_city Postbus city string Postbus City Max length 100
box_country Postbus Country code string NL ISO 3166-1 alpha-2
vat VAT Number string NL999999999B99 Has to be real VAT, max length 50
coc Chamber Of Commerce string 53755456 max length 50
contact_number Custom contact number string 0 max length 50
debtor Debtor integer 1 0-False,1-TRUE
creditor Creditor integer 1 0-False,1-TRUE
bank_account_name Account Name string Account name max length 255
bank Bank Number string Bank Number Has to be real bank number, max length 255
send_method Send Method integer 1 0-Post(Print), 1-Email
inform Send welcome mail integer 1 0-NO, 1-YES
usepobox Use pobox integer 1 0-false, 1-true
description Description text Some description Some description of contact
vat_shifted VAT shifted integer 0 0-NO, 1-YES
invoices_cc_email CC for invoices text [email protected] Valid Email
offers_cc_email CC for offers text [email protected] Valid Email
direct_debit Automatic incasso integer 0 0-No, 1-All invoices, 2-All normal invoices, 3-All recurring invoices
access Contact access level integer 0 0-No, 1-All invoices, 2-All normal invoices, 3-All recurring invoices
discount Contact discount string 10 Contact discount in %, is not mandatory
pay_days Days for payment invoice integer 5 Days for payment invoice for contact, is not mandatory, if not set (empty value) using payment days from settings
invoices_cost_center_code Invoices cost center code integer 8000 Default cost center code for invoice of this client
incoming_cost_center_code Incoming invoices cost center code integer 4010 Default cost center code for incoming invoice of this client
invoices_already_paid Already paid integer 1 Payment method for invoice of this client
incoming_already_paid Already paid integer 1 Payment method for incoming invoice of this client
extra_contacts Extra Contact array array(array('salutation'=>0,'firstname'=>'firstname extra1','lastname'=>'lastname extra1','department'=>'department extra1','phone'=>'072-7501608','mobile'=> '072-7501607','fax'=> '072-7501604','send_method' => 1,'groups'=> array(1,2,3),'email'=>'[email protected]','access'=> 1,'inform'=> 1),), array with similar data as contact
custom_fields Custom fields array array('c_twitter' => 'https://www.facebook.com/efactuurdirect/','c_facebook' => 'https://twitter.com/efactuurdirect'), array with custom fields
currency Currency string USD Default currency of this client. Available for Pro pakket
profile_id Template profile string 1 Default template profile of this client. Available for Pro pakket
direct_debit_mandate Mandate string 123456789 Direct debit mandate
invoice_receiver Invoice receiver bool 1 Default invoice reciver
offer_receiver Offer receiver bool 1 Default offer reciver

EXAMPLE

Api Call

validateContact(
array(
'salutation'=>"0",
'email'=>"[email protected]",
'firstname'=>"Firstname",
'lastname'=>"Lastname",
'company'=>"Company",
'phone'=>"012-3456789",
'fax'=>"012-3456789",
'mobile'=>"012-3456789",
'department'=>"department name",
'zip'=>"1234AB",
'housenr'=>"1",
'street'=>"street name",
'city'=>"city",
'country'=>"NL",
'box_zip'=>"4321AB",
'box'=>"Postbus",
'box_city'=>"Postbus City",
'box_country'=>"NL",
'vat'=>"NL999999999B99",
'coc'=>"53755456",
'contact_number'=>"0",
'debtor'=>"1",
'creditor'=>"1",
'bank_account_name'=>"Account name",
'bank'=>"Bank Number",
'send_method'=>"1",
'inform'=>"1",
'usepobox'=>"1",
'description'=>"Some description",
'vat_shifted'=>"0",
'invoices_cc_email'=>"[email protected]",
'offers_cc_email'=>"[email protected]",
'direct_debit'=>"0",
'access'=>"0",
'discount'=>"10",
'pay_days'=>"5",
'invoices_cost_center_code'=>"8000",
'incoming_cost_center_code'=>"4010",
'invoices_already_paid'=>"1",
'incoming_already_paid'=>"1",
'extra_contacts'=>array(
array(
'salutation'=>0,
'firstname'=>'firstname extra1',
'lastname'=>'lastname extra1',
'department'=>'department extra1',
'phone'=>'072-7501608',
'mobile'=> '072-7501607',
'fax'=> '072-7501604',
'send_method' => 1,
'groups'=> array(
1,
2,
3),
'email'=>'[email protected]',
'access'=> 1,
'inform'=> 1),
),
,
'custom_fields'=>array(
'c_twitter'  => 'https://www.facebook.com/efactuurdirect/',
'c_facebook' => 'https://twitter.com/efactuurdirect'),
,
'currency'=>"USD",
'profile_id'=>"1",
'direct_debit_mandate'=>"123456789",
'invoice_receiver'=>"1",
'offer_receiver'=>"1"));                                                        

Api response

Array
(
    [Code] => 0
    [success] => success
)
                                                        

addContact

Methods for add contact

Attribute General Description Type Example value Description Required Field
salutation Gender integer 0 0-Unknown, 1-Male, 2-Female
email Email string [email protected] Valid Email
firstname Firstname string Firstname Min length 1, max length 255
lastname Lastname string Lastname Min length 1, max length 255
company Company Name string Company Max length 255
phone Phone number string 012-3456789 Max length 255
fax Fax string 012-3456789 Max length 255
mobile Mobile string 012-3456789 Max length 255
department Department Name string department name Max length 255
zip ZIP Code string 1234AB Max length 100
housenr House number string 1 Min length 1, max length 20
street Street name string street name Min length 2, max length 100
city City string city Min length 2, max length 100
country Country code string NL ISO 3166-1 alpha-2
box_zip Postbus ZIP code string 4321AB Max length 100
box Postbus string Postbus Max length 255
box_city Postbus city string Postbus City Max length 100
box_country Postbus Country code string NL ISO 3166-1 alpha-2
vat VAT Number string NL999999999B99 Has to be real VAT, max length 50
coc Chamber Of Commerce string 53755456 max length 50
contact_number Custom contact number string 0 max length 50
debtor Debtor integer 1 0-False,1-TRUE
creditor Creditor integer 1 0-False,1-TRUE
bank_account_name Account Name string Account name max length 255
bank Bank Number string Bank Number Has to be real bank number, max length 255
send_method Send Method integer 1 0-Post(Print), 1-Email
inform Send welcome mail integer 1 0-NO, 1-YES
usepobox Use pobox integer 1 0-false, 1-true
description Description text Some description Some description of contact
vat_shifted VAT shifted integer 0 0-NO, 1-YES
invoices_cc_email CC for invoices text [email protected] Valid Email
offers_cc_email CC for offers text [email protected] Valid Email
direct_debit Automatic incasso integer 0 0-No, 1-All invoices, 2-All normal invoices, 3-All recurring invoices
access Contact access level integer 0 0-No, 1-All invoices, 2-All normal invoices, 3-All recurring invoices
discount Contact discount string 10 Contact discount in %, is not mandatory
pay_days Days for payment invoice integer 5 Days for payment invoice for contact, is not mandatory, if not set (empty value) using payment days from settings
invoices_cost_center_code Invoices cost center code integer 8000 Default cost center code for invoice of this client
incoming_cost_center_code Incoming invoices cost center code integer 4010 Default cost center code for incoming invoice of this client
invoices_already_paid Already paid integer 1 Payment method for invoice of this client
incoming_already_paid Already paid integer 1 Payment method for incoming invoice of this client
extra_contacts Extra Contact array array(array('salutation'=>0,'firstname'=>'firstname extra1','lastname'=>'lastname extra1','department'=>'department extra1','phone'=>'072-7501608','mobile'=> '072-7501607','fax'=> '072-7501604','send_method' => 1,'groups'=> array(1,2,3),'email'=>'[email protected]','access'=> 1,'inform'=> 1),), array with similar data as contact
custom_fields Custom fields array array('c_twitter' => 'https://www.facebook.com/efactuurdirect/','c_facebook' => 'https://twitter.com/efactuurdirect'), array with custom fields
currency Currency string USD Default currency of this client. Available for Pro pakket
profile_id Template profile string 1 Default template profile of this client. Available for Pro pakket
direct_debit_mandate Mandate string 123456789 Direct debit mandate
invoice_receiver Invoice receiver bool 1 Default invoice reciver
offer_receiver Offer receiver bool 1 Default offer reciver

EXAMPLE

Api Call

addContact(
array(
'salutation'=>"0",
'email'=>"[email protected]",
'firstname'=>"Firstname",
'lastname'=>"Lastname",
'company'=>"Company",
'phone'=>"012-3456789",
'fax'=>"012-3456789",
'mobile'=>"012-3456789",
'department'=>"department name",
'zip'=>"1234AB",
'housenr'=>"1",
'street'=>"street name",
'city'=>"city",
'country'=>"NL",
'box_zip'=>"4321AB",
'box'=>"Postbus",
'box_city'=>"Postbus City",
'box_country'=>"NL",
'vat'=>"NL999999999B99",
'coc'=>"53755456",
'contact_number'=>"0",
'debtor'=>"1",
'creditor'=>"1",
'bank_account_name'=>"Account name",
'bank'=>"Bank Number",
'send_method'=>"1",
'inform'=>"1",
'usepobox'=>"1",
'description'=>"Some description",
'vat_shifted'=>"0",
'invoices_cc_email'=>"[email protected]",
'offers_cc_email'=>"[email protected]",
'direct_debit'=>"0",
'access'=>"0",
'discount'=>"10",
'pay_days'=>"5",
'invoices_cost_center_code'=>"8000",
'incoming_cost_center_code'=>"4010",
'invoices_already_paid'=>"1",
'incoming_already_paid'=>"1",
'extra_contacts'=>array(
array(
'salutation'=>0,
'firstname'=>'firstname extra1',
'lastname'=>'lastname extra1',
'department'=>'department extra1',
'phone'=>'072-7501608',
'mobile'=> '072-7501607',
'fax'=> '072-7501604',
'send_method' => 1,
'groups'=> array(
1,
2,
3),
'email'=>'[email protected]',
'access'=> 1,
'inform'=> 1),
),
,
'custom_fields'=>array(
'c_twitter'  => 'https://www.facebook.com/efactuurdirect/',
'c_facebook' => 'https://twitter.com/efactuurdirect'),
,
'currency'=>"USD",
'profile_id'=>"1",
'direct_debit_mandate'=>"123456789",
'invoice_receiver'=>"1",
'offer_receiver'=>"1"));                                                        

Api response

Array
(
    [status] => added
    [id] => 603
)
                                                        

updateContact

Methods for update contact

Attribute General Description Type Example value Description Required Field
id id integer 100 EFD contact id Required
salutation Gender integer 0 0-Unknown, 1-Male, 2-Female
email Email string [email protected] Valid Email
firstname Firstname string Firstname Min length 1, max length 255
lastname Lastname string Lastname Min length 1, max length 255
company Company Name string Company Max length 255
phone Phone number string 012-3456789 Max length 255
fax Fax string 012-3456789 Max length 255
mobile Mobile string 012-3456789 Max length 255
department Department Name string department name Max length 255
zip ZIP Code string 1234AB Max length 100
housenr House number string 1 Min length 1, max length 20
street Street name string street name Min length 2, max length 100
city City string city Min length 2, max length 100
country Country code string NL ISO 3166-1 alpha-2
box_zip Postbus ZIP code string 4321AB Max length 100
box Postbus string Postbus Max length 255
box_city Postbus city string Postbus City Max length 100
box_country Postbus Country code string NL ISO 3166-1 alpha-2
vat VAT Number string NL999999999B99 Has to be real VAT, max length 50
coc Chamber Of Commerce string 53755456 max length 50
contact_number Custom contact number string 0 max length 50
debtor Debtor integer 1 0-False,1-TRUE
creditor Creditor integer 1 0-False,1-TRUE
bank_account_name Account Name string Account name max length 255
bank Bank Number string Bank Number Has to be real bank number, max length 255
send_method Send Method integer 1 0-Post(Print), 1-Email
inform Send welcome mail integer 1 0-NO, 1-YES
usepobox Use pobox integer 1 0-false, 1-true
description Description text Some description Some description of contact
vat_shifted VAT shifted integer 0 0-NO, 1-YES
invoices_cc_email CC for invoices text [email protected] Valid Email
offers_cc_email CC for offers text [email protected] Valid Email
direct_debit Automatic incasso integer 0 0-No, 1-All invoices, 2-All normal invoices, 3-All recurring invoices
access Contact access level integer 0 0-No, 1-All invoices, 2-All normal invoices, 3-All recurring invoices
discount Contact discount string 10 Contact discount in %, is not mandatory
pay_days Days for payment invoice integer 5 Days for payment invoice for contact, is not mandatory, if not set (empty value) using payment days from settings
invoices_cost_center_code Invoices cost center code integer 8000 Default cost center code for invoice of this client
incoming_cost_center_code Incoming invoices cost center code integer 4010 Default cost center code for incoming invoice of this client
invoices_already_paid Already paid integer 1 Payment method for invoice of this client
incoming_already_paid Already paid integer 1 Payment method for incoming invoice of this client
extra_contacts Extra Contact array array(array('salutation'=>0,'firstname'=>'firstname extra1','lastname'=>'lastname extra1','department'=>'department extra1','phone'=>'072-7501608','mobile'=> '072-7501607','fax'=> '072-7501604','send_method' => 1,'groups'=> array(1,2,3),'email'=>'[email protected]','access'=> 1,'inform'=> 1),), array with similar data as contact
custom_fields Custom fields array array('c_twitter' => 'https://www.facebook.com/efactuurdirect/','c_facebook' => 'https://twitter.com/efactuurdirect'), array with custom fields
currency Currency string USD Default currency of this client. Available for Pro pakket
profile_id Template profile string 1 Default template profile of this client. Available for Pro pakket
direct_debit_mandate Mandate string 123456789 Direct debit mandate
invoice_receiver Invoice receiver bool 1 Default invoice reciver
offer_receiver Offer receiver bool 1 Default offer reciver

EXAMPLE

Api Call

updateContact(
array(
'id'=>"100",
'salutation'=>"0",
'email'=>"[email protected]",
'firstname'=>"Firstname",
'lastname'=>"Lastname",
'company'=>"Company",
'phone'=>"012-3456789",
'fax'=>"012-3456789",
'mobile'=>"012-3456789",
'department'=>"department name",
'zip'=>"1234AB",
'housenr'=>"1",
'street'=>"street name",
'city'=>"city",
'country'=>"NL",
'box_zip'=>"4321AB",
'box'=>"Postbus",
'box_city'=>"Postbus City",
'box_country'=>"NL",
'vat'=>"NL999999999B99",
'coc'=>"53755456",
'contact_number'=>"0",
'debtor'=>"1",
'creditor'=>"1",
'bank_account_name'=>"Account name",
'bank'=>"Bank Number",
'send_method'=>"1",
'inform'=>"1",
'usepobox'=>"1",
'description'=>"Some description",
'vat_shifted'=>"0",
'invoices_cc_email'=>"[email protected]",
'offers_cc_email'=>"[email protected]",
'direct_debit'=>"0",
'access'=>"0",
'discount'=>"10",
'pay_days'=>"5",
'invoices_cost_center_code'=>"8000",
'incoming_cost_center_code'=>"4010",
'invoices_already_paid'=>"1",
'incoming_already_paid'=>"1",
'extra_contacts'=>array(
array(
'salutation'=>0,
'firstname'=>'firstname extra1',
'lastname'=>'lastname extra1',
'department'=>'department extra1',
'phone'=>'072-7501608',
'mobile'=> '072-7501607',
'fax'=> '072-7501604',
'send_method' => 1,
'groups'=> array(
1,
2,
3),
'email'=>'[email protected]',
'access'=> 1,
'inform'=> 1),
),
,
'custom_fields'=>array(
'c_twitter'  => 'https://www.facebook.com/efactuurdirect/',
'c_facebook' => 'https://twitter.com/efactuurdirect'),
,
'currency'=>"USD",
'profile_id'=>"1",
'direct_debit_mandate'=>"123456789",
'invoice_receiver'=>"1",
'offer_receiver'=>"1"));                                                        

Api response

Array
(
    [status] => updated
    [id] => 603
)
                                                        

deleteContact

Methods for delete contact

Attribute General Description Type Example value Description Required Field
id id integer 100 EFD contact id Required

EXAMPLE

Api Call

deleteContact("100");                                                        

Api response

Array
(
    [Code] => 0
    [success] => success
)
                                                        

getContactByID

Methods for get contact by id

Attribute General Description Type Example value Description Required Field
id id integer 100 EFD contact id Required

EXAMPLE

Api Call

getContactByID("100");                                                        

Api response

Array
(
    [id] => 5
    [salutation] => 0
    [firstname] => Test
    [lastname] => Klant
    [department] => 
    [email] => [email protected]
    [invoices_cc_email] => 
    [offers_cc_email] => 
    [phone] => 
    [mobile] => 
    [fax] => 
    [send_method] => 1
    [user_name] => [email protected]
    [username] => [email protected]
    [groups] => Array
        (
        )

    [custom_fields] => Array
        (
        )

    [access] => 2
    [del] => 0
    [company] => Demo bedrijf
    [zipcode] => 1234AB
    [housenr] => 50
    [streetname] => Straatnaam
    [city] => Plaats
    [country] => NL
    [box_zip] => 
    [box] => 
    [box_city] => 
    [box_country] => NL
    [vat_client] => NL811086650B01
    [coc] => 40680110
    [client_number] => 100500
    [debtor] => 1
    [creditor] => 1
    [bank_account] => NL31INGB0000000432
    [bank_account_name] => 42342
    [direct_debit_mandate] => 
    [usepobox] => 
    [description] => 
    [vat_shifted] => 0
    [direct_debit] => 0
    [discount] => 0
    [pay_days] => 
    [profile_id] => 1
    [currency] => EUR
    [invoices_cost_center_code] => 0
    [incoming_cost_center_code] => 0
    [invoices_already_paid] => 0
    [incoming_already_paid] => 0
)
                                                        

getContactIdByLogin

Methods for get contact id by login name (email)

Attribute General Description Type Example value Description Required Field
username Email string [email protected] Valid Email

EXAMPLE

Api Call

getContactIdByLogin("[email protected]");                                                        

Api response

Array
(
    [id] => 3
)
                                                        

getContactIdByContactNumber

Methods for get contact id by contact number

Attribute General Description Type Example value Description Required Field
contact_number Custom contact number string 0 max length 50

EXAMPLE

Api Call

getContactIdByContactNumber("0");                                                        

Api response

5                                                        

getContactsList

Methods for get contact 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

getContactsList("0","10");                                                        

Api response

Array
(
    [server_time] => 1646836457
    [total_count_in_db] => 12
    [results] => Array
        (
            [0] => Array
                (
                    [id] => 5
                    [salutation] => 0
                    [firstname] => Test
                    [lastname] => Klant
                    [department] => 
                    [email] => [email protected]
                    [invoices_cc_email] => 
                    [offers_cc_email] => 
                    [phone] => 
                    [mobile] => 
                    [fax] => 
                    [send_method] => 1
                    [user_name] => [email protected]
                    [username] => [email protected]
                    [groups] => Array
                        (
                        )

                    [custom_fields] => Array
                        (
                        )

                    [access] => 2
                    [del] => 0
                    [company] => Demo bedrijf
                    [zipcode] => 1234AB
                    [housenr] => 50
                    [streetname] => Straatnaam
                    [city] => Plaats
                    [country] => NL
                    [box_zip] => 
                    [box] => 
                    [box_city] => 
                    [box_country] => NL
                    [vat_client] => NL811086650B01
                    [coc] => 40680110
                    [client_number] => 100500
                    [debtor] => 1
                    [creditor] => 1
                    [bank_account] => NL31INGB0000000432
                    [bank_account_name] => 42342
                    [direct_debit_mandate] => 
                    [usepobox] => 
                    [description] => 
                    [vat_shifted] => 0
                    [direct_debit] => 0
                    [discount] => 0
                    [pay_days] => 
                    [profile_id] => 1
                    [currency] => EUR
                    [invoices_cost_center_code] => 0
                    [incoming_cost_center_code] => 0
                    [invoices_already_paid] => 0
                    [incoming_already_paid] => 0
                )

            [1] => Array
                (
                    [id] => 145
                    [salutation] => 0
                    [firstname] => 
                    [lastname] => 
                    [department] => 
                    [email] => [email protected]
                    [invoices_cc_email] => 
                    [offers_cc_email] => 
                    [phone] => 53434
                    [mobile] => 
                    [fax] => 
                    [send_method] => 1
                    [user_name] => [email protected]
                    [username] => [email protected]
                    [groups] => Array
                        (
                        )

                    [custom_fields] => Array
                        (
                        )

                    [access] => 0
                    [del] => 0
                    [company] => efddevelopertest
                    [zipcode] => 
                    [housenr] => 43
                    [streetname] => 43
                    [city] => 
                    [country] => NL
                    [box_zip] => 
                    [box] => 
                    [box_city] => 
                    [box_country] => NL
                    [vat_client] => 
                    [coc] => 
                    [client_number] => 
                    [debtor] => 0
                    [creditor] => 1
                    [bank_account] => 
                    [bank_account_name] => 
                    [direct_debit_mandate] => 
                    [usepobox] => 
                    [description] => 
                    [vat_shifted] => 0
                    [direct_debit] => 0
                    [discount] => 0
                    [pay_days] => 
                    [profile_id] => 0
                    [currency] => EUR
                    [invoices_cost_center_code] => 0
                    [incoming_cost_center_code] => 0
                    [invoices_already_paid] => 0
                    [incoming_already_paid] => 0
                )

        )

)
                                                        

getContactGroupsList

Methods for get contact groups 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

getContactGroupsList("0","10");                                                        

Api response

Array
(
    [0] => Array
        (
            [id] => 1
            [position] => 0
            [delited] => 0
            [name] => Demo groep
            [count_contacts] => 0
        )

    [1] => Array
        (
            [id] => 5
            [position] => 1
            [delited] => 0
            [name] => All clients
            [count_contacts] => 0
        )

    [2] => Array
        (
            [id] => 8
            [position] => 2
            [delited] => 0
            [name] => All clients - companies
            [count_contacts] => 0
        )

    [3] => Array
        (
            [id] => 11
            [position] => 3
            [delited] => 0
            [name] => All clients - private persons
            [count_contacts] => 0
        )

    [4] => Array
        (
            [id] => 14
            [position] => 4
            [delited] => 0
            [name] => All suppliers
            [count_contacts] => 0
        )

)
                                                        

searchContact

Methods for search contact

Attribute General Description Type Example value Description Required Field
filter Filter array array('firstname'=>'Test','lastname'=>'Klant') Filter for searchContact()
orand OR/AND Filter integer 0 0-AND, 1-OR. By default 0.

EXAMPLE

Api Call

searchContact(array('firstname'=>'Test','lastname'=>'Klant'),"0");                                                        

Api response

Array
(
    [results] => Array
        (
            [0] => Array
                (
                    [id] => 3
                    [salutation] => 1
                    [firstname] => efddevelopertestphp
                    [lastname] => efddevelopertestphp
                    [department] => 
                    [email] => [email protected]
                    [invoices_cc_email] => 
                    [offers_cc_email] => 
                    [phone] => 072 - 750 1603
                    [mobile] => 
                    [fax] => 
                    [send_method] => 1
                    [user_name] => [email protected]
                    [username] => [email protected]
                    [groups] => 
                    [custom_fields] => 
                    [access] => 0
                    [del] => 0
                    [company] => efddevelopertestphp
                    [zipcode] => 1812 PA
                    [housenr] => 2
                    [streetname] => Salomonstraat
                    [city] => Alkmaar
                    [country] => NL
                    [box_zip] => 
                    [box] => 
                    [box_city] => 
                    [box_country] => NL
                    [vat_client] => 
                    [coc] => 53755456
                    [client_number] => 
                    [debtor] => 1
                    [creditor] => 0
                    [bank_account] => NL12RABO0143294156
                    [bank_account_name] => HostingStunter
                    [direct_debit_mandate] => 
                    [usepobox] => 
                    [description] => 
                    [vat_shifted] => 0
                    [direct_debit] => 0
                    [discount] => 0
                    [pay_days] => 
                    [profile_id] => 0
                    [currency] => EUR
                    [invoices_cost_center_code] => 0
                    [incoming_cost_center_code] => 0
                    [invoices_already_paid] => 0
                    [incoming_already_paid] => 0
                )

        )

)
                                                        

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
)
                                                        

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
)
                                                        

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
)
                                                        

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
                (
                )

        )

)
                                                        

getProductsGroupsList

Methods for get products groups list

EXAMPLE

Api Call

getProductsGroupsList();                                                        

Api response

Array
(
    [0] => Array
        (
            [id] => 2
            [name] => TestGroup
        )

)
                                                        

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
                (
                )

        )

)
                                                        

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
)
                                                        

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")
)
                                                        

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

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
)
                                                                

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
)
                                                        

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
)
                                                        

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
)
                                                        

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
)
                                                        

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
)
                                                        

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)
)
                                                        

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...
)
                                                        

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
                )

        )

)
                                                        

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
                )

        )

)
                                                        

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
)
                                                        

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
)
                                                        

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
                                )

                        )

                )

        )

)
                                                        

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
        )

)
                                                        

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
        )

)
                                                        

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...
)
                                                        

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
)
                                                        

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
)
                                                        

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
                )

        )

)
                                                        

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
        )

)
                                                        

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
        )

)
                                                        

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==                                                        

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...
)
                                                        

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
)
                                                        

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
)
                                                        

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
)
                                                        

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
)
                                                        

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
)
                                                        

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...
)
                                                        

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
                )

        )

)
                                                        

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
)
                                                        

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
                                )

                        )

                )

        )

)
                                                        

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
)
                                                        

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
)
                                                        

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
)
                                                        

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
)
                                                        

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
)
                                                        

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
                )

        )

)
                                                        

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
                                )

                        )

                )

        )

)
                                                        

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
)
                                                        

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
)
                                                        

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
)
                                                        

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
)
                                                        

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]
        )

)
                                                        

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
)