> For the complete documentation index, see [llms.txt](https://docs.fivesigmalabs.com/90QdzjlkkzeSKsiP9PE0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fivesigmalabs.com/90QdzjlkkzeSKsiP9PE0/configuration-and-automation/fund-accounts.md).

# Fund Accounts

Fund account rules decide which of your bank accounts an outbound payment is sent from. Instead of every payment on a payment method drawing from one fixed account, the account is resolved per payment from the claim it belongs to.

This matters when your money sits in more than one place - a separate account per binder, per underwriting year, per currency, per line of business. Without rules, that mapping has to be maintained outside Five Sigma and applied by hand.

### Availability and activation

Fund accounts are enabled per organization. Contact Five Sigma Support.

Access to the Fund Accounts screen is governed by its own permission scope, separate from the parent System Configuration permission, so it can be granted to the people who manage payment configuration without opening the rest of System Configuration to them.

### How resolution works

At payment approval:

1. The rules whose context matches the payment - its sub-organization, line of business and payment method - are selected.
2. Those rules are evaluated **in the order they are listed**. The first rule whose conditions match wins.
3. That rule's account id is handed to the payment provider, and the payment is sent from it.
4. If no rule matches, the engine's **default behavior** applies.

There is no scoring and no most-specific-wins. Order is the priority, which is why the rules list is drag-and-drop.

### Where to configure

**System Configuration → Fund Accounts.**

The screen has two parts: a settings row at the top holding the default behavior, and a **Rules** tab beneath it.

<figure><img src="https://3999210477-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6tGJhZQuKhazt1ksiEHT%2Fuploads%2F2eJ0FB8MsujuYzRLEZZD%2Fimage.png?alt=media&amp;token=f0527a61-56d5-4fbc-8a91-f0dbad3f2c28" alt=""><figcaption></figcaption></figure>

### Set the default behavior

The default behavior decides what happens to a payment that matches no rule. Choose one:

| Option                | What happens                                                                                      |
| --------------------- | ------------------------------------------------------------------------------------------------- |
| Default account       | The payment is sent from a nominated fallback account.                                            |
| Ignore and send empty | The payment is sent with no account id. Only appropriate where the provider does not require one. |
| Block payment         | The payment cannot be approved.                                                                   |

{% hint style="warning" %}
Where your payment provider requires a fund account, a payment sent with no account id fails at approval regardless of which option is set. **Block payment** makes that failure explicit and early; **Ignore and send empty** lets it surface as a provider error instead. Choose **Block payment** unless you have a provider that genuinely accepts payments without an account.
{% endhint %}

### Add a rule

1. Open the **Rules** tab and select **Add Rule**.
2. Complete the rule.
3. Save, then drag the rule into position in the list.

| Setting           | What it does                                                                                                                                                    |
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Rule name         | Identifies the rule in the list. Choose something that names the account's purpose, not the condition.                                                          |
| Sub Organizations | The sub-organizations this rule covers.                                                                                                                         |
| Line of Business  | The lines of business this rule covers.                                                                                                                         |
| Payment Method    | The payment methods this rule covers - Check, eCheck, UK / AU / NZ / IBAN Bank Transfer, US ACH, and custom payment methods.                                    |
| Conditions        | Which payments the rule applies to. Built on the standard conditions module, over claim, exposure, policy and payment fields, including your configured fields. |
| Account ID        | The account the matching payments are sent from. Free text - it must match the account id held by your payment provider exactly.                                |

Sub-organization, line of business and payment method are the rule's **context**: they decide whether the rule is considered at all. The conditions decide whether it matches.

<figure><img src="https://3999210477-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6tGJhZQuKhazt1ksiEHT%2Fuploads%2FtK7LxhnyWtqOf0khlvi4%2Fimage.png?alt=media&amp;token=8ef0b1b2-d044-4227-866b-99f79b930685" alt=""><figcaption></figcaption></figure>

#### Conditions on the binder

Where a claim carries a single binder and section, rules can be written against them:

| Object  | Fields                                                                                               |
| ------- | ---------------------------------------------------------------------------------------------------- |
| Binder  | External id, agreement number, UMR, Lloyd's risk code, carrier name, effective date, expiration date |
| Section | External id, section name, section number                                                            |

### Managing rules

Rules are listed with their name, sub-organizations, line of business, payment method and account id.

* **Reorder** by dragging a rule. Order is priority, so moving a rule changes which payments it wins.
* **Edit** or **delete** from the Actions menu on the row.
* **Filter** the list by account id (free text), sub-organization and line of business.

### Where the resolved account appears

Once the payment is approved, the account it was sent from is recorded on the payment and visible in four places:

| Where                | What you see                                                                       |
| -------------------- | ---------------------------------------------------------------------------------- |
| Claim payments table | A fund account column. Shown only for organizations with fund accounts configured. |
| Payment API          | The fund account on the payment.                                                   |
| Payment webhooks     | The fund account on the payment payload.                                           |
| Data export          | The fund account on the payment record.                                            |

The value is what was resolved at approval. Changing a rule afterwards does not retrospectively change payments already sent.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fivesigmalabs.com/90QdzjlkkzeSKsiP9PE0/configuration-and-automation/fund-accounts.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
