[
 {
  "owner": "Administrator", 
  "docstatus": 0, 
  "creation": "2013-01-16 14:48:54", 
  "modified_by": "Administrator", 
  "modified": "2013-01-21 11:52:11"
 }, 
 {
  "issingle": 1, 
  "name": "__common__", 
  "doctype": "DocType", 
  "module": "Accounts", 
  "document_type": "Other", 
  "hide_toolbar": 1
 }, 
 {
  "name": "__common__", 
  "parent": "Payment to Invoice Matching Tool", 
  "doctype": "DocField", 
  "parenttype": "DocType", 
  "parentfield": "fields"
 }, 
 {
  "name": "__common__", 
  "parent": "Payment to Invoice Matching Tool", 
  "read": 1, 
  "submit": 0, 
  "doctype": "DocPerm", 
  "report": 0, 
  "parenttype": "DocType", 
  "parentfield": "permissions"
 }, 
 {
  "name": "Payment to Invoice Matching Tool", 
  "doctype": "DocType"
 }, 
 {
  "doctype": "DocField", 
  "label": "Account", 
  "options": "Account", 
  "fieldname": "account", 
  "fieldtype": "Link", 
  "reqd": 1, 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Voucher Type", 
  "options": "Sales Invoice\nPurchase Invoice\nJournal Voucher", 
  "fieldname": "voucher_type", 
  "fieldtype": "Select", 
  "reqd": 1, 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Voucher No", 
  "options": "[Select]", 
  "fieldname": "voucher_no", 
  "fieldtype": "Link", 
  "reqd": 1, 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Pull Payment Entries", 
  "options": "get_payment_entries", 
  "fieldname": "pull_payment_entries", 
  "fieldtype": "Button", 
  "permlevel": 0
 }, 
 {
  "print_width": "50%", 
  "doctype": "DocField", 
  "width": "50%", 
  "fieldname": "column_break1", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Total Amount", 
  "fieldname": "total_amount", 
  "fieldtype": "Currency", 
  "permlevel": 1
 }, 
 {
  "doctype": "DocField", 
  "label": "Outstanding Amount", 
  "fieldname": "pending_amt_to_reconcile", 
  "fieldtype": "Currency", 
  "permlevel": 1
 }, 
 {
  "doctype": "DocField", 
  "label": "Payment Entries", 
  "fieldname": "payment_entries", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "description": "Update allocated amount in the above table and then click \"Allocate\" button", 
  "doctype": "DocField", 
  "label": "Payment Entries", 
  "options": "Payment to Invoice Matching Tool Detail", 
  "fieldname": "ir_payment_details", 
  "fieldtype": "Table", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Allocate", 
  "options": "reconcile", 
  "fieldname": "reconcile", 
  "fieldtype": "Button", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "options": "Simple", 
  "fieldname": "section_break0", 
  "fieldtype": "Section Break", 
  "permlevel": 0
 }, 
 {
  "print_width": "50%", 
  "doctype": "DocField", 
  "label": "Filter By Date", 
  "width": "50%", 
  "fieldname": "column_break2", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "From Date", 
  "fieldname": "from_date", 
  "fieldtype": "Date", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "To Date", 
  "fieldname": "to_date", 
  "fieldtype": "Date", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Help HTML", 
  "options": "Click \"Pull Payment Entries\" to refresh the table with filters.", 
  "fieldname": "help_html", 
  "fieldtype": "HTML", 
  "permlevel": 0
 }, 
 {
  "print_width": "50%", 
  "doctype": "DocField", 
  "label": "Filter By Amount", 
  "width": "50%", 
  "fieldname": "column_break3", 
  "fieldtype": "Column Break", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Amount >=", 
  "fieldname": "amt_greater_than", 
  "fieldtype": "Data", 
  "permlevel": 0
 }, 
 {
  "doctype": "DocField", 
  "label": "Amount <=", 
  "fieldname": "amt_less_than", 
  "fieldtype": "Data", 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "System Manager", 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Accounts Manager", 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "write": 1, 
  "role": "Accounts User", 
  "permlevel": 0
 }, 
 {
  "amend": 0, 
  "create": 0, 
  "doctype": "DocPerm", 
  "role": "All", 
  "cancel": 0, 
  "permlevel": 1
 }
]