How to get line wise VAT in invoice?
Arjun can you please explain what do you exactly wish to achieve ?
A screenshot would be helpful.
1 Like
-
If you are using standard format just drag and drop items table and select the columns. It should work.
-
In case of custom format, create a table with html with the required columns and then use a for loop with jinja to iterate and show all the items line wise. Check below code for reference.
{%- for row in doc.items -%} <tr> <td>{{ row.idx }}</td> <td>{{ row.item_name }}</td> <td>{{ row.description }}</td> <td>{{row.get_formatted("amount", doc) }}</td> </tr> {%- endfor -%}