PHPackages                             btjsteens/eboekhouden - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. btjsteens/eboekhouden

ActiveLibrary[API Development](/categories/api)

btjsteens/eboekhouden
=====================

PHP Wrapper for eBoekhouden SOAP server. Fork of bobkosse/eBoekhouden with some bugfixes and extra features.

v1.0.7(6y ago)0988↓39.2%MITPHPPHP &gt;=7.0.0

Since Jul 20Pushed 6y agoCompare

[ Source](https://github.com/btjsteens/eBoekhoudenApi)[ Packagist](https://packagist.org/packages/btjsteens/eboekhouden)[ RSS](/packages/btjsteens-eboekhouden/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (2)Versions (10)Used By (0)

PHP Wrapper for eBoekhouden SOAP server
=======================================

[](#php-wrapper-for-eboekhouden-soap-server)

This package makes it easy to connect to your eBoekhouden Accounting system. This is forked project. Much of the work has been done by the original authors and contributors.

Disclaimer
----------

[](#disclaimer)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

API Documentation
-----------------

[](#api-documentation)

The implementation is based on the E-Boekhouden SOAP documentation found here: [https://secure.e-boekhouden.nl/handleiding/Documentatie\_soap.pdf](https://secure.e-boekhouden.nl/handleiding/Documentatie_soap.pdf)

Setup
-----

[](#setup)

Login to your account on eBoekhouden and go to Beheer -&gt; Instellingen -&gt; API/SOAP.

Call the eBoekhoudenConnect class as follow:

`$eBoekhouden = new eBoekhoudenConnect("Username", "SecurityCode1", "SecurityCode2");`

Usage
-----

[](#usage)

After the setup, you can use the class as described below.

### Relations

[](#relations)

Here are some usage examples.

#### Find relation

[](#find-relation)

```
$relation = $eBoekhouden->getRelationByCode('BAR');
if (isset($relation->Relaties->cRelatie)) {
    // Relation exists
}

```

#### Add new relation

[](#add-new-relation)

```
$relation = new Relation();
$relation->setRelationCode("BAR"); // Relation code must not exist
$relation->setCompanyName("Foo Company");
$eBoekhouden->addRelation($relation);

```

#### Update a relation

[](#update-a-relation)

```
$relation = new Relation();
$relation->setRelationCode("BAR"); // Relation code must exist
$relation->setCompanyName("Acme Company");
$eBoekhouden->updateRelation($relation);

```

#### Other relation methods

[](#other-relation-methods)

See Relation.php.

### Mutations

[](#mutations)

Here are some usage examples.

#### Find mutation

[](#find-mutation)

```
$mutation = $eBoekhouden->getMutationsByInvoiceNumber($invoiceNumber);
if (isset($mutation->Mutaties->cMutatieList)) {
    // Mutation with $invoiceNumber exists
}

```

#### Add new mutation

[](#add-new-mutation)

```
$mutation = new Mutation();
$mutation->setKind("FactuurVerstuurd"); // FactuurOntvangen, FactuurVerstuurd, FactuurbetalingOntvangen, FactuurbetalingVerstuurd, GeldOntvangen, GeldUitgegeven
$mutation->setDate(date('Y-m-d'));
$mutation->setAccount(1000); // Ledger account code (in this example, the acocunt for debtors)
$mutation->setRelationCode("BAR"); // Must match existing Relation
$mutation->setInvoiceNumber("INV-500"); // Must be unique
$mutation->setTermOfPayment(30); // In days
$mutation->setDescription("FOO");
$mutation->setInOrExVat("IN");
$mutation->addMutationLine(10, 21, "HOOG_VERK_21", 8000, 0)); // Price, VAT %, VAT tariff name (see documentation chapter 4), ledger account code for mutation and optional cost center ID.
$eBoekhouden->addMutation($mutation);

```

#### Other mutation methods

[](#other-mutation-methods)

See Mutation.php.

### Invoices

[](#invoices)

Please not that you have to use the Mutation functions when synchronising orders/invoices from your own system to e-Boekhouden.nl, not Invoices.

`$eBoekhouden->getInvoices($dateFrom, $toDate, $invoiceNumber, $relationCode)`

FieldFormatMandatory$dateFormatyyyy-mm-ddY$toDateyyyy-mm-ddY$invoiceNumberSTRING 50N$relationCodeSTRING 15N### Debug

[](#debug)

Add this to get more debug information:

```
var_dump($this->soapClient->__getLastRequestHeaders()); // the headers of your last request
var_dump($this->soapClient->__getLastRequest()); // your last request

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 58.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~99 days

Recently: every ~142 days

Total

8

Last Release

2209d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1114514?v=4)[btjsteens](/maintainers/btjsteens)[@btjsteens](https://github.com/btjsteens)

---

Top Contributors

[![bobkosse](https://avatars.githubusercontent.com/u/836244?v=4)](https://github.com/bobkosse "bobkosse (21 commits)")[![btjsteens](https://avatars.githubusercontent.com/u/1114514?v=4)](https://github.com/btjsteens "btjsteens (11 commits)")[![wgnahs](https://avatars.githubusercontent.com/u/1036155?v=4)](https://github.com/wgnahs "wgnahs (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/btjsteens-eboekhouden/health.svg)

```
[![Health](https://phpackages.com/badges/btjsteens-eboekhouden/health.svg)](https://phpackages.com/packages/btjsteens-eboekhouden)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
