# 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.

![](https://3537448238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fzpi9teY7Tm2pCZ1Bw8zO%2Fuploads%2FKW0uqwLjnpW9WnOGvVAk%2FBO_BatchClose_Overview.png?alt=media\&token=58c3fc24-8c80-4e7f-b03d-dea1f0e08b44)

## The Search

![](https://3537448238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fzpi9teY7Tm2pCZ1Bw8zO%2Fuploads%2Fzf1LZuWmRDE9p6IOUFuG%2FBO_BatchClose_Search.png?alt=media\&token=54127e19-2e42-4379-9f92-82b5704c2372)

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)](https://3537448238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJbIA8fSCwoMDsZw5y-%2F-McInRyRysljmi7scD3l%2F-McIp8oLGSk-4YxWoo-L%2FBO_BatchClose_Export.png?alt=media\&token=c3b46b07-22c2-46b9-b1b1-3b7b91bd0181)

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="<https://3537448238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJbIA8fSCwoMDsZw5y-%2F-McInRyRysljmi7scD3l%2F-McIp_KCjz4uD3Q99K84%2FExport_17869305_20210604_20210604_EI1E35AMYtjjUAvvd86UbWS62KvA.xlsx?alt=media&token=16877f66-6f86-4312-a1c5-99cfcf5eb813>" %}
Batch Close Export example
{% endfile %}

## Details

![(click to enlarge)](https://3537448238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJbIA8fSCwoMDsZw5y-%2F-McInRyRysljmi7scD3l%2F-McJ7WEL_03-h_qIBBst%2FBO_BatchClose_Details.png?alt=media\&token=58f94b42-b770-4cf1-ab43-fc2f78f72717)

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)](https://3537448238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MJbIA8fSCwoMDsZw5y-%2F-McInRyRysljmi7scD3l%2F-McJ9JQgO1CIcJAq3NnQ%2FBO_BatchClose_Journal.png?alt=media\&token=854385b6-ecb2-4b35-9530-3fbc65df28cd)

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](https://docs.saferpay.com/home/interfaces/backoffice/transactions/..#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](https://docs.saferpay.com/home/interfaces/settings#payment-means-terminals) for the respective terminal. Closing should be carried out only once a day.
{% endhint %}

### Via the Backoffice

![(click to enlarge)](https://3537448238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fzpi9teY7Tm2pCZ1Bw8zO%2Fuploads%2FA11w3wqiwuXxXhxMaO7r%2FBO_BatchClose_Batch.png?alt=media\&token=58cdce6e-d23b-4322-83f6-a8b73d2e9463)

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