# 49. CO_FKK_CA_FACTORINGBUYBACK_REQ.md

## SOAP v1.0.0 — ACTIVE

| Field | Value |
|-------|-------|
| Title | Factoring - Buyback Data / 保理 - 回购数据 |
| Operation | FactoringBuybackData |
| Direction | OUT |
| Version | 1.0.0 |
| Status | ACTIVE |

### Namespace

```
urn:sap-com:document:sap:rfc:functions
```

### Structure

| # | Field | Type | Description (EN) | Description (ZH) |
|---|-------|------|-------------------|------------------|
| 1 | BUYBACK_ID | CHAR10 | Buyback transaction identifier | 回购交易标识 |
| 2 | FACTORING_CONTRACT | CHAR10 | Factoring contract number | 保理合同编号 |
| 3 | PARTNER | CHAR10 | Business partner number | 业务伙伴编号 |
| 4 | CONTRACT_ACCOUNT | CHAR12 | Contract account number | 合同账户编号 |
| 5 | BUYBACK_DATE | DATS | Buyback posting date | 回购过账日期 |
| 6 | BUYBACK_AMOUNT | CURR | Buyback principal amount | 回购本金金额 |
| 7 | INTEREST_AMOUNT | CURR | Accrued interest amount | 应计利息金额 |
| 8 | FEE_AMOUNT | CURR | Processing fee amount | 手续费金额 |
| 9 | TOTAL_AMOUNT | CURR | Total buyback amount | 回购总金额 |
| 10 | CURRENCY | CHAR5 | Transaction currency | 交易货币 |
| 11 | BUYBACK_REASON | CHAR2 | Reason code for buyback | 回购原因代码 |
| 12 | BUYBACK_REASON_TEXT | CHAR40 | Description of buyback reason | 回购原因描述 |
| 13 | ORIGINAL_OFFER_ID | CHAR10 | Reference to original factoring offer | 原始保理要约参考 |
| 14 | DOCUMENT_NUMBER | CHAR12 | Buyback document number | 回购凭证编号 |
| 15 | FISCAL_YEAR | CHAR4 | Buyback document fiscal year | 回购凭证会计年度 |
| 16 | PAYMENT_METHOD | CHAR1 | Repayment method | 还款方式 |
| 17 | PAYMENT_REFERENCE | CHAR16 | Payment reference for buyback | 回购支付参考 |
| 18 | POSTING_STATUS | CHAR1 | Posting status indicator | 过账状态标识 |
| 19 | POSTING_MESSAGE | CHAR220 | Posting result message | 过账结果消息 |
| 20 | RECONCILIATION_KEY | CHAR3 | Reconciliation key for accounting | 会计对账关键字 |

### XML Example (Response)

```xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <FactoringBuybackData.Response xmlns="urn:sap-com:document:sap:rfc:functions">
      <BUYBACK_ID>BUY0000001</BUYBACK_ID>
      <FACTORING_CONTRACT>FACTR00001</FACTORING_CONTRACT>
      <PARTNER>0000000001</PARTNER>
      <CONTRACT_ACCOUNT>000000000001</CONTRACT_ACCOUNT>
      <BUYBACK_DATE>2026-07-23</BUYBACK_DATE>
      <BUYBACK_AMOUNT>100000.00</BUYBACK_AMOUNT>
      <INTEREST_AMOUNT>1250.00</INTEREST_AMOUNT>
      <FEE_AMOUNT>500.00</FEE_AMOUNT>
      <TOTAL_AMOUNT>101750.00</TOTAL_AMOUNT>
      <CURRENCY>CNY</CURRENCY>
      <BUYBACK_REASON>01</BUYBACK_REASON>
      <BUYBACK_REASON_TEXT>Early buyback by partner</BUYBACK_REASON_TEXT>
      <ORIGINAL_OFFER_ID>OFF0000001</ORIGINAL_OFFER_ID>
      <DOCUMENT_NUMBER>000000009012</DOCUMENT_NUMBER>
      <FISCAL_YEAR>2026</FISCAL_YEAR>
      <PAYMENT_METHOD>T</PAYMENT_METHOD>
      <PAYMENT_REFERENCE>BUYBACK-REF-001</PAYMENT_REFERENCE>
      <POSTING_STATUS>C</POSTING_STATUS>
      <POSTING_MESSAGE>Buyback posted successfully</POSTING_MESSAGE>
      <RECONCILIATION_KEY>BBK</RECONCILIATION_KEY>
    </FactoringBuybackData.Response>
  </soap:Body>
</soap:Envelope>
```