[
 {
  "creation": "2013-01-10 16:34:08", 
  "docstatus": 0, 
  "modified": "2013-01-22 14:57:21", 
  "modified_by": "Administrator", 
  "owner": "wasim@webnotestech.com"
 }, 
 {
  "autoname": "field:title", 
  "description": "Standard tax template that can be applied to all Purchase Transactions. This template can contain list of tax heads and also other expense heads like \"Shipping\", \"Insurance\", \"Handling\" etc.\n\n#### Note\n\nThe tax rate you define here will be the standard tax rate for all **Items**. If there are **Items** that have different rates, they must be added in the **Item Tax** table in the **Item** master.\n\n#### Description of Columns\n\n1. Calculation Type: \n    - This can be on **Net Total** (that is the sum of basic amount).\n    - **On Previous Row Total / Amount** (for cumulative taxes or charges). If you select this option, the tax will be applied as a percentage of the previous row (in the tax table) amount or total.\n    - **Actual** (as mentioned).\n2. Account Head: The Account ledger under which this tax will be booked\n3. Cost Center: If the tax / charge is an income (like shipping) or expense it needs to be booked against a Cost Center.\n4. Description: Description of the tax (that will be printed in invoices / quotes).\n5. Rate: Tax rate.\n6. Amount: Tax amount.\n7. Total: Cumulative total to this point.\n8. Enter Row: If based on \"Previous Row Total\" you can select the row number which will be taken as a base for this calculation (default is the previous row).\n9. Consider Tax or Charge for: In this section you can specify if the tax / charge is only for valuation (not a part of total) or only for total (does not add value to the item) or for both.\n10. Add or Deduct: Whether you want to add or deduct the tax.", 
  "doctype": "DocType", 
  "document_type": "Master", 
  "module": "Accounts", 
  "name": "__common__"
 }, 
 {
  "doctype": "DocField", 
  "name": "__common__", 
  "parent": "Purchase Taxes and Charges Master", 
  "parentfield": "fields", 
  "parenttype": "DocType", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocPerm", 
  "name": "__common__", 
  "parent": "Purchase Taxes and Charges Master", 
  "parentfield": "permissions", 
  "parenttype": "DocType", 
  "permlevel": 0, 
  "read": 1, 
  "report": 1, 
  "submit": 0
 }, 
 {
  "doctype": "DocType", 
  "name": "Purchase Taxes and Charges Master"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "title", 
  "fieldtype": "Data", 
  "in_filter": 1, 
  "label": "Title", 
  "oldfieldname": "title", 
  "oldfieldtype": "Data", 
  "reqd": 1, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "is_default", 
  "fieldtype": "Check", 
  "label": "Default"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "company", 
  "fieldtype": "Link", 
  "in_filter": 1, 
  "label": "Company", 
  "options": "Company", 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "purchase_tax_details", 
  "fieldtype": "Table", 
  "label": "Purchase Taxes and Charges", 
  "oldfieldname": "purchase_tax_details", 
  "oldfieldtype": "Table", 
  "options": "Purchase Taxes and Charges"
 }, 
 {
  "amend": 0, 
  "cancel": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "role": "Purchase Manager", 
  "write": 0
 }, 
 {
  "cancel": 1, 
  "create": 1, 
  "doctype": "DocPerm", 
  "role": "System Manager", 
  "write": 1
 }, 
 {
  "cancel": 1, 
  "create": 1, 
  "doctype": "DocPerm", 
  "role": "Purchase Master Manager", 
  "write": 1
 }
]