Skip to content

CSV Import: Preview endpoint (no database writes) #20

@azunaVT

Description

@azunaVT

Epic: Import

Description

Add an endpoint to upload a CSV file and preview normalized transactions without persisting anything to the database.

Endpoint

  • POST /api/v1/imports/csv/preview

Acceptance Criteria

  • Accepts a CSV file upload
  • Parses rows into a normalized structure:
    • occurred_on (date)
    • description (string)
    • amount_cents (integer)
    • currency (default CAD)
  • Supports basic column mapping (minimal is fine)
  • Does not write anything to the database
  • Returns parsed rows as JSON
  • Request spec included

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions