---
title: "Build the CBI credit transfer file for the selected payouts"
method: POST
path: "/api/operator-payments/credit-transfer-xml"
tags: ["operator-payments"]
---

# Build the CBI credit transfer file for the selected payouts

`POST /api/operator-payments/credit-transfer-xml`

Render the CBIPaymentRequest XML from the given transfers. Builds the document only: no row is read, recomputed or marked as paid.

## Request body

- CreditTransferXmlRequest
  - `rows` CreditTransferRowRequest[] — Transfers to include in the CBI file, in order
    - `payment_id` string, required — Operator payment id, carried into the transfer EndToEndId
    - `creditor_name` string, required — Expert display name, as it goes on the transfer
    - `creditor_iban` string, required — Expert IBAN
    - `amount` union, required — Amount to transfer, net of the supervision deductions already applied
      - number
      - string
    - `invoice_number` string, nullable — SDI invoice number for the remittance line; omitted from the text when absent
    - `has_supervision_compensation` boolean — Whether a supervision compensation was applied, which changes the remittance wording

## Response `200`

Successful Response

## Other responses

- `422` — Validation Error

---

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