Why inventory management is strategic
For Swiss SMEs operating in trade, retail or e-commerce, inventory often represents the largest item in current assets. Inaccurate stock management translates directly into errors in cost of goods sold (COGS), distorted margins and incorrect tax returns. The Code of Obligations (CO), in particular art. 960a, imposes precise rules on the valuation of current assets, including inventory.
In Switzerland, correct inventory accounting is not just a legal obligation — it is a management tool. Knowing in real time the value of your stock, the actual cost of products sold and the gross margin per item enables faster decisions on purchasing, selling prices and promotions. For an e-commerce business with 2,000 SKUs or a shop with a physical warehouse, the difference between manual management and an integrated system can be worth tens of thousands of CHF per year.
This guide covers all aspects of inventory accounting for Swiss SMEs: from perpetual vs. periodic inventory comparison to permitted valuation methods (FIFO, weighted average cost), from COGS calculation to write-downs, from year-end physical stocktaking to accounting software integration. Each section includes specific references to Swiss legislation (CO, Swiss GAAP FER) and practical examples in CHF.
Perpetual vs. periodic inventory
The choice between a perpetual and periodic inventory system affects the accuracy of accounting data, the workload and management costs. Here is a direct comparison:
| Criterion | Perpetual inventory | Periodic inventory |
|---|---|---|
| Stock updates | In real time, with every goods receipt/dispatch | Only at period-end (month, quarter, year) |
| COGS accuracy | High — cost of goods sold is calculated continuously | Approximate — COGS is calculated only at closing using the formula (opening stock + purchases − closing stock) |
| Operational effort | Higher: every movement must be recorded (but automatable with software/barcode) | Lower day-to-day, but requires a full physical count at period-end |
| Implementation cost | Higher — requires inventory management software with a stock module and possibly barcode/RFID readers | Lower — manageable with spreadsheets for small volumes |
| Best suited for | E-commerce, retail with many SKUs, SMEs with tight margins where real-time visibility is critical | Micro-businesses with few items, seasonal activities, businesses with low transaction volumes |
Inventory valuation methods
CO art. 960a stipulates that current assets — including inventory — must be valued at no more than acquisition or production cost, or at market value if lower. The choice of valuation method directly impacts COGS, gross margin and taxes. Here are the main methods permitted in Switzerland:
FIFO (First In, First Out)
Goods purchased first are deemed sold first. In periods of rising prices, FIFO produces a lower cost of goods sold and a higher gross margin. Example: a Swiss retailer purchases 100 t-shirts at CHF 15 (January) and 100 at CHF 18 (March). If 120 units are sold, the FIFO COGS is: (100 × CHF 15) + (20 × CHF 18) = CHF 1,860. The remaining stock (80 units) is valued at CHF 1,440.
Weighted average cost
Each purchase updates the average unit cost of the entire stock. A simple and stable method, very common among Swiss SMEs. Same example: average cost = (100 × 15 + 100 × 18) / 200 = CHF 16.50. COGS for 120 units = CHF 1,980. Remaining stock = 80 × CHF 16.50 = CHF 1,320.
Specific identification
Each inventory unit is tracked individually at its actual acquisition cost. Required for high-value or non-fungible goods (jewellery, cars, artworks). Impractical for high-volume items, but the most accurate method available.
CO art. 960a rules — lower of cost or market
The CO mandates the prudence principle: inventory must be recorded at acquisition/production cost or net realisable value, whichever is lower (Lower of Cost or Market). This principle prevents overvaluation of assets and applies at every closing date. Swiss GAAP FER 17 provides further detail for entities adopting this standard.
Tax implications of valuation
In Switzerland, cantonal tax authorities generally accept a hidden reserve (Stille Reserven) on inventory of up to one-third of the book value. This allows a reduction in taxable profit. However, the reserve must be consistent over time and documented. A change of valuation method (e.g. from FIFO to weighted average) must be justified and disclosed in the notes to the financial statements.
Important: the LIFO method (Last In, First Out) is not permitted in Switzerland under the CO and Swiss GAAP FER. Using LIFO results in non-compliant financial statements and may trigger challenges during audits or tax assessments.
Calculating cost of goods sold (COGS)
Cost of goods sold (COGS) is one of the most important line items in the income statement for commercial SMEs. It represents the direct cost of goods sold during the financial year. Here are the steps to calculate it correctly:
Determine opening stock
Opening stock equals the inventory value at the start of the financial year, which matches the closing stock of the previous year. Example: a Swiss e-commerce clothing business starts with stock worth CHF 85,000 on 1 January.
Add all purchases for the period
Include the cost of goods purchased, freight-in costs, customs duties (particularly relevant for imports into the Swiss customs territory), clearance fees and non-recoverable VAT. Example: net purchases CHF 320,000 + freight CHF 8,500 + duties CHF 4,200 = CHF 332,700.
Deduct purchase returns and discounts
Subtract goods returned to suppliers and discounts received (trade discounts, early payment discounts, rebates). Example: returns CHF 5,200 + discounts CHF 3,800 = CHF 9,000 to deduct. Adjusted net purchases = CHF 323,700.
Determine closing stock
Closing stock is the inventory value at the end of the financial year, determined by physical stocktaking and valued using the chosen method (FIFO or weighted average cost). Apply the lower of cost or market principle (CO art. 960a) if market value has declined. Example: closing stock CHF 92,000.
Calculate COGS
Formula: COGS = Opening stock + Adjusted net purchases − Closing stock. In our example: CHF 85,000 + CHF 323,700 − CHF 92,000 = CHF 316,700. This is the direct cost of goods sold, reported in the income statement. The gross margin is: Revenue − COGS (e.g. CHF 520,000 − CHF 316,700 = CHF 203,300, i.e. 39.1%).
Write-downs and provisions on inventory
The CO prudence principle requires losses in inventory value to be recognised as soon as they are identifiable. Here are the main situations requiring a write-down:
Technological or fashion obsolescence
Products that no longer sell or are out of collection. Example: an electronics retailer has 50 previous-model tablets (cost CHF 350/unit) now sellable at CHF 180. Required write-down: 50 × (CHF 350 − CHF 180) = CHF 8,500 to be recorded as an expense in the period. The prudence principle (CO art. 960a) requires recording the lower of cost and net realisable value.
Damage and deterioration
Goods damaged during storage, transport or handling. In Switzerland, damage must be documented with an internal report (for the audit trail) and the write-down recorded when identified. For completely unusable goods, the book value must be written off to zero against the inventory loss account.
Decline in market value
When the market price falls below acquisition cost (e.g. drop in raw material prices, price wars in the sector). The Lower of Cost or Market (LCM) rule under CO art. 960a requires a write-down. Example: 200 units of a product at CHF 45/unit, market price fallen to CHF 32. Write-down = 200 × CHF 13 = CHF 2,600.
Flat-rate provision for inventory risk
Swiss tax authorities generally accept a flat-rate provision on inventory (typically up to one-third of the value). This provision constitutes a hidden reserve (Stille Reserven) and reduces taxable profit. It is an established practice in Swiss taxation, but the amount must be reasonable and consistent over time. A significant change must be justified in the auditor's report.
Year-end physical stocktaking
A physical inventory count is mandatory at least once a year for businesses subject to accounting obligations (CO art. 958). Here is how to manage it efficiently and compliantly:
Planning and preparation
Set the inventory date (ideally 31 December or the financial year closing date), count zones, responsible teams and operating instructions. For a retail warehouse with 1,000+ SKUs, plan at least one full working day with 2–3 people.
Physical count and documentation
Every item must be physically counted and recorded on numbered count sheets (or on mobile devices/scanners). The count should be performed by staff other than those who normally manage the warehouse (segregation of duties). Record: item code, description, counted quantity, location.
Reconciliation with accounting records
Compare physical quantities with the stock levels recorded in the accounting/management system. Differences (shortages, surpluses) must be investigated, documented and recorded in the accounts. Significant discrepancies may indicate theft, recording errors or process issues.
Valuation at 31 December
Apply the chosen valuation method (FIFO or weighted average cost) to the counted quantities. Check item by item whether the net realisable value is below cost (LCM principle, CO art. 960a). The resulting value is recorded in the balance sheet as a current asset.
Documentation for auditors
Retain all original count sheets, the inventory difference report, justifications for write-downs and the inventory report signed by the responsible person. These documents form part of the audit trail and must be retained for 10 years (CO art. 958f). The auditor may request access to them.
Tip: if you use a perpetual inventory system with management software, the year-end physical count becomes a verification and reconciliation exercise rather than a count from scratch. This significantly reduces time and errors, especially for warehouses with thousands of SKUs.
Accounting and inventory software integration
Integrated management software that links to accounting automates much of the manual work involved in stock management. Here are the key features to look for:
Automatic stock movements
Every purchase invoice received automatically updates stock levels and stock value. Every sale (issued invoice or POS receipt) reduces inventory and calculates COGS in real time. No more double manual entry.
Automatic multi-method valuation
The software automatically calculates inventory value using FIFO or weighted average cost, applying the LCM principle of CO art. 960a. Instant reports on gross margin by item, category or period.
Minimum stock and reorder alerts
Automatic notifications when stock falls below the reorder threshold defined for each item. Some systems automatically generate suggested purchase orders based on sales history and supplier lead times.
Multi-warehouse and multi-currency management
For SMEs with multiple outlets or warehouses, the software manages inter-site transfers, stock levels by location and consolidated valuation. For importers, automatic handling of exchange rate differences on purchases in EUR, USD or other currencies with conversion to CHF.
Barcode/QR-assisted stocktaking
Support for barcode scanners, QR codes or RFID to speed up physical counting and reduce errors. The year-end physical inventory can be completed in a fraction of the time compared to traditional manual counting.
Integrated tax and accounting reports
Automatic generation of the inventory movement schedule for the balance sheet, the COGS breakdown for the income statement and the documentation for the VAT return (input tax on goods purchases). Export in formats required by the FTA and compatibility with Swiss GAAP FER.
Practical tips for inventory management
- Perform cycle counts throughout the year for high-value or fast-moving products — don't wait until 31 December to discover significant shortages
- Use ABC classification to prioritise: A items (20% of SKUs, 80% of value) deserve more frequent and accurate monitoring than C items
- Always document the chosen valuation method in the notes to the financial statements and keep it consistent over time — a change of method requires justification and may attract attention from auditors and tax authorities
- For purchases from abroad, don't forget to include customs duties, clearance fees, freight and non-recoverable import VAT in the acquisition cost — the real cost is often 15–25% higher than the supplier's FOB price
- Review slow-moving stock at least quarterly: an item that hasn't sold for 6+ months probably needs a write-down or discounted clearance before the value falls further
- Integrate your inventory management system with accounting to eliminate double entry — every purchase invoice should automatically update both the journal and stock levels
- Use AccountEX to link purchase invoices, stock movements and accounting in a single automated workflow: AI invoice recording, real-time stock updates and always up-to-date COGS calculation
Simplify your Swiss accounting
AccountEX handles VAT, QR-invoices and bookings with AI. Start for free.
Start Free