# Create wallet report
URL: /api-reference/stablecoins/reporting/post-reports-wallet

Create a CSV report for the selected wallet and period. The report includes every booked entry, wallet fees, opening and closing balances, and the balance after each entry.

Generation is asynchronous. Check availability using `GET /reports/{id}`, then download the CSV using `GET /reports/{id}/download`. Files are kept for 7 days after generation. A period without entries produces a report with opening and closing balances.

The period is `[startDate, endDate)` in UTC. The end must be at least one hour in the past and at most 92 days after the start. Use midnight UTC on both ends for calendar days or months.

At most 3 reports may be generating per wallet at a time. Every request creates a new report; no idempotency key is required. See the [wallet report guide](/implementation/power-tools/reporter/wallet-report) for the CSV fields.


- `POST /reports/wallet/{walletId}`

```json
{
  "servers": [
    {
      "name": "Sandbox",
      "url": "https://stablecoins.sandbox.volt.io",
      "description": "Sandbox"
    },
    {
      "name": "Production",
      "url": "https://stablecoins.volt.io",
      "description": "Production"
    }
  ],
  "paths": {
    "/reports/wallet/{walletId}": {
      "post": {
        "summary": "Create wallet report",
        "tags": [
          "Reporting"
        ],
        "operationId": "post-reports-wallet",
        "security": [
          {
            "Bearer": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/X-Volt-Api-Version"
          },
          {
            "$ref": "#/components/parameters/ReportWalletId"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CreateWalletReportRequest"
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/ReportRequestedResponse"
          },
          "400": {
            "$ref": "#/components/responses/ReportBadRequestResponse"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedResponse"
          },
          "403": {
            "$ref": "#/components/responses/AccessDeniedResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundResponse"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntityResponse"
          },
          "429": {
            "$ref": "#/components/responses/ReportTooManyResponse"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerErrorResponse"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "OAuth access token."
      }
    },
    "parameters": {
      "X-Volt-Api-Version": {
        "name": "X-Volt-Api-Version",
        "in": "header",
        "required": true,
        "description": "Version of the API used. Currently, version `1` is the only version.",
        "schema": {
          "type": "integer",
          "enum": [
            1
          ],
          "examples": [
            1
          ]
        }
      },
      "ReportWalletId": {
        "name": "walletId",
        "in": "path",
        "required": true,
        "description": "Identifier of the wallet to create a report for.",
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "requestBodies": {
      "CreateWalletReportRequest": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CreateWalletReportRequest"
            },
            "examples": {
              "CreateWalletReportExample": {
                "$ref": "#/components/examples/CreateWalletReportExample"
              }
            }
          }
        }
      }
    },
    "schemas": {
      "CreateWalletReportRequest": {
        "title": "Create wallet report request",
        "type": "object",
        "required": [
          "startDate",
          "endDate"
        ],
        "properties": {
          "startDate": {
            "type": "string",
            "format": "date-time",
            "description": "Start of the period (inclusive), ISO 8601 with offset, treated in UTC. Use midnight UTC for day-aligned reports.",
            "examples": [
              "2026-08-01T00:00:00Z"
            ]
          },
          "endDate": {
            "type": "string",
            "format": "date-time",
            "description": "End of the period (exclusive), ISO 8601 with offset, treated in UTC. An entry booked exactly at `endDate` belongs to the next period. At least one hour in the past and at most 92 days after `startDate`.",
            "examples": [
              "2026-09-01T00:00:00Z"
            ]
          }
        }
      },
      "ReportRequestedResponse": {
        "type": "object",
        "required": [
          "id",
          "status",
          "createdAt"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Identifier of the report.",
            "examples": [
              "84a049a4-bcfb-42f2-80ee-0c126d55e7ed"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/ReportStatusEnum"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "Date of report creation.",
            "examples": [
              "2026-09-02T10:12:03Z"
            ]
          }
        }
      },
      "ReportStatusEnum": {
        "type": "string",
        "enum": [
          "REPORT_REQUESTED",
          "REPORT_GENERATING",
          "REPORT_AVAILABLE",
          "REPORT_FAILED",
          "REPORT_EXPIRED"
        ],
        "description": "Report status.\n\n| Value | Meaning |\n|---|---|\n| `REPORT_REQUESTED` | Accepted, generation not started. |\n| `REPORT_GENERATING` | The file is being generated. |\n| `REPORT_AVAILABLE` | The file is available for 7 days after generation. |\n| `REPORT_FAILED` | Generation failed. Request the report again. |\n| `REPORT_EXPIRED` | The file expired. Request the report again. |\n"
      }
    },
    "examples": {
      "CreateWalletReportExample": {
        "summary": "Wallet report for August",
        "value": {
          "startDate": "2026-08-01T00:00:00Z",
          "endDate": "2026-09-01T00:00:00Z"
        }
      },
      "RequestedReportExample": {
        "summary": "Report just requested",
        "value": {
          "id": "84a049a4-bcfb-42f2-80ee-0c126d55e7ed",
          "status": "REPORT_REQUESTED",
          "createdAt": "2026-09-02T10:12:03Z"
        }
      }
    },
    "responses": {
      "ReportRequestedResponse": {
        "description": "**Created** - The report was requested, returning its identifier, status and creation time.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ReportRequestedResponse"
            },
            "examples": {
              "RequestedReportExample": {
                "$ref": "#/components/examples/RequestedReportExample"
              }
            }
          }
        }
      },
      "ReportBadRequestResponse": {
        "description": "**Bad request** - The period is invalid: `endDate` not after `startDate`, in the future, less than one hour in the past, or more than 92 days after `startDate`. Or the request is malformed.",
        "content": {
          "application/json": {
            "examples": {
              "PeriodTooLongExample": {
                "summary": "Period longer than 92 days",
                "value": {
                  "code": "INVALID_ARGUMENTS",
                  "message": "period must not exceed 92 days"
                }
              },
              "PeriodTooRecentExample": {
                "summary": "Period ends too close to now",
                "value": {
                  "code": "INVALID_ARGUMENTS",
                  "message": "endDate must be at least 60 minutes in the past (balances are not final before then)"
                }
              }
            },
            "schema": {
              "properties": {
                "code": {
                  "description": "Error code.",
                  "enum": [
                    "INVALID_ARGUMENTS",
                    "BAD_REQUEST"
                  ],
                  "examples": [
                    "INVALID_ARGUMENTS"
                  ],
                  "type": "string"
                },
                "message": {
                  "description": "Error message.",
                  "type": "string"
                }
              },
              "required": [
                "code",
                "message"
              ],
              "type": "object"
            }
          }
        }
      },
      "UnauthorizedResponse": {
        "description": "**Unauthorized** - Your credentials were invalid. It may be that the token you've used has expired. Try re-authenticating with valid or updated credentials and retry this request.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "required": [
                "code",
                "message"
              ],
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "UNAUTHORISED"
                  ],
                  "description": "Error code.",
                  "examples": [
                    "UNAUTHORISED"
                  ]
                },
                "message": {
                  "type": "string",
                  "description": "Error message."
                }
              }
            },
            "examples": {
              "UnauthorizedExample": {
                "summary": "Missing or invalid access token",
                "value": {
                  "code": "UNAUTHORISED",
                  "message": "Authentication required."
                }
              }
            }
          }
        }
      },
      "AccessDeniedResponse": {
        "description": "**Access denied** - Although your credentials are correct, your access to this section of the API has been disabled or limited. Subsequent requests to this endpoint will not be processed.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "required": [
                "code",
                "message"
              ],
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "ACCESS_DENIED"
                  ],
                  "description": "Error code.",
                  "examples": [
                    "ACCESS_DENIED"
                  ]
                },
                "message": {
                  "type": "string",
                  "description": "Error message."
                }
              }
            },
            "examples": {
              "AccessDeniedExample": {
                "summary": "Access to the API disabled or limited",
                "value": {
                  "code": "ACCESS_DENIED",
                  "message": "Your access to this part of the API has been disabled or limited."
                }
              }
            }
          }
        }
      },
      "NotFoundResponse": {
        "description": "**Not found** - The resource that you are requesting cannot be found.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "required": [
                "code",
                "message"
              ],
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "RESOURCE_NOT_FOUND"
                  ],
                  "description": "Error code.",
                  "examples": [
                    "RESOURCE_NOT_FOUND"
                  ]
                },
                "message": {
                  "type": "string",
                  "description": "Error message."
                }
              }
            },
            "examples": {
              "WalletNotFoundExample": {
                "summary": "Resource not found",
                "value": {
                  "code": "RESOURCE_NOT_FOUND",
                  "message": "Not found."
                }
              }
            }
          }
        }
      },
      "UnprocessableEntityResponse": {
        "description": "**Unprocessable** - Request's payload validation fails.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "required": [
                "code",
                "message"
              ],
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "VALIDATION_FAILURE"
                  ],
                  "description": "Error code.",
                  "examples": [
                    "VALIDATION_FAILURE"
                  ]
                },
                "message": {
                  "type": "string",
                  "description": "Error message."
                },
                "errors": {
                  "type": "array",
                  "description": "Field-level validation errors. Present only when the failure carries per-field detail (bean-validation failures, amount-scale checks, `endUser` variant rules); absent for a plain business-rule rejection such as \"target wallet cannot be unset\".",
                  "items": {
                    "type": "object",
                    "required": [
                      "type",
                      "propertyPath",
                      "message"
                    ],
                    "properties": {
                      "type": {
                        "type": "string",
                        "description": "Type (code) of the constraint that was violated.\n\nList of types can be found [here](https://docs.volt.io/implementation/essentials/error-handling#validation-error-types).",
                        "examples": [
                          "TOO_SHORT"
                        ]
                      },
                      "propertyPath": {
                        "type": "string",
                        "description": "Path of the property in the request object that violated given constraint.",
                        "examples": [
                          "name"
                        ]
                      },
                      "message": {
                        "type": "string",
                        "description": "Human-readable message about constraint violation.",
                        "examples": [
                          "Size must be between 3 and 100"
                        ]
                      }
                    }
                  }
                }
              }
            },
            "examples": {
              "ValidationFailureExample": {
                "summary": "Field-level validation failure",
                "value": {
                  "code": "VALIDATION_FAILURE",
                  "message": "Validation failed.",
                  "errors": [
                    {
                      "type": "TOO_SHORT",
                      "propertyPath": "name",
                      "message": "Size must be between 3 and 100"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "ReportTooManyResponse": {
        "description": "**Too many requests** - Three reports of this wallet are already being generated. Wait for them to complete, then request again. Also returned when the rate limit was exceeded.",
        "content": {
          "application/json": {
            "examples": {
              "CapReachedExample": {
                "summary": "In-progress cap reached",
                "value": {
                  "code": "RATE_LIMIT_EXCEEDED",
                  "message": "Too many reports in progress for this wallet; wait for them to complete"
                }
              }
            },
            "schema": {
              "properties": {
                "code": {
                  "description": "Error code.",
                  "enum": [
                    "RATE_LIMIT_EXCEEDED"
                  ],
                  "examples": [
                    "RATE_LIMIT_EXCEEDED"
                  ],
                  "type": "string"
                },
                "message": {
                  "description": "Error message.",
                  "type": "string"
                }
              },
              "required": [
                "code",
                "message"
              ],
              "type": "object"
            }
          }
        }
      },
      "InternalServerErrorResponse": {
        "description": "**Internal server error** - Something went wrong and request cannot be processed due to server error. Message will contain trace ID and timestamp, which allows to investigate what went wrong.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "required": [
                "code",
                "message"
              ],
              "properties": {
                "code": {
                  "type": "string",
                  "enum": [
                    "INTERNAL_SERVER_ERROR"
                  ],
                  "description": "Error code.",
                  "examples": [
                    "INTERNAL_SERVER_ERROR"
                  ]
                },
                "message": {
                  "type": "string",
                  "description": "Error message."
                }
              }
            },
            "examples": {
              "InternalServerErrorExample": {
                "summary": "Unexpected internal error",
                "value": {
                  "code": "INTERNAL_SERVER_ERROR",
                  "message": "An internal error occurred."
                }
              }
            }
          }
        }
      }
    }
  }
}
```