ChartOfAccounts
This method returns the chart of accounts.
BODY - RAW
{
"Method": "ChartOfAccounts",
"Parameters": [
<bForceUpdate>,
[<dEndDate>],
[<dStartDate>],
[<bNoStartingBalance>],
]
}
PARAMETERS
Parameter |
Description |
bForceUpdate |
Allows you to force the update of the balances of the whole chart of accounts. Forcing the update changes the response time. Use this parameter only when you really need it. |
dDateEnd |
The recordings up to this date are considered. This parameter is optional. If the parameter is omitted, the recordings up to the end of the fiscal year are considered. |
dDateStart |
The recordings starting from this date are considered. The parameter is optional. If the parameter is omitted, the recordings starting from the beginning of the fiscal year are considered. |
bNoStartingBalance |
If the parameter is set to True, the starting balances are excluded. The parameter is optional. If the parameter is omitted its default value is false and the starting balances are included. |
EXAMPLE
{
"Method": "ChartOfAccounts",
"Parameters": [
false
]
}
Class returned
Property | Description |
---|---|
classe | Class of the chart of accounts element |
numero | Number of the chart of accounts element |
compte | Name of the chart of accounts element |
pla_monnai | Currency of the account |
solde | Total balance of the element in the local currency |
débit | Debit balance of the element in the local currency |
crédit | Credit balance of the element in the local currency |
si_ml_d | Debit balance of the element at the beginning of the fiscal year in the local currency |
si_ml_c | Credit balance of the element at the beginning of the fiscal year in the local currency |
solde_me | Total balance of the element in the foreign currency |
si_me_d | Debit balance of the element at the beginning of the fiscal year in the foreign currency |
si_me_c | Credit balance of the element at the beginning of the fiscal year in the foreign currency |
budg_year | Yearly budget entered in the account in local currency |
budg_month01 to budg_month12 | Monthly budget entered in the account in local currency. The number of the month is relative to the start date of the fiscal year. |