[
 {
  "bill_no": "NA", 
  "buying_price_list": "_Test Price List", 
  "company": "_Test Company", 
  "conversion_rate": 1, 
  "credit_to": "_Test Supplier - _TC", 
  "currency": "INR", 
  "doctype": "Purchase Invoice", 
  "entries": [
   {
    "amount": 500, 
    "base_amount": 500, 
    "base_rate": 50, 
    "conversion_factor": 1.0, 
    "cost_center": "_Test Cost Center - _TC", 
    "doctype": "Purchase Invoice Item", 
    "expense_account": "_Test Account Cost for Goods Sold - _TC", 
    "item_code": "_Test Item Home Desktop 100", 
    "item_name": "_Test Item Home Desktop 100", 
    "item_tax_rate": "{\"_Test Account Excise Duty - _TC\": 10}", 
    "parentfield": "entries", 
    "qty": 10, 
    "rate": 50, 
    "uom": "_Test UOM"
   }, 
   {
    "amount": 750, 
    "base_amount": 750, 
    "base_rate": 150, 
    "conversion_factor": 1.0, 
    "cost_center": "_Test Cost Center - _TC", 
    "doctype": "Purchase Invoice Item", 
    "expense_account": "_Test Account Cost for Goods Sold - _TC", 
    "item_code": "_Test Item Home Desktop 200", 
    "item_name": "_Test Item Home Desktop 200", 
    "parentfield": "entries", 
    "qty": 5, 
    "rate": 150, 
    "uom": "_Test UOM"
   }
  ], 
  "fiscal_year": "_Test Fiscal Year 2013", 
  "grand_total_import": 0, 
  "naming_series": "BILL", 
  "other_charges": [
   {
    "account_head": "_Test Account Shipping Charges - _TC", 
    "add_deduct_tax": "Add", 
    "category": "Valuation and Total", 
    "charge_type": "Actual", 
    "cost_center": "_Test Cost Center - _TC", 
    "description": "Shipping Charges", 
    "doctype": "Purchase Taxes and Charges", 
    "parentfield": "other_charges", 
    "rate": 100
   }, 
   {
    "account_head": "_Test Account Customs Duty - _TC", 
    "add_deduct_tax": "Add", 
    "category": "Valuation", 
    "charge_type": "On Net Total", 
    "cost_center": "_Test Cost Center - _TC", 
    "description": "Customs Duty", 
    "doctype": "Purchase Taxes and Charges", 
    "parentfield": "other_charges", 
    "rate": 10
   }, 
   {
    "account_head": "_Test Account Excise Duty - _TC", 
    "add_deduct_tax": "Add", 
    "category": "Total", 
    "charge_type": "On Net Total", 
    "cost_center": "_Test Cost Center - _TC", 
    "description": "Excise Duty", 
    "doctype": "Purchase Taxes and Charges", 
    "parentfield": "other_charges", 
    "rate": 12
   }, 
   {
    "account_head": "_Test Account Education Cess - _TC", 
    "add_deduct_tax": "Add", 
    "category": "Total", 
    "charge_type": "On Previous Row Amount", 
    "cost_center": "_Test Cost Center - _TC", 
    "description": "Education Cess", 
    "doctype": "Purchase Taxes and Charges", 
    "parentfield": "other_charges", 
    "rate": 2, 
    "row_id": 3
   }, 
   {
    "account_head": "_Test Account S&H Education Cess - _TC", 
    "add_deduct_tax": "Add", 
    "category": "Total", 
    "charge_type": "On Previous Row Amount", 
    "cost_center": "_Test Cost Center - _TC", 
    "description": "S&H Education Cess", 
    "doctype": "Purchase Taxes and Charges", 
    "parentfield": "other_charges", 
    "rate": 1, 
    "row_id": 3
   }, 
   {
    "account_head": "_Test Account CST - _TC", 
    "add_deduct_tax": "Add", 
    "category": "Total", 
    "charge_type": "On Previous Row Total", 
    "cost_center": "_Test Cost Center - _TC", 
    "description": "CST", 
    "doctype": "Purchase Taxes and Charges", 
    "parentfield": "other_charges", 
    "rate": 2, 
    "row_id": 5
   }, 
   {
    "account_head": "_Test Account VAT - _TC", 
    "add_deduct_tax": "Add", 
    "category": "Total", 
    "charge_type": "On Net Total", 
    "cost_center": "_Test Cost Center - _TC", 
    "description": "VAT", 
    "doctype": "Purchase Taxes and Charges", 
    "parentfield": "other_charges", 
    "rate": 12.5
   }, 
   {
    "account_head": "_Test Account Discount - _TC", 
    "add_deduct_tax": "Deduct", 
    "category": "Total", 
    "charge_type": "On Previous Row Total", 
    "cost_center": "_Test Cost Center - _TC", 
    "description": "Discount", 
    "doctype": "Purchase Taxes and Charges", 
    "parentfield": "other_charges", 
    "rate": 10, 
    "row_id": 7
   }
  ], 
  "posting_date": "2013-02-03", 
  "supplier_name": "_Test Supplier"
 }, 
 {
  "bill_no": "NA", 
  "buying_price_list": "_Test Price List", 
  "company": "_Test Company", 
  "conversion_rate": 1.0, 
  "credit_to": "_Test Supplier - _TC", 
  "currency": "INR", 
  "doctype": "Purchase Invoice", 
  "entries": [
   {
    "conversion_factor": 1.0, 
    "cost_center": "_Test Cost Center - _TC", 
    "doctype": "Purchase Invoice Item", 
    "expense_account": "_Test Account Cost for Goods Sold - _TC", 
    "item_code": "_Test Item", 
    "item_name": "_Test Item", 
    "parentfield": "entries", 
    "qty": 10.0, 
    "rate": 50.0, 
    "uom": "_Test UOM"
   }
  ], 
  "fiscal_year": "_Test Fiscal Year 2013", 
  "grand_total_import": 0, 
  "naming_series": "_T-Purchase Invoice-", 
  "other_charges": [
   {
    "account_head": "_Test Account Shipping Charges - _TC", 
    "add_deduct_tax": "Add", 
    "category": "Valuation and Total", 
    "charge_type": "Actual", 
    "cost_center": "_Test Cost Center - _TC", 
    "description": "Shipping Charges", 
    "doctype": "Purchase Taxes and Charges", 
    "parentfield": "other_charges", 
    "rate": 100.0
   }, 
   {
    "account_head": "_Test Account VAT - _TC", 
    "add_deduct_tax": "Add", 
    "category": "Total", 
    "charge_type": "Actual", 
    "cost_center": "_Test Cost Center - _TC", 
    "description": "VAT", 
    "doctype": "Purchase Taxes and Charges", 
    "parentfield": "other_charges", 
    "rate": 120.0
   }, 
   {
    "account_head": "_Test Account Customs Duty - _TC", 
    "add_deduct_tax": "Add", 
    "category": "Valuation", 
    "charge_type": "Actual", 
    "cost_center": "_Test Cost Center - _TC", 
    "description": "Customs Duty", 
    "doctype": "Purchase Taxes and Charges", 
    "parentfield": "other_charges", 
    "rate": 150.0
   }
  ], 
  "posting_date": "2013-02-03", 
  "supplier_name": "_Test Supplier"
 }
]