# Pricing Foundation v15

Pricing is separate from Catalog and from Cost.

Resolution precedence:
customer > customer group > branch > company > tenant/default.
Equal specificity uses lower numeric priority.

Tables:
- pricing.price_lists
- pricing.price_list_scopes
- pricing.price_entries
- pricing.margin_guards

Money is DECIMAL(18,6), never float.

Customer/group references are external keys for now because CRM master data is not implemented yet.
Margin guard stores policy only; actual cost-based evaluation is deferred until authoritative cost exists.

APIs:
- GET/POST /api/v1/pricing/price-lists
- POST /api/v1/pricing/price-lists/{id}/scopes
- POST /api/v1/pricing/price-lists/{id}/entries
- GET /api/v1/pricing/effective/{variantId}
- POST /api/v1/pricing/margin-guards

Permissions:
- pricing.view
- pricing.manage
