---
title: "Payment proposals and approvals | Docs | Treasury by R&D Copilot"
description: "How a payment proposal moves from draft to confirmed or rejected by the bank, who may approve it, and how one payment file is made."
canonical: "https://banking.rdcopilot.com/docs/concepts/payment-proposals-and-approvals/"
language: en
updated: 2026-11-22
---

# Payment proposals and approvals

How a payment proposal moves from draft to confirmed or rejected by the bank, who may approve it, and how one payment file is made.

A payment proposal is the plan to pay one bill. You prepare it, an approver approves it, and you export the approved proposals as one table. Your bank executes the payments. Treasury follows each one until a statement confirms it or the bank returns it.

## Status

The path is `draft`, `awaiting_approval`, `approved`, `exported`, then `confirmed` or `rejected_by_bank`. A decline sends `awaiting_approval` back to `draft`.

| Status | Meaning |
| --- | --- |
| Draft `draft` | Prepared for a bill and not sent yet, or sent back by an approver with a reason. |
| Awaiting approval `awaiting_approval` | Sent for approval. An approver whose authority covers the amount approves or declines it. |
| Approved `approved` | Approved. It can go into a payment file. |
| Exported `exported` | Part of a payment file. Your bank executes it. |
| Confirmed by statement `confirmed` | A statement shows the debit booked. A later return can still move it to `rejected_by_bank`. |
| Rejected by the bank `rejected_by_bank` | The bank returned or rejected the payment. `bankReason` holds its words. This status is final. |

## The proposal object

| Field | Meaning |
| --- | --- |
| `number` | The number of the proposal, such as `PP-1003`. It goes into the payment file and into the reference of the payment. |
| `openItemId` | The bill to pay. `billNumber` is its number. |
| `accountId` | The account the payment leaves. |
| `amount` | The amount to pay, at most what the bill still owes. |
| `dueOn` | The day the bill is due. `executeOn` is the day the payment is executed: the scheduled day until the proposal is exported, then the day of its file. |
| `status` | One of the six statuses above. |
| `requiredAuthority` | `accountant` or `director`: the authority an approver needs for this amount. |
| `preparedBy` | Who prepared the proposal. |
| `approvals` | The approvals given: who and when. |
| `declined` | The last refusal, with its reason, or `null`. |
| `batchId` | The payment file the proposal was exported in, or `null`. |
| `bankReason` | The reason the bank gave when it returned the payment, or `null`. |
| `revision` | Send it as `expectedRevision` when you change the proposal. |

## Who may approve

Approval depends on the amount. The account has a limit: up to it an accountant approves, above it a director. The limit is a setting of the account, so read `requiredAuthority` on the proposal instead of comparing amounts yourself. A director may approve any amount.

`listPeople` returns the people of the account with the `authority` each holds: `accountant`, `director` or `null`. A person with `null` prepares payments and approves none. The person who prepared a proposal never approves or declines it, whatever authority that person holds.

The people of the account

```json
[
  {
    "name": "Sorin Avram",
    "role": "Purchasing",
    "authority": null
  },
  {
    "name": "Ioana Marin",
    "role": "Chief accountant",
    "authority": "accountant"
  },
  {
    "name": "Ana Rusu",
    "role": "Finance director",
    "authority": "director"
  }
]
```

`approvePayment` sends the `personId` of the approver. The checks run in this order, and the first that fails answers.

| Code | HTTP | What it means |
| --- | --- | --- |
| `invalid_payment_status` | `422` | The payment proposal is not in a status that allows this. |
| `not_an_approver` | `422` | The person named in `personId` does not approve payments in this account. |
| `self_approval` | `422` | The person who prepared a payment proposal does not approve or decline it. |
| `insufficient_authority` | `422` | The amount needs a higher approval than the approver holds. |

## Decline

`declinePayment` needs a `reason` and the `personId` of an approver other than the preparer (`reason_required`, `not_an_approver`, `self_approval`). The proposal goes back to `draft`, and `declined` keeps who, when and why. Send it for approval again when it is ready; that clears `declined`.

JSON

```json
{
  "number": "PP-1005",
  "status": "draft",
  "requiredAuthority": "director",
  "declined": {
    "by": "Ana Rusu",
    "at": "2026-11-23T07:12:00Z",
    "reason": "Ask for the credit note first"
  }
}
```

## Export: one table, one execution day

`exportPayments` takes approved proposals and returns a payment file: one table with a header row and one row for each payment. The proposals move to `exported` and carry the `batchId` of the file. The file has one `executeOn` day, the earliest scheduled `executeOn` of its payments, so no payment is late. Each exported proposal then carries the day of its file in its own `executeOn`. See [Accounts and balances](https://banking.rdcopilot.com/docs/concepts/accounts-and-balances/#execution-day) for how a day is chosen.

The table of a payment file

```json
{
  "executeOn": "2026-12-04",
  "rows": [
    [
      "payment",
      "beneficiary",
      "account",
      "amount",
      "currency",
      "execution_date",
      "reference"
    ],
    [
      "PP-1006",
      "Ambalaje Carpatin SRL",
      "RO** **** **** **** **** 0000",
      "4120.75",
      "RON",
      "2026-12-04",
      "AC-2026-0761 PP-1006"
    ]
  ]
}
```

A file holds payments of one account. Payments of two accounts are refused with `mixed_accounts`, an empty list with `batch_empty`, and a proposal that is not `approved` with `invalid_payment_status`. The reference of each row ends with the proposal number; the next section depends on it.

## How a statement confirms a payment

When you import a statement, an `exported` proposal becomes `confirmed` if a booked debit names the proposal number in its `reference` and equals the `amount` of the proposal. A pending line confirms nothing; it can after a later statement books it.

## When the bank returns the payment

A statement line with status `returned` and a `returnOf` that points at the payment line moves the proposal to `rejected_by_bank`. This works from `exported` and from `confirmed`. `bankReason` holds the reason of the bank as written.

JSON

```json
{
  "number": "PP-1002",
  "status": "rejected_by_bank",
  "bankReason": "Beneficiary account closed"
}
```

## One active proposal for each bill

A bill has one proposal at a time. A second one is refused with `bill_has_proposal` while the first is in any status except `rejected_by_bank`. After the bank rejects a payment, match its return: the bill then owes its amount again, and you can prepare a new proposal. Before that, the amount is refused with `amount_exceeds_open`. See [Handle a returned payment](https://banking.rdcopilot.com/docs/guides/handle-a-returned-payment/).

Next: [Prepare and approve payments](https://banking.rdcopilot.com/docs/guides/prepare-and-approve-payments/) and [Payment proposals](https://banking.rdcopilot.com/docs/api-reference/payment-proposals/#prepare-payment) in the API reference.
