# ERP Cache Batch

The ERP Cache is a solution for situations where a direct real-time interface with the ERP system is not possible. The ERP Cache is implemented as an intermediate database that is filled by importers that process batch XML files. It contains a set of tables that enables the shop to operate on for the retrieval of customer specific prices, stock information and order history.

In the ERP Cache it is possible to store price lists and to relate customers to a price list. For customers with price agreements it is possible to import customer specific prices that supersede the list price.

The ERP Cache supports prices in multiple currencies. The prices are stored in the database in a base currency and converted by the exchange rates as provided by the ERP system.

The prices in the price lists are exported in a base currency.

The ERP Cache batch interfaces contain the following formats:

* Customer
* Price Lists
* Customer-specific Prices
* Order history
* Invoice history
* Stock
* Exchange Rate
* Order documents
* Cleanup


---

# Agent Instructions: 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:

```
GET https://shoxl.gitbook.io/erp-integration-guide/erp-cache-batch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
