Get a list of all transactions between two dates.
POSThttps://api.elvanto.com/v1/financial/transactions/getAll.{json|xml|php}
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. |
{
"page": 1,
"page_size": 100,
"start": "2024-01-01",
"end": "2024-12-31",
"category_id": "8a631195-8914-4136-858c-f160885ab60d"
}
page=1&page_size=100&start=2024-01-01&end=2024-12-31&category_id=8a631195-8914-4136-858c-f160885ab60d
{
"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"
}
]
}
}
<?xml version="1.0" encoding="UTF-8"?> <rsp generated_in="0.018" status="ok"> <transactions on_this_page="28" page="1" per_page="100" total="28"> <transaction id="637d1690-7630-4516-aa23-aab5e2c085f2" person_id="f01f8cff-f7b6-4474-94c5-30d7b161a2d1"> <person_first_name>Evelyn</person_first_name> <person_last_name>Smith</person_last_name> <person_email>evelyn@smith-email.com</person_email> <transaction_date>2024-07-25</transaction_date> <transaction_datetime>2024-07-25T20:44:00+00:00</transaction_datetime> <transaction_method>Check</transaction_method> <check_number>12345678</check_number> <batch id="2b065952-07a9-4a48-8777-c66d23be020f" number="152"> <name>Sunday 25th August</name> </batch> <transaction_total>125</transaction_total> <amounts> <amount id="cc9d5644-5dcc-4865-8d3a-604de40a9c64" total="100" tax_deductible="1"> <category id="f01f8cff-f7b6-4474-94c5-30d7b161a2d1"> <name>Category Name</name> </category> <memo>Optional memo goes here.</memo> <external_notes>Optional External Notes go here.</external_notes> </amount> <amount id="a9bb23ce-b37c-4edf-8271-2913050faba9" total="25" tax_deductible="0"> <category id="a491a41a-ad34-4845-b783-392cf0a409e7"> <name>Category Name</name> </category> <memo>Optional memo goes here.</memo> <external_notes>Optional External Notes go here.</external_notes> </amount> </amounts> <created_by_id></created_by_id> <created_by_first_name></created_by_first_name> <created_by_last_name></created_by_last_name> <created_at>2024-07-25T20:44:00+00:00</created_at> <updated_by_id></updated_by_id> <updated_by_first_name></updated_by_first_name> <updated_by_last_name></updated_by_last_name> <updated_at>2024-07-26T01:30:25+00:00</updated_at> </transaction> </transactions> </rsp>
stdClass Object
(
[generated_in] => 0.018
[status] => ok
[transactions] => stdClass Object
(
[on_this_page] => 28
[page] => 1
[per_page] => 100
[total] => 28
[transaction] => stdClass Object
(
[0] => stdClass Object
(
[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] => stdClass Object
(
[id] => 2b065952-07a9-4a48-8777-c66d23be020f
[number] => 152
[name] => Sunday 25th August
)
[transaction_total] => 125
[amounts] => stdClass Object
(
[amount] => stdClass Object
(
[0] => stdClass Object
(
[id] => a9bb23ce-b37c-4edf-8271-2913050faba9
[category] => stdClass Object
(
[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.
)
[1] => stdClass Object
(
[id] => 637d1690-7630-4516-aa23-aab5e2c085f2
[category] => stdClass Object
(
[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] =>
[created_by_last_name] =>
[created_at] => 2024-07-25T20:44:00+00:00
[updated_by_id] =>
[updated_by_first_name] =>
[updated_by_last_name] =>
[updated_at] => 2024-07-26T01:30:25+00:00
)
)
)
)
Please see our response status codes documentation for details of potential error responses for any API request.