General Ledger

Every account in Profit365 has its balances also in a General Ledger. With this API, you can query all your accounts' balances.

Resource information

Url https://api.profit365.eu/1.6/accounting/general-ledger/ledger
Authentication required
Access level company
Response JSON / XML
Class Masterdata entity

List all the accounts or find a specific one

URL https://api.profit365.eu/1.6/accounting/general-ledger/ledger/?dateType={dateType}&fromDate={fromDate}&toDate={toDate}&ledgerType={ledgerType}&search={query}
Method GET
{query}

optional

A full-text search query that is applied on the account codes. You could use full code like 011002, or just the part like 011 to find all the analytic accounts

{dateType}

optional

The type of a date you want to use for filter. Use dateAccounting for accounting date or dateDelivery for the delivery date.

{dateFrom}

optional

Date from which you want to see the account balances

{dateTo}

optional

Date to which you want to see the account balances

{ledgerType}

required

Type of the general ledger groups. 4 - analytics, 3 - synthetics, 2 - groups, 1 - classes

Examples Balances for the synthetic account with the code "013" from accounting date 01.01.2018 to accounting date 31.12.2018

https://api.profit365.eu/1.6accounting/general-ledger/ledger/?dateType=DateAccounting&fromDate=2018-01-01&toDate=2018-12-31&ledgerType=3&search=013