Version 6.x.x Source

Table Name: `tabJournal Entry`

### Fields

Sr | Fieldname | Type | Label | Options
--- | --- | --- | --- | ---
1 | `entry_type_and_date` | Section Break |  |
    icon-flag
2 | `title` | Data | Title |
3 | `voucher_type` | Select | Entry Type |
    Journal Entry
    Bank Entry
    Cash Entry
    Credit Card Entry
    Debit Note
    Credit Note
    Contra Entry
    Excise Entry
    Write Off Entry
    Opening Entry
4 | `naming_series` | Select | Series |
    JV-
5 | `column_break1` | Column Break |  |
6 | `posting_date` | Date | Posting Date |
7 | `2_add_edit_gl_entries` | Section Break |  |
    icon-table
8 | `accounts` | Table | Accounting Entries | Journal Entry Account
9 | `section_break99` | Section Break |  |
10 | `cheque_no` | Data | Reference Number |
11 | `cheque_date` | Date | Reference Date |
12 | `user_remark` | Small Text | User Remark |
13 | `column_break99` | Column Break |  |
14 | `total_debit` | Currency | Total Debit |
    Company:company:default_currency
15 | `total_credit` | Currency | Total Credit |
    Company:company:default_currency
16 | `difference` | Currency | Difference (Dr - Cr) |
    Company:company:default_currency
17 | `get_balance` | Button | Make Difference Entry |
18 | `multi_currency` | Check | Multi Currency |
19 | `total_amount` | Currency | Total Amount |
20 | `total_amount_in_words` | Data | Total Amount in Words |
21 | `reference` | Section Break | Reference |
    icon-pushpin
22 | `clearance_date` | Date | Clearance Date |
23 | `remark` | Small Text | Remark |
24 | `column_break98` | Column Break |  |
25 | `bill_no` | Data | Bill No |
26 | `bill_date` | Date | Bill Date |
27 | `due_date` | Date | Due Date |
28 | `write_off` | Section Break | Write Off |
29 | `write_off_based_on` | Select | Write Off Based On |
    Accounts Receivable
    Accounts Payable
30 | `get_outstanding_invoices` | Button | Get Outstanding Invoices |
    get_outstanding_invoices
31 | `column_break_30` | Column Break |  |
32 | `write_off_amount` | Currency | Write Off Amount |
    Company:company:default_currency
33 | `printing_settings` | Section Break | Printing Settings |
34 | `pay_to_recd_from` | Data | Pay To / Recd From |
35 | `column_break_35` | Column Break |  |
36 | `letter_head` | Link | Letter Head | Letter Head
37 | `select_print_heading` | Link | Print Heading | Print Heading
38 | `addtional_info` | Section Break | More Information |
    icon-file-text
39 | `company` | Link | Company | Company
40 | `fiscal_year` | Link | Fiscal Year | Fiscal Year
41 | `column_break3` | Column Break |  |
42 | `is_opening` | Select | Is Opening |
    No
    Yes
43 | `stock_entry` | Link | Stock Entry | Stock Entry
44 | `amended_from` | Link | Amended From | Journal Entry

### Controller

#### erpnext.accounts.doctype.journal_entry.journal_entry

### Class JournalEntry

Inherits from erpnext.controllers.accounts_controller.AccountsController

__init__ (self, arg1, arg2=None)

No docs

check_credit_limit (self)

No docs

create_remarks (self)

No docs

get_balance (self)

No docs

get_feed (self)

No docs

get_outstanding_invoices (self)

No docs

get_title (self)

No docs

get_values (self)

No docs

make_gl_entries (self, cancel=0, adv_adj=0)

No docs

on_cancel (self)

No docs

on_submit (self)

No docs

set_account_and_party_balance (self)

No docs

set_against_account (self)

No docs

set_amounts_in_company_currency (self)

No docs

set_exchange_rate (self)

No docs

set_print_format_fields (self)

No docs

set_total_amount (self, amt, currency)

No docs

set_total_debit_credit (self)

No docs

update_advance_paid (self)

No docs

update_expense_claim (self)

No docs

validate (self)

No docs

validate_against_jv (self)

No docs

validate_cheque_info (self)

No docs

validate_credit_debit_note (self)

No docs

validate_empty_accounts_table (self)

No docs

validate_entries_for_advance (self)

No docs

validate_expense_claim (self)

No docs

validate_invoices (self)

Validate totals and docstatus for invoices

validate_multi_currency (self)

No docs

validate_orders (self)

Validate totals, stopped and docstatus for orders

validate_party (self)

No docs

validate_reference_doc (self)

Validates reference document

validate_total_debit_and_credit (self)

No docs

Public API
`/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_account_balance_and_party_type`

erpnext.accounts.doctype.journal_entry.journal_entry.get_account_balance_and_party_type (account, date, company, debit=None, credit=None, exchange_rate=None)

Returns dict of account balance and party type to be set in Journal Entry on selection of account.

erpnext.accounts.doctype.journal_entry.journal_entry.get_against_jv (doctype, txt, searchfield, start, page_len, filters)

No docs

erpnext.accounts.doctype.journal_entry.journal_entry.get_average_exchange_rate (account)

No docs

Public API
`/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_default_bank_cash_account`

erpnext.accounts.doctype.journal_entry.journal_entry.get_default_bank_cash_account (company, voucher_type, mode_of_payment=None)

No docs

Public API
`/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_exchange_rate`

erpnext.accounts.doctype.journal_entry.journal_entry.get_exchange_rate (account, account_currency=None, company=None, reference_type=None, reference_name=None, debit=None, credit=None, exchange_rate=None)

No docs

Public API
`/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_opening_accounts`

erpnext.accounts.doctype.journal_entry.journal_entry.get_opening_accounts (company)

get all balance sheet accounts for opening entry

Public API
`/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_outstanding`

erpnext.accounts.doctype.journal_entry.journal_entry.get_outstanding (args)

No docs

Public API
`/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_party_account_and_balance`

erpnext.accounts.doctype.journal_entry.journal_entry.get_party_account_and_balance (company, party_type, party)

No docs

erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry (ref_doc, args)

No docs

Public API
`/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry_against_invoice`

erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry_against_invoice (dt, dn)

No docs

Public API
`/api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry_against_order`

erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry_against_order (dt, dn)

No docs

#### Linked In:

- Bank Reconciliation Detail
- Journal Entry
- Payment Reconciliation Payment
- Purchase Invoice Advance
- Sales Invoice Advance
- Stock Entry