# ConsignCloud API Configuration
# Get your API key from: Settings → Apps → API & Webhooks in ConsignCloud
# Required: Your ConsignCloud API Key
CONSIGNCLOUD_API_KEY=your_api_key_here
# Optional: API Base URL (defaults to production)
CONSIGNCLOUD_API_BASE_URL=https://api.consigncloud.com/api/v1
# Optional: HTTP Server Configuration
PORT=3000
HOST=localhost
# ============================================================================
# Locale & Currency Configuration
# ============================================================================
# Configure how monetary values are formatted and displayed
# Uses ISO standards for country codes and currency codes
# Country/Region (ISO 3166-1 alpha-2)
# Examples: US, IS (Iceland), GB, CA, AU, DE, FR, JP, CN
STORE_COUNTRY=IS
# Currency (ISO 4217 currency code)
# Examples: USD, ISK (Icelandic Króna), EUR, GBP, CAD, AUD, JPY, CNY
STORE_CURRENCY=ISK
# Locale for number/currency formatting (BCP 47 language tag)
# This determines how numbers are formatted (decimal separator, grouping, etc.)
# Examples:
# en-US (United States: 1,234.56)
# is-IS (Iceland: 1.234,56)
# en-GB (United Kingdom: 1,234.56)
# de-DE (Germany: 1.234,56)
# fr-FR (France: 1 234,56)
# ja-JP (Japan: 1,234.56)
STORE_LOCALE=is-IS
# ============================================================================
# Common Configurations by Country
# ============================================================================
# Iceland (Króna)
# STORE_COUNTRY=IS
# STORE_CURRENCY=ISK
# STORE_LOCALE=is-IS
# United States (Dollar)
# STORE_COUNTRY=US
# STORE_CURRENCY=USD
# STORE_LOCALE=en-US
# United Kingdom (Pound Sterling)
# STORE_COUNTRY=GB
# STORE_CURRENCY=GBP
# STORE_LOCALE=en-GB
# European Union (Euro) - Germany
# STORE_COUNTRY=DE
# STORE_CURRENCY=EUR
# STORE_LOCALE=de-DE
# European Union (Euro) - France
# STORE_COUNTRY=FR
# STORE_CURRENCY=EUR
# STORE_LOCALE=fr-FR
# Canada (Canadian Dollar)
# STORE_COUNTRY=CA
# STORE_CURRENCY=CAD
# STORE_LOCALE=en-CA
# Australia (Australian Dollar)
# STORE_COUNTRY=AU
# STORE_CURRENCY=AUD
# STORE_LOCALE=en-AU
# Japan (Yen)
# STORE_COUNTRY=JP
# STORE_CURRENCY=JPY
# STORE_LOCALE=ja-JP
# ============================================================================
# How Currency Formatting Works
# ============================================================================
# The calculation endpoints will return both:
# 1. Raw numeric values (in cents/smallest currency unit) - for calculations
# 2. Formatted currency strings - for display to users
#
# Format Examples:
# USD (en-US): 1234.56 → "1,234.56" (no symbol)
# ISK (is-IS): 123456 → "123.456" (no symbol, no decimals)
# EUR (de-DE): 1234.56 → "1.234,56" (no symbol)
# JPY (ja-JP): 123456 → "123,456" (no symbol, no decimals)
#
# Note: Symbols ($, kr, €, etc.) are NOT included to keep data clean and
# locale-independent. The locale determines number formatting only.