> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/xoroerp-1/admin/company/payment-method/creating-a-payment-method.md).

# Creating a Payment Method

Most of the payment methods are already added to the XoroERP. If your business requires a payment method not already included in Xoro, adding it is a straightforward process. For instance, you might have a payment method for Visa credit card, but you now wish to accommodate payments made with Mastercard, you can easily include the "MasterCard" payment method within Xoro.

Creating a payment method involves entering the name of the payment method and choosing the type of payment method.

{% hint style="info" %}
To create a Payment Method, go to **Menu >  Admin > Company > Payment Methods > Payment Method**
{% endhint %}

#### Payment Method Fields

<table><thead><tr><th width="162">Field</th><th>Description</th></tr></thead><tbody><tr><td>Name</td><td>This field allows you to give a name to the payment method.</td></tr><tr><td>Method Type</td><td>This field allows you to select the type for the payment method. Click here to learn more about the payment method types.</td></tr></tbody></table>

Once you have filled out the details, click "Save" to create the payment method.

<figure><img src="/files/XGGH1d5yXIKiiUR38CSz" alt=""><figcaption></figcaption></figure>

After the payment method is created, you can select this payment method when making or receiving a payment.

<figure><img src="/files/VqRZs28yTfcONrCQdcsl" alt=""><figcaption></figcaption></figure>

#### Adding Fees and Discounts

In addition to creating a payment method, you can configure processing fees or discounts that are automatically applied whenever the payment method is used to make an invoice payment.

To configure charges:

1. Open the required **Payment Method**. Click **Options at the header level and select Manage Charges**.

<figure><img src="/files/HuPH6DrwWn6fVc9xcVrw" alt=""><figcaption></figcaption></figure>

2. In the **Add Charges** window, specify the following details:

* **Charge Type:** Select whether the charge should be applied as a Fee or a Discount.
* **Charge Value Type:** Select whether the charge is a Flat amount or a Percentage.
* **Charge Value:** Enter the fee or discount amount.
* **GL Account:** Select the General Ledger account to which the charge will be posted.

3. Click **Save** to apply the charge configuration.

<figure><img src="/files/UeA4KfkPnRk4mFx0D6uF" alt=""><figcaption></figcaption></figure>

4. Go to the **Invoice Payment** module and select the invoice to be paid. Choose the configured payment method in the **Payment Method** field and enter the **payment amount**.&#x20;
5. The applicable processing **fee or discount** is automatically displayed in the **Charge Amount** column and is added to the corresponding invoice under the **Fees & Discounts** tab.

<figure><img src="/files/2WEcXwBIpUIpUQPFTJzz" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/InmcDGS5KRsrWMExB13c" alt=""><figcaption></figcaption></figure>


---

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.xorosoft.com/xoroerp-1/admin/company/payment-method/creating-a-payment-method.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
