---
title: "Update Bank Feed Statement"
method: PATCH
path: "/accounting/bank-feed-statements/{id}"
tags: ["Bank Feed Statements"]
---

# Update Bank Feed Statement

`PATCH /accounting/bank-feed-statements/{id}`

Update Bank Feed Statement

## Path parameters

- `id` string, required

## Query parameters

- `raw` boolean

## Headers

- `x-apideck-consumer-id` string, required
- `x-apideck-app-id` string, required
- `x-apideck-service-id` string

## Request body

- BankFeedStatement
  - `id` string, required — A unique identifier for an object.
  - `bank_feed_account_id` string — The ID of the bank feed account this statement belongs to.
  - `status` 'pending' | 'rejected' | 'success' — The current status of the bank feed statement.
  - `start_date` string, date-time — Start date of the bank feed statement.
  - `end_date` string, date-time — End date of the bank feed statement.
  - `start_balance` number — Balance amount at the start of the period.
  - `start_balance_credit_or_debit` 'credit' | 'debit' — Whether the amount is a credit or debit.
  - `end_balance` number — Balance amount at the end of the period.
  - `end_balance_credit_or_debit` 'credit' | 'debit' — Whether the amount is a credit or debit.
  - `transactions` object[] — List of transactions in the bank feed statement.
    - `posted_date` string, date-time, required — The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD
    - `description` string — A description of the transaction.
    - `amount` number, required — The amount of the transaction.
    - `credit_or_debit` 'credit' | 'debit', required — Whether the amount is a credit or debit.
    - `source_transaction_id` string, required — The ID of the source transaction.
    - `counterparty` string — The counterparty of the transaction.
    - `reference` string — The reference of the transaction.
    - `transaction_type` 'credit' | 'debit' | 'deposit' | 'transfer' | 'payment' | 'other' — Type of transaction.
  - `created_at` string, date-time, nullable — The date and time when the object was created.
  - `created_by` string, nullable — The user who created the object.
  - `updated_at` string, date-time, nullable — The date and time when the object was last updated.
  - `updated_by` string, nullable — The user who last updated the object.

## Response `200`

Bank Feed Statements

- UpdateBankFeedStatementResponse
  - `status_code` integer, required — HTTP Response Status Code
  - `status` string, required — HTTP Response Status
  - `service` string, required — Apideck ID of service provider
  - `resource` string, required — Unified API resource name
  - `operation` string, required — Operation performed
  - `data` UnifiedId, required — A object containing a unique identifier for the resource that was created, updated, or deleted.
    - `id` string, required — The unique identifier of the resource
  - `_raw` Raw, nullable — Raw response from the integration when raw=true query param is provided

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required
- `404` — The specified resource was not found
- `422` — Unprocessable
- `default` — Unexpected error

---

[API](https://skmtc.net/apideck-libraries/apis/accounting-api.md) · [All operations](https://skmtc.net/apideck-libraries/apis/accounting-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apideck-libraries/accounting-api/revisions/0acbb12d68de/schema)
