¶ Getting Started with Marmin E-Invoicing for Shopify
Welcome to the Marmin E-Invoicing guide for Shopify merchants. This wiki will walk you through how to set up ZATCA-compliant e-invoicing for your business in Saudi Arabia.
Marmin helps Shopify merchants easily comply with KSA's ZATCA e-invoicing requirements. Instead of manually creating compliant invoices, Marmin automates the entire process, saving you time and ensuring you stay compliant by automatically generating Phase 1 and Phase 2 invoices and refunds for both B2C and B2B customers.
¶ Step 1: Install Marmin from the Shopify App Store
Head over to your Shopify App Store and search for "Marmin E-Invoicing." When you find it, click "Install" to begin the process. You'll see a permissions page showing what data Marmin will access from your Shopify store - this is necessary for the app to work properly.
Before completing the Shopify installation, make sure you've created an account on Marmin's platform, https://app.marmin.ai/login. This is really important! You'll need to set up:
Your business profile
Your bank details
These two pieces of information are mandated by ZATCA regulations for generating compliant e-invoice.
After clicking "Install" from Shopify, you'll be redirected to Marmin's platform. Here you'll see the "Authorize Marmin" page where you need to:
Select your default business profile
Select your default bank profile
Choose when to generate invoices
This is an important decision based on your business model. Marmin lets you generate invoices at different stages of the order process:
When an order is created
When an order is paid
When an order is fulfilled
Different business types need different triggers. For example, if you run a franchise, concession, or consignment business, your needs might be different from a standard retail model. Choose the option that best fits your business practices.
If you run into any issues or have questions during setup, our support team is ready to help! Contact us at support@marmin.ai.
¶Initial Shopify Settings for Selling in Saudi Arabia (KSA)
This guide will walk you through the initial Shopify setup required to start selling in Saudi Arabia. These steps are essential before integrating with the Marnin platform for e-invoicing. We will cover:
Adding and activating a new market for KSA.
Setting up shipping zones.
Configuring tax rates.
Setting the store currency.
Choosing between tax-inclusive or tax-exclusive product listings.
Under Global settings, enable Include sales tax in product price and shipping rate.
Go to Settings → Markets → Saudi Arabia.
Under Duties and taxes, ensure Storefront and checkout pricing is set to “Don’t add taxes”.
Under Global settings, enable Include sales tax in product price and shipping rateUnder Duties and taxes, ensure Storefront and checkout pricing is set to “Don’t add taxes”
Under Global settings, disable Include sales tax in product price and shipping rate.
Under Duties and taxes, ensure Storefront and checkout pricing is set to “Add taxes at checkout”.
Store Address: Ensure your store address is set to Saudi Arabia in Settings → Store details. This is important for tax calculations and market settings.
Note: Your store’s address in the Shopify admin determines the home tax rate. If you change your store’s address to another country, the tax rate will adjust accordingly.
Ensure the Billing Address under the Store Details is set to Saudi address