Skip to content

[Reports] Add recent activity receipt search endpoint #563

Description

@StuartFerguson

Related work

This issue supports the mobile report work tracked in TransactionProcessorACL issue #708.

Goal

Expose a reporting endpoint for recent activity receipts that supports the mobile app's search screen.

Requirements

  • Accept a single report date only. Do not allow a multi-day range.
  • Support pagination with page number and page size.
  • Support optional free-text search.
  • Return results sorted by transaction date/time descending.
  • Return only the fields needed by the mobile UI:
    • reference
    • transaction type
    • product
    • operator
    • status
    • amount
    • transaction date/time
    • receipt reference
  • Return paging metadata so the client can render previous/next state.

Suggested request DTO

  • ReportDate
  • SearchText?
  • PageNumber
  • PageSize

Suggested response DTO

  • ReportDate
  • PageNumber
  • PageSize
  • TotalCount
  • Items[]

Acceptance criteria

  • A request for a given date returns only transactions on that date.
  • Search is applied before paging.
  • Results are ordered descending by transaction date/time.
  • The response is suitable for the mobile activity report screen without extra client-side reshaping.

Notes

  • Receipt resend is tracked separately in a different issue.

Activity

  1. StuartFerguson commented on Jul 7, 2026

    @StuartFerguson
    MemberAuthor

    Adding explicit DTO shape guidance for implementation:

    Request DTO

    • GetRecentActivityReceiptReportRequest
      • ReportDate
      • SearchText?
      • PageNumber
      • PageSize

    Response DTO

    • GetRecentActivityReceiptReportResponse
      • ReportDate
      • PageNumber
      • PageSize
      • TotalCount
      • Items[]

    Item DTO

    • RecentActivityReceiptItemDto
      • Reference
      • TransactionType
      • Product
      • Operator
      • Status
      • Amount
      • TransactionDateTime
      • ReceiptReference

    This matches the mobile client bindings and keeps the search endpoint contract small and explicit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions