install from txt files, part 1
diff --git a/accounts/GL Mapper/Journal Voucher/Journal Voucher.txt b/accounts/GL Mapper/Journal Voucher/Journal Voucher.txt
index 1909477..bf2ff1a 100644
--- a/accounts/GL Mapper/Journal Voucher/Journal Voucher.txt
+++ b/accounts/GL Mapper/Journal Voucher/Journal Voucher.txt
@@ -1 +1,62 @@
-[{'doc_type': 'Journal Voucher', 'modified_by': 'nabin@webnotestech.com', 'name': 'Journal Voucher', 'parent': None, 'creation': '2009-03-12 12:09:24', 'modified': '2010-04-30 17:56:41', 'module': 'Accounts', 'doctype': 'GL Mapper', 'idx': None, 'parenttype': None, 'owner': 'Administrator', 'docstatus': 0, 'parentfield': None}, {'creation': '2009-03-12 12:09:24', 'voucher_type': 'parent:doctype', 'doctype': 'GL Mapper Detail', 'owner': 'Administrator', 'cost_center': 'cost_center', 'voucher_no': 'parent:name', 'modified_by': 'nabin@webnotestech.com', 'against_voucher': "value:d.against_voucher or d.against_invoice or d.against_jv or ''", 'table_field': 'entries', 'transaction_date': 'parent:voucher_date', 'debit': 'debit', 'docstatus': 0, 'parent': 'Journal Voucher', 'company': 'parent:company', 'aging_date': 'parent:aging_date', 'fiscal_year': 'parent:fiscal_year', 'is_advance': 'is_advance', 'remarks': 'parent:remark', 'account': 'account', 'name': 'GLMDetail00001', 'idx': 1, 'against_voucher_type': "value:(d.against_voucher and 'Purchase Invoice') or (d.against_invoice and 'Sales Invoice') or (d.against_jv and 'Journal Voucher') or ''", 'modified': '2010-04-30 17:56:41', 'against': 'against_account', 'credit': 'credit', 'parenttype': 'GL Mapper', 'is_opening': 'parent:is_opening', 'posting_date': 'parent:posting_date', 'parentfield': 'fields'}, {'creation': '2009-06-11 11:09:11', 'voucher_type': 'doctype', 'doctype': 'GL Mapper Detail', 'owner': 'Administrator', 'cost_center': '', 'voucher_no': 'name', 'modified_by': 'nabin@webnotestech.com', 'against_voucher': '', 'table_field': '', 'transaction_date': 'voucher_date', 'debit': 'value:0', 'docstatus': 0, 'parent': 'Journal Voucher', 'company': 'company', 'aging_date': 'aging_date', 'fiscal_year': 'fiscal_year', 'is_advance': '', 'remarks': 'remark', 'account': 'tax_code', 'name': 'GLMDetail00009', 'idx': 2, 'against_voucher_type': None, 'modified': '2010-04-30 17:56:41', 'against': 'supplier_account', 'credit': 'ded_amount', 'parenttype': 'GL Mapper', 'is_opening': 'is_opening', 'posting_date': 'posting_date', 'parentfield': 'fields'}]
+[
+ {
+  "owner": "Administrator", 
+  "docstatus": 0, 
+  "creation": "2012-05-01 12:46:31", 
+  "modified_by": "Administrator", 
+  "modified": "2012-05-01 09:16:31"
+ }, 
+ {
+  "doc_type": "Journal Voucher", 
+  "name": "__common__", 
+  "doctype": "GL Mapper"
+ }, 
+ {
+  "name": "__common__", 
+  "parent": "Journal Voucher", 
+  "doctype": "GL Mapper Detail", 
+  "parenttype": "GL Mapper", 
+  "parentfield": "fields"
+ }, 
+ {
+  "name": "Journal Voucher", 
+  "doctype": "GL Mapper"
+ }, 
+ {
+  "account": "account", 
+  "doctype": "GL Mapper Detail", 
+  "credit": "credit", 
+  "against_voucher_type": "value:(d.against_voucher and 'Purchase Invoice') or (d.against_invoice and 'Sales Invoice') or (d.against_jv and 'Journal Voucher') or ''", 
+  "company": "parent:company", 
+  "debit": "debit", 
+  "fiscal_year": "parent:fiscal_year", 
+  "against": "against_account", 
+  "voucher_type": "parent:doctype", 
+  "against_voucher": "value:d.against_voucher or d.against_invoice or d.against_jv or ''", 
+  "table_field": "entries", 
+  "transaction_date": "parent:voucher_date", 
+  "is_advance": "is_advance", 
+  "aging_date": "parent:aging_date", 
+  "is_opening": "parent:is_opening", 
+  "remarks": "parent:remark", 
+  "posting_date": "parent:posting_date", 
+  "voucher_no": "parent:name", 
+  "cost_center": "cost_center"
+ }, 
+ {
+  "account": "tax_code", 
+  "doctype": "GL Mapper Detail", 
+  "company": "company", 
+  "debit": "value:0", 
+  "fiscal_year": "fiscal_year", 
+  "against": "supplier_account", 
+  "voucher_type": "doctype", 
+  "credit": "ded_amount", 
+  "transaction_date": "voucher_date", 
+  "aging_date": "aging_date", 
+  "is_opening": "is_opening", 
+  "remarks": "remark", 
+  "posting_date": "posting_date", 
+  "voucher_no": "name"
+ }
+]
\ No newline at end of file
diff --git a/accounts/GL Mapper/POS with write off/POS with write off.txt b/accounts/GL Mapper/POS with write off/POS with write off.txt
index a6715c6..72b2305 100644
--- a/accounts/GL Mapper/POS with write off/POS with write off.txt
+++ b/accounts/GL Mapper/POS with write off/POS with write off.txt
@@ -1,233 +1,148 @@
 [
-	{
-		'creation': '2011-05-10 11:21:22',
-		'doc_type': 'POS with write off',
-		'docstatus': 0,
-		'doctype': 'GL Mapper',
-		'idx': None,
-		'modified': '2011-05-10 11:21:22',
-		'modified_by': 'Administrator',
-		'name': 'POS with write off',
-		'owner': 'Administrator',
-		'parent': None,
-		'parentfield': None,
-		'parenttype': None
-	},
-	{
-		'account': 'income_account',
-		'against': 'parent:debit_to',
-		'against_voucher': None,
-		'against_voucher_type': None,
-		'aging_date': 'parent:aging_date',
-		'company': 'parent:company',
-		'cost_center': 'cost_center',
-		'creation': '2011-05-10 11:21:22',
-		'credit': 'amount',
-		'debit': 'value:0',
-		'docstatus': 0,
-		'doctype': 'GL Mapper Detail',
-		'fiscal_year': 'parent:fiscal_year',
-		'idx': 1,
-		'is_advance': None,
-		'is_opening': 'parent:is_opening',
-		'modified': '2011-05-10 11:21:22',
-		'modified_by': 'Administrator',
-		'name': '000002752',
-		'owner': 'Administrator',
-		'parent': 'POS with write off',
-		'parentfield': 'fields',
-		'parenttype': 'GL Mapper',
-		'posting_date': 'parent:posting_date',
-		'remarks': 'parent:remarks',
-		'table_field': 'entries',
-		'transaction_date': 'parent:voucher_date',
-		'voucher_no': 'parent:name',
-		'voucher_type': 'parent:doctype'
-	},
-	{
-		'account': 'account_head',
-		'against': 'parent:debit_to',
-		'against_voucher': None,
-		'against_voucher_type': None,
-		'aging_date': 'parent:aging_date',
-		'company': 'parent:company',
-		'cost_center': 'cost_center_other_charges',
-		'creation': '2011-05-10 11:21:22',
-		'credit': 'tax_amount',
-		'debit': 'value:0',
-		'docstatus': 0,
-		'doctype': 'GL Mapper Detail',
-		'fiscal_year': 'parent:fiscal_year',
-		'idx': 2,
-		'is_advance': None,
-		'is_opening': 'parent:is_opening',
-		'modified': '2011-05-10 11:21:22',
-		'modified_by': 'Administrator',
-		'name': '000002753',
-		'owner': 'Administrator',
-		'parent': 'POS with write off',
-		'parentfield': 'fields',
-		'parenttype': 'GL Mapper',
-		'posting_date': 'parent:posting_date',
-		'remarks': 'parent:remarks',
-		'table_field': 'other_charges',
-		'transaction_date': 'parent:voucher_date',
-		'voucher_no': 'parent:name',
-		'voucher_type': 'parent:doctype'
-	},
-	{
-		'account': 'debit_to',
-		'against': 'against_income_account',
-		'against_voucher': 'name',
-		'against_voucher_type': 'doctype',
-		'aging_date': 'aging_date',
-		'company': 'company',
-		'cost_center': None,
-		'creation': '2011-05-10 11:21:22',
-		'credit': 'value:0',
-		'debit': 'grand_total',
-		'docstatus': 0,
-		'doctype': 'GL Mapper Detail',
-		'fiscal_year': 'fiscal_year',
-		'idx': 3,
-		'is_advance': None,
-		'is_opening': 'is_opening',
-		'modified': '2011-05-10 11:21:22',
-		'modified_by': 'Administrator',
-		'name': '000002754',
-		'owner': 'Administrator',
-		'parent': 'POS with write off',
-		'parentfield': 'fields',
-		'parenttype': 'GL Mapper',
-		'posting_date': 'posting_date',
-		'remarks': 'remarks',
-		'table_field': None,
-		'transaction_date': 'voucher_date',
-		'voucher_no': 'name',
-		'voucher_type': 'doctype'
-	},
-	{
-		'account': 'debit_to',
-		'against': 'cash_bank_account',
-		'against_voucher': 'name',
-		'against_voucher_type': 'doctype',
-		'aging_date': 'aging_date',
-		'company': 'company',
-		'cost_center': None,
-		'creation': '2011-05-10 11:21:22',
-		'credit': 'paid_amount',
-		'debit': 'value:0',
-		'docstatus': 0,
-		'doctype': 'GL Mapper Detail',
-		'fiscal_year': 'fiscal_year',
-		'idx': 4,
-		'is_advance': None,
-		'is_opening': 'is_opening',
-		'modified': '2011-05-10 11:21:22',
-		'modified_by': 'Administrator',
-		'name': '000002755',
-		'owner': 'Administrator',
-		'parent': 'POS with write off',
-		'parentfield': 'fields',
-		'parenttype': 'GL Mapper',
-		'posting_date': 'posting_date',
-		'remarks': 'remarks',
-		'table_field': None,
-		'transaction_date': 'voucher_date',
-		'voucher_no': 'name',
-		'voucher_type': 'doctype'
-	},
-	{
-		'account': 'debit_to',
-		'against': 'write_off_account',
-		'against_voucher': 'name',
-		'against_voucher_type': 'doctype',
-		'aging_date': 'aging_date',
-		'company': 'company',
-		'cost_center': None,
-		'creation': '2011-05-10 11:21:22',
-		'credit': 'write_off_amount',
-		'debit': 'value:0',
-		'docstatus': 0,
-		'doctype': 'GL Mapper Detail',
-		'fiscal_year': 'fiscal_year',
-		'idx': 5,
-		'is_advance': None,
-		'is_opening': 'is_opening',
-		'modified': '2011-05-10 11:21:22',
-		'modified_by': 'Administrator',
-		'name': '000002758',
-		'owner': 'Administrator',
-		'parent': 'POS with write off',
-		'parentfield': 'fields',
-		'parenttype': 'GL Mapper',
-		'posting_date': 'posting_date',
-		'remarks': 'remarks',
-		'table_field': None,
-		'transaction_date': 'voucher_date',
-		'voucher_no': 'name',
-		'voucher_type': 'doctype'
-	},
-	{
-		'account': 'cash_bank_account',
-		'against': 'debit_to',
-		'against_voucher': None,
-		'against_voucher_type': None,
-		'aging_date': 'aging_date',
-		'company': 'company',
-		'cost_center': None,
-		'creation': '2011-05-10 11:21:22',
-		'credit': 'value:0',
-		'debit': 'paid_amount',
-		'docstatus': 0,
-		'doctype': 'GL Mapper Detail',
-		'fiscal_year': 'fiscal_year',
-		'idx': 6,
-		'is_advance': None,
-		'is_opening': 'is_opening',
-		'modified': '2011-05-10 11:21:22',
-		'modified_by': 'Administrator',
-		'name': '000002756',
-		'owner': 'Administrator',
-		'parent': 'POS with write off',
-		'parentfield': 'fields',
-		'parenttype': 'GL Mapper',
-		'posting_date': 'posting_date',
-		'remarks': 'remarks',
-		'table_field': None,
-		'transaction_date': 'voucher_date',
-		'voucher_no': 'name',
-		'voucher_type': 'doctype'
-	},
-	{
-		'account': 'write_off_account',
-		'against': 'debit_to',
-		'against_voucher': None,
-		'against_voucher_type': None,
-		'aging_date': 'aging_date',
-		'company': 'company',
-		'cost_center': 'write_off_cost_center',
-		'creation': '2011-05-10 11:21:22',
-		'credit': 'value:0',
-		'debit': 'write_off_amount',
-		'docstatus': 0,
-		'doctype': 'GL Mapper Detail',
-		'fiscal_year': 'fiscal_year',
-		'idx': 7,
-		'is_advance': None,
-		'is_opening': 'is_opening',
-		'modified': '2011-05-10 11:21:22',
-		'modified_by': 'Administrator',
-		'name': '000002757',
-		'owner': 'Administrator',
-		'parent': 'POS with write off',
-		'parentfield': 'fields',
-		'parenttype': 'GL Mapper',
-		'posting_date': 'posting_date',
-		'remarks': 'remarks',
-		'table_field': None,
-		'transaction_date': 'voucher_date',
-		'voucher_no': 'name',
-		'voucher_type': 'doctype'
-	}
+ {
+  "owner": "Administrator", 
+  "docstatus": 0, 
+  "creation": "2011-05-20 10:07:58", 
+  "modified_by": "Administrator", 
+  "modified": "2012-05-01 09:16:31"
+ }, 
+ {
+  "doc_type": "POS with write off", 
+  "name": "__common__", 
+  "doctype": "GL Mapper"
+ }, 
+ {
+  "name": "__common__", 
+  "parent": "POS with write off", 
+  "doctype": "GL Mapper Detail", 
+  "parenttype": "GL Mapper", 
+  "parentfield": "fields"
+ }, 
+ {
+  "name": "POS with write off", 
+  "doctype": "GL Mapper"
+ }, 
+ {
+  "account": "income_account", 
+  "doctype": "GL Mapper Detail", 
+  "company": "parent:company", 
+  "debit": "value:0", 
+  "fiscal_year": "parent:fiscal_year", 
+  "against": "parent:debit_to", 
+  "voucher_type": "parent:doctype", 
+  "credit": "amount", 
+  "table_field": "entries", 
+  "transaction_date": "parent:voucher_date", 
+  "aging_date": "parent:aging_date", 
+  "is_opening": "parent:is_opening", 
+  "remarks": "parent:remarks", 
+  "posting_date": "parent:posting_date", 
+  "voucher_no": "parent:name", 
+  "cost_center": "cost_center"
+ }, 
+ {
+  "account": "account_head", 
+  "doctype": "GL Mapper Detail", 
+  "company": "parent:company", 
+  "debit": "value:0", 
+  "fiscal_year": "parent:fiscal_year", 
+  "against": "parent:debit_to", 
+  "voucher_type": "parent:doctype", 
+  "credit": "tax_amount", 
+  "table_field": "other_charges", 
+  "transaction_date": "parent:voucher_date", 
+  "aging_date": "parent:aging_date", 
+  "is_opening": "parent:is_opening", 
+  "remarks": "parent:remarks", 
+  "posting_date": "parent:posting_date", 
+  "voucher_no": "parent:name", 
+  "cost_center": "cost_center_other_charges"
+ }, 
+ {
+  "account": "debit_to", 
+  "doctype": "GL Mapper Detail", 
+  "against_voucher": "name", 
+  "against_voucher_type": "doctype", 
+  "company": "company", 
+  "debit": "grand_total", 
+  "fiscal_year": "fiscal_year", 
+  "against": "against_income_account", 
+  "voucher_type": "doctype", 
+  "credit": "value:0", 
+  "transaction_date": "voucher_date", 
+  "aging_date": "aging_date", 
+  "is_opening": "is_opening", 
+  "remarks": "remarks", 
+  "posting_date": "posting_date", 
+  "voucher_no": "name"
+ }, 
+ {
+  "account": "debit_to", 
+  "doctype": "GL Mapper Detail", 
+  "against_voucher": "name", 
+  "against_voucher_type": "doctype", 
+  "company": "company", 
+  "debit": "value:0", 
+  "fiscal_year": "fiscal_year", 
+  "against": "cash_bank_account", 
+  "voucher_type": "doctype", 
+  "credit": "paid_amount", 
+  "transaction_date": "voucher_date", 
+  "aging_date": "aging_date", 
+  "is_opening": "is_opening", 
+  "remarks": "remarks", 
+  "posting_date": "posting_date", 
+  "voucher_no": "name"
+ }, 
+ {
+  "account": "debit_to", 
+  "doctype": "GL Mapper Detail", 
+  "against_voucher": "name", 
+  "against_voucher_type": "doctype", 
+  "company": "company", 
+  "debit": "value:0", 
+  "fiscal_year": "fiscal_year", 
+  "against": "write_off_account", 
+  "voucher_type": "doctype", 
+  "credit": "write_off_amount", 
+  "transaction_date": "voucher_date", 
+  "aging_date": "aging_date", 
+  "is_opening": "is_opening", 
+  "remarks": "remarks", 
+  "posting_date": "posting_date", 
+  "voucher_no": "name"
+ }, 
+ {
+  "account": "cash_bank_account", 
+  "doctype": "GL Mapper Detail", 
+  "company": "company", 
+  "debit": "paid_amount", 
+  "fiscal_year": "fiscal_year", 
+  "against": "debit_to", 
+  "voucher_type": "doctype", 
+  "credit": "value:0", 
+  "transaction_date": "voucher_date", 
+  "aging_date": "aging_date", 
+  "is_opening": "is_opening", 
+  "remarks": "remarks", 
+  "posting_date": "posting_date", 
+  "voucher_no": "name"
+ }, 
+ {
+  "account": "write_off_account", 
+  "doctype": "GL Mapper Detail", 
+  "company": "company", 
+  "debit": "write_off_amount", 
+  "fiscal_year": "fiscal_year", 
+  "against": "debit_to", 
+  "voucher_type": "doctype", 
+  "credit": "value:0", 
+  "transaction_date": "voucher_date", 
+  "aging_date": "aging_date", 
+  "is_opening": "is_opening", 
+  "remarks": "remarks", 
+  "posting_date": "posting_date", 
+  "voucher_no": "name", 
+  "cost_center": "write_off_cost_center"
+ }
 ]
\ No newline at end of file
diff --git a/accounts/GL Mapper/POS/POS.txt b/accounts/GL Mapper/POS/POS.txt
index dc95439..0fca5e4 100644
--- a/accounts/GL Mapper/POS/POS.txt
+++ b/accounts/GL Mapper/POS/POS.txt
@@ -1 +1,117 @@
-[{'doc_type': 'POS', 'modified_by': 'Administrator', 'name': 'POS', 'parent': None, 'creation': '2010-12-14 16:40:09', 'modified': '2010-12-14 20:15:04', 'doctype': 'GL Mapper', 'idx': None, 'parenttype': None, 'owner': 'Administrator', 'docstatus': 0, 'parentfield': None}, {'creation': '2010-12-14 16:40:09', 'voucher_type': 'parent:doctype', 'doctype': 'GL Mapper Detail', 'owner': 'Administrator', 'cost_center': 'cost_center', 'voucher_no': 'parent:name', 'modified_by': 'Administrator', 'against_voucher': None, 'table_field': 'entries', 'transaction_date': 'parent:voucher_date', 'debit': 'value:0', 'docstatus': 0, 'parent': 'POS', 'company': 'parent:company', 'aging_date': 'parent:aging_date', 'fiscal_year': 'parent:fiscal_year', 'is_advance': None, 'remarks': 'parent:remarks', 'account': 'income_account', 'name': 'GLMDetail00010', 'idx': 1, 'against_voucher_type': None, 'modified': '2010-12-14 20:15:04', 'against': 'parent:debit_to', 'credit': 'amount', 'parenttype': 'GL Mapper', 'is_opening': 'parent:is_opening', 'posting_date': 'parent:posting_date', 'parentfield': 'fields'}, {'creation': '2010-12-14 16:40:09', 'voucher_type': 'parent:doctype', 'doctype': 'GL Mapper Detail', 'owner': 'Administrator', 'cost_center': 'cost_center_other_charges', 'voucher_no': 'parent:name', 'modified_by': 'Administrator', 'against_voucher': None, 'table_field': 'other_charges', 'transaction_date': 'parent:voucher_date', 'debit': 'value:0', 'docstatus': 0, 'parent': 'POS', 'company': 'parent:company', 'aging_date': 'parent:aging_date', 'fiscal_year': 'parent:fiscal_year', 'is_advance': None, 'remarks': 'parent:remarks', 'account': 'account_head', 'name': 'GLMDetail00011', 'idx': 2, 'against_voucher_type': None, 'modified': '2010-12-14 20:15:04', 'against': 'parent:debit_to', 'credit': 'tax_amount', 'parenttype': 'GL Mapper', 'is_opening': 'parent:is_opening', 'posting_date': 'parent:posting_date', 'parentfield': 'fields'}, {'creation': '2010-12-14 16:40:09', 'voucher_type': 'doctype', 'doctype': 'GL Mapper Detail', 'owner': 'Administrator', 'cost_center': None, 'voucher_no': 'name', 'modified_by': 'Administrator', 'against_voucher': 'name', 'table_field': None, 'transaction_date': 'voucher_date', 'debit': 'grand_total', 'docstatus': 0, 'parent': 'POS', 'company': 'company', 'aging_date': 'aging_date', 'fiscal_year': 'fiscal_year', 'is_advance': None, 'remarks': 'remarks', 'account': 'debit_to', 'name': 'GLMDetail00012', 'idx': 3, 'against_voucher_type': 'doctype', 'modified': '2010-12-14 20:15:04', 'against': 'against_income_account', 'credit': 'value:0', 'parenttype': 'GL Mapper', 'is_opening': 'is_opening', 'posting_date': 'posting_date', 'parentfield': 'fields'}, {'creation': '2010-12-14 16:40:09', 'voucher_type': 'doctype', 'doctype': 'GL Mapper Detail', 'owner': 'Administrator', 'cost_center': '', 'voucher_no': 'name', 'modified_by': 'Administrator', 'against_voucher': 'name', 'table_field': None, 'transaction_date': 'voucher_date', 'debit': 'value:0', 'docstatus': 0, 'parent': 'POS', 'company': 'company', 'aging_date': 'aging_date', 'fiscal_year': 'fiscal_year', 'is_advance': None, 'remarks': 'remarks', 'account': 'debit_to', 'name': 'GLMDetail00013', 'idx': 4, 'against_voucher_type': 'doctype', 'modified': '2010-12-14 20:15:04', 'against': 'cash_bank_account', 'credit': 'paid_amount', 'parenttype': 'GL Mapper', 'is_opening': 'is_opening', 'posting_date': 'posting_date', 'parentfield': 'fields'}, {'creation': '2010-12-14 16:40:09', 'voucher_type': 'doctype', 'doctype': 'GL Mapper Detail', 'owner': 'Administrator', 'cost_center': '', 'voucher_no': 'name', 'modified_by': 'Administrator', 'against_voucher': '', 'table_field': None, 'transaction_date': 'voucher_date', 'debit': 'paid_amount', 'docstatus': 0, 'parent': 'POS', 'company': 'company', 'aging_date': 'aging_date', 'fiscal_year': 'fiscal_year', 'is_advance': None, 'remarks': 'remarks', 'account': 'cash_bank_account', 'name': 'GLMDetail00014', 'idx': 5, 'against_voucher_type': '', 'modified': '2010-12-14 20:15:04', 'against': 'debit_to', 'credit': 'value:0', 'parenttype': 'GL Mapper', 'is_opening': 'is_opening', 'posting_date': 'posting_date', 'parentfield': 'fields'}]
\ No newline at end of file
+[
+ {
+  "owner": "Administrator", 
+  "docstatus": 0, 
+  "creation": "2010-12-15 08:39:20", 
+  "modified_by": "Administrator", 
+  "modified": "2012-05-01 09:16:31"
+ }, 
+ {
+  "doc_type": "POS", 
+  "name": "__common__", 
+  "doctype": "GL Mapper"
+ }, 
+ {
+  "name": "__common__", 
+  "parent": "POS", 
+  "doctype": "GL Mapper Detail", 
+  "parenttype": "GL Mapper", 
+  "parentfield": "fields"
+ }, 
+ {
+  "name": "POS", 
+  "doctype": "GL Mapper"
+ }, 
+ {
+  "account": "income_account", 
+  "doctype": "GL Mapper Detail", 
+  "company": "parent:company", 
+  "debit": "value:0", 
+  "fiscal_year": "parent:fiscal_year", 
+  "against": "parent:debit_to", 
+  "voucher_type": "parent:doctype", 
+  "credit": "amount", 
+  "table_field": "entries", 
+  "transaction_date": "parent:voucher_date", 
+  "aging_date": "parent:aging_date", 
+  "is_opening": "parent:is_opening", 
+  "remarks": "parent:remarks", 
+  "posting_date": "parent:posting_date", 
+  "voucher_no": "parent:name", 
+  "cost_center": "cost_center"
+ }, 
+ {
+  "account": "account_head", 
+  "doctype": "GL Mapper Detail", 
+  "company": "parent:company", 
+  "debit": "value:0", 
+  "fiscal_year": "parent:fiscal_year", 
+  "against": "parent:debit_to", 
+  "voucher_type": "parent:doctype", 
+  "credit": "tax_amount", 
+  "table_field": "other_charges", 
+  "transaction_date": "parent:voucher_date", 
+  "aging_date": "parent:aging_date", 
+  "is_opening": "parent:is_opening", 
+  "remarks": "parent:remarks", 
+  "posting_date": "parent:posting_date", 
+  "voucher_no": "parent:name", 
+  "cost_center": "cost_center_other_charges"
+ }, 
+ {
+  "account": "debit_to", 
+  "doctype": "GL Mapper Detail", 
+  "against_voucher": "name", 
+  "against_voucher_type": "doctype", 
+  "company": "company", 
+  "debit": "grand_total", 
+  "fiscal_year": "fiscal_year", 
+  "against": "against_income_account", 
+  "voucher_type": "doctype", 
+  "credit": "value:0", 
+  "transaction_date": "voucher_date", 
+  "aging_date": "aging_date", 
+  "is_opening": "is_opening", 
+  "remarks": "remarks", 
+  "posting_date": "posting_date", 
+  "voucher_no": "name"
+ }, 
+ {
+  "account": "debit_to", 
+  "doctype": "GL Mapper Detail", 
+  "credit": "paid_amount", 
+  "against_voucher_type": "doctype", 
+  "company": "company", 
+  "debit": "value:0", 
+  "fiscal_year": "fiscal_year", 
+  "against": "cash_bank_account", 
+  "voucher_type": "doctype", 
+  "against_voucher": "name", 
+  "transaction_date": "voucher_date", 
+  "aging_date": "aging_date", 
+  "is_opening": "is_opening", 
+  "remarks": "remarks", 
+  "posting_date": "posting_date", 
+  "voucher_no": "name", 
+  "cost_center": ""
+ }, 
+ {
+  "account": "cash_bank_account", 
+  "doctype": "GL Mapper Detail", 
+  "credit": "value:0", 
+  "against_voucher_type": "", 
+  "company": "company", 
+  "debit": "paid_amount", 
+  "fiscal_year": "fiscal_year", 
+  "against": "debit_to", 
+  "voucher_type": "doctype", 
+  "against_voucher": "", 
+  "transaction_date": "voucher_date", 
+  "aging_date": "aging_date", 
+  "is_opening": "is_opening", 
+  "remarks": "remarks", 
+  "posting_date": "posting_date", 
+  "voucher_no": "name", 
+  "cost_center": ""
+ }
+]
\ No newline at end of file
diff --git a/accounts/GL Mapper/Purchase Invoice with write off/Purchase Invoice with write off.txt b/accounts/GL Mapper/Purchase Invoice with write off/Purchase Invoice with write off.txt
index 05abfff..f32b13b 100644
--- a/accounts/GL Mapper/Purchase Invoice with write off/Purchase Invoice with write off.txt
+++ b/accounts/GL Mapper/Purchase Invoice with write off/Purchase Invoice with write off.txt
@@ -2,7 +2,7 @@
  {
   "owner": "Administrator", 
   "docstatus": 0, 
-  "creation": "2012-04-30 19:55:05", 
+  "creation": "2012-10-03 11:29:52", 
   "modified_by": "Administrator", 
   "modified": "2012-10-03 11:08:09"
  }, 
@@ -24,89 +24,89 @@
  }, 
  {
   "account": "expense_head", 
-  "doctype": "GL Mapper Detail", 
   "company": "parent:company", 
-  "debit": "amount", 
   "fiscal_year": "parent:fiscal_year", 
   "against": "parent:credit_to", 
-  "aging_date": "parent:aging_date", 
+  "voucher_type": "parent:doctype", 
   "credit": "value:0", 
   "table_field": "entries", 
   "transaction_date": "parent:voucher_date", 
-  "voucher_type": "parent:doctype", 
-  "is_opening": "parent:is_opening", 
+  "aging_date": "parent:aging_date", 
+  "doctype": "GL Mapper Detail", 
   "remarks": "parent:remarks", 
-  "posting_date": "parent:posting_date", 
+  "is_opening": "parent:is_opening", 
   "voucher_no": "parent:name", 
-  "cost_center": "cost_center"
+  "debit": "amount", 
+  "cost_center": "cost_center", 
+  "posting_date": "parent:posting_date"
  }, 
  {
   "account": "account_head", 
-  "doctype": "GL Mapper Detail", 
   "company": "parent:company", 
-  "debit": "value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Add' and d.fields.get('tax_amount') or 0", 
   "fiscal_year": "parent:fiscal_year", 
   "against": "parent:credit_to", 
-  "aging_date": "parent:aging_date", 
+  "voucher_type": "parent:doctype", 
   "credit": "value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Deduct' and d.fields.get('tax_amount') or 0", 
   "table_field": "purchase_tax_details", 
   "transaction_date": "parent:voucher_date", 
-  "voucher_type": "parent:doctype", 
-  "is_opening": "parent:is_opening", 
+  "aging_date": "parent:aging_date", 
+  "doctype": "GL Mapper Detail", 
   "remarks": "parent:remarks", 
-  "posting_date": "parent:posting_date", 
+  "is_opening": "parent:is_opening", 
   "voucher_no": "parent:name", 
-  "cost_center": "cost_center"
+  "debit": "value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Add' and d.fields.get('tax_amount') or 0", 
+  "cost_center": "cost_center", 
+  "posting_date": "parent:posting_date"
  }, 
  {
   "account": "tax_code", 
-  "doctype": "GL Mapper Detail", 
   "company": "company", 
-  "debit": "value:0", 
   "fiscal_year": "fiscal_year", 
   "against": "credit_to", 
-  "aging_date": "aging_date", 
-  "credit": "ded_amount", 
-  "transaction_date": "voucher_date", 
   "voucher_type": "doctype", 
-  "is_opening": "is_opening", 
+  "credit": "ded_amount", 
+  "debit": "value:0", 
+  "transaction_date": "voucher_date", 
+  "aging_date": "aging_date", 
+  "doctype": "GL Mapper Detail", 
   "remarks": "remarks", 
-  "posting_date": "posting_date", 
-  "voucher_no": "name"
+  "is_opening": "is_opening", 
+  "voucher_no": "name", 
+  "posting_date": "posting_date"
  }, 
  {
   "account": "credit_to", 
-  "doctype": "GL Mapper Detail", 
-  "credit": "total_amount_to_pay", 
+  "against_voucher": "name", 
   "against_voucher_type": "value:'Purchase Invoice'", 
   "company": "company", 
-  "debit": "value:0", 
   "fiscal_year": "fiscal_year", 
   "against": "against_expense_account", 
-  "aging_date": "aging_date", 
-  "against_voucher": "name", 
-  "transaction_date": "voucher_date", 
   "voucher_type": "doctype", 
-  "is_opening": "is_opening", 
+  "credit": "total_amount_to_pay", 
+  "debit": "value:0", 
+  "transaction_date": "voucher_date", 
+  "aging_date": "aging_date", 
+  "doctype": "GL Mapper Detail", 
   "remarks": "remarks", 
-  "posting_date": "posting_date", 
-  "voucher_no": "name"
+  "is_opening": "is_opening", 
+  "voucher_no": "name", 
+  "posting_date": "posting_date"
  }, 
  {
   "account": "write_off_account", 
-  "doctype": "GL Mapper Detail", 
   "company": "company", 
-  "debit": "value:0", 
   "fiscal_year": "fiscal_year", 
   "against": "credit_to", 
-  "aging_date": "aging_date", 
-  "credit": "write_off_amount", 
-  "transaction_date": "voucher_date", 
   "voucher_type": "doctype", 
-  "is_opening": "is_opening", 
+  "credit": "write_off_amount", 
+  "debit": "value:0", 
+  "transaction_date": "voucher_date", 
+  "aging_date": "aging_date", 
+  "doctype": "GL Mapper Detail", 
   "remarks": "remarks", 
-  "posting_date": "posting_date", 
+  "is_opening": "is_opening", 
   "voucher_no": "name", 
-  "cost_center": "write_off_cost_center"
+  "cost_center": "write_off_cost_center", 
+  "posting_date": "posting_date"
  }
 ]
\ No newline at end of file
diff --git a/accounts/GL Mapper/Purchase Invoice/Purchase Invoice.txt b/accounts/GL Mapper/Purchase Invoice/Purchase Invoice.txt
index 1251165..b3dbdbf 100644
--- a/accounts/GL Mapper/Purchase Invoice/Purchase Invoice.txt
+++ b/accounts/GL Mapper/Purchase Invoice/Purchase Invoice.txt
@@ -2,7 +2,7 @@
  {
   "owner": "Administrator", 
   "docstatus": 0, 
-  "creation": "2012-04-30 19:55:04", 
+  "creation": "2012-10-03 11:29:52", 
   "modified_by": "Administrator", 
   "modified": "2012-10-03 11:07:26"
  }, 
@@ -29,11 +29,11 @@
   "debit": "amount", 
   "fiscal_year": "parent:fiscal_year", 
   "against": "parent:credit_to", 
-  "aging_date": "parent:aging_date", 
+  "voucher_type": "parent:doctype", 
   "credit": "value:0", 
   "table_field": "entries", 
   "transaction_date": "parent:voucher_date", 
-  "voucher_type": "parent:doctype", 
+  "aging_date": "parent:aging_date", 
   "is_opening": "parent:is_opening", 
   "remarks": "parent:remarks", 
   "posting_date": "parent:posting_date", 
@@ -47,11 +47,11 @@
   "debit": "value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Add' and d.fields.get('tax_amount') or 0", 
   "fiscal_year": "parent:fiscal_year", 
   "against": "parent:credit_to", 
-  "aging_date": "parent:aging_date", 
+  "voucher_type": "parent:doctype", 
   "credit": "value:d.fields.get('category') != 'Valuation' and d.fields.get('add_deduct_tax') == 'Deduct' and d.fields.get('tax_amount') or 0", 
   "table_field": "purchase_tax_details", 
   "transaction_date": "parent:voucher_date", 
-  "voucher_type": "parent:doctype", 
+  "aging_date": "parent:aging_date", 
   "is_opening": "parent:is_opening", 
   "remarks": "parent:remarks", 
   "posting_date": "parent:posting_date", 
@@ -65,10 +65,10 @@
   "debit": "value:0", 
   "fiscal_year": "fiscal_year", 
   "against": "credit_to", 
-  "aging_date": "aging_date", 
+  "voucher_type": "doctype", 
   "credit": "ded_amount", 
   "transaction_date": "voucher_date", 
-  "voucher_type": "doctype", 
+  "aging_date": "aging_date", 
   "is_opening": "is_opening", 
   "remarks": "remarks", 
   "posting_date": "posting_date", 
@@ -77,16 +77,16 @@
  {
   "account": "credit_to", 
   "doctype": "GL Mapper Detail", 
-  "credit": "total_amount_to_pay", 
+  "against_voucher": "name", 
   "against_voucher_type": "value:'Purchase Invoice'", 
   "company": "company", 
   "debit": "value:0", 
   "fiscal_year": "fiscal_year", 
   "against": "against_expense_account", 
-  "aging_date": "aging_date", 
-  "against_voucher": "name", 
-  "transaction_date": "voucher_date", 
   "voucher_type": "doctype", 
+  "credit": "total_amount_to_pay", 
+  "transaction_date": "voucher_date", 
+  "aging_date": "aging_date", 
   "is_opening": "is_opening", 
   "remarks": "remarks", 
   "posting_date": "posting_date", 
diff --git a/accounts/GL Mapper/Sales Invoice/Sales Invoice.txt b/accounts/GL Mapper/Sales Invoice/Sales Invoice.txt
index 4a4df3c..6057a27 100644
--- a/accounts/GL Mapper/Sales Invoice/Sales Invoice.txt
+++ b/accounts/GL Mapper/Sales Invoice/Sales Invoice.txt
@@ -1 +1,81 @@
-[{'doc_type': 'Sales Invoice', 'modified_by': 'Administrator', 'name': 'Sales Invoice', 'parent': None, 'creation': '2009-03-12 12:09:24', 'modified': '2010-05-17 08:59:14', 'module': 'Accounts', 'doctype': 'GL Mapper', 'idx': None, 'parenttype': None, 'owner': 'Administrator', 'docstatus': 0, 'parentfield': None}, {'creation': '2009-03-12 12:09:24', 'voucher_type': 'parent:doctype', 'doctype': 'GL Mapper Detail', 'owner': 'Administrator', 'cost_center': 'cost_center', 'voucher_no': 'parent:name', 'modified_by': 'Administrator', 'against_voucher': None, 'table_field': 'entries', 'transaction_date': 'parent:voucher_date', 'debit': 'value:0', 'docstatus': 0, 'parent': 'Sales Invoice', 'company': 'parent:company', 'aging_date': 'parent:aging_date', 'fiscal_year': 'parent:fiscal_year', 'is_advance': None, 'remarks': 'parent:remarks', 'account': 'income_account', 'name': 'GLMDetail00006', 'idx': 1, 'against_voucher_type': None, 'modified': '2010-05-17 08:59:14', 'against': 'parent:debit_to', 'credit': 'amount', 'parenttype': 'GL Mapper', 'is_opening': 'parent:is_opening', 'posting_date': 'parent:posting_date', 'parentfield': 'fields'}, {'creation': '2009-03-12 12:09:24', 'voucher_type': 'parent:doctype', 'doctype': 'GL Mapper Detail', 'owner': 'Administrator', 'cost_center': 'cost_center_other_charges', 'voucher_no': 'parent:name', 'modified_by': 'Administrator', 'against_voucher': None, 'table_field': 'other_charges', 'transaction_date': 'parent:voucher_date', 'debit': 'value:0', 'docstatus': 0, 'parent': 'Sales Invoice', 'company': 'parent:company', 'aging_date': 'parent:aging_date', 'fiscal_year': 'parent:fiscal_year', 'is_advance': None, 'remarks': 'parent:remarks', 'account': 'account_head', 'name': 'GLMDetail00007', 'idx': 2, 'against_voucher_type': None, 'modified': '2010-05-17 08:59:14', 'against': 'parent:debit_to', 'credit': 'tax_amount', 'parenttype': 'GL Mapper', 'is_opening': 'parent:is_opening', 'posting_date': 'parent:posting_date', 'parentfield': 'fields'}, {'creation': '2009-03-12 12:09:24', 'voucher_type': 'doctype', 'doctype': 'GL Mapper Detail', 'owner': 'Administrator', 'cost_center': '', 'voucher_no': 'name', 'modified_by': 'Administrator', 'against_voucher': 'name', 'table_field': '', 'transaction_date': 'voucher_date', 'debit': 'grand_total', 'docstatus': 0, 'parent': 'Sales Invoice', 'company': 'company', 'aging_date': 'aging_date', 'fiscal_year': 'fiscal_year', 'is_advance': None, 'remarks': 'remarks', 'account': 'debit_to', 'name': 'GLMDetail00008', 'idx': 3, 'against_voucher_type': "value:'Sales Invoice'", 'modified': '2010-05-17 08:59:14', 'against': 'against_income_account', 'credit': 'value:0', 'parenttype': 'GL Mapper', 'is_opening': 'is_opening', 'posting_date': 'posting_date', 'parentfield': 'fields'}]
\ No newline at end of file
+[
+ {
+  "owner": "Administrator", 
+  "docstatus": 0, 
+  "creation": "2010-08-08 17:09:36", 
+  "modified_by": "Administrator", 
+  "modified": "2012-05-01 09:16:31"
+ }, 
+ {
+  "doc_type": "Receivable Voucher", 
+  "name": "__common__", 
+  "doctype": "GL Mapper"
+ }, 
+ {
+  "name": "__common__", 
+  "parent": "Sales Invoice", 
+  "doctype": "GL Mapper Detail", 
+  "parenttype": "GL Mapper", 
+  "parentfield": "fields"
+ }, 
+ {
+  "name": "Sales Invoice", 
+  "doctype": "GL Mapper"
+ }, 
+ {
+  "account": "income_account", 
+  "doctype": "GL Mapper Detail", 
+  "company": "parent:company", 
+  "debit": "value:0", 
+  "fiscal_year": "parent:fiscal_year", 
+  "against": "parent:debit_to", 
+  "voucher_type": "parent:doctype", 
+  "credit": "amount", 
+  "table_field": "entries", 
+  "transaction_date": "parent:voucher_date", 
+  "aging_date": "parent:aging_date", 
+  "is_opening": "parent:is_opening", 
+  "remarks": "parent:remarks", 
+  "posting_date": "parent:posting_date", 
+  "voucher_no": "parent:name", 
+  "cost_center": "cost_center"
+ }, 
+ {
+  "account": "account_head", 
+  "doctype": "GL Mapper Detail", 
+  "company": "parent:company", 
+  "debit": "value:0", 
+  "fiscal_year": "parent:fiscal_year", 
+  "against": "parent:debit_to", 
+  "voucher_type": "parent:doctype", 
+  "credit": "tax_amount", 
+  "table_field": "other_charges", 
+  "transaction_date": "parent:voucher_date", 
+  "aging_date": "parent:aging_date", 
+  "is_opening": "parent:is_opening", 
+  "remarks": "parent:remarks", 
+  "posting_date": "parent:posting_date", 
+  "voucher_no": "parent:name", 
+  "cost_center": "cost_center_other_charges"
+ }, 
+ {
+  "account": "debit_to", 
+  "doctype": "GL Mapper Detail", 
+  "credit": "value:0", 
+  "against_voucher_type": "value:'Sales Invoice'", 
+  "company": "company", 
+  "debit": "grand_total", 
+  "fiscal_year": "fiscal_year", 
+  "against": "against_income_account", 
+  "voucher_type": "doctype", 
+  "against_voucher": "name", 
+  "table_field": "", 
+  "transaction_date": "voucher_date", 
+  "aging_date": "aging_date", 
+  "is_opening": "is_opening", 
+  "remarks": "remarks", 
+  "posting_date": "posting_date", 
+  "voucher_no": "name", 
+  "cost_center": ""
+ }
+]
\ No newline at end of file