<data priority="50">
    <xpath expr="//th[@name='th_subtotal']" position="replace">
        <th name="th_subtotal" class="text-end">
            <span groups="gds_invoice.group_show_line_subtotals_tax_excluded">Amount</span>
            <span groups="gds_invoice.group_show_line_subtotals_tax_included">Total Amount</span>
            <!-- 
            <span groups="gds_invoice.group_show_line_subtotals_tax_excluded">Betrag</span>
            <span groups="gds_invoice.group_show_line_subtotals_tax_included">Gesamtbetrag</span>
            -->
        </th>
    </xpath>
    <xpath expr="//td[@name='td_subtotal']" position="replace">
        <td name="td_subtotal" class="text-end o_price_total">
            <span t-field="line.price_subtotal" groups="gds_invoice.group_show_line_subtotals_tax_excluded"/>
            <span t-field="line.price_total" groups="gds_invoice.group_show_line_subtotals_tax_included"/>
        </td>
    </xpath>
</data>