API resource trial balance

GET https://service.runmyaccounts.com/api/{version}/clients/{clientname}/gl/saldo

Parameters/filters:

ParameterDescriptionMandatoryExample
accnoFilter by account number. You can use character x as wildcard. Ex. 15xx filters all account from 1500 to 1599Yes15xx
fromInclude transaction from date (yyyy-MM-dd)No2019-01-01
toInclude transaction until date (yyyy-MM-dd), default is todayNo2019-05-31
departmentCount only transaction of specified departmentNo
bookkeeping_main_currDefault value is true. Show balances in book keepings main currencyNo
exclude_yearend_bookingsIgnore offsets at yearendNo

Warning: Chart of the balance sheet do not need a from date. Charts of the income statement need from and to parameter.

Examples

https://service.runmyaccounts.com/api/latest/clients/apitest/gl/saldo?from=2012-01-01&to=2012-12-31&accno=2xxx&api_key=d1bvbxkI8f1bnMBJ4sZiC-xupl4fOEzf

XML:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<table>
  <row>
    <column>2010</column>
    <column>Verbindlichkeiten für AHV</column>
    <column>41557.6500</column>
  </row>
  <row>
    <column>2011</column>
    <column>Verbindlichkeiten für BVG</column>
    <column>-12827.8500</column>
  </row>
  <row>
    <column>2012</column>
    <column>Verbindlichkeiten für UVG</column>
    <column>7723.7000</column>
  </row>
  <row>
    <column>2013</column>
    <column>Verbindlichkeiten für KTG</column>
    <column>4776.0000</column>
  </row>
  <row>
    <column>2014</column>
    <column>Verbindlichkeiten für Quellensteuer</column>
    <column>2731.3000</column>
  </row>
</table>

JSON:

{
  "row": [
    {
      "column": [
        "2010",
        "Verbindlichkeiten für AHV",
        "41557.6500"
      ]
    },
    {
      "column": [
        "2011",
        "Verbindlichkeiten für BVG",
        "-12827.8500"
      ]
    },
    {
      "column": [
        "2012",
        "Verbindlichkeiten für UVG",
        "7723.7000"
      ]
    },
    {
      "column": [
        "2013",
        "Verbindlichkeiten für KTG",
        "4776.0000"
      ]
    },
    {
      "column": [
        "2014",
        "Verbindlichkeiten für Quellensteuer",
        "2731.3000"
      ]
    }
  ]
}

 

War dieser Artikel hilfreich?
Dislike 0
Ansichten: 42