> For the complete documentation index, see [llms.txt](https://dev.ropo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.ropo.com/guides/country-specific-actions/finland/receiver-proposal.md).

# Receiver proposal

Send a Finvoice `ReceiverProposal` message to Ropo One via the REST API.

Ropo forwards the proposal to the debtor’s online bank.

The debtor approves it in their bank.

### Prerequisites

* You have `cid` and `apicode` from Ropo support.
* You can fetch a JWT token. See [Authentication](/guides/basics/authentication.md).

### Endpoints

* Production: `https://ropo24.fi/rest/receiverproposal`
* Test: `https://rc.ropo24.fi/rest/receiverproposal`

Token endpoint:

* Production: `https://ropo24.fi/rest/token`
* Test: `https://rc.ropo24.fi/rest/token`

### Send a ReceiverProposal

#### Request

* Method: `POST`
* Header: `Authorization: Bearer <token>`
* Header: `Content-Type: application/xml`
* Optional header: `Encoding: UTF-8` or `Encoding: ISO-8859-1`\
  Default is `ISO-8859-1`.
* Body: ReceiverProposal XML as a string (Finvoice standard).

Finvoice reference: <https://www.finanssiala.fi/en/topics/finvoice-standard/>

#### Example (curl)

{% code title="ReceiverProposal.xml upload" %}

```bash
# 1) Fetch token
TOKEN=$(
  curl -s -X POST "https://rc.ropo24.fi/rest/token" \
    -H "accept: application/json" \
    -H "content-type: application/json" \
    -d '{"cid":"<CID>","apicode":"<APICODE>"}' \
  | jq -r .token
)

# 2) Send ReceiverProposal XML
curl -X POST "https://rc.ropo24.fi/rest/receiverproposal" \
  -H "accept: application/json" \
  -H "authorization: Bearer $TOKEN" \
  -H "content-type: application/xml" \
  --data-binary "@/path/to/ReceiverProposal.xml"
```

{% endcode %}

{% hint style="info" %}
Skip `jq` if needed.

Paste the token manually.
{% endhint %}

### API reference

## POST /receiverproposal

> Add Receiver Proposals

```json
{"openapi":"3.1.0","info":{"title":"Ropo One","version":"1.0.0"},"tags":[{"name":"receiverproposal","description":"Receiver Proposal"}],"servers":[{"url":"/rest","description":"Ropo One"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","bearerFormat":"JWT","scheme":"bearer"}},"schemas":{"ReceiverResponse":{"title":"ReceiverResponse","description":"ReceiverResponse","properties":{"result":{"description":"Result","type":"string"},"errors":{"description":"Result","type":"string"}},"type":"object"},"Error":{"title":"Error","description":"Error","properties":{"Code":{"type":"integer"},"Message":{"type":"string"}},"type":"object"}}},"paths":{"/receiverproposal":{"post":{"tags":["receiverproposal"],"summary":"Add Receiver Proposals","operationId":"addReceiverProposalAction","parameters":[{"name":"Encoding","in":"header","description":"Optional file encoding 'UTF-8' or 'ISO-8859-1'. Default encoding is 'iso-8859-1'","required":false,"schema":{"type":"string"}}],"requestBody":{"description":"ReceiverProposal XML-string","required":true,"content":{"application/xml":{"schema":{"type":"string"}}}},"responses":{"201":{"description":"Successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiverResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://dev.ropo.com/guides/country-specific-actions/finland/receiver-proposal.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
