> ## Documentation Index
> Fetch the complete documentation index at: https://docs.partnero.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to create a transaction

Create a transaction manually when it was not recorded automatically, for example, when a customer or partner forgot to use the referral link. Once the transaction exists, the partner’s commission is calculated from its amount.

**Note:** The customer must exist in Partnero before you can add a transaction. If they don’t, [create the customer](https://docs.partnero.com/knowledge-base/customers-leads/how-to-create-a-customer.md) first.

To create a transaction:

1. Go to **Referrals** → **Customers**.
2. Search for the customer by name or email address and open their profile.

   ![Image](https://mintcdn.com/partnero/MbEAWbPkGk27GFCk/images/image-303.png?fit=max\&auto=format\&n=MbEAWbPkGk27GFCk\&q=85\&s=351f4671c30601395f3fbc83f6202fd5)
3. In the **Transaction history** block, click **Create transaction**.

   ![Image](https://mintcdn.com/partnero/MbEAWbPkGk27GFCk/images/image-304.png?fit=max\&auto=format\&n=MbEAWbPkGk27GFCk\&q=85\&s=191abec5901f1583c4c1ec36d718524e)
4. In the pop-up, fill in the transaction details.

   ![Image](https://mintcdn.com/partnero/MbEAWbPkGk27GFCk/images/image-305.png?fit=max\&auto=format\&n=MbEAWbPkGk27GFCk\&q=85\&s=c386ac1fdc5d8df899aeb16f2a1459e8)
   * **Transaction key:** A unique key from your application or payment provider.
   * **Transaction amount:** The amount the partner's commission is calculated on. Enter it without tax, shipping or anything else you don't pay commission on — see [What commissions are calculated on](https://docs.partnero.com/knowledge-base/commissions-rewards/what-commissions-are-calculated-on.md).
   * **Action:** The name the partner sees, for example, *Sale*.
   * **Transaction date:** **Now** (the default) or **Custom date** for a sale that happened earlier, but not earlier than the customer creation date. The commission period and the review period are counted from this date, so a backdated sale can already be past its review period or outside the commission period.
   * **Rewarded:** Turn this on if the reward for the transaction has already been paid.
5. Optionally, click **Show more fields** and add details such as the product ID or type.

   ![Image](https://mintcdn.com/partnero/MbEAWbPkGk27GFCk/images/image-306.png?fit=max\&auto=format\&n=MbEAWbPkGk27GFCk\&q=85\&s=0943ca6d6bb2c8dcd93bfda7a491155a)
6. Click **Create**.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.