Include your customer's ABN

If your online store sells to business customers in Australia, it is essential that you include the ABN (Australian Business Number) of your customers on their invoices.

With Sufio, you can capture ABNs from your customers and automatically include them on your invoices.

Shopify does not allow to add additional fields to the checkout form, however, you can capture ABN from customers in other parts of your store.

In this article, we will cover how to include the ABN using:

Customer registration form

You can add a new ABN field to the customer registration form in your store. This will allow your business customers to enter their ABN when they set up their customer accounts in your store.

Shopify registration page ABN

ABN field in the Customer registration form.

You should add the ABN field to the customer registration file in your theme. It will then be stored as part of customer notes and Sufio will automatically include them on your invoices.

Add the ABN field to the customer registration form

To add the ABN field to the customer registration form, you need to 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. Select customers/register.liquid in the left sidebar. You might use the upper search bar for a faster search.
  4. Insert the following code snippet inside the <form>. A good place for the field is before the Email field.
<!-- Shopify customer registration -- capture ABN from customers. Used by Sufio for Shopify app (www.sufio.com/shopify). -->
<label for="vat_reg_no">ABN</label>
<input id="vat_reg_no" type="text" name="customer[note][ABN]" placeholder="ABN" />

Cart page

Alternatively, you can ask customers for their ABN on the cart page, just before the checkout stage.

In order to do so, you will need to add a code snippet to the cart file in your theme. ABN numbers will then be stored as cart attributes and Sufio will automatically include them on your invoices.

Add the ABN field to the Cart page

To add the ABN field to the cart page, you need to 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. Select cart.liquid in the left sidebar. You might use the upper search bar for a faster search.
  4. Insert the code snippet inside the <form>. A good place for the field is just before the Check out button.
<!-- Shopify shopping cart -- capture ABN from customers. Used by Sufio for Shopify app (www.sufio.com/shopify). -->
<div class="vat-reg-number">
  <label for="vat_reg_no">ABN</label>
  <input type="text" id="vat_reg_no" name="attributes[VAT Registration Number]" value="{{ cart.attributes['VAT Registration Number'] }}">
</div>

Note

If your store uses cart drawer (also called ajax cart), this code snippet needs to be added to a different file than cart.liquid. In most cases, it needs to be added to ajax-cart-template.liquid file.

Need help?

Do you need help with customizing your Shopify store theme? Please contact our experienced support team. We'll be happy to assist!

Customer Notes

As well as capturing the ABN on the cart and registration pages, you can also manually add their ABN as a note in the Shopify admin.

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

abn-customer-note-shopify

Add the ABN as a customer note

To have the ABN automatically included on the invoice, make sure they are entered using the correct prefix, which in this case would be ABN (e.g. ABN: 53 004 085 616).

To add the customer's ABN 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 GST number into the Customer Note field, using a prefix ABN: (e.g., ABN: 53 004 085 616).
  4. Click Save to save your changes.

You can add the ABN before or after creating the order. Sufio will automatically sync it and update your invoices as soon as you make changes.