---
name: b2b-orders
description: >-
  Reports B2B orders for a period grouped by company, with revenue, order count, outstanding invoices and overdue payment terms. Use when the user asks about wholesale orders, B2B sales, unpaid invoices, or which companies ordered.
---

# B2B Orders Review

Review my B2B orders for [TIMEFRAME].

## Steps
1. List orders placed by company customers in the period. Group by company: order count, revenue, average order value, most ordered products.
2. List orders with payment terms that are unpaid, with the due date and days overdue where past due.
3. Compare total B2B revenue with the previous period of the same length.

## Output
A table by company, then a table of unpaid invoices sorted by most overdue, then one line comparing the period with the previous one.

Do not send payment reminders or change any order in this skill.
