Custom Print Format / Fetch GST Amount

How to fetch GST Rate in print format.

I want this Amount On the print format.

This is my code.

 <td colspan="3">
<div style="display: flex; justify-content: space-between">
    <p>Total:-<span></span></p>
    {{ doc.get_formatted("total") }}
</div>
{% if doc.discount_amount > 0 %}
<div style="display: flex; justify-content: space-between">
    <p>Discount :-<span></span></p>
    {{ doc.get_formatted("discount_amount") }}
</div>
{% endif %}
<div style="display: flex; justify-content: space-between">
    <p>CGST Total :-<span>{{ doc.get_formatted("base_total") }}</span></p>
</div>
<div style="display: flex; justify-content: space-between">
    <p>SGST Total :-<span>{{ doc.get_formatted("base_total") }}</span></p>
</div>
<div style="display: flex; justify-content: space-between">
    <p>IGST Total :-<span>{{ doc.get_formatted("base_total") }}</span></p>
</div>
<div style="display: flex; justify-content: space-between">
    <p>Total Tax Amount GST :-<span>{{ doc.get_formatted("total_taxes_and_charges") }}</span></p>
</div>
</td>

Output.

Thank You.

Please use/try it.

{% for tax in doc.taxes  %}
<div style="display: flex; justify-content: space-between">
    <p>{{ row.description }}:- <span>{{row.total}}</span></p>
</div>
{% endfor %}