calculate_account_metrics
Calculate vendor account metrics including balance, inventory value, sales revenue, and commission owed for consignment business analysis.
Instructions
Calculate comprehensive metrics for a specific vendor/consignor account including current balance, inventory value, items available/sold, total sales revenue, and commission owed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Account ID (required) | |
| date_from | No | Filter by items/sales created on or after this date (ISO 8601: YYYY-MM-DD) | |
| date_to | No | Filter by items/sales created on or before this date (ISO 8601: YYYY-MM-DD) | |
| inventory_type | No | Filter by inventory type |