Why it matters
Without this, roasteries risk inconsistent margins, opaque landed costs, missed import permits, and unexpected storage fees, leading to fragile supplier relationships and poor pricing decisions.
From design to safety
Design
AI informs cost model design
The system defines required data streams: FOB price, freight terms, insurance, duties, warehousing, and port charges; it establishes cost calculation logic and milestone checks prior to build.
- FOB price feed
- Freight rate calculator
- Insurance terms file
Build
Data pipelines and ruleset integration
Connects ERP, freight forwarder portals, customs data, and warehouse WMS to a unified landed cost model; validates HS codes and duty rates; sets access controls.
- customs HS code library
- WMS integration module
- ERP cost module
Operation
Real-time landed cost monitoring
Reads live freight updates, tariff changes, and warehouse storage durations; recalculates per-lot landed cost and updates procurement recommendations.
- Freight rate monitor
- Tariff update feed
- Warehouse inventory tracker
Maintenance
Data integrity and recalibration
Periodically audits price feeds, reconciles freight invoices, and recalibrates duty assumptions; logs changes with versioned records.
- Invoice reconciliation engine
- Duty rate history log
- Cost model versioning
Safety
Compliance and risk guards
Ensures import compliance checks, licensing status, and document retention; flags dangerous cost gaps that could trigger regulatory holds.
- Customs compliance module
- Licensing status record
- Audit trail keeper
Part by part
- 1
FOB price feed
- Watch for
- Discrepant supplier quotations or missing currency fields.
- AI action
- Flag price anomalies; trigger procurement review workflow.
- 2
Freight rate calculator
- Watch for
- Rate volatility beyond threshold; carrier surcharge uncaptured.
- AI action
- Recalculate per-lot cost; suggest alternate routing.
- 3
Insurance terms file
- Watch for
- Policy expiration or insufficient coverage for cargo type.
- AI action
- Alert risk manager; request updated certificates.
- 4
customs HS code library
- Watch for
- HS mismatch with product description; outdated tariff codes.
- AI action
- Suggest correct HS code and duty class for accurate duties.
- 5
Warehouse inventory tracker
- Watch for
- Stock aging or misallocated lots; storage duration exceeds policy.
- AI action
- Recompute storage cost; trigger reallocation or stop-loss.
- 6
ERP cost module
- Watch for
- Lacking landed cost fields; data gap in integration.
- AI action
- Auto-create missing fields; validate data completeness.
Worked example
Catching a mistaken duty rate before shipment
Illustrative scenario with sample data.
Before finalizing a multi-origin order, the system detects an outdated import duty for a bean type.
Signal in
lot_id: L-472; FOB: 2.85; freight: 0.28; insurance: 0.05; duties: 12.5%; warehouse: 0.07; port charges: 0.02; HS code: 0901; origin: BR; container: 40GP; incoterm: CIF; expected shipment date: 2026-11-15
System out
alert: duty rate 12.5% outdated; recommended HS code correction to 0901.21; adjust landed cost to reflect new duties; generate revised PO terms; include updated incoterms and revised insurance quote.
Human sign-off: Green coffee manager reviews the HS code change, confirms the updated landed cost, and approves the revised PO terms before COF signing.
How to roll it out
Phase 1
Weeks 1 to 4: Baseline
Map data contacts, establish data schemas, and validate initial landed cost results against known shipments.
Phase 2
Weeks 5 to 8: Integration
Connect ERP, freight portals, and customs feeds; implement access controls and auditing.
Phase 3
Weeks 9 to 12: Validation
Run parallel assessments with live orders; tune thresholds and alerting rules.
Where people stay in charge
- Decisions on final landed cost and supplier selection must be signed by the Roastery Operations Manager or Head of Purchasing.
- All cost feeds and duty classifications must be traceable to source documents and reviewed annually.
- All regulatory and customs classifications must be reviewed and approved by the Compliance Lead before invoices are accepted.
Questions owners and crews ask
What is landed cost and why is it important for roasteries?
Landed cost aggregates all costs to bring green coffee to the roastery; it ensures accurate cost of goods and helps price and margin planning. It includes freight, duties, insurance, warehousing, and port charges, tied to origin data.
How do I ensure data quality for landed cost calculations?
Maintain validated feeds for FOB, freight, duties, insurance, and warehousing; apply versioned records and regular reconciliation with invoices; enforce access controls and change logs for each data source.
What should trigger a procurement review in landed cost AI?
Significant deviations in freight rates, duty changes, or warehouse charges compared to baseline thresholds should prompt review; require authorisation from the Roastery Operations Manager.
Who signs off on the final landed cost reports?
The Roastery Operations Manager or Head of Purchasing signs off after validation and regulatory checks; ensures alignment with wholesale pricing policies and import compliance.
Sources and further reading
- International Coffee Organization: Coffee Market ReportMonthly coffee prices, production, exports, and market statistics for benchmarking green coffee cost.
- Daily Coffee News: Business OperationsCafé and roastery business operations, pricing, and wholesale coverage relevant to roastery pricing decisions.