{
  "name": "TaxSummary",
  "label": "Tax Summary",
  "isChild": true,
  "fields": [
    {
      "fieldname": "account",
      "label": "Tax Account",
      "fieldtype": "Link",
      "target": "Account",
      "required": true
    },
    {
      "fieldname": "from_account",
      "label": "Tax Invoice Account",
      "fieldtype": "Link",
      "target": "Account",
      "required": false,
      "hidden": true
    },
    {
      "fieldname": "rate",
      "label": "Tax Rate",
      "fieldtype": "Float",
      "required": true,
      "readOnly": true
    },
    {
      "fieldname": "amount",
      "label": "Tax Amount",
      "fieldtype": "Currency",
      "required": true,
      "readOnly": true
    }
  ],
  "tableFields": ["account", "rate", "amount"]
}
