Syncing Sales
Once a sales channel is connected, you can sync sales from your accounting system into Partsemble. Syncing brings in new invoices and sales receipts from the connected QuickBooks Online or Xero company, applies voids to sales already synced, and updates your inventory and margin data.
Running a Sync

Open Sales in the navigation bar and, on Sales History, click Sync Now, at the top right beside Create Manual Sale. Partsemble fetches all transactions created or updated since the last sync (or since the initial sync date for the first run).
When the sync completes, a message shows how many sales were created, how many were voided, and how many were skipped (already synced), after the words Sync complete. Last synced, at the right end of the toolbar's second row, shows the new time once you reload the page.
Sync Now appears once a sales channel is connected, for people with the Sync Sales from Connected Systems permission. The same button is on the sales channel's card in Settings → Integrations → Sales Channels, and its message there also counts errors.
To find a synced sale afterwards, search Sales History by sale number or customer, or narrow it by status, source or date. See Sales Tracking Overview.
What Gets Synced
Partsemble pulls two types of transactions from your accounting system:
- Invoices — standard customer invoices (from Xero, its sales invoices)
- Sales receipts — point-of-sale or immediate-payment transactions (QuickBooks Online)
Credit memos (credit notes in Xero) are not synced, so a return recorded as one doesn't reach Partsemble. See Voided & Deleted Invoices.
Each transaction includes the customer name, date, line items (products and quantities), prices, and total amount.
How Sales Are Processed
For each new sale, Partsemble:
- Creates a sale record with the external invoice number, customer, and date
- Matches line items to Partsemble products using the product's external item link
- For each matched finished good, consumes lots using FIFO and calculates the true cost
- Decreases the product's stock on hand
- Calculates the margin (revenue minus FIFO cost)
- Creates stock transactions for the audit trail
Only finished good products are tracked in sales. If an invoice contains items that aren't finished goods in Partsemble (raw materials, services, etc.), those lines are skipped — they don't affect inventory or margins.
Sync Frequency
Syncs are triggered manually by clicking Sync Now. Each sync pulls everything since the last sync, so you can sync as often or as infrequently as you like. Many businesses sync once a day or once a week.
Idempotent Processing
Each transaction becomes a sale once. On later syncs, a transaction whose sale already exists in Partsemble is skipped and counted as skipped, even if it was changed in your accounting system since. The sale keeps the lines, quantities and prices it had when it was first synced. The one change a later sync does carry over is a void; see Voided & Deleted Invoices.
Handling Errors
A line whose item isn't linked to a Partsemble product, or whose product isn't a finished good, is skipped without a message: the sale is created from its other lines. Link your finished goods to their external items before you sync.
If a whole transaction can't be processed, the sync continues with the remaining sales. The message after a sync from Settings → Integrations → Sales Channels counts the errors; the one on Sales History does not. A transaction that failed isn't retried on the next sync: each sync asks only for transactions changed since the previous one ran, so it comes back only if it's edited in your accounting system afterwards.