This method returns the balance at a given date for a given analytical account number.

BODY - RAW

{
       "Method": "AnalyticAccountBalance",
       "Parameters": [
             <cAnalyticalAccount>
             [, <dDateEnd>]
             [, <dDateStart>]
       ]
}
Parameters Description
cAnalyticalAccount Analytical account number.
dDateEnd Accounting entries up to this date are included. The parameter is not mandatory. If it is not specified, all the entries are included.
dDateStart Accounting entries starting form this date are included. The parameter is not mandatory. If it is not specified, all the entries are included.

EXAMPLE

*/ Return the current balance for the Analytical Account 1000.

{
       "Method": "AnalyticAccountBalance",
       "Parameters": [
             "1000"
       ]
}

*/ Return the balance at the 31.03.2017 for the Analytical Account 1000.

{
       "Method": "AnalyticAccountBalance",
       "Parameters": [
             "1000",
             "31.03.2017"
       ]
}

*/ Return the balance between the 01.03.2017 and the 31.03.2017 for the Analytical Account 1000.

{
       "Method": "AnalyticAccountBalance",
       "Parameters": [
             "1000",
             "31.03.2017",
             "01.03.2017"
       ]
}
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.