financial/transactions/getAll

Get a list of all transactions between two dates.

POST https://api.elvanto.com/v1/financial/transactions/getAll.{json|xml|php}

Parameters

Name Type Description
page integer The results page to retrieve. Default: 1
page_size integer The number of records to retrieve per results page. Default: 1000
start Required date The date to start retrieving transactions from. Needs to be a valid date field. E.g: 2016-12-30
end Required date The date to stop retrieving transactions. Needs to be a valid date field. E.g: 2016-12-30
category_id string The ID of the category (Chart of Accounts) you would like to retrieve transactions from.
Expected request JSON HTTP POST
{
    "page": 1,
    "page_size": 100,
    "start": "2016-01-01",
    "end": "2016-12-31",
    "category_id": "8a631195-8914-4136-858c-f160885ab60d"
}
Expected response JSON XML PHP
{
    "generated_in": "0.018",
    "status": "ok",
    "transactions": {
        "on_this_page": 28,
        "page": 1,
        "per_page": 100,
        "total": 28,
        "transaction": [
            {
                "id": "dc3c1b5c-24ad-4226-9d29-da458c19700b",
                "person_id": "c5b873c7-a7c9-4704-a470-8a81f1aeb00a",
                "transaction_date": "2016-07-25",
                "transaction_method": "Check",
                "check_number": "12345678",
                "batch": {
                    "id": "2b065952-07a9-4a48-8777-c66d23be020f",
                    "number": 152,
                    "name": "Sunday 25th August"
                },
                "transaction_total": 125,
                "amounts": {
                    "amount": [
                        {
                            "id": "a9bb23ce-b37c-4edf-8271-2913050faba9",
                            "category": {
                                "id": "637d1690-7630-4516-aa23-aab5e2c085f2",
                                "name": "Category Name"
                            },
                            "total": 100,
                            "tax_deductible": 1,
                            "memo": "Optional memo goes here."
                        },
                        {
                            "id": "637d1690-7630-4516-aa23-aab5e2c085f2",
                            "category": {
                                "id": "a9bb23ce-b37c-4edf-8271-2913050faba9",
                                "name": "Category Name"
                            },
                            "total": 25,
                            "tax_deductible": 0,
                            "memo": "Optional memo goes here."
                        }
                    ]
                }
            }
        ]
    }
}
Error responses:

Please see our response status codes documentation for details of potential error responses for any API request.

  • 250: Invalid page number The page number you have provided is invalid.
  • 250: Invalid page size The page size must be between 10 and 1000.
  • 250: Invalid Category ID The Category ID you provided does not exist.