Generate reports and statements
Generate reports in CSV and PDF format to get a comprehensive view of transaction activity across your accounts.
Download a transaction activity report
Request
Use this request to generate a transaction activity CSV. A transaction activity CSV is a list of all transactions generated for an account over a given period. Results are ordered chronologically by creation date, with the most recent transaction appearing first. Find out more about the transaction activity report format.
info
If you need confirmation of a single payment for reporting purposes, you can download a PDF confirmation of a payment instead.
You can use optional parameters to filter the transactions. For example, use budgetIds to return only transactions associated with a given list of budgets.
curl -i -X POST \
https://api.equalsmoney.com/v2/activity/download \
-H 'Authorization: ApiKey YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"accountId": "F12345",
"personId": "530a5e60-0285-4c88-9671-53aba08a971a",
"name": "Jane Doe",
"startDate": "2021-02-15",
"endDate": "2021-03-30",
"currencyCodes": "EUR,GBP,USD",
"budgetIds": [
"34edaf73-49be-4669-83ee-1b1f8c680d16"
],
"sellCurrency": "EUR,GBP,USD",
"buyCurrency": "EUR,GBP,USD",
"type": [
"payment"
],
"status": [
"cancelled"
],
"search": "string",
"settlementStartDate": "2021-02-15",
"settlementEndDate": "2021-03-30",
"limit": 100,
"offset": 200
}'curl -i -X POST \
https://api.equalsmoney.com/v2/activity/download \
-H 'Authorization: ApiKey YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '
{
"accountId": "string",
"personId": "string",
"name": "string",
"startDate": "string",
"endDate": "string",
"currencyCodes": "string",
"budgetIds": [
"string"
],
"sellCurrency": "string",
"buyCurrency": "string",
"type": [
"string"
],
"status": [
"string"
],
"search": "string",
"settlementStartDate": "string",
"settlementEndDate": "string",
"limit": integer,
"offset": integer
}'Request body schema
| Parameter | Description |
|---|---|
accountIdstring required |
The ID of the account for which you're downloading transaction activity. Allowable values: An existing accountId (<= 36 characters) |
personIdstring |
The ID of the person for whom you're downloading transaction activity. Allowable values: An existing personId (<= 36 characters) |
namestring required |
The name of the person that you're sending the CSV to. This will appear in the email template. Allowable values: <= 256 characters |
startDatestring required |
The date from which to generate the transaction activity CSV. Allowable values: Format: YYYY-MM-DD |
endDatestring required |
The date until which to generate the transaction activity CSV. This can be any date after the startDate, including the date on which you're making the request.Allowable values: Format: YYYY-MM-DD |
currencyCodesstring |
The currencies for which you want to retrieve transactions, in ISO 4217 format. You must include at least one. Use commas to pass multiple values. Allowable values: 3 characters |
budgetIdsarray of strings |
The IDs of the budgets for which you want to retrieve transactions. You must include at least one. Allowable values: One or more existing budgetIds (36 characters) |
ignoreRunningBalanceErrorsboolean |
When true, running balance errors are ignored. Allowable values: true, false |
sellCurrencystring |
Filters transactions that include selling this currency. Use commas to pass multiple values. Allowable values: A comma-separated list of currency codes (3 characters) |
buyCurrencystring |
Filters transactions that include buying this currency. Use commas to pass multiple values. Allowable values: A comma-separated list of currency codes (3 characters) |
typearray of strings |
Filters results that include this type of transaction. Use commas to pass multiple values. Allowable values: exchange, payment, deposit, forwardContract, drawdown, card, cardCheck, cardRefund, cashWithdrawal, atm, unload, otherDebit, load, cashback, chargeback, compensation, otherCredit |
statusarray of strings |
Filters results that include transactions with this status. Use commas to pass multiple values. Allowable values: needsApproval, fundsRequired, pending, complete, declined, reverted, refunded, cancelled, open, cardCheck |
searchstring |
Filters results that include this string. For example, Jane+Doe.Allowable values: A valid string |
settlementStartDatestring |
The settlement date from which to filter results. Transactions that were created but not yet settled before this date will be excluded from results. Allowable values: Format: YYYY-MM-DD |
settlementEndDatestring |
The settlement date until which to filter results. Transactions that were created but only settled after this date will be excluded from results. Allowable values: Format: YYYY-MM-DD |
limitinteger |
The maximum number of results to return. By default, this is set to 100.Allowable values: A valid integer |
offsetinteger |
The number of results to skip before returning. By default, this is set to 0.Allowable values: A valid integer |
Response
If your request is successful, you'll receive a 202 response. Once the transaction activity CSV is generated, it will be emailed to the email address of the user who authenticated the request.
{
"message": "accepted"
}{
"message": "string"
}For more information about this request and its response, see the API reference.