---
title: "Send patch transactions for a pdf statement"
method: PATCH
path: "/api/integrations/pdfs/{heron_id}/processed"
tags: ["EndUserIntegrations"]
---

# Send patch transactions for a pdf statement

`PATCH /api/integrations/pdfs/{heron_id}/processed`

Send patch transactions processed pdf that will override the extracted transactions in the specified statement

## Path parameters

- `heron_id` string, required

## Request body

- PdfStatementPatchSchema
  - `exclude` boolean — True if the statement should be excluded from processing
  - `index` integer, required — The index of the statement in the pdf to patch
  - `summary` PdfPatchStatementSummary
    - `account_number` string
    - `bank_name` string
    - `company` string
    - `currency` 'USD' | 'GBP' | 'EUR' | 'SEK' | 'AED' | 'AUD' | 'SGD' | 'CAD' | 'NOK' | 'IDR' | 'CHF' | 'DKK' | 'MXN' | 'PLN' | 'MYR' | 'VND' | 'RON' | 'TRY' | 'CZK' | 'BGN' | 'HKD' | 'PHP' | 'HUF' | 'NZD' | 'BRL' | 'ILS' | 'COP' | 'RUB' | 'INR' | 'ZAR' | 'THB' | 'JPY' | 'CLP' | 'MAD' | 'RSD' | 'SLE'
    - `end_balance` number
    - `fraud_reasons` string[]
    - `fraud_score` integer
    - `start_balance` number
    - `statement_end_date` string, date-time
    - `statement_start_date` string, date-time
  - `transactions` PdfPatchTransaction[], required — The full list of transactions that will be used to override the extracted transactions for the specified statement
    - `amount` number, nullable
    - `balance` number, nullable
    - `bounds` MoneyThumbTransactionBounds
      - `page` integer, nullable, required
      - `x_max` integer, nullable, required
      - `x_min` integer, nullable, required
      - `y_max` integer, nullable, required
      - `y_min` integer, nullable, required
    - `currency` string, nullable
    - `description` string, nullable
    - `ocr_suspect` boolean, nullable
    - `reference_id` string, nullable
    - `timestamp` string, date-time, nullable
    - `transaction_code` string, nullable

## Response `200`

Ok

- object
  - `ok` boolean

---

[API](https://skmtc.dev/herondata/apis/heron-data-api.md) · [All operations](https://skmtc.dev/herondata/apis/heron-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/herondata/heron-data-api/revisions/f2e441edece2/schema)
