Cost Accruals and COGS
Automatic cost of goods sold posting, inventory costing methods, and expense accruals
Overview
Cost accruals ensure that expenses are recognized in the accounting period when they are incurred, regardless of when cash is paid. The AI-Native ERP automates cost of goods sold (COGS) posting, supports multiple inventory costing methods, and handles period-end expense accruals.
Why Cost Accruals Matter
- Matching Principle -- Costs are matched to revenue in the same period (GAAP requirement)
- Accurate Profitability -- Gross profit reflects the true cost of sales
- Inventory Valuation -- Inventory asset values remain accurate on the balance sheet
- Period Close -- All incurred costs are captured before closing the books
- Compliance -- Required by both GAAP and IFRS
Cost of Goods Sold (COGS)
What is COGS?
COGS represents the cost of inventory sold during a period:
COGS = Beginning Inventory + Purchases - Ending Inventory
When to Record COGS
COGS is recorded at the same time as the related revenue (the matching principle). When you sell 100 units at $50 each with a standard cost of $30 per unit:
Revenue: $5,000 (100 units at $50)
COGS: $3,000 (100 units at $30)
Gross Profit: $2,000 (40% margin)
Automatic COGS Posting
When a customer invoice includes inventory items, the system automatically:
- Checks the item configuration -- Does the item have a standard cost and COGS account?
- Calculates the cost -- Quantity multiplied by the item's cost
- Creates the journal entry -- Debits COGS, credits Inventory
- Updates financial statements -- Income statement shows accurate gross margin
STEP 1: Sale recorded
Accounts Receivable debited $1,000
Revenue credited $1,000
STEP 2: COGS automatically posted
COGS debited $600 (10 units at $60 cost)
Inventory credited $600
RESULT:
Income Statement: Revenue $1,000, COGS $600, Gross Profit $400 (40%)
Balance Sheet: Inventory reduced by $600
COGS Components
The total landed cost of inventory can include:
- Product cost -- Direct manufacturing or purchase cost
- Freight-in -- Shipping costs to receive inventory
- Customs and duties -- Import fees
- Direct labor -- Manufacturing labor
- Manufacturing overhead -- Factory costs
Inventory Costing Methods
The system supports four costing methods, configured per item.
1. Standard Costing
A predetermined cost per unit, useful for manufacturing and variance analysis.
Best for: Manufacturing with budgeted costs, stable pricing, variance analysis
Example:
Variances between standard and actual cost are tracked separately for analysis.
2. FIFO (First-In, First-Out)
The oldest inventory is sold first.
Best for: Perishable goods, rising prices (results in lower COGS and higher profit)
Example:
Selling 75 units under FIFO:
- First 50 units at $55 = $2,750
- Next 25 units at $65 = $1,625
- Total COGS: $4,375
- Remaining: 25 units at $65 = $1,625
3. Weighted Average
Average cost across all units in inventory.
Best for: Interchangeable goods, simplicity, moderate price fluctuations
Example:
Selling 150 units: COGS = 150 x $56.67 = $8,500
4. Specific Identification
Track the actual cost of each individual unit.
Best for: High-value items (vehicles, jewelry), unique items, serial number tracking
Example:
Selling VIN-002: COGS = $47,000 (actual cost of that specific car)
Item Configuration
Each item in the system carries cost-related settings:
Inventory Items vs. Service Items
Inventory items track physical goods with on-hand quantities, inventory valuation, and automatic COGS posting when sold.
Service items (such as consulting hours) do not track inventory. Costs are recorded as expenses when incurred, not matched to revenue through COGS.
Multi-Line Invoice COGS
When an invoice contains multiple inventory items, each line calculates COGS independently:
All COGS entries are posted in a single journal entry for the invoice.
Expense Accruals
Expense accruals capture costs incurred but not yet billed or paid, ensuring each period's income statement reflects all costs.
Common Accrued Expenses
Accrual and Reversal Flow
Step 1: Accrue at period end (October 31)
Estimated utility usage for October: $2,500
Utilities Expense debited $2,500
Accrued Expenses credited $2,500
October income statement includes the $2,500 expense.
Step 2: Receive actual bill (November 15)
Actual bill: $2,450. Reverse the accrual and record the actual:
Accrued Expenses debited $2,500 (reversal)
Utilities Expense credited $2,500 (reversal)
Utilities Expense debited $2,450 (actual)
Accounts Payable credited $2,450 (actual)
The $50 difference appears in November, which is immaterial.
Month-End Expense Accrual Example
At month-end, all outstanding costs are accrued in a single process:
This ensures the period's income statement captures all incurred costs before the books are closed.
Key Capabilities
- Automatic COGS posting when inventory items are sold -- no manual entries needed
- Four costing methods: standard, FIFO, weighted average, and specific identification
- Variance tracking between standard and actual costs
- Multi-line support with per-item cost calculation on every invoice
- Service item handling with appropriate expense recognition (no COGS)
- Period-end accruals for expenses incurred but not yet billed
- Accurate gross margins calculated in real time per transaction
- GAAP and IFRS compliant matching of costs to revenue