> For the complete documentation index, see [llms.txt](https://docs.flowretail.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flowretail.com/docs/day-to-day-operations/selling/payments/set-up-payment-agreements.md).

# Set up payment agreements

Add agreements to a payment method so the cashier can pick one at payment and the sale's margin reflects what that payment earns or costs.

An agreement is a named option on a payment method that the cashier picks at payment. It moves the margin on the sale by a percentage of the amount paid, and the customer sees nothing.

***

## Before you start

* The payment method already added under **Admin → Settings → Payment Methods**.
* A product of type **Non-Physical** for the agreement to post to.
* The **PAYMENT\_METHOD** permission in Flow Admin.

***

## What an agreement does

When the cashier picks an agreement and the payment completes, Flow Retail adds one line to the order: the agreement's product, at price 0, with a cost worked out from the percentage.

| Percentage | Paid amount | Cost on the line | Effect on margin |
| ---------- | ----------- | ---------------- | ---------------- |
| 2.50       | 6,000.00    | −150.00          | Up by 150.00     |
| −1.50      | 6,000.00    | 90.00            | Down by 90.00    |

{% hint style="info" %}
A positive percentage is money you earn, a negative one is money you pay. Agreements change the margin only, never what the customer pays.
{% endhint %}

***

## Add an agreement step by step

{% stepper %}
{% step %}

#### Open the payment method

Go to **Admin → Settings → Payment Methods** and click the method. The **Edit Payment Method** dialog opens.
{% endstep %}

{% step %}

#### Open the Agreements tab

Click **Agreements**, then **New agreement**.
{% endstep %}

{% step %}

#### Fill in the agreement

Name, product and percentage are required. The table below explains every field.
{% endstep %}

{% step %}

#### Save the agreement

Click **Save** in the agreement card. The agreement is saved at once, so you don't need **Save Changes** at the bottom of the dialog.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
**Save** in the agreement card and **Save Changes** in the dialog are separate. Changes to the payment method itself still need **Save Changes**.
{% endhint %}

***

## What each field does

| Field                      | What it does                                                                                                                                 |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| **Name**                   | What the cashier sees in the list.                                                                                                           |
| **Product (non-physical)** | The product the extra line is booked on. Only Non-Physical products can be chosen.                                                           |
| **Percentage**             | Share of the paid amount, from −100 to 100. Comma and period both work. A hint under the field says whether it earns or costs.               |
| **Valid from / Valid to**  | The first and last day the agreement can be chosen, both counting in full. Leave a date empty for no limit. The list then shows **Not set**. |
| **Position**               | The order in the cashier's list, lowest first. A new agreement goes last.                                                                    |
| **Active**                 | Switch off to stop offering the agreement without deleting it.                                                                               |

Dates follow your organization's time zone.

***

## What the cashier sees

In Flow Client, the payment screen shows an **Agreement** field with every agreement that is active and inside its period. The field is marked as required. It only appears when the method has at least one agreement to offer, and not for pre-payments or invoice payments.

On a return, the cashier picks the agreement again. The cost is reversed in proportion to the amount returned.

Flow Assistant does not offer agreements.

***

## Change or retire an agreement

Click a row, or the pencil, to edit it. To stop using an agreement, switch **Active** off.

An agreement that has already settled an order cannot be deleted. Flow Admin tells you to set it inactive instead, which keeps the history on past sales intact.

***

## If something goes wrong

* **The product is missing from the list.** Only Non-Physical products are offered. Check the product's type.
* **Save does nothing.** Flow Admin shows why: **Fill in the name, the product and the percentage.**, **The percentage must be a number between -100 and 100.**, or **The agreement cannot end before it starts.**
* **The cashier is not offered the agreement.** Check that it is **Active** and that today falls between **Valid from** and **Valid to**.
* **The line is missing from the order.** It is added in the background right after payment completes, so it can take a moment. A failure here never stops the sale.

***

## What's next?

* [Payment methods](https://docs.flowretail.com/docs/day-to-day-operations/selling/payments/payment-methods.md)

*Last updated 25.10.2026*


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flowretail.com/docs/day-to-day-operations/selling/payments/set-up-payment-agreements.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
