below code is child table item in sales invoice…
<table class="table table-condensed cart no-border">
<thead>
<tr>
<th width="2%">{{ _("Sr.") }}</th>
<th width="46%">{{ _("Item") }}</th>
<th width="13%" class="text-right">{{ _("Batch No") }}</th>
<th width="9%" class="text-right">{{ _("MRP") }}</th>
</tr>
</thead>
<tbody>
{% set totalqty = { 'total':0 } %}
{%- for item in doc.items -%}
<tr>
<td>{{loop.index}}</td>
<td>
{{ item.item_name }}
</td>
<td class="text-right">{{ item.batch_no }}</td>
<td class="text-right">{{ item.get_formatted("price_list_rate") }}</td>
</tr>
{%- endfor -%}
<tr><td colspan=6></td</td>
</tbody>
</table>