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

Post/v2/activity/download

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.

Sample requestRequest structure
Copy
Copied
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",
    "email": "jane.doe@acme.com",
    "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
  }'
Copy
Copied
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",
    "email": "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
accountId
string
required
The ID of the account for which you're downloading transaction activity.

Allowable values:
An existing accountId (<= 36 characters)
personId
string
The ID of the person for whom you're downloading transaction activity.

Allowable values:
An existing personId (<= 36 characters)
email
string
required
The email address that you want the CSV to be sent to.

Allowable values:
<= 256 characters
name
string
required
The name of the person that you're sending the CSV to. This will appear in the email template.

Allowable values:
<= 256 characters
startDate
string
required
The date from which to generate the transaction activity CSV.

Allowable values:
Format: YYYY-MM-DD
endDate
string
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
currencyCodes
string
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
budgetIds
array 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)
sellCurrency
string
Filters transactions that include selling this currency. Use commas to pass multiple values.

Allowable values:
A comma-separated list of currency codes (3 characters)
buyCurrency
string
Filters transactions that include buying this currency. Use commas to pass multiple values.

Allowable values:
A comma-separated list of currency codes (3 characters)
type
array 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
status
array 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
search
string
Filters results that include this string. For example, Jane+Doe.

Allowable values:
A valid string
settlementStartDate
string
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
settlementEndDate
string
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
limit
integer
The maximum number of results to return. By default, this is set to 100.

Allowable values:
A valid integer
offset
integer
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 you provided in the request.

Sample responseResponse structure
Copy
Copied
{
  "message": "accepted"
}
Copy
Copied
{
  "message": "string"
}

For more information about this request and its response, see the API reference.

Download a statement

Post/v2/statement/download

Request

Use this request to generate a statement in CSV or PDF format. A statement is a list of balances and completed transactions that occurred on an account over a given period. Find out more about the statement format.

Sample requestRequest structure
Copy
Copied
curl -i -X POST \
  https://api.equalsmoney.com/v2/statement/download \
  -H 'Authorization: ApiKey YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "accountId": "F12345",
    "personId": "530a5e60-0285-4c88-9671-53aba08a971a",
    "email": "jane.doe@acme.com",
    "name": "Jane Doe",
    "startDate": "2022-02-15",
    "endDate": "2022-03-30",
    "currencyCodes": "eur,gbp,usd",
    "budgetIds": [
      "34edaf73-49be-4669-83ee-1b1f8c680d16"
    ],
    "fileFormat": "csv"
  }'
Copy
Copied
curl -i -X POST \
  https://api.equalsmoney.com/v2/statement/download \
  -H 'Authorization: ApiKey YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "accountId": "string",
    "personId": "string",
    "email": "string",
    "name": "string",
    "startDate": "string",
    "endDate": "string",
    "currencyCodes": "string",
    "budgetIds": [
      "string"
    ],
    "fileFormat": "csv"
  }'

Request body schema

Parameter Description
accountId
string
required
The ID of the account for which you're retrieving transactions.

Allowable values:
An existing accountId (<= 36 characters)
personId
string
The ID of the person for whom you're retrieving transactions.

Allowable values:
An existing personId
email
string
required
The email address that you want the statement to be sent to.

Allowable values:
<= 256 characters
name
string
required
The name of the person you're sending the statement to. This will appear in the email template.

Allowable values:
<= 256 characters
startDate
string
required
The date from which you want to retrieve transactions.

Allowable values:
Format: YYYY-MM-DD
endDate
string
required
The date until which you want to retrieve transactions. This must be at least one day before the date on which you're making the request. This is because the statement can only be generated for full days.

Allowable values:
Format: YYYY-MM-DD
currencyCodes
string
required
The currencies for which you want to retrieve transactions. You must include at least one.

Allowable values:
A comma-separated list of currency codes (3 characters)
budgetIds
array of strings
required
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)
fileFormat
string
required
The format in which you want your statement to be generated.

Allowable values:
csv, pdf

Response

If your request is successful, you'll receive a 202 response. Once the statement is generated, it will be emailed to the email address you provided in the request.

Sample responseResponse structure
Copy
Copied
{
  "message": "accepted"
}
Copy
Copied
{
  "message": "string"
}

For more information about this request and its response, see the API reference.