---
title: "Catalogul de evenimente | Documentație | Treasury by R&D Copilot"
description: "Cele șapte evenimente trimise de Treasury, când este trimis fiecare, ce conține câmpul data și un exemplu complet pentru fiecare."
canonical: "https://banking.rdcopilot.com/ro/docs/events/event-catalogue/"
language: ro
updated: 2026-11-22
---

# Catalogul de evenimente

Cele șapte evenimente trimise de Treasury, când este trimis fiecare, ce conține câmpul `data` și un exemplu complet pentru fiecare.

Treasury trimite un eveniment când un extras este importat, când o potrivire este propusă sau acceptată și când o plată este aprobată, exportată, confirmată sau respinsă. Fiecare eveniment folosește [plicul evenimentului](https://banking.rdcopilot.com/ro/docs/events/event-envelope/); `type` și `data` spun ce s-a întâmplat. Înregistrează o adresă printr-un [abonament](https://banking.rdcopilot.com/ro/docs/events/subscriptions/) ca să le primești.

| Tip | Trimis când | Câmpurile din \`data\` |
| --- | --- | --- |
| `com.rdcopilot.banking.statement.imported.v1` | Un fișier de extras este importat. | `statementId, accountId, from, to, lineCount, closingBalance` |
| `com.rdcopilot.banking.match.suggested.v1` | Importul propune o potrivire pentru o linie nouă înregistrată. | `transactionId, method, reason, amount` |
| `com.rdcopilot.banking.match.accepted.v1` | O potrivire devine definitivă: este acceptată, înregistrată într-o categorie sau potrivită ca transfer. | `transactionId, method, amount, allocations` |
| `com.rdcopilot.banking.payment.approved.v1` | Un aprobator aprobă o propunere de plată. | `number, amount, approvedBy` |
| `com.rdcopilot.banking.payment.exported.v1` | O plată aprobată este exportată într-un fișier de plăți. | `number, batchId, executeOn` |
| `com.rdcopilot.banking.payment.confirmed.v1` | Un extras importat înregistrează debitul unei plăți exportate. | `number, transactionId` |
| `com.rdcopilot.banking.payment.rejected.v1` | Un extras importat returnează debitul unei plăți. | `number, bankReason, transactionId` |

`aggregateId` și `aggregateRevision` indică înregistrarea modificată și revizia ei după modificare. `legalCompanyId` este compania. Citește înregistrarea pentru tot restul: un eveniment spune că s-a întâmplat ceva, nu tot ce privește înregistrarea. O livrare care eșuează este reîncercată și poate fi [reluată](https://banking.rdcopilot.com/ro/docs/events/replay/); vezi [Livrare și reîncercări](https://banking.rdcopilot.com/ro/docs/events/delivery-and-retries/).

## statement.imported

`aggregateId` este identificatorul extrasului. `lineCount` numără liniile fișierului, iar `closingBalance` este soldul lui final.

JSON

```json
{
  "specversion": "1.0",
  "id": "a60518c8-8306-46e8-9b42-e49f4a2612f5",
  "type": "com.rdcopilot.banking.statement.imported.v1",
  "source": "/banking/v1",
  "time": "2026-11-23T07:12:00Z",
  "customerOrgId": "cd2cb4c5-1c0b-444a-8406-0f7045c8f12d",
  "legalCompanyId": "3e738c06-3df7-4eb7-bfe2-259b8ba481f9",
  "aggregateType": "statement",
  "aggregateId": "f5b1321e-fbb0-4771-8393-9e4090091108",
  "aggregateRevision": 1,
  "correlationId": "bbac0a1c-9923-4c5c-9e8e-4f549901a727",
  "causationId": "80cd1346-fac0-457b-9c65-741c7d8c82f1",
  "actor": {
    "serviceId": "banking-treasury"
  },
  "data": {
    "statementId": "f5b1321e-fbb0-4771-8393-9e4090091108",
    "accountId": "258f8664-ff43-4e53-b688-ad5a4a97ede6",
    "from": "2026-11-20",
    "to": "2026-11-22",
    "lineCount": 3,
    "closingBalance": "180250.47"
  }
}
```

## match.suggested

`aggregateId` este identificatorul potrivirii. `method` este `rule`, `exact`, `partner` sau `manual`, iar `reason` este obiectul care explică potrivirea, cu `code` și propoziția ei.

JSON

```json
{
  "specversion": "1.0",
  "id": "d74c318e-d9be-4945-b4b2-5e1c981a665c",
  "type": "com.rdcopilot.banking.match.suggested.v1",
  "source": "/banking/v1",
  "time": "2026-11-19T18:05:00Z",
  "customerOrgId": "cd2cb4c5-1c0b-444a-8406-0f7045c8f12d",
  "legalCompanyId": "3e738c06-3df7-4eb7-bfe2-259b8ba481f9",
  "aggregateType": "match",
  "aggregateId": "d976e350-d423-4499-ac3d-207185a9bd4b",
  "aggregateRevision": 1,
  "correlationId": "fd2d6e52-2c5f-4c51-9888-dbb316d005d4",
  "causationId": "686e155d-2352-4d97-a20f-0750a363e681",
  "actor": {
    "serviceId": "banking-treasury"
  },
  "data": {
    "transactionId": "0dea7dcc-e56e-4654-bdf3-95fbedf34baf",
    "method": "exact",
    "reason": {
      "code": "exact",
      "text": "The amount RON 3,168.42 equals FCT-2026-00418 and the reference names it."
    },
    "amount": "3168.42"
  }
}
```

## match.accepted

`allocations` este lista alocărilor potrivirii, așa cum o returnează [\`getMatch\`](https://banking.rdcopilot.com/ro/docs/api-reference/matches/#get-match).

JSON

```json
{
  "specversion": "1.0",
  "id": "da176ed9-15de-41f7-b105-e603f629be11",
  "type": "com.rdcopilot.banking.match.accepted.v1",
  "source": "/banking/v1",
  "time": "2026-11-23T07:12:00Z",
  "customerOrgId": "cd2cb4c5-1c0b-444a-8406-0f7045c8f12d",
  "legalCompanyId": "3e738c06-3df7-4eb7-bfe2-259b8ba481f9",
  "aggregateType": "match",
  "aggregateId": "d976e350-d423-4499-ac3d-207185a9bd4b",
  "aggregateRevision": 2,
  "correlationId": "fd2d6e52-2c5f-4c51-9888-dbb316d005d4",
  "causationId": "afbcc71e-ab42-4c5a-9c97-23ab1eae4574",
  "actor": {
    "serviceId": "banking-treasury"
  },
  "data": {
    "transactionId": "0dea7dcc-e56e-4654-bdf3-95fbedf34baf",
    "method": "exact",
    "amount": "3168.42",
    "allocations": [
      {
        "kind": "item",
        "openItemId": "6023b97b-b8aa-40bf-bf95-706a76377739",
        "amount": "3168.42"
      }
    ]
  }
}
```

## payment.approved

`number` este numărul plății, de exemplu din referința plății, iar `approvedBy` este numele aprobatorului.

JSON

```json
{
  "specversion": "1.0",
  "id": "eb50f163-0996-462d-82ce-6174a1aa3356",
  "type": "com.rdcopilot.banking.payment.approved.v1",
  "source": "/banking/v1",
  "time": "2026-11-23T07:12:00Z",
  "customerOrgId": "cd2cb4c5-1c0b-444a-8406-0f7045c8f12d",
  "legalCompanyId": "3e738c06-3df7-4eb7-bfe2-259b8ba481f9",
  "aggregateType": "payment",
  "aggregateId": "21de0aa9-20d9-48af-87d7-c24c5a5dde5d",
  "aggregateRevision": 3,
  "correlationId": "74c85cb9-6aa6-4e87-aa09-6a51455d63b5",
  "causationId": "3d3dd267-c436-4673-8c78-0c49cfbcbf5e",
  "actor": {
    "serviceId": "banking-treasury"
  },
  "data": {
    "number": "PP-1003",
    "amount": "7218.65",
    "approvedBy": "Ioana Marin"
  }
}
```

## payment.exported

`batchId` este fișierul de plăți, iar `executeOn` este ziua de execuție a fișierului.

JSON

```json
{
  "specversion": "1.0",
  "id": "211a6e78-b165-4615-b7a4-ce66bd261328",
  "type": "com.rdcopilot.banking.payment.exported.v1",
  "source": "/banking/v1",
  "time": "2026-11-23T07:12:00Z",
  "customerOrgId": "cd2cb4c5-1c0b-444a-8406-0f7045c8f12d",
  "legalCompanyId": "3e738c06-3df7-4eb7-bfe2-259b8ba481f9",
  "aggregateType": "payment",
  "aggregateId": "cda6be32-1d33-4c24-91e7-e1bbbbbf9cfe",
  "aggregateRevision": 4,
  "correlationId": "0625f71b-4cc3-48a5-9a90-4198ac13add0",
  "causationId": "6625838e-1435-4abc-ae36-b1202043b86f",
  "actor": {
    "serviceId": "banking-treasury"
  },
  "data": {
    "number": "PP-1006",
    "batchId": "45c5fc66-0d7b-4707-bccd-473915866774",
    "executeOn": "2026-12-04"
  }
}
```

## payment.confirmed

`transactionId` este debitul care confirmă plata.

JSON

```json
{
  "specversion": "1.0",
  "id": "b2a8706d-481b-4994-bcf0-f80d75c4f0f5",
  "type": "com.rdcopilot.banking.payment.confirmed.v1",
  "source": "/banking/v1",
  "time": "2026-11-18T07:00:00Z",
  "customerOrgId": "cd2cb4c5-1c0b-444a-8406-0f7045c8f12d",
  "legalCompanyId": "3e738c06-3df7-4eb7-bfe2-259b8ba481f9",
  "aggregateType": "payment",
  "aggregateId": "cef8de13-2bf6-45ea-954f-036e324a40d5",
  "aggregateRevision": 5,
  "correlationId": "7cd5439b-9494-49c6-bc36-ab83cbf3df25",
  "causationId": "c97689c8-d191-4fae-bc65-e010cf0e9157",
  "actor": {
    "serviceId": "banking-treasury"
  },
  "data": {
    "number": "PP-1002",
    "transactionId": "a8359bc8-f9a3-4af7-92ff-ba1394b9a787"
  }
}
```

## payment.rejected

`bankReason` este motivul băncii, așa cum a fost scris, iar `transactionId` este linia de retur. Vezi [Tratează o plată returnată](https://banking.rdcopilot.com/ro/docs/guides/handle-a-returned-payment/).

JSON

```json
{
  "specversion": "1.0",
  "id": "357624c2-3dac-46c3-a319-4900ec7844e9",
  "type": "com.rdcopilot.banking.payment.rejected.v1",
  "source": "/banking/v1",
  "time": "2026-11-23T07:12:00Z",
  "customerOrgId": "cd2cb4c5-1c0b-444a-8406-0f7045c8f12d",
  "legalCompanyId": "3e738c06-3df7-4eb7-bfe2-259b8ba481f9",
  "aggregateType": "payment",
  "aggregateId": "cef8de13-2bf6-45ea-954f-036e324a40d5",
  "aggregateRevision": 6,
  "correlationId": "7cd5439b-9494-49c6-bc36-ab83cbf3df25",
  "causationId": "202e914a-22a1-448b-8f98-e27eac7090d5",
  "actor": {
    "serviceId": "banking-treasury"
  },
  "data": {
    "number": "PP-1002",
    "bankReason": "Beneficiary account closed",
    "transactionId": "58ba7b3a-6ba5-4483-9611-f93018eca7c9"
  }
}
```

## Ce nu trimite eveniment

O plată trimisă spre aprobare sau respinsă, o potrivire împărțită, lăsată, redeschisă sau respinsă și o propunere de plată doar pregătită nu trimit eveniment. Citește-le când ai nevoie de ele: [\`listPaymentProposals\`](https://banking.rdcopilot.com/ro/docs/api-reference/payment-proposals/#list-payment-proposals) și [\`listMatches\`](https://banking.rdcopilot.com/ro/docs/api-reference/matches/#list-matches).
