# GENERATE RAO DECLARATION

Generates a declaration related to a request that must be signed by a RAO. The receipt is signed in the Approve Request call.

Endpoint: POST /api/v1/requests/{id}/generates_tbs_receipt
Version: v1

## Path parameters:

  - `id` (string, required)
    The unique identifier of the Request

## Request fields (application/json):

  - `rao` (string, required)
    The unique identifier of the RAO that will sign and approve the request

  - `type` (string, required)
    The type of the receipt to generate
    Enum: "APPROVE"

## Response 200 fields (application/json):

  - `serial_number` (string)
    The receipt serial number

  - `receipt` (string)
    The receipt content

## Response 400 fields (application/json):

  - `detail` (string)
    JSON syntax error description

## Response 404 fields (application/json):

  - `code` (string)
    The response status code

  - `id` (string)
    The response status id

  - `error` (string)
    The response status message


