# Invoice Theme Custom Templates (India)

**URL:** <https://forum.manager.io/t/invoice-theme-custom-templates-india/41645>\
**Category:** Uncategorized\
**Created:** [June 23, 2022, 6:40am UTC](https://forum.manager.io/t/invoice-theme-custom-templates-india/41645 "2022-06-23T06:40:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PRASOON\_AGARWAL](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/prasoon_agarwal/32/19576_2.png) [@PRASOON\_AGARWAL](https://forum.manager.io/u/PRASOON_AGARWAL)\
**Post date:** [June 23, 2022, 6:40am UTC](https://forum.manager.io/t/invoice-theme-custom-templates-india/41645/1 "2022-06-23T06:40:32Z")

</div>

Hello Everyone,

This thread is dedicated to custom theme template codes,Requesting honorable members of forum please share your custom theme template codes so that everyone could benefit from it.

Thanks in advance.

Here is a code which i have tinkered with for concise bill (can be printed on A5 but looks better on half A4 sheet). Hope you like it.

| 

```
                    {% if business.logo != null %}<td style="text-align: center"><img src="{{ business.logo }}" style="max-height: 27px; max-width: 27px" /></td>{% endif %}
                </tr></table>
                
                <table style="margin-bottom: 20px"><tr>
                    <td>
                        <div><b>{{ recipient.name }}</b> {{ recipient.Code }}</div>
                        <div>{{ recipient.address | newline_to_br }}</div>
                        <div>{{ recipient.identifier }}</div>
                    </td>
                    <td style="border-right-width: 1px; padding-right: 20px; text-align: right">
                        {% for field in fields %}
                         {% if field.label == 'Due date' %}{% assign duedate = field.text %}{% endif %}
                      {% if field.label == 'Invoice date' %}{% assign invoicedate = field.text %}{% endif %}
                      {% if field.label == 'Due date' %}{% if duedate >= invoicedate %}{% continue %}{% endif %}{% endif %}
                      {% if field.label == "Invoice number" %}
                         <div style="font-weight: bold">{{ field.label }}</div>
                         <div style="margin-bottom: 10px">{{ reference | slice: -2, 10 }}</div>
               {% endif %}
               {% if field.label != "Invoice number" %}
                        <div style="font-weight: bold">{{ field.label }}</div>
                        <div style="margin-bottom: 10px">{{ field.text }}</div>
                     {% endif %}
                        {% endfor %}
                    </td>
                    <td style="padding-left: 20px; width: 1px; white-space: nowrap">
                        <div style="font-weight: bold">{{ business.name }}</div>
                        <div>{{ business.address | newline_to_br }}</div>
                        <div>{{ business.identifier }}</div>
                    </td>
                </tr></table>

                <div style="font-size: 14px; font-weight: bold; margin-bottom: 20px">{{ description }}</div>
            </td>
        </tr>
        <tr>
            <td style="font-weight: bold; padding: 5px 10px; text-align: center; border-left-width: 1px; border-bottom-width: 1px; border-top-width: 1px; width: 1px">#</td>
            {% for column in table.columns %}            
            <td style="font-weight: bold; padding: 5px 10px; text-align: {{ column.align }}; border-left-width: 1px; border-bottom-width: 1px; border-top-width: 1px{% if forloop.last == true %}; border-right-width: 1px{% endif %}{% if column.nowrap %}; white-space: nowrap; width: 80px{% endif %}">{{ column.label }}</td>
            {% endfor %}
        </tr>
    </thead>
    <tbody>
        {% for row in table.rows %}
        <tr>
            <td style="padding: 5px 10px; text-align: center; border-left-width: 1px; width: 1px">{{ forloop.index0 | plus:1 }}</td>
            {% for cell in row.cells %}
            <td style="padding: 5px 10px; text-align: {{ table.columns[forloop.index0].align }}; border-left-width: 1px{% if forloop.last == true %}; border-right-width: 1px{% endif %}{% if table.columns[forloop.index0].nowrap %}; white-space: nowrap; width: 80px{% endif %}">{{ cell.text | newline_to_br }}</td>
            {% endfor %}
        </tr>
        {% endfor %}
        <tr>
        <td style="border-bottom-width: 1px; border-left-width: 1px">&nbsp;</td>
        {% for column in table.columns %}            
            <td style="border-bottom-width: 1px; border-left-width: 1px{% if forloop.last == true %}; border-right-width: 1px{% endif %}">&nbsp;</td>
        {% endfor %}
        </tr>
        {% for total in table.totals %}
        <tr>
            <td colspan="{{ table.columns | size }}" style="padding: 5px 10px; text-align: right{% if total.emphasis == true %}; font-weight: bold{% endif %}">{{ total.label }}</td>
            <td style="border-left-width: 1px; white-space: nowrap; border-right-width: 1px; border-bottom-width: 1px; padding: 5px 10px; text-align: right{% if total.emphasis == true %}; font-weight: bold{% endif %}">{{ total.text }}</td>
        </tr>
        {% endfor %}

        {% for field in custom_fields %}
        <tr>
            <td colspan="99">
                <div style="font-weight: bold; padding-top: 20px">{{ field.label }}</div>
                <div>{{ field.text | newline_to_br }}</div>
            </td>
        </tr>
        {% endfor %}

        {% if emphasis.text != null and emphasis.positive %}
        <tr><td colspan="99"><div style="text-align: center; margin-top: 40px"><span style="color: #006400; border-width: 5px; border-color: #006400; padding: 10px; font-size: 20px">{{ emphasis.text | upcase }}</span></div></td></tr>
        {% endif %}

        {% if emphasis.text != null and emphasis.negative %}
        <tr><td colspan="99"><div style="text-align: center; margin-top: 40px"><span style="color: #FF0000; border-width: 5px; border-color: #FF0000; padding: 10px; font-size: 20px">{{ emphasis.text | upcase }}</span></div></td></tr>
        {% endif %}
            
    </tbody>
</table>

```

|
| |

 |

---

<div class="post-metadata">

**Author:** ![Tut](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/tut/32/3286_2.png) [@Tut](https://forum.manager.io/u/Tut)\
**Post date:** [June 23, 2022, 12:42pm UTC](https://forum.manager.io/t/invoice-theme-custom-templates-india/41645/2 "2022-06-23T12:42:37Z")

</div>

If you are going to show custom theme code, you should post a screen shot showing what it looks like.

---

<div class="post-metadata">

**Author:** ![Ealfardan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.manager.io/ealfardan/32/63166_2.png) [@Ealfardan](https://forum.manager.io/u/Ealfardan)\
**Post date:** [July 5, 2026, 8:13pm UTC](https://forum.manager.io/t/invoice-theme-custom-templates-india/41645/3 "2026-07-05T20:13:01Z")

</div>

Uncategorized topics older than 3 years with no recent activity
