[
 {
  "creation": "2013-05-24 19:29:05", 
  "docstatus": 0, 
  "modified": "2013-09-01 05:26:13", 
  "modified_by": "Administrator", 
  "owner": "Administrator"
 }, 
 {
  "allow_attach": 1, 
  "autoname": "naming_series:", 
  "default_print_format": "Standard", 
  "doctype": "DocType", 
  "document_type": "Transaction", 
  "icon": "icon-file-text", 
  "is_submittable": 1, 
  "module": "Accounts", 
  "name": "__common__", 
  "read_only_onload": 1, 
  "search_fields": "posting_date, due_date, debit_to, fiscal_year, grand_total, outstanding_amount"
 }, 
 {
  "doctype": "DocField", 
  "name": "__common__", 
  "parent": "Sales Invoice", 
  "parentfield": "fields", 
  "parenttype": "DocType", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocPerm", 
  "name": "__common__", 
  "parent": "Sales Invoice", 
  "parentfield": "permissions", 
  "parenttype": "DocType", 
  "permlevel": 0, 
  "read": 1, 
  "report": 1
 }, 
 {
  "doctype": "DocType", 
  "name": "Sales Invoice"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "customer_section", 
  "fieldtype": "Section Break", 
  "label": "Customer", 
  "options": "icon-user"
 }, 
 {
  "description": "To manage multiple series please go to Setup > Manage Series", 
  "doctype": "DocField", 
  "fieldname": "naming_series", 
  "fieldtype": "Select", 
  "label": "Document Numbering Series", 
  "no_copy": 1, 
  "oldfieldname": "naming_series", 
  "oldfieldtype": "Select", 
  "options": "INV\nINV/10-11/", 
  "print_hide": 1, 
  "read_only": 0, 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "customer", 
  "fieldtype": "Link", 
  "hidden": 0, 
  "label": "Customer", 
  "no_copy": 0, 
  "oldfieldname": "customer", 
  "oldfieldtype": "Link", 
  "options": "Customer", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "depends_on": "customer", 
  "doctype": "DocField", 
  "fieldname": "customer_name", 
  "fieldtype": "Data", 
  "hidden": 0, 
  "in_list_view": 1, 
  "label": "Name", 
  "oldfieldname": "customer_name", 
  "oldfieldtype": "Data", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "address_display", 
  "fieldtype": "Small Text", 
  "hidden": 1, 
  "label": "Address", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "contact_display", 
  "fieldtype": "Small Text", 
  "hidden": 1, 
  "label": "Contact", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "contact_mobile", 
  "fieldtype": "Text", 
  "hidden": 1, 
  "label": "Mobile No", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "contact_email", 
  "fieldtype": "Text", 
  "hidden": 1, 
  "label": "Contact Email", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break1", 
  "fieldtype": "Column Break", 
  "oldfieldtype": "Column Break", 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "is_pos", 
  "fieldtype": "Check", 
  "label": "Is POS", 
  "oldfieldname": "is_pos", 
  "oldfieldtype": "Check", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "amended_from", 
  "fieldtype": "Link", 
  "label": "Amended From", 
  "no_copy": 1, 
  "oldfieldname": "amended_from", 
  "oldfieldtype": "Link", 
  "options": "Sales Invoice", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "company", 
  "fieldtype": "Link", 
  "in_filter": 1, 
  "label": "Company", 
  "oldfieldname": "company", 
  "oldfieldtype": "Link", 
  "options": "Company", 
  "print_hide": 1, 
  "read_only": 0, 
  "reqd": 1, 
  "search_index": 0
 }, 
 {
  "default": "Today", 
  "description": "The date at which current entry will get or has actually executed.", 
  "doctype": "DocField", 
  "fieldname": "posting_date", 
  "fieldtype": "Date", 
  "in_filter": 1, 
  "label": "Posting Date", 
  "no_copy": 1, 
  "oldfieldname": "posting_date", 
  "oldfieldtype": "Date", 
  "print_hide": 0, 
  "read_only": 0, 
  "reqd": 1, 
  "search_index": 1
 }, 
 {
  "description": "Enter the date by which payments from customer is expected against this invoice.", 
  "doctype": "DocField", 
  "fieldname": "due_date", 
  "fieldtype": "Date", 
  "in_filter": 1, 
  "label": "Due Date", 
  "no_copy": 1, 
  "oldfieldname": "due_date", 
  "oldfieldtype": "Date", 
  "read_only": 0, 
  "reqd": 1, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "mode_of_payment", 
  "fieldtype": "Select", 
  "label": "Mode of Payment", 
  "no_copy": 0, 
  "oldfieldname": "mode_of_payment", 
  "oldfieldtype": "Select", 
  "options": "link:Mode of Payment", 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "currency_section", 
  "fieldtype": "Section Break", 
  "label": "Currency and Price List", 
  "options": "icon-tag", 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "currency", 
  "fieldtype": "Link", 
  "label": "Currency", 
  "oldfieldname": "currency", 
  "oldfieldtype": "Select", 
  "options": "Currency", 
  "print_hide": 1, 
  "read_only": 0, 
  "reqd": 1
 }, 
 {
  "default": "1.00", 
  "description": "Rate at which Customer Currency is converted to customer's base currency", 
  "doctype": "DocField", 
  "fieldname": "conversion_rate", 
  "fieldtype": "Float", 
  "label": "Conversion Rate", 
  "oldfieldname": "conversion_rate", 
  "oldfieldtype": "Currency", 
  "print_hide": 1, 
  "read_only": 0, 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break2", 
  "fieldtype": "Column Break", 
  "read_only": 0, 
  "width": "50%"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "selling_price_list", 
  "fieldtype": "Link", 
  "label": "Price List", 
  "oldfieldname": "price_list_name", 
  "oldfieldtype": "Select", 
  "options": "Price List", 
  "print_hide": 1, 
  "read_only": 0, 
  "reqd": 1
 }, 
 {
  "description": "Select the currency in which price list is maintained", 
  "doctype": "DocField", 
  "fieldname": "price_list_currency", 
  "fieldtype": "Link", 
  "label": "Price List Currency", 
  "options": "Currency", 
  "print_hide": 1, 
  "read_only": 1, 
  "reqd": 1
 }, 
 {
  "description": "Rate at which Price list currency is converted to customer's base currency", 
  "doctype": "DocField", 
  "fieldname": "plc_conversion_rate", 
  "fieldtype": "Float", 
  "label": "Price List Currency Conversion Rate", 
  "no_copy": 0, 
  "print_hide": 1, 
  "read_only": 0, 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "items", 
  "fieldtype": "Section Break", 
  "label": "Items", 
  "oldfieldtype": "Section Break", 
  "options": "icon-shopping-cart", 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "update_stock", 
  "fieldtype": "Check", 
  "label": "Update Stock", 
  "oldfieldname": "update_stock", 
  "oldfieldtype": "Check", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "allow_on_submit": 1, 
  "doctype": "DocField", 
  "fieldname": "entries", 
  "fieldtype": "Table", 
  "label": "Sales Invoice Items", 
  "oldfieldname": "entries", 
  "oldfieldtype": "Table", 
  "options": "Sales Invoice Item", 
  "read_only": 0, 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "packing_list", 
  "fieldtype": "Section Break", 
  "label": "Packing List", 
  "options": "icon-suitcase", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "packing_details", 
  "fieldtype": "Table", 
  "label": "Packing Details", 
  "options": "Delivery Note Packing Item", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "sales_bom_help", 
  "fieldtype": "HTML", 
  "label": "Sales BOM Help", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "section_break_30", 
  "fieldtype": "Section Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "net_total_export", 
  "fieldtype": "Currency", 
  "label": "Net Total", 
  "options": "currency", 
  "print_hide": 0, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break_32", 
  "fieldtype": "Column Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "net_total", 
  "fieldtype": "Currency", 
  "label": "Net Total (Company Currency)", 
  "oldfieldname": "net_total", 
  "oldfieldtype": "Currency", 
  "options": "Company:company:default_currency", 
  "print_hide": 1, 
  "read_only": 1, 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "taxes", 
  "fieldtype": "Section Break", 
  "label": "Taxes and Charges", 
  "oldfieldtype": "Section Break", 
  "options": "icon-money", 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "charge", 
  "fieldtype": "Link", 
  "label": "Apply Taxes and Charges Master", 
  "oldfieldname": "charge", 
  "oldfieldtype": "Link", 
  "options": "Sales Taxes and Charges Master", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break_38", 
  "fieldtype": "Column Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "shipping_rule", 
  "fieldtype": "Link", 
  "label": "Apply Shipping Rule", 
  "oldfieldtype": "Button", 
  "options": "Shipping Rule", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "section_break_40", 
  "fieldtype": "Section Break"
 }, 
 {
  "allow_on_submit": 1, 
  "doctype": "DocField", 
  "fieldname": "other_charges", 
  "fieldtype": "Table", 
  "label": "Taxes and Charges1", 
  "oldfieldname": "other_charges", 
  "oldfieldtype": "Table", 
  "options": "Sales Taxes and Charges", 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "other_charges_calculation", 
  "fieldtype": "HTML", 
  "label": "Taxes and Charges Calculation", 
  "oldfieldtype": "HTML", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "section_break_43", 
  "fieldtype": "Section Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "other_charges_total_export", 
  "fieldtype": "Currency", 
  "label": "Total Taxes and Charges", 
  "options": "currency", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break_45", 
  "fieldtype": "Column Break"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "other_charges_total", 
  "fieldtype": "Currency", 
  "label": "Total Taxes and Charges (Company Currency)", 
  "oldfieldname": "other_charges_total", 
  "oldfieldtype": "Currency", 
  "options": "Company:company:default_currency", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "totals", 
  "fieldtype": "Section Break", 
  "label": "Totals", 
  "oldfieldtype": "Section Break", 
  "options": "icon-money", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "grand_total_export", 
  "fieldtype": "Currency", 
  "in_list_view": 1, 
  "label": "Grand Total", 
  "oldfieldname": "grand_total_export", 
  "oldfieldtype": "Currency", 
  "options": "currency", 
  "print_hide": 0, 
  "read_only": 1, 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "rounded_total_export", 
  "fieldtype": "Currency", 
  "label": "Rounded Total", 
  "oldfieldname": "rounded_total_export", 
  "oldfieldtype": "Currency", 
  "options": "currency", 
  "print_hide": 0, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "in_words_export", 
  "fieldtype": "Data", 
  "label": "In Words", 
  "oldfieldname": "in_words_export", 
  "oldfieldtype": "Data", 
  "print_hide": 0, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "gross_profit", 
  "fieldtype": "Currency", 
  "label": "Gross Profit", 
  "oldfieldname": "gross_profit", 
  "oldfieldtype": "Currency", 
  "options": "Company:company:default_currency", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "gross_profit_percent", 
  "fieldtype": "Float", 
  "label": "Gross Profit (%)", 
  "oldfieldname": "gross_profit_percent", 
  "oldfieldtype": "Currency", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break5", 
  "fieldtype": "Column Break", 
  "oldfieldtype": "Column Break", 
  "print_hide": 1, 
  "read_only": 0, 
  "width": "50%"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "grand_total", 
  "fieldtype": "Currency", 
  "in_filter": 1, 
  "label": "Grand Total (Company Currency)", 
  "oldfieldname": "grand_total", 
  "oldfieldtype": "Currency", 
  "options": "Company:company:default_currency", 
  "print_hide": 1, 
  "read_only": 1, 
  "reqd": 1, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "rounded_total", 
  "fieldtype": "Currency", 
  "label": "Rounded Total (Company Currency)", 
  "oldfieldname": "rounded_total", 
  "oldfieldtype": "Currency", 
  "options": "Company:company:default_currency", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "description": "In Words will be visible once you save the Sales Invoice.", 
  "doctype": "DocField", 
  "fieldname": "in_words", 
  "fieldtype": "Data", 
  "label": "In Words (Company Currency)", 
  "oldfieldname": "in_words", 
  "oldfieldtype": "Data", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "total_advance", 
  "fieldtype": "Currency", 
  "label": "Total Advance", 
  "oldfieldname": "total_advance", 
  "oldfieldtype": "Currency", 
  "options": "Company:company:default_currency", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "outstanding_amount", 
  "fieldtype": "Currency", 
  "in_list_view": 1, 
  "label": "Outstanding Amount", 
  "no_copy": 1, 
  "oldfieldname": "outstanding_amount", 
  "oldfieldtype": "Currency", 
  "options": "Company:company:default_currency", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "advances", 
  "fieldtype": "Section Break", 
  "label": "Advances", 
  "oldfieldtype": "Section Break", 
  "options": "icon-money", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "get_advances_received", 
  "fieldtype": "Button", 
  "label": "Get Advances Received", 
  "oldfieldtype": "Button", 
  "options": "get_advances", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "advance_adjustment_details", 
  "fieldtype": "Table", 
  "label": "Sales Invoice Advance", 
  "oldfieldname": "advance_adjustment_details", 
  "oldfieldtype": "Table", 
  "options": "Sales Invoice Advance", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "depends_on": "is_pos", 
  "doctype": "DocField", 
  "fieldname": "payments_section", 
  "fieldtype": "Section Break", 
  "label": "Payments", 
  "options": "icon-money", 
  "read_only": 0
 }, 
 {
  "depends_on": "is_pos", 
  "doctype": "DocField", 
  "fieldname": "column_break3", 
  "fieldtype": "Column Break", 
  "read_only": 0, 
  "width": "50%"
 }, 
 {
  "depends_on": "is_pos", 
  "doctype": "DocField", 
  "fieldname": "paid_amount", 
  "fieldtype": "Currency", 
  "label": "Paid Amount", 
  "oldfieldname": "paid_amount", 
  "oldfieldtype": "Currency", 
  "options": "Company:company:default_currency", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "depends_on": "is_pos", 
  "doctype": "DocField", 
  "fieldname": "cash_bank_account", 
  "fieldtype": "Link", 
  "label": "Cash/Bank Account", 
  "oldfieldname": "cash_bank_account", 
  "oldfieldtype": "Link", 
  "options": "Account", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "depends_on": "is_pos", 
  "doctype": "DocField", 
  "fieldname": "column_break4", 
  "fieldtype": "Column Break", 
  "read_only": 0, 
  "width": "50%"
 }, 
 {
  "depends_on": "is_pos", 
  "doctype": "DocField", 
  "fieldname": "write_off_outstanding_amount_automatically", 
  "fieldtype": "Check", 
  "label": "Write Off Outstanding Amount", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "depends_on": "is_pos", 
  "doctype": "DocField", 
  "fieldname": "write_off_amount", 
  "fieldtype": "Currency", 
  "label": "Write Off Amount", 
  "options": "Company:company:default_currency", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "depends_on": "is_pos", 
  "doctype": "DocField", 
  "fieldname": "write_off_account", 
  "fieldtype": "Link", 
  "label": "Write Off Account", 
  "options": "Account", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "depends_on": "is_pos", 
  "doctype": "DocField", 
  "fieldname": "write_off_cost_center", 
  "fieldtype": "Link", 
  "label": "Write Off Cost Center", 
  "options": "Cost Center", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "terms_section_break", 
  "fieldtype": "Section Break", 
  "label": "Terms and Conditions", 
  "oldfieldtype": "Section Break", 
  "options": "icon-legal", 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "tc_name", 
  "fieldtype": "Link", 
  "label": "Select Terms and Conditions", 
  "oldfieldname": "tc_name", 
  "oldfieldtype": "Link", 
  "options": "Terms and Conditions", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "terms", 
  "fieldtype": "Text Editor", 
  "label": "Terms and Conditions Details", 
  "oldfieldname": "terms", 
  "oldfieldtype": "Text Editor", 
  "read_only": 0
 }, 
 {
  "depends_on": "customer", 
  "doctype": "DocField", 
  "fieldname": "contact_section", 
  "fieldtype": "Section Break", 
  "hidden": 0, 
  "label": "Contact Info", 
  "options": "icon-bullhorn", 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "territory", 
  "fieldtype": "Link", 
  "in_filter": 1, 
  "label": "Territory", 
  "options": "Territory", 
  "print_hide": 1, 
  "read_only": 0, 
  "reqd": 1, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "customer_group", 
  "fieldtype": "Link", 
  "in_filter": 1, 
  "label": "Customer Group", 
  "options": "Customer Group", 
  "print_hide": 1, 
  "read_only": 0, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "col_break23", 
  "fieldtype": "Column Break", 
  "read_only": 0, 
  "width": "50%"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "customer_address", 
  "fieldtype": "Link", 
  "label": "Customer Address", 
  "options": "Address", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "contact_person", 
  "fieldtype": "Link", 
  "label": "Contact Person", 
  "options": "Contact", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "more_info", 
  "fieldtype": "Section Break", 
  "label": "More Info", 
  "oldfieldtype": "Section Break", 
  "options": "icon-file-text", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "description": "Customer (Receivable) Account", 
  "doctype": "DocField", 
  "fieldname": "debit_to", 
  "fieldtype": "Link", 
  "in_filter": 1, 
  "label": "Debit To", 
  "oldfieldname": "debit_to", 
  "oldfieldtype": "Link", 
  "options": "Account", 
  "print_hide": 1, 
  "read_only": 0, 
  "reqd": 1, 
  "search_index": 1
 }, 
 {
  "description": "Track this Sales Invoice against any Project", 
  "doctype": "DocField", 
  "fieldname": "project_name", 
  "fieldtype": "Link", 
  "in_filter": 1, 
  "label": "Project Name", 
  "oldfieldname": "project_name", 
  "oldfieldtype": "Link", 
  "options": "Project", 
  "read_only": 0, 
  "search_index": 1
 }, 
 {
  "depends_on": "eval:doc.source == 'Campaign'", 
  "doctype": "DocField", 
  "fieldname": "campaign", 
  "fieldtype": "Link", 
  "label": "Campaign", 
  "oldfieldname": "campaign", 
  "oldfieldtype": "Link", 
  "options": "Campaign", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "source", 
  "fieldtype": "Select", 
  "label": "Source", 
  "oldfieldname": "source", 
  "oldfieldtype": "Select", 
  "options": "\nExisting Customer\nReference\nAdvertisement\nCold Calling\nExhibition\nSupplier Reference\nMass Mailing\nCustomer's Vendor\nCampaign", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "default": "No", 
  "description": "Considered as an Opening Balance", 
  "doctype": "DocField", 
  "fieldname": "is_opening", 
  "fieldtype": "Select", 
  "in_filter": 1, 
  "label": "Is Opening Entry", 
  "oldfieldname": "is_opening", 
  "oldfieldtype": "Select", 
  "options": "No\nYes", 
  "print_hide": 1, 
  "read_only": 0, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "c_form_applicable", 
  "fieldtype": "Select", 
  "label": "C-Form Applicable", 
  "no_copy": 1, 
  "options": "No\nYes", 
  "print_hide": 1, 
  "read_only": 0, 
  "report_hide": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "c_form_no", 
  "fieldtype": "Link", 
  "label": "C-Form No", 
  "no_copy": 1, 
  "options": "C-Form", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break8", 
  "fieldtype": "Column Break", 
  "oldfieldtype": "Column Break", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "allow_on_submit": 1, 
  "doctype": "DocField", 
  "fieldname": "letter_head", 
  "fieldtype": "Select", 
  "label": "Letter Head", 
  "oldfieldname": "letter_head", 
  "oldfieldtype": "Select", 
  "options": "link:Letter Head", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "allow_on_submit": 1, 
  "doctype": "DocField", 
  "fieldname": "select_print_heading", 
  "fieldtype": "Link", 
  "label": "Select Print Heading", 
  "no_copy": 1, 
  "oldfieldname": "select_print_heading", 
  "oldfieldtype": "Link", 
  "options": "Print Heading", 
  "print_hide": 1, 
  "read_only": 0, 
  "report_hide": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "posting_time", 
  "fieldtype": "Time", 
  "label": "Posting Time", 
  "no_copy": 1, 
  "oldfieldname": "posting_time", 
  "oldfieldtype": "Time", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "description": "Actual Invoice Date", 
  "doctype": "DocField", 
  "fieldname": "aging_date", 
  "fieldtype": "Date", 
  "label": "Aging Date", 
  "oldfieldname": "aging_date", 
  "oldfieldtype": "Date", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "fiscal_year", 
  "fieldtype": "Select", 
  "in_filter": 1, 
  "label": "Fiscal Year", 
  "no_copy": 0, 
  "oldfieldname": "fiscal_year", 
  "oldfieldtype": "Select", 
  "options": "link:Fiscal Year", 
  "print_hide": 1, 
  "read_only": 0, 
  "reqd": 1, 
  "search_index": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "remarks", 
  "fieldtype": "Small Text", 
  "label": "Remarks", 
  "no_copy": 1, 
  "oldfieldname": "remarks", 
  "oldfieldtype": "Text", 
  "print_hide": 1, 
  "read_only": 0, 
  "reqd": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "sales_team_section_break", 
  "fieldtype": "Section Break", 
  "label": "Sales Team", 
  "oldfieldtype": "Section Break", 
  "options": "icon-group", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break9", 
  "fieldtype": "Column Break", 
  "oldfieldtype": "Column Break", 
  "print_hide": 1, 
  "read_only": 0, 
  "width": "50%"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "sales_partner", 
  "fieldtype": "Link", 
  "in_filter": 1, 
  "label": "Sales Partner", 
  "oldfieldname": "sales_partner", 
  "oldfieldtype": "Link", 
  "options": "Sales Partner", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break10", 
  "fieldtype": "Column Break", 
  "oldfieldtype": "Column Break", 
  "print_hide": 1, 
  "read_only": 0, 
  "width": "50%"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "commission_rate", 
  "fieldtype": "Float", 
  "label": "Commission Rate (%)", 
  "oldfieldname": "commission_rate", 
  "oldfieldtype": "Currency", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "total_commission", 
  "fieldtype": "Currency", 
  "label": "Total Commission", 
  "oldfieldname": "total_commission", 
  "oldfieldtype": "Currency", 
  "options": "Company:company:default_currency", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "section_break2", 
  "fieldtype": "Section Break", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "sales_team", 
  "fieldtype": "Table", 
  "label": "Sales Team1", 
  "oldfieldname": "sales_team", 
  "oldfieldtype": "Table", 
  "options": "Sales Team", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "depends_on": "eval:doc.docstatus<2", 
  "doctype": "DocField", 
  "fieldname": "recurring_invoice", 
  "fieldtype": "Section Break", 
  "label": "Recurring Invoice", 
  "options": "icon-time", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break11", 
  "fieldtype": "Column Break", 
  "print_hide": 1, 
  "read_only": 0, 
  "width": "50%"
 }, 
 {
  "allow_on_submit": 1, 
  "depends_on": "eval:doc.docstatus<2", 
  "description": "Check if recurring invoice, uncheck to stop recurring or put proper End Date", 
  "doctype": "DocField", 
  "fieldname": "convert_into_recurring_invoice", 
  "fieldtype": "Check", 
  "label": "Convert into Recurring Invoice", 
  "no_copy": 1, 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "allow_on_submit": 1, 
  "depends_on": "eval:doc.convert_into_recurring_invoice==1", 
  "description": "Select the period when the invoice will be generated automatically", 
  "doctype": "DocField", 
  "fieldname": "recurring_type", 
  "fieldtype": "Select", 
  "label": "Recurring Type", 
  "no_copy": 1, 
  "options": "Monthly\nQuarterly\nHalf-yearly\nYearly", 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "allow_on_submit": 1, 
  "depends_on": "eval:doc.convert_into_recurring_invoice==1", 
  "description": "The day of the month on which auto invoice will be generated e.g. 05, 28 etc ", 
  "doctype": "DocField", 
  "fieldname": "repeat_on_day_of_month", 
  "fieldtype": "Int", 
  "label": "Repeat on Day of Month", 
  "no_copy": 1, 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "allow_on_submit": 1, 
  "depends_on": "eval:doc.convert_into_recurring_invoice==1", 
  "description": "Start date of current invoice's period", 
  "doctype": "DocField", 
  "fieldname": "invoice_period_from_date", 
  "fieldtype": "Date", 
  "label": "Invoice Period From Date", 
  "no_copy": 1, 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "allow_on_submit": 1, 
  "depends_on": "eval:doc.convert_into_recurring_invoice==1", 
  "description": "End date of current invoice's period", 
  "doctype": "DocField", 
  "fieldname": "invoice_period_to_date", 
  "fieldtype": "Date", 
  "label": "Invoice Period To Date", 
  "no_copy": 1, 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "column_break12", 
  "fieldtype": "Column Break", 
  "no_copy": 0, 
  "print_hide": 1, 
  "read_only": 0, 
  "width": "50%"
 }, 
 {
  "allow_on_submit": 1, 
  "depends_on": "eval:doc.convert_into_recurring_invoice==1", 
  "description": "Enter email id separated by commas, invoice will be mailed automatically on particular date", 
  "doctype": "DocField", 
  "fieldname": "notification_email_address", 
  "fieldtype": "Small Text", 
  "label": "Notification Email Address", 
  "no_copy": 1, 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "depends_on": "eval:doc.convert_into_recurring_invoice==1", 
  "description": "The unique id for tracking all recurring invoices.\u00a0It is generated on submit.", 
  "doctype": "DocField", 
  "fieldname": "recurring_id", 
  "fieldtype": "Data", 
  "label": "Recurring Id", 
  "no_copy": 1, 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "depends_on": "eval:doc.convert_into_recurring_invoice==1", 
  "description": "The date on which next invoice will be generated. It is generated on submit.\n", 
  "doctype": "DocField", 
  "fieldname": "next_date", 
  "fieldtype": "Date", 
  "label": "Next Date", 
  "no_copy": 1, 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "allow_on_submit": 1, 
  "depends_on": "eval:doc.convert_into_recurring_invoice==1", 
  "description": "The date on which recurring invoice will be stop", 
  "doctype": "DocField", 
  "fieldname": "end_date", 
  "fieldtype": "Date", 
  "label": "End Date", 
  "no_copy": 1, 
  "print_hide": 1, 
  "read_only": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "against_income_account", 
  "fieldtype": "Small Text", 
  "hidden": 1, 
  "label": "Against Income Account", 
  "no_copy": 1, 
  "oldfieldname": "against_income_account", 
  "oldfieldtype": "Small Text", 
  "print_hide": 1, 
  "read_only": 0, 
  "report_hide": 1
 }, 
 {
  "amend": 1, 
  "cancel": 1, 
  "create": 1, 
  "doctype": "DocPerm", 
  "role": "Accounts Manager", 
  "submit": 1, 
  "write": 1
 }, 
 {
  "amend": 1, 
  "cancel": 0, 
  "create": 1, 
  "doctype": "DocPerm", 
  "role": "Accounts User", 
  "submit": 1, 
  "write": 1
 }, 
 {
  "doctype": "DocPerm", 
  "match": "customer", 
  "role": "Customer"
 }
]