К основному содержанию

Инкассовые поручения

OpenAPI 0.0.1

API для работы с инкассовыми поручениями.

Скачать исходную спецификацию

Варианты

  • Паблик

Операции API

POST /v1/query — Поиск инкассовых поручений

Операция только получает данные и не создает ресурсы

{
  "description": "Операция только получает данные и не создает ресурсы",
  "operationId": "searchIncasso",
  "parameters": [
    {
      "$ref": "#/components/parameters/AuthorizationHeader"
    },
    {
      "$ref": "#/components/parameters/IdTokenHeader"
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "example": {
          "filter": {
            "cnums": [
              "UL8AL7"
            ],
            "dateFrom": "2026-11-01",
            "dateTo": "2026-11-30",
            "statuses": [
              "EXECUTED"
            ]
          },
          "paging": {
            "limit": 10,
            "offset": 0
          }
        },
        "schema": {
          "$ref": "#/components/schemas/IncassoSearchRequest"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "example": {
            "content": [
              {
                "accounts": [
                  {
                    "accountCurrency": "RUR",
                    "accountNumber": "40702810900000000001",
                    "paidAmount": 5000
                  }
                ],
                "cnum": "UL8AL7",
                "date": "2026-11-20",
                "documentType": "INCASSO",
                "id": "51a158e5-57d7-4e2c-b2fc-caf7c11f5ce5",
                "number": "12345",
                "reason": "Взыскание задолженности",
                "remainingDebtAmount": 10000,
                "sender": "ФНС России",
                "status": "EXECUTED",
                "totalDebtAmount": 15000,
                "totalPaidAmount": 5000
              }
            ],
            "paging": {
              "hasNext": false,
              "limit": 10,
              "offset": 0
            }
          },
          "schema": {
            "$ref": "#/components/schemas/IncassoSearchResponse"
          }
        }
      },
      "description": "Инкассовые поручения успешно получены"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "500": {
      "$ref": "#/components/responses/InternalError"
    }
  },
  "security": [
    {
      "RaifApiAuthorization": [],
      "RaifApiIdToken": []
    }
  ],
  "servers": [
    {
      "url": "https://api.raiffeisen.ru/incasso"
    }
  ],
  "summary": "Поиск инкассовых поручений",
  "tags": [
    "Incasso API v1"
  ]
}

POST /v1/warnings — Получение предупреждения о новых инкассовых поручениях

Операция только получает данные и не создает ресурсы

{
  "description": "Операция только получает данные и не создает ресурсы",
  "operationId": "searchIncassoWarnings",
  "parameters": [
    {
      "$ref": "#/components/parameters/AuthorizationHeader"
    },
    {
      "$ref": "#/components/parameters/IdTokenHeader"
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "example": {
          "cnums": [
            "UL8AL7"
          ]
        },
        "schema": {
          "$ref": "#/components/schemas/IncassoWarningRequest"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "example": {
            "hasUnshownIncasso": true,
            "lastShownDateTime": "2026-11-20T10:15:30+03:00"
          },
          "schema": {
            "$ref": "#/components/schemas/IncassoWarningResponse"
          }
        }
      },
      "description": "Предупреждение успешно получено"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "500": {
      "$ref": "#/components/responses/InternalError"
    }
  },
  "security": [
    {
      "RaifApiAuthorization": [],
      "RaifApiIdToken": []
    }
  ],
  "servers": [
    {
      "url": "https://api.raiffeisen.ru/incasso"
    }
  ],
  "summary": "Получение предупреждения о новых инкассовых поручениях",
  "tags": [
    "Incasso API v1"
  ]
}

POST /v1/warnings/accounts — Получение предупреждений об инкассовых поручениях по счетам

Операция только получает данные и не создает ресурсы

{
  "description": "Операция только получает данные и не создает ресурсы",
  "operationId": "searchIncassoAccountWarnings",
  "parameters": [
    {
      "$ref": "#/components/parameters/AuthorizationHeader"
    },
    {
      "$ref": "#/components/parameters/IdTokenHeader"
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "example": {
          "accounts": [
            "40702810900000000001"
          ],
          "cnums": [
            "UL8AL7"
          ],
          "statuses": [
            "PROCESSING",
            "AWAIT_BALANCE"
          ]
        },
        "schema": {
          "$ref": "#/components/schemas/IncassoAccountWarningsRequest"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "example": [
            {
              "accountNumber": "40702810900000000001",
              "remainingDebtAmount": 10000,
              "status": "PROCESSING",
              "totalDebtAmount": 15000
            }
          ],
          "schema": {
            "$ref": "#/components/schemas/IncassoAccountWarningsResponse"
          }
        }
      },
      "description": "Предупреждения успешно получены"
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "500": {
      "$ref": "#/components/responses/InternalError"
    }
  },
  "security": [
    {
      "RaifApiAuthorization": [],
      "RaifApiIdToken": []
    }
  ],
  "servers": [
    {
      "url": "https://api.raiffeisen.ru/incasso"
    }
  ],
  "summary": "Получение предупреждений об инкассовых поручениях по счетам",
  "tags": [
    "Incasso API v1"
  ]
}

POST /v1/{id}/report — Получение печатной формы инкассового поручения

Операция только получает данные и не создает ресурсы

{
  "description": "Операция только получает данные и не создает ресурсы",
  "operationId": "getIncassoReport",
  "parameters": [
    {
      "description": "Идентификатор инкассового поручения",
      "example": "51a158e5-57d7-4e2c-b2fc-caf7c11f5ce5",
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "example": "51a158e5-57d7-4e2c-b2fc-caf7c11f5ce5",
        "format": "uuid",
        "type": "string"
      }
    },
    {
      "$ref": "#/components/parameters/AuthorizationHeader"
    },
    {
      "$ref": "#/components/parameters/IdTokenHeader"
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "example": {
          "documentType": "INCASSO"
        },
        "schema": {
          "$ref": "#/components/schemas/IncassoReportRequest"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "content": {
        "application/pdf": {
          "example": "JVBERi0xLjQK",
          "schema": {
            "$ref": "#/components/schemas/IncassoReportResponse"
          }
        }
      },
      "description": "Печатная форма успешно получена",
      "headers": {
        "Content-Disposition": {
          "description": "Имя загружаемого файла",
          "example": "attachment; filename=\"incasso.pdf\"",
          "required": true,
          "schema": {
            "example": "attachment; filename=\"incasso.pdf\"",
            "type": "string"
          }
        }
      }
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "500": {
      "$ref": "#/components/responses/InternalError"
    }
  },
  "security": [
    {
      "RaifApiAuthorization": [],
      "RaifApiIdToken": []
    }
  ],
  "servers": [
    {
      "url": "https://api.raiffeisen.ru/incasso"
    }
  ],
  "summary": "Получение печатной формы инкассового поручения",
  "tags": [
    "Incasso API v1"
  ]
}

Схемы и примеры

{
  "parameters": {
    "AuthorizationHeader": {
      "description": "Токен доступа",
      "in": "header",
      "name": "Authorization",
      "required": true,
      "schema": {
        "example": "Bearer QXV0aG9yaXphdGlvbiBIZWFkZXIgRm9yIFRlc3Rpbmc=",
        "format": "byte",
        "type": "string"
      }
    },
    "IdTokenHeader": {
      "description": "Идентификационный токен пользователя",
      "in": "header",
      "name": "Id-Token",
      "required": true,
      "schema": {
        "example": "SUQgVE9LRU4gRk9SIFRFU1RJTkc=",
        "format": "byte",
        "type": "string"
      }
    }
  },
  "responses": {
    "InternalError": {
      "description": "Внутренняя ошибка"
    },
    "Unauthorized": {
      "description": "Аутентификация не пройдена"
    }
  },
  "schemas": {
    "IncassoAccountResponse": {
      "description": "Счет и сумма списания",
      "properties": {
        "accountCurrency": {
          "description": "Валюта счета",
          "example": "RUR",
          "nullable": true,
          "type": "string"
        },
        "accountNumber": {
          "description": "Номер счета",
          "example": "40702810900000000001",
          "type": "string"
        },
        "paidAmount": {
          "description": "Списанная сумма",
          "example": 5000,
          "type": "number"
        }
      },
      "required": [
        "accountNumber",
        "paidAmount"
      ],
      "type": "object"
    },
    "IncassoAccountWarningResponse": {
      "description": "Предупреждение по счету",
      "properties": {
        "accountNumber": {
          "description": "Номер счета",
          "example": "40702810900000000001",
          "type": "string"
        },
        "remainingDebtAmount": {
          "description": "Оставшаяся сумма долга",
          "example": 10000,
          "type": "number"
        },
        "status": {
          "$ref": "#/components/schemas/IncassoDisplayedStatus"
        },
        "totalDebtAmount": {
          "description": "Общая сумма долга",
          "example": 15000,
          "type": "number"
        }
      },
      "required": [
        "totalDebtAmount",
        "remainingDebtAmount",
        "accountNumber",
        "status"
      ],
      "type": "object"
    },
    "IncassoAccountWarningsRequest": {
      "description": "Запрос предупреждений по счетам",
      "properties": {
        "accounts": {
          "description": "Номера счетов",
          "example": [
            "40702810900000000001"
          ],
          "items": {
            "example": "40702810900000000001",
            "type": "string"
          },
          "minItems": 1,
          "type": "array"
        },
        "cnums": {
          "description": "CNUM организаций",
          "example": [
            "UL8AL7"
          ],
          "items": {
            "example": "UL8AL7",
            "format": "cnum",
            "type": "string"
          },
          "minItems": 1,
          "type": "array"
        },
        "statuses": {
          "description": "Отображаемые статусы",
          "example": [
            "PROCESSING",
            "AWAIT_BALANCE"
          ],
          "items": {
            "$ref": "#/components/schemas/IncassoDisplayedStatus"
          },
          "minItems": 1,
          "type": "array"
        }
      },
      "required": [
        "accounts",
        "statuses"
      ],
      "type": "object"
    },
    "IncassoAccountWarningsResponse": {
      "description": "Предупреждения по счетам",
      "example": [
        {
          "accountNumber": "40702810900000000001",
          "remainingDebtAmount": 10000,
          "status": "PROCESSING",
          "totalDebtAmount": 15000
        }
      ],
      "items": {
        "$ref": "#/components/schemas/IncassoAccountWarningResponse"
      },
      "type": "array"
    },
    "IncassoDisplayedStatus": {
      "description": "Отображаемый статус",
      "enum": [
        "EXECUTED",
        "CLOSED",
        "PROCESSING",
        "AWAIT_BALANCE",
        "RESTRICTED",
        "NEW",
        "SUSPENDED"
      ],
      "example": "PROCESSING",
      "type": "string"
    },
    "IncassoDocumentType": {
      "description": "Тип документа",
      "enum": [
        "EXECUTION_ORDER",
        "COLLECTION",
        "INCASSO"
      ],
      "example": "INCASSO",
      "type": "string"
    },
    "IncassoReportRequest": {
      "description": "Запрос печатной формы инкассового поручения",
      "properties": {
        "documentType": {
          "$ref": "#/components/schemas/IncassoDocumentType"
        }
      },
      "required": [
        "documentType"
      ],
      "type": "object"
    },
    "IncassoReportResponse": {
      "description": "Печатная форма в формате PDF",
      "example": "JVBERi0xLjQK",
      "format": "binary",
      "type": "string"
    },
    "IncassoResponse": {
      "description": "Инкассовое поручение",
      "properties": {
        "accounts": {
          "description": "Счета и суммы списания",
          "example": [
            {
              "accountCurrency": "RUR",
              "accountNumber": "40702810900000000001",
              "paidAmount": 5000
            }
          ],
          "items": {
            "$ref": "#/components/schemas/IncassoAccountResponse"
          },
          "type": "array"
        },
        "cnum": {
          "description": "CNUM организации",
          "example": "UL8AL7",
          "format": "cnum",
          "type": "string"
        },
        "date": {
          "description": "Дата инкассового поручения",
          "example": "2026-11-20",
          "format": "date",
          "type": "string"
        },
        "documentType": {
          "$ref": "#/components/schemas/IncassoDocumentType"
        },
        "id": {
          "description": "Идентификатор инкассового поручения",
          "example": "51a158e5-57d7-4e2c-b2fc-caf7c11f5ce5",
          "format": "uuid",
          "type": "string"
        },
        "number": {
          "description": "Номер инкассового поручения",
          "example": "12345",
          "type": "string"
        },
        "reason": {
          "description": "Назначение или причина",
          "example": "Взыскание задолженности",
          "type": "string"
        },
        "remainingDebtAmount": {
          "description": "Оставшаяся сумма долга",
          "example": 10000,
          "type": "number"
        },
        "sender": {
          "description": "Отправитель",
          "example": "ФНС России",
          "type": "string"
        },
        "status": {
          "$ref": "#/components/schemas/IncassoDisplayedStatus"
        },
        "totalDebtAmount": {
          "description": "Общая сумма долга",
          "example": 15000,
          "type": "number"
        },
        "totalPaidAmount": {
          "description": "Общая оплаченная сумма",
          "example": 5000,
          "type": "number"
        }
      },
      "required": [
        "id",
        "cnum",
        "documentType",
        "number",
        "date",
        "totalDebtAmount",
        "remainingDebtAmount",
        "totalPaidAmount",
        "status",
        "sender",
        "reason",
        "accounts"
      ],
      "type": "object"
    },
    "IncassoSearchFilter": {
      "description": "Фильтр поиска инкассовых поручений",
      "example": {
        "cnums": [
          "UL8AL7"
        ],
        "dateFrom": "2026-11-01",
        "dateTo": "2026-11-30",
        "statuses": [
          "EXECUTED"
        ]
      },
      "properties": {
        "cnums": {
          "description": "CNUM организаций",
          "example": [
            "UL8AL7"
          ],
          "items": {
            "example": "UL8AL7",
            "format": "cnum",
            "type": "string"
          },
          "minItems": 1,
          "type": "array"
        },
        "dateFrom": {
          "description": "Начальная дата периода включительно",
          "example": "2026-11-01",
          "format": "date",
          "type": "string"
        },
        "dateTo": {
          "description": "Конечная дата периода включительно",
          "example": "2026-11-30",
          "format": "date",
          "type": "string"
        },
        "statuses": {
          "description": "Отображаемые статусы инкассовых поручений",
          "example": [
            "EXECUTED"
          ],
          "items": {
            "$ref": "#/components/schemas/IncassoDisplayedStatus"
          },
          "minItems": 1,
          "type": "array"
        }
      },
      "type": "object"
    },
    "IncassoSearchRequest": {
      "description": "Запрос поиска инкассовых поручений",
      "properties": {
        "filter": {
          "$ref": "#/components/schemas/IncassoSearchFilter"
        },
        "paging": {
          "$ref": "#/components/schemas/OffsetPagingRequest"
        }
      },
      "required": [
        "filter",
        "paging"
      ],
      "type": "object"
    },
    "IncassoSearchResponse": {
      "description": "Результат поиска инкассовых поручений",
      "properties": {
        "content": {
          "description": "Инкассовые поручения",
          "example": [],
          "items": {
            "$ref": "#/components/schemas/IncassoResponse"
          },
          "type": "array"
        },
        "paging": {
          "$ref": "#/components/schemas/OffsetPagingResponse"
        }
      },
      "required": [
        "content",
        "paging"
      ],
      "type": "object"
    },
    "IncassoWarningRequest": {
      "description": "Запрос предупреждения о новых инкассовых поручениях",
      "properties": {
        "cnums": {
          "description": "CNUM организаций",
          "example": [
            "UL8AL7"
          ],
          "items": {
            "example": "UL8AL7",
            "format": "cnum",
            "type": "string"
          },
          "minItems": 1,
          "type": "array"
        }
      },
      "type": "object"
    },
    "IncassoWarningResponse": {
      "description": "Предупреждение о новых инкассовых поручениях",
      "properties": {
        "hasUnshownIncasso": {
          "description": "Признак наличия непросмотренных поручений",
          "example": true,
          "type": "boolean"
        },
        "lastShownDateTime": {
          "description": "Время последнего просмотра списка",
          "example": "2026-11-20T10:15:30+03:00",
          "format": "date-time",
          "nullable": true,
          "type": "string"
        }
      },
      "required": [
        "hasUnshownIncasso"
      ],
      "type": "object"
    },
    "OffsetPagingRequest": {
      "description": "Параметры offset-пагинации",
      "example": {
        "limit": 10,
        "offset": 0
      },
      "properties": {
        "limit": {
          "default": 10,
          "description": "Максимальное количество элементов в ответе",
          "example": 10,
          "format": "int32",
          "maximum": 100,
          "minimum": 1,
          "type": "integer"
        },
        "offset": {
          "default": 0,
          "description": "Смещение от начала результата",
          "example": 0,
          "format": "int32",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "offset",
        "limit"
      ],
      "type": "object"
    },
    "OffsetPagingResponse": {
      "description": "Информация о странице результата",
      "example": {
        "hasNext": false,
        "limit": 10,
        "offset": 0
      },
      "properties": {
        "hasNext": {
          "description": "Признак наличия следующей страницы",
          "example": false,
          "type": "boolean"
        },
        "limit": {
          "description": "Максимальное количество элементов в ответе",
          "example": 10,
          "format": "int32",
          "type": "integer"
        },
        "offset": {
          "description": "Смещение от начала результата",
          "example": 0,
          "format": "int32",
          "type": "integer"
        }
      },
      "required": [
        "offset",
        "limit",
        "hasNext"
      ],
      "type": "object"
    }
  },
  "securitySchemes": {
    "RaifApiAuthorization": {
      "scheme": "bearer",
      "type": "http"
    },
    "RaifApiIdToken": {
      "in": "header",
      "name": "Id-Token",
      "type": "apiKey"
    }
  }
}
Такой страницы нет
Вернуться на главную
support_openapi@raiffeisen.ru
Готовая интеграция 1С:ДиректБанк и SmartegraRaif Pay API
Лицензия Банка РоссииПолитика обр. персональных данныхСогласие на обработку персональных данных

АО «Райффайзенбанк» использует файлы «cookie», с целью персонализации сервисов и повышения удобства пользования веб-сайтом. «Cookie» представляют собой небольшие файлы, содержащие информацию о предыдущих посещениях веб-сайта. Если вы не хотите использовать файлы «cookie», измените настройки браузера. © 2003 – 2026 АО «Райффайзенбанк»