API ressource transactions in an account

GET https://service.runmyaccounts.com/api/{version}/clients/{clientname}/charts/{account-number}/transactions

Parameters/filters:

ParameterDescriptionMandatoryExample
accnoFilter by account number. You can use character x as wildcard. Ex. 15xx filters all account from 1500 to 1599Yes15xx
from_dateInclude transaction from date (yyyy-MM-dd)2019-01-01
to_dateInclude transaction until date (yyyy-MM-dd), default is today2019-05-31
include_openingsInclude opening balances to listtrue
include_closingsInclude closing balances to listtrue

Examples

https://service.runmyaccounts.com/api/latest/clients/apitest/charts/10xx/transactions?api_key=d1bvbxkI8f1bnMBJ4sZiC-xupl4fOEzf

XML:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<transactions number_of_transaction="5">
    <transaction>
        <id>10204</id>
        <chart id="0" accno="1000" link="" allow_gl="false" is_active="true">
            <taxes/>
        </chart>
        <transdate>2015-10-22T00:00:00+02:00</transdate>
        <reference>R-001</reference>
        <description></description>
        <amount>-50.0</amount>
        <module>ar</module>
        <source></source>
        <entry_id>102</entry_id>
        <memo></memo>
        <notes></notes>
        <intnotes></intnotes>
        <accno>1000</accno>
    </transaction>
    <transaction>
        <id>10246</id>
        <chart id="0" accno="1020" link="" allow_gl="false" is_active="true">
            <taxes/>
        </chart>
        <transdate>2017-03-02T00:00:00+01:00</transdate>
        <reference>A1.3</reference>
        <description></description>
        <amount>-106.92</amount>
        <module>ar</module>
        <source></source>
        <entry_id>145</entry_id>
        <memo></memo>
        <notes></notes>
        <intnotes></intnotes>
        <accno>1020</accno>
    </transaction>
    <transaction>
        <id>10247</id>
        <chart id="0" accno="1021" link="" allow_gl="false" is_active="true">
            <taxes/>
        </chart>
        <transdate>2017-03-03T00:00:00+01:00</transdate>
        <reference>A1.4</reference>
        <description></description>
        <amount>-3.58</amount>
        <module>ar</module>
        <source></source>
        <entry_id>159</entry_id>
        <notes></notes>
        <intnotes></intnotes>
        <accno>1021</accno>
    </transaction>
    <transaction>
        <id>10247</id>
        <chart id="0" accno="1021" link="" allow_gl="false" is_active="true">
            <taxes/>
        </chart>
        <transdate>2017-03-03T00:00:00+01:00</transdate>
        <reference>A1.4</reference>
        <description></description>
        <amount>-50.0</amount>
        <module>ar</module>
        <source></source>
        <entry_id>157</entry_id>
        <memo></memo>
        <notes></notes>
        <intnotes></intnotes>
        <accno>1021</accno>
    </transaction>
    <transaction>
        <id>10249</id>
        <chart id="0" accno="1020" link="" allow_gl="false" is_active="true">
            <taxes/>
        </chart>
        <transdate>2017-10-07T00:00:00+02:00</transdate>
        <reference>K-001</reference>
        <description></description>
        <amount>108.0</amount>
        <module>ap</module>
        <source></source>
        <entry_id>167</entry_id>
        <memo></memo>
        <notes></notes>
        <intnotes></intnotes>
        <accno>1020</accno>
    </transaction>
</transactions>

JSON:

{
  "@number_of_transaction": "5",
  "transaction": [
    {
      "id": "10204",
      "chart": {
        "@id": "0",
        "@accno": "1000",
        "@link": "",
        "@allow_gl": "false",
        "@is_active": "true",
        "taxes": null
      },
      "transdate": "2015-10-22T00:00:00+02:00",
      "reference": "R-001",
      "description": "",
      "amount": "-50.0",
      "module": "ar",
      "source": "",
      "entry_id": "102",
      "memo": "",
      "notes": "",
      "intnotes": "",
      "accno": "1000"
    },
    {
      "id": "10246",
      "chart": {
        "@id": "0",
        "@accno": "1020",
        "@link": "",
        "@allow_gl": "false",
        "@is_active": "true",
        "taxes": null
      },
      "transdate": "2017-03-02T00:00:00+01:00",
      "reference": "A1.3",
      "description": "",
      "amount": "-106.92",
      "module": "ar",
      "source": "",
      "entry_id": "145",
      "memo": "",
      "notes": "",
      "intnotes": "",
      "accno": "1020"
    },
    {
      "id": "10247",
      "chart": {
        "@id": "0",
        "@accno": "1021",
        "@link": "",
        "@allow_gl": "false",
        "@is_active": "true",
        "taxes": null
      },
      "transdate": "2017-03-03T00:00:00+01:00",
      "reference": "A1.4",
      "description": "",
      "amount": "-3.58",
      "module": "ar",
      "source": "",
      "entry_id": "159",
      "notes": "",
      "intnotes": "",
      "accno": "1021"
    },
    {
      "id": "10247",
      "chart": {
        "@id": "0",
        "@accno": "1021",
        "@link": "",
        "@allow_gl": "false",
        "@is_active": "true",
        "taxes": null
      },
      "transdate": "2017-03-03T00:00:00+01:00",
      "reference": "A1.4",
      "description": "",
      "amount": "-50.0",
      "module": "ar",
      "source": "",
      "entry_id": "157",
      "memo": "",
      "notes": "",
      "intnotes": "",
      "accno": "1021"
    },
    {
      "id": "10249",
      "chart": {
        "@id": "0",
        "@accno": "1020",
        "@link": "",
        "@allow_gl": "false",
        "@is_active": "true",
        "taxes": null
      },
      "transdate": "2017-10-07T00:00:00+02:00",
      "reference": "K-001",
      "description": "",
      "amount": "108.0",
      "module": "ap",
      "source": "",
      "entry_id": "167",
      "memo": "",
      "notes": "",
      "intnotes": "",
      "accno": "1020"
    }
  ]
}

 

War dieser Artikel hilfreich?
Dislike 0
Ansichten: 17