# Include your customer's GSTIN

> Learn how to collect customer GSTINs in Shopify and automatically include them on invoices created by Sufio.

If your online store sells to business customers in India, you may need to include your customer’s GSTIN (Goods and Services Tax Identification Number) on the invoices you create.

Sufio is an invoicing app for Shopify stores that helps you **collect GSTINs from your customers** and automatically include them on their invoices.

Shopify does not allow additional fields to be added to the checkout form. However, you can collect GSTINs from customers in other parts of your store.

In this article, you will learn how to collect GSTINs using:

- [The customer registration form](<https://sufio.com/articles/shopify/create-documents-orders/vat-tax-numbers/include-customer-gstin/#customer-registration-form>)
- [The cart page](<https://sufio.com/articles/shopify/create-documents-orders/vat-tax-numbers/include-customer-gstin/#cart-page>)
- [Customer notes](<https://sufio.com/articles/shopify/create-documents-orders/vat-tax-numbers/include-customer-gstin/#customer-notes>)

## Customer registration form

To collect GSTINs in your Shopify store, you can add a GSTIN field to your [customer registration form](<https://shopify.dev/themes/customer-engagement/additional-customer-information>).

This allows business customers to enter their GSTIN when they create an account in your online store.

![Shopify registration page GSTIN](<https://sufio.com/content/media/images/shopify-customer-registration-gstin-510w.webp>)

GSTIN field on the Customer account page

Once a customer enters their GSTIN, it will be stored in your Shopify admin as part of their [customer notes](<https://help.shopify.com/themes/customization/communication/get-more-information-with-customer-registration-form?ref=sufio>).

Sufio will then automatically include the GSTIN on the invoices sent to the customer.

### Add the GSTIN field to the customer registration form

To add the GSTIN field to your customer registration form, customize your Shopify store theme:

1. In your Shopify admin, go to the **Online Store → Themes** page.
2. Click the **Actions** button, then click **Edit code**.
3. In the left sidebar, select **customers/register.liquid**. You can use the search bar at the top to find the file faster.
4. Insert the following code snippet inside the `<form>` tag. A good place to add the field is before the **Email** field.

```html
<!-- Shopify customer registration -- capture GSTIN numbers from customers. Used by Sufio for Shopify app (www.sufio.com/shopify). -->
<label for="vat_reg_no">GSTIN</label>
<input id="vat_reg_no" type="text" name="customer[note][GSTIN]" placeholder="GSTIN" />
```

## Cart page

You can add a GSTIN field to the cart page so customers can enter their GSTIN before checkout.

When a customer enters their GSTIN using this field, it will be saved as a cart attribute in your Shopify admin. Sufio will then automatically include it on the invoices sent to the customer.

### Add the GSTIN field to the cart page

To add the GSTIN field to the cart page, customize your Shopify store theme:

1. In your Shopify admin, go to the **Online Store → Themes** page.
2. Click the **Actions** button, then click **Edit code**.
3. In the left sidebar, select **cart.liquid**. You can use the search bar at the top to find the file faster.
4. Insert the code snippet inside the `<form>` tag. A good place to add the field is just before the **Check out** button.

```html
<!-- Shopify shopping cart -- capture GSTIN numbers from customers. Used by Sufio for Shopify app (www.sufio.com/shopify). -->
<div class="vat-reg-number">
  <label for="vat_reg_no">GSTIN</label>
  <input type="text" id="vat_reg_no" name="attributes[VAT Registration Number]" value="{{ cart.attributes['VAT Registration Number'] }}">
</div>
```

> **Note**
>
> Depending on your Shopify theme, you may need to add the code snippet to a different file than **cart.liquid**. In many themes, this file is named **main-cart-footer.liquid**.
>
> If your store uses a **cart drawer**, also known as an Ajax cart, the correct file is usually **ajax-cart-template.liquid**.

## Customer notes

In addition to collecting GSTINs through your online store, you can add them manually in your Shopify admin.

This can be useful if your sales team regularly creates orders on behalf of customers, or if you need to create an order for a new customer manually.

![gstin-shopify-customer-note](<https://sufio.com/content/media/images/gstin-shopify-customer-note-640w.webp>)

### Add the GSTIN as a customer note

To add a customer’s GSTIN as a customer note:

1. In your Shopify admin, go to the **Customers** page.
2. Select a customer, or click **Add customer** to create a new customer.
3. Enter the GSTIN in the **Customer Note** field. Use the prefix **GSTIN:**, for example, GSTIN: 0717USA12345NF1.
4. Click **Save** to apply your changes.

Add the GSTIN before Sufio creates the invoice. Invoices that already exist keep their original billing details. To add the GSTIN to an existing invoice, open it in Sufio and click on the **Edit** button.

> **Need help?**
>
> Having trouble customizing your Shopify store theme? [Contact our support team](<https://sufio.com/contact>). We’ll be happy to help.
