Version 6.x.x Source

### Class AccountsController

Inherits from erpnext.utilities.transaction_base.TransactionBase

__init__ (self, arg1, arg2=None)

No docs

append_taxes_from_master (self, tax_master_doctype=None)

No docs

before_recurring (self)

No docs

calculate_taxes_and_totals (self)

No docs

clear_unallocated_advances (self, childtype, parentfield)

No docs

get_advances (self, account_head, party_type, party, child_doctype, parentfield, dr_or_cr, against_order_field)

Returns list of advances against Account, Party, Reference

get_company_default (self, fieldname)

No docs

get_gl_dict (self, args, account_currency=None)

this method populates the common properties of a gl entry record

get_party (self)

No docs

get_stock_items (self)

No docs

on_submit (self)

No docs

on_update_after_submit (self)

No docs

set_balance_in_account_currency (self, gl_dict, account_currency=None)

No docs

set_missing_item_details (self)

set missing item values

set_missing_values (self, for_validate=False)

No docs

set_other_charges (self)

No docs

set_price_list_currency (self, buying_or_selling)

No docs

set_taxes (self)

No docs

set_total_advance_paid (self)

No docs

validate (self)

No docs

validate_account_currency (self, account, account_currency=None)

No docs

validate_advance_jv (self, reference_type)

No docs

validate_currency (self)

No docs

validate_date_with_fiscal_year (self)

No docs

validate_due_date (self)

No docs

validate_enabled_taxes_and_charges (self)

No docs

validate_multiple_billing (self, ref_dt, item_ref_dn, based_on, parentfield)

No docs

validate_party (self)

No docs

Public API
`/api/method/erpnext.controllers.accounts_controller.get_default_taxes_and_charges`

erpnext.controllers.accounts_controller.get_default_taxes_and_charges (master_doctype)

No docs

Public API
`/api/method/erpnext.controllers.accounts_controller.get_tax_rate`

erpnext.controllers.accounts_controller.get_tax_rate (account_head)

No docs

Public API
`/api/method/erpnext.controllers.accounts_controller.get_taxes_and_charges`

erpnext.controllers.accounts_controller.get_taxes_and_charges (master_doctype, master_name)

No docs

erpnext.controllers.accounts_controller.validate_conversion_rate (currency, conversion_rate, conversion_rate_label, company)

common validation for currency and price list currency

erpnext.controllers.accounts_controller.validate_inclusive_tax (tax, doc)

No docs

erpnext.controllers.accounts_controller.validate_taxes_and_charges (tax)

No docs