API in ERPLY Books

Why choose ERPLY Books accounting API? Because it is full-featured, provides support for the current system in your business and supports your software with various features. If you want to know more about the world’s best accounting API then click here!


API Token

You need API token for all queries. The token is connected with the user and the organisation, meaning that users can have multiple tokens if they have more than one organisation in ERPLY Books.


API Structure

All the methods are REST based.
Base url: https://api.erplybooks.com/api
If your API token is paejtblf2q2j6jvt4pscbm4jc2nsicjhmtqm9bqs then your requests should have header:
X-API-TOKEN: paejtblf2q2j6jvt4pscbm4jc2nsicjhmtqm9bqs.
Another alternative is using the url query parameter (less secure), if necessary (to test some requests in the browser, for example) by adding ?token=paejtblf2q2j6jvt4pscbm4jc2nsicjhmtqm9bqs to the end of the request URL.

The Content-Type header should be set to application/json or application/xml, although we strongly recommend using the JSON format. You can also specify the response type by adding either .json or .xml right before the start of the query string, for example:


GET and POST are allowed with all request types. If you’d like to delete or update an item, you have to provide the item’s id in the url like this:


Custom Types with API

To make different queries you may need to add different types (document type, currency, language etc). You have to use custom types set by ERPLY Books. See them here.


Report Generator through the API

To access ERPLY Books’ report generator through the API, click here.

API Requests

Available Request Types with API

(goes to URL)
Account EntriesAPIaccount_entries
InvoicesAPIAPIAPIAPI invoices
Transaction EntriesAPIAPIAPIAPItransaction_entries


Request URL


GET and POST requests don’t require an ID.
URL example: https://api.erplybooks.com/api/invoices


PUT and DELETE requests do require an ID.
URL example: https://api.erplybooks.com/api/invoices/INVOICE_ID


API Methods

Account Entries

Here you can find how to get account entries data.


Here you will find information how to add, edit and delete accounts




Tax Rates

Here you can find how to add, edit and delete tax rates.


Here you can find how to add, edit and delete tax rates.


Here you can find how to add, edit and delete customers. Note: by using partner API customers and suppliers can be created by the document (invoice / order etc). Also please note that customers have two API versions.


Sending invoices is the most important part of the API: with invoice object you can send customer/supplier, invoice rows, payments, payer, connections with other documents, document attributes.
Also invoice API applies to all document types: sales invoice, purchase invoice, order, purchase order, waybill, purchase waybill, price offer, sales contract ,purchase contract.
Please also look how to PARTNER API and Queue


Describes how to add, edit and delete payments.


Describes how to create bank import and payment files


Here you can find how to add, edit and delete projects.

Transaction Entries

Describes how to add, edit and delete transaction entries.


Here you can find how to get reports.


Describes how to get, add and delete attachments.






API Dictionary
Here you can find a dictionary regarding API.

Partner API

Partner API

Custom API access points

Custom API access points

Document types

Document types