# Batch Close

Under Batch Close, you can view present and past booking periods, export said periods, among more.

### What is a Batch Close?

The Batch Close, or daily closing is executed once, each day, on every terminal, that is connected to your Saferpay account. Per default, this happens automatically at 10pm CET/CEST. During this process, all transactions that have passed through the capture, or booking, are filed with the payment method processor, in order to initiate the cash flow.

## Overview <a href="#overview" id="overview"></a>

The overview shows a list of all your booking periods, their opening and closing date, the number of transactions filed, as well as the respective Saferpay terminal.

![](/files/2Zo9YPU3Xuf34oEXsm7g)

## The Search

![](/files/bV5u72JZN4cyKKcVLxi3)

By clicking on the **Advanced Search icon** in the top right of the overview, you can filter this view, after a date, the state of the period, a terminal, or you can also search for a specific booking period, by entering its ID.

![](https://gblobscdn.gitbook.com/assets%2F-MFBDa9PpWZ5jLkcHgVZ%2F-MIJBdcbmiSLPgT98W1G%2F-MIJHdJFar47Ik5s9QX5%2FBO_Batch_search.png?alt=media\&token=6722c6e1-121e-4ad5-94f4-dcdb723cc53a)

## Export

![(click to enlarge)](/files/-McIp8oLGSk-4YxWoo-L)

By clicking on **Export** for a given booking period, you can download an Excel .xlsx-file. Similar to the Backoffice Export, it contains a list of transactions. However in this case only the transactions, that are filed under this specific booking period.

#### Example <a href="#example" id="example"></a>

{% file src="/files/-McIp\_KCjz4uD3Q99K84" %}
Batch Close Export example
{% endfile %}

## Details

![(click to enlarge)](/files/-McJ7WEL_03-h_qIBBst)

When you click on **Details**, you'll get an overview of the given booking period. That includes the opening date, the date of closing, the terminal, the booking period is attached to, the number of instructions and then a listing of the amount made per currency and payment method.

### Details

![(click to enlarge)](/files/-McJ9JQgO1CIcJAq3NnQ)

If you want, you can get a listing of all transactions, included in a given booking period, if you click on **Show transactions** in the Detail-view. This will lead you to the [Transaction Journal](/home/interfaces/backoffice/transactions.md#journal), displaying the connected transactions.

## Triggering the Batch&#x20;

### Via API

If desired, the Batch Close also be triggered via the Saferpay API. The request necessary for this is called [Batch Close](http://saferpay.github.io/jsonapi/index.html#ChapterBatch).

{% hint style="warning" %}
Before you can use the API, you need to disable the daily closing in the Saferpay Backoffice via [Settings => Terminals](/home/interfaces/backoffice/settings.md#payment-means-terminals) for the respective terminal. Closing should be carried out only once a day.
{% endhint %}

### Via the Backoffice

![(click to enlarge)](/files/tyDtWiY0nRIqkbevXZkP)

You can also trigger the batch, by clicking on the **Batch Close** button, on the Booking period details page.


---

# 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://docs.saferpay.com/home/interfaces/backoffice/transactions/batch-close.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.
