Download the PHP package aanndryyyy/e-financials-php-client without Composer
On this page you can find all versions of the php package aanndryyyy/e-financials-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aanndryyyy/e-financials-php-client
More information about aanndryyyy/e-financials-php-client
Files in aanndryyyy/e-financials-php-client
Package e-financials-php-client
Short Description PHP client for the e-Arveldaja / e-Financials REST API
License GPL-2.0-or-later proprietary
Homepage https://github.com/aanndryyyy/e-financials-php-client
Informations about the package e-financials-php-client
e-Financials (e-Arveldaja) PHP API Client
PHP client for the e-Arveldaja / e-Financials REST API.
API docs: OpenAPI HTML · openapi.yaml
Installation
This package is PSR-18 based. Provide any PSR-18 HTTP client; Guzzle is the usual choice and is used for discovery when installed.
Related
Using WooCommerce? e-financials-woocommerce-integration builds on this client to sync WooCommerce orders into e-Financials.
Authentication
Generate an API key in e-Arveldaja under Seadistused → Üldised seadistused. Each request is signed with:
X-AUTH-QUERYTIME— UTC timestamp (Y-m-d\TH:i:s)X-AUTH-KEY—{apiKeyPublic}:{BASE64(HMAC-SHA-384("{apiKeyId}:{queryTime}:{path}", apiKeyPassword))}
Example
Or the shortcut:
Testing with ClientFake
ClientFake implements ClientContract by composing the real Client with a fake transporter. Queue response DTOs, arrays, JSON strings, or throwables, then assert on exact request paths.
Development
Requires PHP 8.2+.
Dev tooling targets PHP 8.4+ (Pest 5). The library runtime still supports PHP 8.2+.
Mutation testing currently applies a local Composer patch for pestphp/pest#1790 (php-code-coverage 14 --coverage-php format); remove patches/ once upstream ships the fix.
See CONTRIBUTING.md for guidelines.
Available resources
| Accessor | Endpoints |
|---|---|
clients() |
Clients CRUD, deactivate/reactivate |
products() |
Products CRUD, deactivate/reactivate |
costProfitCentres() |
Cost/profit centres list |
journals() |
Journals CRUD, register/invalidate, files |
invoices() |
Invoice series CRUD, invoice settings |
bank() |
Bank accounts CRUD, VAT info |
accounts() |
Account list |
accountDimensions() |
Account dimension list |
currencies() |
Currency list |
purchaseArticles() |
Purchase article list |
salesArticles() |
Sale article list |
transactions() |
Transactions CRUD, register/invalidate, files |
salesInvoices() |
Sale invoices CRUD, register/invalidate, files, delivery |
purchaseInvoices() |
Purchase invoices CRUD, register/invalidate, files |
templates() |
Sale invoice templates |
Demo API base URL: https://demo-rmp-api.rik.ee (version path /v1).
License
Copyright (c) 2026 Arbictus OÜ.
Dual-licensed. Use it under either:
- GPL-2.0-or-later — free of charge, including for commercial companies, as long as you meet the copyleft obligations. This covers evaluation, development, internal and hosted use, non-profit and educational projects, and distribution within GPL-compatible open source.
- A commercial license — for distributing a closed-source product that incorporates this library, or when you need warranty and indemnification terms. Contact [email protected].
You only need the commercial branch if the GPL does not work for you. Running this library on your own servers is not distribution and triggers no copyleft obligation.
Disclaimer
Independent, unofficial client for a public REST API. Not affiliated with, endorsed by, or supported by Registrite ja Infosüsteemide Keskus (RIK).
All versions of e-financials-php-client with dependencies
php-http/discovery Version ^1.20.0
psr/http-client Version ^1.0.3
psr/http-client-implementation Version ^1.0.1
psr/http-factory-implementation Version ^1.0
psr/http-message Version ^2.0.0