---
title: "Create Aba File Route"
method: POST
path: "/api/v1/payments/create_aba_file"
---

# Create Aba File Route

`POST /api/v1/payments/create_aba_file`

## Request body

- AbaFileRequest
  - `invoice_ids` string[], nullable
  - `line_item_ids` string[], nullable
  - `plan_manager_id` string, required
  - `generate_remittance` boolean
  - `remittance_message` string, nullable
  - `aba_ref_override` string, nullable
  - `include_balancing_line` boolean
  - `aba_type` 'provider' | 'invoice' — Enumeration of ABA file generation types. PROVIDER: Groups invoices by provider (one row per provider) INVOICE: Groups by invoice (one row per invoice, reference is invoice number)

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/caresquare/apis/fastapi.md) · [All operations](https://skmtc.dev/caresquare/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/caresquare/fastapi/revisions/c9df874d8d59/schema)
