Version 6.x.x Source

Table Name: tabTax Rule

Fields

Sr Fieldname Type Label Options
1 tax_type Select Tax Type
Sales
Purchase
2 use_for_shopping_cart Check Use for Shopping Cart
3 column_break_1 Column Break
4 sales_tax_template Link Sales Tax Template Sales Taxes and Charges Template
5 purchase_tax_template Link Purchase Tax Template Purchase Taxes and Charges Template
6 filters Section Break Filters
7 customer Link Customer Customer
8 supplier Link Supplier Supplier
9 billing_city Data Billing City
10 billing_state Data Billing State
11 billing_country Link Billing Country Country
12 column_break_2 Column Break
13 customer_group Link Customer Group Customer Group
14 supplier_type Link Supplier Type Supplier Type
15 shipping_city Data Shipping City
16 shipping_state Data Shipping State
17 shipping_country Link Shipping Country Country
18 section_break_4 Section Break Validity
19 from_date Date From Date
20 column_break_7 Column Break
21 to_date Date To Date
22 section_break_6 Section Break
23 priority Int Priority
24 column_break_20 Column Break
25 company Link Company Company

Controller

erpnext.accounts.doctype.tax_rule.tax_rule

Class ConflictingTaxRule

Inherits from frappe.exceptions.ValidationError


Class IncorrectCustomerGroup

Inherits from frappe.exceptions.ValidationError


Class IncorrectSupplierType

Inherits from frappe.exceptions.ValidationError


Class TaxRule

Inherits from frappe.model.document.Document

__setup__ (self)

No docs


validate (self)

No docs


validate_date (self)

No docs


validate_filters (self)

No docs


validate_tax_template (self)

No docs



Public API
/api/method/erpnext.accounts.doctype.tax_rule.tax_rule.get_party_details

erpnext.accounts.doctype.tax_rule.tax_rule.get_party_details (party, party_type, args=None)

No docs


erpnext.accounts.doctype.tax_rule.tax_rule.get_tax_template (posting_date, args)

Get matching tax rule