# Payment balance per customer/vendor or category

This feature lets you define, for each customer, vendor, store or store category, which balancing account to use for a given payment method. Receipts and payments are then posted automatically to the correct account (G/L account or bank account), without having to specify it every time.


- Search for the **Payment Setup** page using Business Central search.
- From the **Payment Methods** page, **Setup** action: opens the setup filtered on the selected payment method (when store management is active).
- From the store and store category pages (store card, store list, store categories), via the dedicated action.


| Field | Description |
|---|---|
| Type | Who the setting applies to: Customer, Vendor, Store or Store Category (the last two only when store management is active). |
| No. | Code of the customer, vendor, store or store category, depending on the selected type. Mandatory. |
| Payment Method Code | Payment method the setting applies to. |
| Bal. Account Type | Type of balancing account: G/L account or bank account. Changing it clears the balancing account number. |
| Bal. Account No. | G/L account or bank account used as balancing account. |
| Company Bank Account | Company bank account to associate with the entry (if available). |
| DocFinance Reason Code | Reason code passed to the DocFinance integration (if available). |


1. Open **Payment Setup**.
2. Create a new line and choose **Type** and **No.** (for example a customer).
3. Enter the **Payment Method Code**.
4. Choose **Bal. Account Type** and **Bal. Account No.**.
5. Fill in **Company Bank Account** and **DocFinance Reason Code**, if present.


- **Sales invoices:** when posting a sales document with a payment method, if a setting exists for the bill-to customer and that payment method with a balancing account filled in, the document's balancing account is set from the setup. The payment is therefore posted to the specified account.
- **Stores:** for store payments, the balancing account is searched in this order: store setting for the payment method; store category setting for the payment method; store setting without payment method (valid for all methods). The Company Bank Account and DocFinance reason code are carried over together with the account.