Helpcenter +918010117117 https://help.storehippo.com/s/573db3149f0d58741f0cc63b/ms.settings/5256837ccc4abf1d39000001/57614ef64256dc6851749879-480x480.png" [email protected] https://www.facebook.com/StoreHippohttps://twitter.com/StoreHippohttps://www.linkedin.com/company/hippoinnovations/https://plus.google.com/+Storehippo/posts
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India
call to replace anchor tags contains '/admin' in href

Invoice Templates

Invoice Templates allow you to choose from one of the available invoice templates or to design your custom invoice template. You can define multiple custom invoice templates but there will be only one active invoice template that is used by default when generating an invoice for an order.

You can manage invoice templates in the Settings > Invoice Templates section under StoreHippo Admin Panel.

Adding new invoice template 

You can add a new custom template by clicking on Add New button. To add a new template you need to fill the following fields:


You can edit and delete the template by clicking on the ellipsis button and selecting the desired option from the drop-down menu.

Name

Provide the name of the template in this field.

Import Template

In this field, you can import the templates by selecting between the various templates that are already provided in the drop-down.

Template

In this field, there are two tabs.

  • Preview: In the preview tab, you can preview the invoice template here.

  • Edit: In the edit tab, you can edit the code of the template which includes some variables. We use the following variables for fetching our data in invoices:
Created oncreated_on
Invoice dateinvoice_generated_on
Order Idorder.order_id
Addressstore_address.address
Citystore_address.city
Countrystore_address.country
Statestore_address.state
Titlestore_address.title
Zip codestore_address.zip_code
Shipping  Addressshipping_address.address
Shipping Cityshipping_address.city
Shipping Countryshipping_address.country
Full nameshipping_address.full_name
Phoneshipping_address.phone
Stateshipping_address.state
Zipshipping_address.zip
Productthis.product.name
Quantitythis.quantity
Unit Pricethis.product.original_price
Total Amountorder.total
Total after discountthis.total
Sub Totalorder.sub_total
Total Taxorder.taxes_total
Shipping Charges(+)order.shipping_total
Item Shippingthis.shipping_cost
Taxable Amountthis.tax_applied_on
Taxable Shipping Amountorder.shipping_method.tax_applied_on
Shipping Tax Nameorder.shipping_method.taxes
Shipping Tax Amountthis.tax_amount
Discounts(-)this.saved_amount
 Additional Charges(+)order.additional_charges
Totalorder.total

Activating the invoice template

To activate an invoice template, choose an invoice template that you wish to set as your default invoice template. Click on the ellipsis button on the template and choose the Make Active command from the drop-down.  

Support for GST (India) in Invoice

GSTIN number 

GST rule requires the invoice to contain the GSTIN numbers of buyer and seller. You can use the following variables: 

seller.gstin. (seller)
user.metafields.gstin(buyer)  (The metafields need to be defined for the customer)

HSN and SAC numbers

Every product/Service has HSN/SAC number. That number needs to be mentioned on the invoice templates. You can access the numbers using the following variable:

order.items[0].product.hsn

Language specific invoice template

You can customize the invoice templates and put a language check condition to check in which language the user has ordered. You can modify your mail invoice template accordingly. This will help you to send invoices to your customers in the language they have placed the order.

Example

How to add the SKU field in the invoice?

How to capture buyers' GST and reflect it in the invoice?

2021-10-19T14:17:03.944Z