> For the complete documentation index, see [llms.txt](https://docs.perkville.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.perkville.com/integrations/integration-reference/erply.md).

# Erply

Reward Erply purchases and distribute coupon rewards.

## Integration at a glance <a href="#capabilities-and-use-cases" id="capabilities-and-use-cases"></a>

* **Purchase earning** — Filter purchases by product and payment type; refund handling is supported.
* **Coupon rewards** — Support multi-use and single-use codes, including automated coupon distribution close to real time.

Your configured rules determine which eligible activities award points and which workflows are enabled.

## **Integration Steps**

1. **Create an Admin User in Erply**
   * Set up a new admin user account in Erply with a unique **username** and **password** for the integration.
2. **Register in Middle**
   * Work with your CSR who will send you an email invitation to join our integration platform, **Middle**.
   * Follow the link in the email to complete your registration.
3. **Connect Your Erply Account in Middle**
   * Log in to Middle.
   * Click on your account name, then select the **Erply app**.
   * Click **Edit Connection Details**.
   * Enter your **Customer Code** (a number up to 6 digits, e.g., 7704 or 100123).
   * Enter the **username** and **password** you created in Erply.
   * Click **Save**, then **Submit** to complete the connection.

## FAQ

### Can rewards distribute coupon codes?

Yes. The listed integration supports single-use and multi-use codes and automated distribution. Confirm the coupon and reward configuration with your CSR.

See the [Erply partner profile](https://partners.perkville.com/partners/erply) for additional integration information.


---

# 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.perkville.com/integrations/integration-reference/erply.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.
