Skip to content

💡 [Feature Request] - Allow selecting "Party" in Journal Entries to reflect Credit/Debit adjustments in Party Ledgers #1547

Description

@urstrulypriyankrai

Summary

Description

Currently, in Frappe Books, the Journal Entry screen lacks a dedicated "Party" (Customer/Supplier) field mapping. While a user can select accounting ledgers like Debtors or Creditors to make double-entry adjustments, these manual entries do not map back to a specific individual customer or supplier profile.

This creates a significant roadblock when trying to handle adjustments such as standalone Credit Notes, Debit Notes, bad debt write-offs, or manual balance routing without altering original sales or purchase invoices.

Current Behavior

  1. When a user creates a Journal Entry to credit Debtors (e.g., to issue a ₹10,000 discount/credit note adjustment), the absolute balance drops across the general ledger asset category correctly.
  2. However, because there is no way to assign that specific row to a Party (e.g., Shri Krishna Enterprises), the individual customer statement and outstanding balance remain completely unaffected.
  3. The Payment Screen workaround is also blocked because the form restricts the "To/From Account" selections strictly to Bank or Cash account types, making it impossible to clear an outstanding invoice value against an Expense account like Discount Allowed.

Proposed Solution

Enhance the Journal Entry line items table to dynamically support a "Party Type" and "Party" column when a receivable or payable ledger account is selected.

  • Field Requirements:
    • Party Type (Dropdown: Customer / Supplier)
    • Party (Searchable link field pointing to the selected Party master)
  • Expected Outcome: When a Journal Entry is saved and submitted with a designated Party, the transaction should automatically post into that specific Party’s ledger tracking history, modifying their outstanding balance cleanly.

What problem are you trying to solve?

I am trying to issue standalone financial adjustments—such as post-sale seasonal discounts, volume rebates, and bad debt write-offs—to specific customers without modifying or reversing past Sales Invoices.

Currently, Frappe Books prevents this workflow completely. A manual Journal Entry updates the generic 'Debtors' asset account but completely bypasses the customer's individual statement. Meanwhile, the 'Payment' screen forces the user to select only Bank or Cash accounts, entirely blocking the ability to settle a customer's balance against an adjustment or expense account (like Discount Allowed).

This feature would allow small traders and wholesalers to handle standard, everyday credit/debit adjustments quickly and cleanly from a single screen.

Basic Example

An accountant needs to give a flat ₹10,000 seasonal discount to a customer named Shri Krishna Enterprises to lower their outstanding balance.

With this feature, the user would create a Journal Entry:

  • Row 1: Account: Discount Allowed (Expense) | Debit: 10,000
  • Row 2: Account: Debtors (Asset) | Credit: 10,000 | Party Type: Customer | Party: Shri Krishna Enterprises

Expected Result: * The general ledger balances perfectly.

  • Shri Krishna Enterprises' individual customer statement immediately shows a Credit entry of ₹10,000, reducing their total outstanding debt by that amount.

Drawbacks

  • Data Validation: The system will need strict checks to ensure that if a user selects Debtors or Creditors as the account, the "Party" field becomes mandatory to prevent mismatched balances between the General Ledger and sub-ledgers

Reference Issues

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions