# Create File Payment Manager

## Description

This guide provides the steps to configure the File Payment Manager.

## Pre-requisites

The user should have a Program Administrator role.

## Steps

1. Navigate to *Programs* using the menu bar.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fgit-blob-c1a9fa92d5f77bb3a18fff1b32f11938df29db06%2Fpayment-manager-program.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Click on *Configuration*.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FXep6ElgD9WivRd5nHdNc%2Fpayment-manager-conf.png?alt=media&#x26;token=476ebaac-25e6-4046-bfc5-44865b667cdb" alt=""><figcaption></figcaption></figure>

3. Select *File Payment Managers* from the drop-down list.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FaTfb5pyXDasNq4d2rUnr%2Fpayment-manger-dropdown-fileconf.PNG?alt=media&#x26;token=06378930-10ed-407a-8efb-23c077684d90" alt=""><figcaption></figcaption></figure>

4. Click on *Create*.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FKZ6jwKOa16QIYlNwaNjo%2Ffile-payment-manager-create.PNG?alt=media&#x26;token=c60367c9-cff7-4ab7-9726-07c4a8754641" alt=""><figcaption></figcaption></figure>

5. Enter the details.

* *Name:* Name of the manager
* *Program:* The program that will use this Payment Manager
* *Automatically Created Batch:* If enabled, the system creates batches automatically
* Currency: Currency used for beneficiary payment
* *File Document Store:* The type of storage used for the payment file
* *Payment File Config:* The name of the payment file

The payment file is configured based on the state of the *Automatically Created Batch* checkbox:

**Disabled:** Only one payment file is associated with this payment manager and configured using the *Payment File Config* dropdown. Go to step#6.

**Enabled:** Each batch has one payment file configured as part of the *Batch Tags* configuration. In this case, the *Batch Tags* configuration replaces the *Payment File Config* dropdown. Go to step#9.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FX0FadHhiJfhN0p5tBgWm%2Ffile-payment-file-conf.png?alt=media&#x26;token=1dd4d33d-117a-4f3f-8ea5-7fcc9e7f6846" alt=""><figcaption></figcaption></figure>

6. Click on *Add a Line* under the *Payment File Config.*

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FffqgB16XoSMMLlgQbUM2%2Ffile-payment-addline.png?alt=media&#x26;token=282e1fdd-a100-4d3e-b1a7-b7c41cdd4317" alt=""><figcaption></figcaption></figure>

7. Select the file and click on *Select*.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fgit-blob-7df5741cf0357cc68f51c31384c6bcce55ec1369%2Fvoucher-payment-file.png?alt=media" alt=""><figcaption></figcaption></figure>

8. Click on *Save* and go to step#14.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FMuDsnbJii4NgkCgFovnt%2Ffile-payment-save.PNG?alt=media&#x26;token=bdccea03-1518-4d3a-b149-ddabbeffb77e" alt=""><figcaption></figcaption></figure>

9. Click on *Add a Line* in *Batch Tags* configuration.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2F4acHHtbVFrK8K5bAXdaj%2Ffile-payment-batch-addline.PNG?alt=media&#x26;token=1f927927-6555-4793-8ab6-e74e16fae2f0" alt=""><figcaption></figcaption></figure>

10. A dialogue box appears. Click on *Create*.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FclI4wPlobVmUKMC69rw4%2Ffile-payment-popup.PNG?alt=media&#x26;token=37073645-2354-41cd-831e-2b59f08c664a" alt=""><figcaption></figcaption></figure>

11. A new pop-up window appears. Enter the details.

* *Name*: The name of batch tags
* *Order*: The order number of this batch when the system executes the batches sequentially
* *Domain:* Filter to add the criteria for this batch
* *Max Batch Size*: Maximum number of payment entries in the batch
* *Render per payment instead of batch*: If enabled, the payments are rendered individually instead of in a batch
* *File Config:* Name of the payment file for this batch

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FFzzszMWmPXCwnO0PooHz%2Fbatch-tags-drop-down.PNG?alt=media&#x26;token=e0946274-bc5d-49ee-aa0b-a1cb7856b34f" alt=""><figcaption></figcaption></figure>

12. Click on *Save & Close*.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FxGFFZ9e6KMYLr0th07r4%2Fbatch-tags-template.PNG?alt=media&#x26;token=d4c845fd-1c94-4ed2-b971-b595595f9984" alt=""><figcaption></figcaption></figure>

13. Click on *Save*.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FWh6TlMlusYb4SPpMvqGh%2Ffile-payment-save.PNG?alt=media&#x26;token=6989c7c4-5b56-40cc-8cbf-ab41eb090c4e" alt=""><figcaption></figcaption></figure>

14. A new File Payment Manager is created and added to the list.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FQzTJl3c10igi1uyDGlqz%2Ffile-payment-result.PNG?alt=media&#x26;token=84fe91b7-666a-444a-9c9c-d117c3b673e3" alt=""><figcaption></figcaption></figure>


---

# 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.openg2p.org/1.1/guides/user-guides/create-payment-manager-types/create-file-payment-manager.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.
