GetEStatementCSV
GET
https://test.api.neotek.sa/financial-statements/v1/e-statements/{StatementId}/csvSandbox URL · in Production call https://api.neotek.sa
Returns the same statement as a CSV file — one row per transaction, ready to open in a spreadsheet or load into a data pipeline.
Path parameters:
| Parameter | Required | Description |
|---|---|---|
StatementId | Required | the id of the statement to retrieve, returned per account by EStatementsRequest |
Headers:
| Parameter | Required | Description |
|---|---|---|
authorization | Required | Bearer <ACCESS_TOKEN> |
x-request-id | Optional | — |
cURL
curl 'https://test.api.neotek.sa/financial-statements/v1/e-statements/{StatementId}/csv' \ -H 'Authorization: Bearer <ACCESS_TOKEN>'Response (trimmed to one row)
CSV
AccountId,AccountType,AccountNumber,IBAN,Currency,TransactionFromDateTime,TransactionToDateTime,Statement_generated_at,TransactionId,TransactionDate (Gregorian),TransactionDate (Hijri),TransactionTime,TransactionType,SubTransactionType,TransactionDescription,CreditAmount,DebitAmount,Balance,MerchantName,MerchantId,TransactionReference,Corporate,SA1010000012345678901011,SA1010000012345678901011,SAR,,,2026-07-30T10:16:47.217059+03:00,TXN-BR9WIKV4Y2,2026-01-05,1447-07-16,07:00:00,POS,Purchase,salary transfer Mohammed Ali / راتب,22000.0,,1145782.02,,,TXN-BR9WIKV4Y2Errors
| Code | Status | Cause and Action |
|---|---|---|
400 | Bad Request | Invalid or missing request fields. Check the error Code and Path. Common: NTSP.ERROR.400.349 = PSUId is mandatory. |
401 | Unauthorized | Token missing, expired, or invalid. Refresh the bearer token and retry. |
403 | Forbidden | No valid subscription or insufficient scope. Verify client credentials and that the correct scope is included for the service being called. |
405 | Method Not Allowed | Wrong HTTP verb for this endpoint. Check the endpoint specification. |
406 | Not Acceptable | Accept header mismatch. Use application/json. |
429 | Too Many Requests | Rate limit exceeded. Wait the number of seconds in the Retry-After response header before retrying. |
500 | Internal Server Error | Unexpected server error. Retry with exponential backoff. Include x-request-id when raising a support ticket. |