Skip to content

CSV Import: Commit endpoint (persist transactions) #22

Description

@azunaVT

Epic: Import

Description

Persist transactions from a CSV import after preview confirmation.

Endpoint

  • POST /api/v1/imports/csv/commit

Acceptance Criteria

  • Accepts CSV file or normalized payload
  • Creates an Import record scoped to household
  • Inserts transactions in a single DB transaction
  • Returns:
    • number of rows inserted
    • number of rows skipped
  • Fails cleanly on invalid data
  • Request spec included

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions