frequently asked questions

All your questions in one place.

AnalyticAccountAccountingAccountBalance

This method returns the balance of the amount attributed for an account to an analytical account, up to a given date.

BODY - RAW

{
       "Method": "AnalyticAccountAccountingAccountBalance",
       "Parameters": [
             <cAnaAccount>,
             <cAccountingAccount>
             [, <dDateEnd>]
             [, <dDateStart>]
       ]
}
Parameters Description
lcAnaAccount Analytical account number.
cAccountingAccount Account number.
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.

EXAMPLE

*/ Return the total balance for the fiscal year for the amounts of the account 1000 attributed to the analytical account 100.7022.3.

{
       "Method": "AnalyticAccountAccountingAccountBalance",
       "Parameters": [
             "100.7022.3",
             "1000"
       ]
}

*/ Return the same balance of the previous example, up to the 31.03.2017.

{
       "Method": "AnalyticAccountAccountingAccountBalance",
       "Parameters": [
             "100.7022.3",
             "1000",
             "31.03.2017"
       ]
}

*/ Return the same balance of the previous example for the month of march 2017 only.

{
       "Method": "AnalyticAccountAccountingAccountBalance",
       "Parameters": [
             "100.7022.3",
             "1000",
             "01.03.2017",
             "31.03.2017"
       ]
}

Did you find this article useful?

0 out of 0 found this helpful