Before you can make a sale, you need inventory! This step covers how to record a Purchase — receiving goods from a supplier.Documentation Index
Fetch the complete documentation index at: https://docs.openbook.to/llms.txt
Use this file to discover all available pages before exploring further.
Why This Matters
Recording purchases correctly:- ✅ Adds stock to your inventory
- ✅ Sets the cost basis for COGS calculations
- ✅ Creates proper accounting entries
- ✅ Provides an audit trail for token holders
The Double-Entry Accounting
When you receive inventory, OpenBook creates these ledger entries:Recording a Purchase
Enter Details
- Movement Type: Purchase
- Quantity: Amount received (e.g., 5000)
- Unit: Measurement unit (e.g., grams)
- Cost per Unit: Price you paid per unit
- Total Cost: Auto-calculated
- Notes: Optional (e.g., “Invoice #BB-2025-001 from Bean Brothers”)
Example: Stocking a Coffee Shop
Let’s stock up for opening day:| Resource | Quantity | Unit | Cost/Unit | Total |
|---|---|---|---|---|
| Arabica Coffee Beans | 5,000 | g | $0.024 | $120.00 |
| Whole Milk | 20,000 | ml | $0.002 | $40.00 |
| Paper Cups (Small) | 200 | pcs | $0.10 | $20.00 |
| Paper Cups (Large) | 200 | pcs | $0.12 | $24.00 |
| Plastic Lids | 400 | pcs | $0.05 | $20.00 |
| Total Initial Stock | $224.00 |
Weighted Average Cost Update
When you receive inventory, the weighted average cost updates:How WAC is Calculated
How WAC is Calculated
Scenario: You already have 1,000g beans at 0.024/gThis new cost is used for COGS when you sell products containing coffee beans.
What Gets Recorded
For each purchase, OpenBook creates:| Record | Purpose |
|---|---|
| Stock Movement | Audit log entry (append-only) |
| Location Stock Update | Current quantity at location |
| Resource WAC Update | New weighted average cost |
| Transaction | Financial journal entry |
| Ledger Entries | Debit/Credit records |
Without Formal Suppliers
You don’t need to set up Suppliers first. Just record the movement with notes about where it came from. You can add Suppliers later for:- Purchase order workflows
- Vendor price tracking
- Preferred supplier management
Next: Record Your First Sale
Complete the full sales flow with proper accounting
