wFirma icon

wFirma

Interact with wFirma Polish accounting software via MCP server

Analytics → Sales Analytics

AI-generated

Summary

Generate sales analytics for a specified date range, optionally filtering by product category or contractor ID, and optionally including sales predictions.

Inputs

  • Date From — Start date for the analytics period in YYYY-MM-DD format.
  • Date To — End date for the analytics period in YYYY-MM-DD format.
  • Category — Filter the analytics to only include sales from a specific product category.
  • Contractor ID — Filter the analytics by a specific contractor ID.
  • Include Predictions — Set to true to include sales predictions in the analytics output.

Output shape

A detailed JSON object containing sales analytics data, optionally including predictions as requested.

Provides the sales analytics for the specified date range and filters. If multiple input items are processed, each will yield one corresponding analytics JSON object. Errors are returned item-wise when continueOnFail is enabled.

Examples

Example 1: Basic sales analytics for the year 2024

Set 'Date From' to '2024-01-01' and 'Date To' to '2024-12-31'. No additional filters enabled.

Example 2: Sales analytics filtered by product category including predictions

Provide 'Date From' and 'Date To', specify the 'Category' filter, and set 'Include Predictions' to true.

Links

Discussion