# Chargen auflisten

**GET** /v1/inventory/batches

Gibt alle Chargen nach Ablaufdatum aufsteigend sortiert zurück (FEFO: zuerst ablaufend, zuerst ausgeben). Chargen ohne Ablaufdatum erscheinen zuletzt.

Optionale Filter: listing_id, location_id, expiring_before (ISO-Datum YYYY-MM-DD) und active_only=1 (Menge größer null).

Antwort batches: FEFO-sortiertes Array. Jede Charge enthält id, listing_id, location_id, lot_number (nullable), expiry_date (nullable, YYYY-MM-DD), quantity, listing (id, sku, barcode) und location (id, name, code).
