Store Sync · Orders in
Online orders in, as posted sales invoices
Store Sync pulls new orders from Shopify, WooCommerce and Daraz every 15 minutes, or at once by webhook or Pull orders now. Each order is imported once as a posted Daftiq sales invoice to the store's customer, from the store's warehouse, so stock and the journal update. A paid order is also received into the bank account you chose.
Last updated:
Store Sync · Module page: Store Sync (Shopify, WooCommerce, Daraz)
- When
- Every 15 minutes, by webhook, or Pull orders now
- Becomes
- A posted sales invoice, once per order
- Stock
- Leaves the store's warehouse
- Payment
- Paid orders received into the chosen bank
How does an online order become an invoice?
- A buyer orders in your Shopify, WooCommerce or Daraz store.
- Daftiq receives it by webhook (Shopify and WooCommerce), at the next 15-minute pull, or when you press Pull orders now. The first pull reads the last 7 days.
- Each line is matched to a Daftiq product through the product mapping, or by SKU.
- Daftiq makes a sales invoice to the customer set for the store, dated on the order date, from the store's warehouse, with the store and order number in the notes. Shipping the buyer paid becomes a Shipping charges line.
- The invoice is posted at once: stock leaves the warehouse and, with Accounting, the sale, tax and receivable are booked.
- If the order is paid, a customer payment is recorded into the bank account under Paid orders are received in, allocated to the invoice and cleared.
How are prices, discounts and tax handled?
Each line's discount is spread into its unit price. The Tax % on order lines you set for the store is charged on every line. When the store's prices already include tax, Daftiq takes the tax out of the price first, so the invoice total stays the same as the store total. Daftiq then compares the two totals. If they differ by more than a cent, the order shows Total differs with both amounts and the difference, and the sync log asks you to check discounts, shipping and the store's tax setting.
What if an order is paid, cancelled or refunded later?
- Paid later, for example a cash-on-delivery order marked paid in Shopify: when Daftiq sees the order again, it records the payment into the store's bank, up to the invoice balance.
- Cancelled or refunded in the store before it ever reached Daftiq: it is skipped, so nothing is billed.
- Cancelled or refunded after import: the order is flagged with a note to book a sales return or credit note. A person decides what came back and whether to restock, so Daftiq does not reverse it alone.
- Seen twice, for example by webhook and by the pull at the same moment: it is still imported only once.
Where do I see imported orders?
The store page shows Latest 50 orders from the store with the store order number, date, total, status and the Daftiq invoice number as a link. The Online stores list shows how many orders each store imported and how many failed. Imported invoices are ordinary sales invoices, so they show in receivables, the customer ledger and sales reports beside your POS and counter sales.
What comes before and after import?
Before: connect the store and match products by SKU. After: pack and send the goods, optionally booking a courier in Inventory; match the money the platform pays out against the bank in Accounting; and fix any failed order from the sync log and retry list.
Frequently asked questions
Are Daraz orders imported automatically?
Yes. Daraz orders are pulled every 15 minutes while the store is syncing, or when you press Pull orders now. Daraz has no webhooks here.
Can the same order be billed twice?
No. Each store order is imported once. A webhook and a pull arriving together are handled one at a time, and the second one is skipped.
Which customer are online orders billed to?
The customer you chose under Bill online orders to for that store. All orders of one store go to that customer.
What if the store has more new orders than one pull reads?
The log says more orders are waiting, and the next pull carries on from the newest order read. Press Pull orders now to catch up sooner.
Does a refund in Shopify reverse the invoice in Daftiq?
No. The order is flagged so you book the sales return or credit note yourself, choosing what came back and whether it goes back into stock.
In this group: Store Sync
- Connect Shopify, WooCommerce or Daraz to Daftiq
- Match products by SKU and sync stock online
- Shopify and Daraz orders as sales invoices
- Store sync log, failed orders and retry
Stop typing online orders
Let every Shopify, WooCommerce and Daraz order post itself. Start by connecting your store.