This article explains what goes on your SmartBill documents: the Content settings in the app, and what the app does automatically. Need something that isn’t here? Tell us in the chat. 😊
✅ App language
The app works in Romanian and English. Romanian is the default.
Switch it with the language menu at the top of the app. When you first open the app, you can also pick it on the welcome screen: it’s saved when you click it. Your choice is saved for your store.
✅ Tax logic
The VAT on your documents always follows the Shopify order.
Our app always works from your Shopify order data, your Shopify tax settings and your SmartBill settings.
Tax setups (VAT rules, OSS, exemptions and so on) depend a lot on your business and country. Please check yours with a tax advisor or accountant.
B2C and B2B logic
Individual (B2C): the order has no VAT ID.
Company (B2B): the order has a VAT ID. See VAT ID on documents.
OSS logic
When OSS applies, the SmartBill document shows OSS mode in the document details, and it uses your intra-community (OSS) CIF. No app setting is needed.
How it works
OSS applies when all of these are true on the order:
No reverse charge applies to the order (usually B2C).
The shipping address country (or, without one, the customer’s address country) is in the EU.
It differs from your store’s country (your Shopify store address), not the country of your fulfillment location.
Whenever these conditions are true, the app marks the document as OSS.
Set it up
Enter your intra-community CIF in SmartBill: SmartBill » Configurare » Date Firma » CIF intracomunitar.
Reverse charge logic
When Shopify applies reverse charge, the SmartBill document shows SmartBill’s automatic reverse charge text (Taxare inversa), with your intra-community CIF. Every item gets VAT rate 0.
How it works
Reverse charge applies when Shopify applied it to the order:
the customer entered a valid EU VAT number at checkout and Shopify Tax applied reverse charge, or
for a B2B order, the company location has the Reverse Charge (EU/UK) tax exemption and a VAT number, and Shopify charged no tax.
Good to know
A “Reverse Charge (EU/UK)” exemption on the customer isn’t enough without a valid VAT number.
Order tax exempt
If the order is tax exempt, every item on the SmartBill document gets VAT rate 0.
Set it on the order in Shopify: Payment » Charge taxes » Uncheck.
Product tax exempt
If a product is tax exempt, its line on the SmartBill document gets VAT rate 0.
Set it on the product in Shopify: Product » Price » Charge tax on this product » Uncheck.
Customer tax exempt
If the customer is tax exempt, every item on the SmartBill document gets VAT rate 0.
Set it on the customer in Shopify: Customer » Tax details » Don’t collect tax » Check.
How it works
The tax details you see on the Shopify order page (rate, included or excluded, amount) go on the document.
So set up your Shopify taxes correctly.
Shopify calculates the tax from the shipping address.
Tax exemptions are set in Shopify on the order, the product or the customer (see above).
Important SmartBill VAT rate limitation
SmartBill can only use VAT rates that exist in your SmartBill account. Check and manage them in SmartBill » Configurations » VAT rates.
If Shopify sends a VAT rate SmartBill doesn’t have, the document fails with an error code.
✅ Discounts
Discounts come from the Shopify order. On the SmartBill document a discount is a separate line with a negative amount.
Free shipping
The shipping line keeps its original price. Under it, SmartBill’s own discount line shows the discount name and amount, so the shipping total is 0.
% or fixed amount discounts
A percentage or fixed discount, on an item or on the order, shows as a separate line with a negative amount.
How it works
The discount name is the discount title. If there’s no title, it’s the discount code.
If one item has more than one discount (for example an item and an order discount), the names are separated by commas.
✅ Shipping address on the document
The shipping address isn’t shown on the SmartBill document. SmartBill doesn’t keep a separate shipping address for this integration either.
✅ Customer phone number
If the order has a phone number, it goes on the document with the customer’s details. No setting needed.
How it works
We take the first one we find: billing address, customer account, the customer’s default address, checkout contact phone, shipping address.
It shows exactly as the customer typed it.
If the order has no phone number, no number goes on the document.
A client already saved in your SmartBill account isn’t changed, the same as its name and address: the phone goes on the document’s client details.
Good to know
It works the same for companies (B2B) and individuals (B2C).
It works on invoices, proformas and partial credit notes. A storno takes the details of the invoice it cancels.
Issued documents don’t change.
✅ Currency
The document uses the currency the customer paid in at checkout (the order’s presentment currency).
✅ Issue date
The day the document is created.
✅ Delivery date
Same as the issue date. Also called sale date, date of taxable supply or tax date.
✅ Due date
30 days after the issue date.
✅ Credit note dates
Partial credit note (invoice with negative amounts): the issue, delivery and due date are the day it’s created.
Full storno: the issue date is the day it’s created. SmartBill sets the other dates.
✅ Document template
The app doesn’t pick a template: SmartBill uses the default template set in your SmartBill account.
✅ Email template
Set the email text in SmartBill: SmartBill » Configuration » Personalization » edit the email body.
Automatic email sending only works if your own email server is set up in SmartBill (SmartBill » Configuration » Email). Without it, the documents are still created, but their emails aren’t sent. How to set it up
✅ Payment method
The app doesn’t send a payment method when it creates a document. It sends a payment type only when it marks an invoice as paid (see Paid status syncing). It reads the first payment method of the Shopify order:
Bank transfer » Ordin plata
Cash on Delivery (COD) » Alta incasare (cash)
Anything else, including Shopify Payments, PayPal and Shopify’s manual Bank Deposit method » Card
✅ Default document language
We create the document in the language of the customer’s billing country, if SmartBill has it. If it doesn’t, the document is in SmartBill’s default language.
How it works
Romanian, English, German, French, Italian and Spanish are built into SmartBill. You can add more in SmartBill » Configurare » Limbi.
If SmartBill doesn’t have the language (for example Polish or Czech), the document is in SmartBill’s default language.
Customers from English-speaking countries (for example GB, IE, US) don’t get English: the app uses the country code, not a language.
The Default document language setting is used when the order has no country, and for partial credit notes.
Set it up
Open SmartBill | Integration app » Settings menu » Content section » Default document language field » choose a language » Save
Example
The billing country is Poland, so the app tries to create the document in Polish. SmartBill has no Polish, so the document is created in the default language (here: Romanian):
✅ Unit
This text appears on the document as the unit of every line, shipping and discount lines included. If you leave it blank, the document shows buc.
Open SmartBill | Integration app » Settings menu » Content section » Unit field » enter the unit, for example “buc” » Save
With stock sync, the unit must match the unit of the SmartBill product exactly, upper and lower case included.
✅ Shipping line name on documents
Give every shipping line on your documents one fixed name, for example Shipping.
How it works
Blank (default): the shipping line gets the shipping method name from the Shopify order. Some carrier apps use a different name on every order (for example, the parcel locker’s name), which makes reports hard to read.
Filled in: every shipping line on every document gets this name.
Only the name changes. Price, VAT and quantity stay the same.
Set it up
Open SmartBill | Integration app » Settings menu » Content section » Shipping line name on documents field » enter the name » Save
Good to know
It applies to every shipping line (including free shipping) and every document type the app creates, including corrections and credit notes.
The text isn’t translated: it shows exactly as you type it.
It applies to documents created after you save, including manual generation. Issued documents don’t change.
✅ Bank account
The app doesn’t send a bank account. The document shows the bank account set in your SmartBill account.
✅ Note
This text goes on the document as a public note (Mențiuni), so your customer sees it. It shows on the document above the items and in the document details.
You can use these tags: {{order_number}}, {{order_id}}
Default: Shopify order number is {{order_number}}
The order note your customer writes in Shopify goes separately into the document’s Observații (observations) field.
Open SmartBill | Integration app » Settings menu » Content section » Note field » enter the text » Save
Example
If you enter ‘Shopify order number is {{order_number}}’ in the app:
In SmartBill you see this:
✅ Numbering series
Choose a numbering series for the Invoice and the Proforma. You manage the series in your SmartBill account.
How it works
If no series is selected (or Use the default numbering series is selected), the app selects the first series of your SmartBill list when you connect or click Refresh list now.
Credit notes have no separate setting: a partial credit note uses your invoice series, and for a full storno SmartBill sets the series.
Document numbers can’t follow your Shopify order numbers automatically. To match them, set the numbering in SmartBill by hand.
An invalid series gives error 4-3.
Set it up
Set up and save your series in SmartBill » Configuration » Document series.
Open SmartBill | Integration app » Settings menu » Content section » Numbering series field » click Refresh list now. If the list is empty, wait a moment and refresh again.
Choose the series for the Invoice and the Proforma » Save
Example
First, in SmartBill » Configuration » Document series, set up and save your series:
In the app, click ‘Refresh list now’ and choose the series:
In SmartBill, documents are numbered by your settings:
✅ Contact database behavior
SmartBill has a client database, but this integration doesn’t save customers into it. The app sends the customer’s data with each document, and SmartBill saves it on the document.
How it works
The app sends the name, address, city, county, country, email, phone and VAT ID from the billing address.
If the order has no billing address, the data comes from the customer’s default address, and the name from the customer account.
Email: the order’s email address, or the customer’s if the order has none.
If the address has no country, the app sends Romania.
Bucharest sector handling
SmartBill needs a sector for Bucharest addresses. The app takes the sector from the ZIP code (for example 03… is Sector 3). If it can’t, it uses Sector 1.
POS orders without customer data
For a POS order without a customer, the document uses the order’s email address as the name. With no email address either, the app uses Shopify POS as the name. The country is Romania.
Good to know
The app doesn’t change a document after it’s created, apart from marking it as paid. What you edit on the document in SmartBill stays.
✅ Company name
The buyer name comes from the Company field of the billing address at checkout (Shopify Admin » Settings » Checkout » Customer information » Company name » Optional or Required).
Company filled in: it becomes the customer name on the document.
Company empty: the customer name is the first and last name (from the billing address, or the customer account).
The company name doesn’t decide whether we treat the customer as company (B2B) or individual (B2C): the VAT ID does. See B2C and B2B logic.
✅ Customer type in SmartBill
SmartBill marks the customer as a VAT payer or not. Only the VAT ID decides this, not the company name:
a VAT ID goes on the document: VAT payer,
no VAT ID: not a VAT payer (individual), even if the Company field is filled in.
✅ e-Factura (SPV)
e-Factura is mandatory in Romania. The app creates your documents in SmartBill, and SmartBill sends them to ANAF’s e-Factura system (SPV).
Set it up
In SmartBill:
Connect SmartBill to SPV: SmartBill » Configurare » e-Factura » Autorizeaza, with your certificate token or through your accountant (Obtine accesul prin contabil). The authorization is valid for 90 days. SmartBill tries to renew it automatically; if that fails, it emails you to authorize again.
Turn on automatic sending: SmartBill » Configurare » e-Factura » Activeaza, and choose when to send: right away or later.
Step-by-step guide from SmartBill: Automatic e-Factura sending
✅ Paid status syncing
When a Shopify order is paid (at creation or later), the invoice in SmartBill is marked as paid too. This works one way only: Shopify » SmartBill.
How it works
Only invoices created by the app are marked as paid, for the full amount, with the payment type from Payment method.
A proforma isn’t marked: if the order has only a proforma, nothing changes in SmartBill.
If you mark a document as paid in SmartBill, the app doesn’t update the Shopify order.
✅ SKU on documents
In Shopify every product variant can have an SKU (for example, SKU001). Choose how it shows in the line items:
No SKU (Product name only) (default): on the document Product Name
Product name + SKU: on the document Product Name SKU001
SKU only: on the document SKU001
Send the SKU to SmartBill’s product code field
Under the dropdown is the Send SKU to SmartBill’s product code field + Sync stock checkbox, ticked by default. The SKU then also goes into SmartBill’s product code field (Cod produs) on every product line. Untick it to leave that field empty. It also runs the stock sync.
It doesn’t change the product name, so you can combine it with any option above, for example Product name + SKU.
The product code shows on the document only if Show product code on document is on in SmartBill. See Show product codes on SmartBill documents.
📦 Stock sync
When you issue an invoice, the app takes the sold quantity off your SmartBill stock, so you don’t have to. It runs while Send SKU to SmartBill’s product code field + Sync stock is ticked (the default). In SmartBill, the product code (Cod produs) must match the Shopify SKU.
How it works
When an invoice is created, the app finds each product in SmartBill by its code and takes the sold quantity off the warehouse that holds it. If several warehouses hold it, it uses the first one.
Only invoices reduce stock, invoices made from a proforma included. Proformas, credit notes and cancellations don’t, and the app doesn’t add stock back. In SmartBill, a storno puts products back into stock only if you use line-by-line storno (stornare pe poziții).
An invoice made from a proforma takes its lines from the order at the time of invoicing, refers to the proforma, and SmartBill marks the proforma as invoiced. If no stock is deducted (the box is unticked, or a product has no SKU or isn’t in any warehouse), the invoice copies the proforma’s lines.
Shipping and discount lines never change stock.
All or nothing per invoice: if even one product has no SKU or isn’t in any warehouse (for example, a gift card), the whole invoice is created without stock deduction.
The unit must match the SmartBill product’s unit exactly, upper and lower case included (“buc” isn’t “BUC”). See Unit.
When stock is deducted, SmartBill renames the product in its product list to the name on the invoice (with Product name + SKU, for example, to Product Name SKU001).
Invoices issued before don’t change.
If the deduction fails
If SmartBill refuses the deduction (not enough stock, or the product code or unit doesn’t match), the invoice isn’t created. You see it on the Monitor with error code 4-4 and in the daily error email. It isn’t retried automatically.
Fix the stock, product code or unit in SmartBill, then generate the invoice again from the Monitor.
Or untick Send SKU to SmartBill’s product code field + Sync stock and generate it again, without stock deduction.
Set it up
Open SmartBill | Integration app » Settings menu » Content section » SKU on documents field » choose an option » tick or untick Send SKU to SmartBill’s product code field + Sync stock » Save
Good to know
If a product has no SKU in Shopify, only the product name goes on the document, without a product code.
If Use product code is on in SmartBill (Configurations » General Preferences) and a product has no SKU, or the checkbox above is unticked, the document isn’t created: you see error 4-2 on the Monitor.
Discount lines never get an SKU. The shipping line gets the shipping method’s code instead, if it has one.
It applies to every document type the app creates, including credit notes.
A change only affects documents created after you save. Issued documents don’t change.
✅ VAT ID on documents
The customer’s VAT ID goes to SmartBill with the customer details, so it shows on the document. In Romania that’s the cod de TVA (RO + CUI, for example RO12345678).
Choose where the app takes the VAT ID from. Only the source you choose puts a VAT ID on the document.
An order with a valid VAT ID counts as a company (B2B) order, otherwise as individual (B2C). The company registration number (Reg. Com.) isn’t supported yet.
How it works
Whatever the source, the app checks that the value looks like a VAT ID:
Spaces, dots, dashes, slashes and a typed label (for example “CUI:”) are removed first.
Accepted: an EU VAT number with the country code (all 27 EU countries, and GB, XI, CH, NO), or a number without the country code in the format of the billing country (or your store’s country), for example a Romanian CUI without RO.
It goes to SmartBill as the customer typed it, without the label.
Anything else (for example a flat number, a phone number or a personal ID) is left out. That’s not an error.
If SmartBill still rejects a VAT ID in the right format, you see an error code on the Monitor.
Company VAT number field (checkout)
The customer types the VAT ID into Shopify’s Company VAT number field at checkout. This is the default.
Step 1 – Customer enters VAT ID
The customer enters their VAT ID at checkout. With Shopify Tax, Shopify checks it and applies reverse charge when it’s due.
Always with the country code: Shopify saves the VAT number only in the EU format, with the country code first (for example RO12345678). If the customer types it without the country code (12345678), they can enter it, but Shopify doesn’t save it on the order, so it never reaches SmartBill or the document. For a VAT ID without the country code, use Address line 2.
Step 2 – VAT ID is saved to the customer
Shopify saves it under Customer » VAT number. This works for checkout orders and for orders you create in the admin (there you enter it on the customer).
Step 3 – We send the VAT ID to SmartBill ✅
We send the VAT number to SmartBill with the customer details, exactly as typed, so it appears on the document. For a Shopify B2B company, we send the VAT number of the company location.
This field belongs to Shopify Tax (EU/UK VAT). Checking the VAT number at checkout needs Shopify Tax (free up to Shopify’s yearly sales limit, then Shopify may charge a fee). This is up to Shopify: our app reads the VAT number once Shopify saves it on the order or the customer. If you just want to collect any tax number, use Address line 2.
Address line 2
The customer types the VAT ID into Address line 2 of the billing address. It’s more flexible than the checkout field: a VAT ID with or without the country code (RO12345678 or 12345678) goes to SmartBill, if it passes the VAT ID check.
If Address line 2 holds a VAT ID, it’s sent to SmartBill as the VAT ID, exactly as typed (without the label). It then isn’t part of the address.
If it isn’t a VAT ID (for example a flat number), it stays in the address, and the customer counts as an individual (B2C).
If the customer also filled in the checkout VAT field, that one doesn’t go on the document, but the customer counts as a company (B2B).
Address line 2 and the checkout field both empty: no VAT ID on the document.
With any other source chosen, Address line 2 is always part of the address.
Metafield
For a VAT ID that another app or form saves in a metafield, for example Checkout Blocks or a B2B sign-up form.
You pick one of your store’s metafields: an order, customer or B2B company metafield. The list shows the metafields you created and named in Shopify admin » Settings » Custom data.
When the document is created, the app reads that metafield on the order, on its customer or on its B2B company.
A VAT ID goes to SmartBill and the customer counts as a company (B2B). Empty or not a VAT ID: the customer counts as an individual (B2C), and that’s not an error.
Address line 2 always stays part of the address.
VAT ID saved in an order attribute, for example by a checkout form? That isn’t a source, but you can copy it into a metafield with Shopify Flow: trigger Order created » action Update order metafield (or Update customer metafield), then choose that metafield here.
Don’t send VAT number
No VAT ID goes on your documents. Company (B2B) or individual (B2C) is still decided by the checkout field.
Set it up
Open SmartBill | Integration app » Settings menu » Content section » VAT number on documents field » choose a source » Save
Company VAT number field (checkout):
In the app: Settings menu » Content section » VAT number on documents » Company VAT number field (checkout) » Save
In Shopify Admin: Settings » Checkout » Customer information, set Company name and Company VAT number to Optional (or Required) » Save
Address line 2:
In the app: Settings menu » Content section » VAT number on documents » Address line 2 » Save
In Shopify, rename the Address line 2 label in your checkout, for example to “VAT ID” (Shopify Admin » Settings » Checkout » Checkout language). Otherwise customers type their flat number there.
Metafield:
Open SmartBill | Integration app » Settings menu » Content section » VAT number on documents field » Metafield
In the Metafield list under it, choose the metafield that holds the VAT ID » Save
No metafield in the list? Create one first in Shopify admin » Settings » Custom data.
Earlier Collect VAT ID setting
A few stores had an earlier, hidden Collect VAT ID setting turned on. They keep it until they choose a source under VAT number on documents; until then nothing is selected in the new field, and it works as before: the checkout VAT number goes to SmartBill without the VAT ID check, and Address line 2 is left out of the address.
Good to know
A customer with a VAT ID on the document is marked as a VAT payer in SmartBill. See Customer type in SmartBill.
Generate for and the Monitor use the company (B2B) or individual (B2C) decision. See Generate for.
If the source doesn’t match (for example Address line 2 is chosen, but the customer filled in the checkout field), the customer counts as a company (B2B), but no VAT ID goes on the document.
With Don’t send VAT number, the company (B2B) or individual (B2C) decision still works, from the checkout field.
VAT handling (reverse charge, exemptions, OSS) doesn’t depend on this: it follows the Shopify order. See Tax logic.
On some older stores no option is selected in the field yet. Then Address line 2 is left out of the address and isn’t sent as a VAT ID. Choose a source to change this.
The VAT ID isn’t saved on the Shopify order.
If the chosen source holds a value that isn’t a VAT ID, no VAT ID goes on the document, and the Monitor still shows the document as successful.
A change only affects new documents.
Not available in SmartBill | Integration
Fallback VAT rate
Fallback VAT rate: not available in SmartBill | Integration. A line with no tax from Shopify gets VAT rate 0.
Document title
Document title (subject): not available in SmartBill | Integration.
Order No. field
Separate ‘Order No.’ field on documents: not available in SmartBill | Integration.
Automatic dual-currency conversion
Automatic dual-currency conversion: not available in SmartBill | Integration.
Custom email address on documents
Custom email address on documents: not available in SmartBill | Integration.
Department / Company
Department / Company: not available in SmartBill | Integration. Your SmartBill company (CIF) is part of your connection details.









