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: 2024-12-30
end Required date The date to stop retrieving transactions. Needs to be a valid date field. E.g: 2024-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": "2024-01-01",
    "end": "2024-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": "f01f8cff-f7b6-4474-94c5-30d7b161a2d1",
                "person_first_name": "Evelyn",
                "person_last_name": "Smith",
                "person_email": "evelyn@smith-email.com",
                "transaction_date": "2024-07-25",
                "transaction_datetime": "2024-07-25T20:44:00+00:00",
                "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.",
                            "external_notes": "Optional External Notes go 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.",
                            "external_notes": "Optional External Notes go here."
                        }
                    ]
                },
                "created_by_id": "",
                "created_by_first_name": null,
                "created_by_last_name": null,
                "created_at": "2024-07-25T20:44:00+00:00",
                "updated_by_id": "",
                "updated_by_first_name": null,
                "updated_by_last_name": null,
                "updated_at": "2024-07-26T01:30:25+00:00"
            }
        ]
    }
}
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.