Menu

Receipt or Invoice Selector in Shopify

Receipt or Invoice Selector in Shopify Photo by Adrien Delforge on Unsplash

In Chile, when selling products or services, issuing a tax document is mandatory. If the sale is to an individual, a receipt (“boleta”) is issued; if it’s to a company, an invoice (“factura”) is issued, which requires additional information such as the tax ID (RUT), legal business name, and business activity.

By default, Shopify does not include these fields in its checkout, so they need to be added through apps or cart modifications.

How to add the receipt or invoice option in Shopify?

For Shopify Plus

If you have Shopify Plus, you can add these fields directly in the checkout using specialized apps. We recommend our app BillBoost, which leverages Shopify’s Checkout Extensibility API to integrate these fields without modifying the store’s code.

For stores without Shopify Plus

If you don’t have Shopify Plus, you can add the fields in the shopping cart or in a step before checkout.

For this, we offer an open-source solution that, with basic Liquid knowledge, will allow you to install the necessary fields so customers can select the type of document they need.

You can access the source code here: https://github.com/CodeName-cl/byf-manual/

Installation

We’ve prepared a detailed guide in the README.md file.

Main steps:

  1. Copy the cart-precheckout.liquid file.
  2. Add the block found in block.liquid.
  3. Insert the main-cart.liquid code in the section where you want to display the fields in your cart.

If you need help with installation or customization for your store, contact us and we’ll be happy to assist you.

// OP.04 · Contacto

Have questions? We're here to help

If you have questions about our apps or need support, don't hesitate to contact us. We're here to help you optimize your Shopify store.