Sales invoice print format -

{{ _("TAX Invoice")}}
{{ _("Receipt No") }}: {{ doc.name }}
{{ _("Date") }}: {{ doc.get_formatted("posting_date") }}
{{ _("Customer") }}: {{ doc.customer_name }}
{{ _("TRN NO") }}: {{ doc.tax_id}}


{%- for item in doc.items -%} {%- endfor -%}
{{ _("Item") }} {{ _("Qty") }} {{ _("Amount") }}
{{ item.item_code }} {%- if item.item_name != item.item_code -%}
{{ item.item_name }}{%- endif -%}
{{ item.qty }}
@ {{ item.get_formatted("rate") }}
{{ item.get_formatted("total_amount") }}
{%- for row in doc.taxes -%} {%- if not row.included_in_print_rate -%} {%- endif -%} {%- endfor -%} {%- if doc.discount_amount -%} {%- endif -%}
{{ _("Net Total") }} {{ doc.get_formatted("net_total") }}
{{ row.description }} {{ row.get_formatted("tax_amount", doc) }}
{{ _("Discount") }} {{ doc.get_formatted("discount_amount") }}
{{ _("Grand Total") }} {{ doc.get_formatted("grand_total") }}
{% if doc.get("taxes", filters={"included_in_print_rate": 1}) %}

Taxes Included:

{%- for row in doc.taxes -%} {%- if row.included_in_print_rate -%} {%- endif -%} {%- endfor -%}
{{ row.description }} {{ row.get_formatted("tax_amount_after_discount_amount", doc) }}
{%- endif -%}

{{ doc.terms or "" }}

{{ _("Thank you, please visit again.") }}

i got this code from erpnext forum only but i am not sure from which topic i have one issue that this print format adds all the charges under Sales Taxes and Charges to be VAT but VAT amount should be shown separately. so if anyone ca help to make VAT seperates from any other charges.