> For the complete documentation index, see [llms.txt](https://docs.powerall.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerall.app/en/accounts-payable/purchase-invoices/granit-partnershop.md).

# Granit Partnershop

If you have a Granit partner shop, Powerall Online can help you with re-invoicing to customers who have ordered something through your partner shop. Follow the steps below to use this functionality:

{% stepper %}
{% step %}

### Granit account

Support for partner shops must be set up for your Granit account. Check this first. Contact Granit if this has not yet been set up.
{% endstep %}

{% step %}

### Create partner shop item

At supplier Granit, a partner shop item must be linked. This must be an item of the 'Expense' type. This item is used on the order that is created for the customer.
{% endstep %}

{% step %}

### Add partner attribute

Add a new [partner attribute](/en/general/features-and-tags.md#kenmerken) with reference attribute 'Granit partner shop customer number'. This is used to link the sales order directly to the correct Partner.
{% endstep %}

{% step %}

### Prevent duplicate invoices

Because the invoices are retrieved directly from Granit, you must make sure that the purchase invoices do not end up twice in the inbox. Make sure that Granit invoices that come in via email do not end up in the Powerall Inbox.&#x20;
{% endstep %}
{% endstepper %}

## How it works

In the purchase invoice inbox, you can choose 'Retrieve invoices' at the top right under 'More options'. The system downloads the purchase invoices from Granit's system and adds them to the inbox.

If you post this invoice, you will see the 'Create sales order' option. Below that, choose for which Partner the sales order should be created. The items the customer has ordered are automatically added to the order, at the price at which the customer ordered them. Then you can invoice the order.


---

# 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://docs.powerall.app/en/accounts-payable/purchase-invoices/granit-partnershop.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.
