Reports

Review sales, purchasing, pipeline, receivables, payables, and payment activity with key and user access checked at request time.

Reports are for aggregate commercial, accounts receivable, and opportunity views. Use them when a workflow needs a rollup, dashboard, comparison table, collections view, or pipeline summary rather than individual record detail.

Endpoints

EndpointUse it for
GET /reportsList report keys, parameters, dimensions, measures, required scope, and whether this key can run each report.
GET /reports/{reportKey}Run one allowed report with documented parameters and its reported coverage.

Report routes require reports:read plus the acting user's current ShelfCycle permissions. Accounts Payable aging, supplier bill charges, and the two payment reports also require their matching resource-family scope, such as bills:read for Accounts Payable aging and supplier bill charges or customer-payments:read for Payments Received. GET /me reports effectiveCapabilities.reports.available so clients can check available report keys before showing report actions.

Discover reports

Call the catalog before running a report. The catalog is the best source for labels, accepted parameters, dimensions, measures, and per-key availability.

curl "$SHELFCYCLE_API_BASE_URL/reports" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY" \
  -H "X-ShelfCycle-Client: Revenue dashboard"
{
  "data": {
    "reports": [
      {
        "key": "sales-summary",
        "title": "Sales summary",
        "description": "Sales rollups by customer, product, salesperson, supplier, or month.",
        "params": [
          { "name": "groupBy", "required": true, "description": "One or two dimensions." },
          { "name": "startDate", "required": true, "description": "YYYY-MM-DD in the org timezone." },
          { "name": "endDate", "required": true, "description": "YYYY-MM-DD in the org timezone." },
          { "name": "comparisonStartDate", "required": false, "description": "Start of an optional comparison window." },
          { "name": "comparisonEndDate", "required": false, "description": "End of an optional comparison window." }
        ],
        "dimensions": ["customer", "productFamily", "productCode", "salesOrder", "salesPerson", "supplier", "createdBy", "month", "shipToState", "shipToCountry"],
        "measures": ["salesCents", "productCostCents", "orderCostsCents", "totalCostCents", "gpCents", "gpPct"],
        "requiredScope": "reports:read",
        "allowedForThisKey": true
      }
    ]
  }
}

If allowedForThisKey is false, do not run that report with the same key.

Run a report

curl "$SHELFCYCLE_API_BASE_URL/reports/sales-summary?groupBy=customer&startDate=2026-04-01&endDate=2026-06-30&comparisonStartDate=2026-01-01&comparisonEndDate=2026-03-31&dateField=invoiceDate&sortBy=salesDelta&sortDirection=desc&limit=50" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY" \
  -H "X-ShelfCycle-Client: Revenue dashboard"

Report responses include report metadata, normalized params, basis notes, rows, complete filtered-population totals, and pagination metadata. Sales, purchasing, open-order, and pipeline rows use grouping fields such as groupId, bucketKey, and groupName; two-level groupings also include group2Id, group2Key, and group2Name. AR aging rows use customer and transaction-currency fields described below.

Money values in sales, purchasing, open-order, AR aging, and Customer AR Intelligence reports are cents-as-string. Sales, purchasing, open-order, settlement behavior, and credit exposure use the organization's base currency. AR aging keeps each transaction currency in a separate lane. Invoice charge totals use the organization's base currency while each supporting row also names its transaction currency. Pipeline estimates use exact decimal strings paired with the organization's estimate currency. Keep all amounts as integer strings or decimal-safe values in your application.

Review product segments and delivery regions

sales-summary accepts productAttribute, repeated whole productAttributeValues, and productAttributeMatch, or productTag, using the same saved vocabulary as Product Directory. Attribute filters also require products:read, products:write, or search:read; tag filters require tags:read. The matching product population includes archived products where they have relevant sales history.

Add shipToState or shipToCountry filters, or use either as a groupBy dimension. They read the order's current ship-to address, with trimmed, case-insensitive matching. Filter values can be comma-separated, such as shipToState=OH,PA.

curl "$SHELFCYCLE_API_BASE_URL/reports/sales-summary?groupBy=shipToState&shipToCountry=US&startDate=2026-10-01&endDate=2026-10-23&dateField=orderDate&limit=50" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY"

When grouping by productCode outside the invoiceDate basis, rows include qtyUnit alongside quantity. Keep that unit with the quantity rather than combining unlike units.

Review activity by Created By

Sales, purchase, open-sales-order, and pipeline summaries accept groupBy=createdBy. Each row identifies the person who entered the matching records; this is separate from the salesperson, buyer, account owner, or assigned teammate.

curl "$SHELFCYCLE_API_BASE_URL/reports/purchase-summary?groupBy=createdBy&startDate=2026-01-01&endDate=2026-09-24&limit=50" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY" \
  -H "X-ShelfCycle-Client: Purchase entry review"

Use the returned groupId as createdById on the matching finder to open the individual records behind one creator's total.

Sales summaries also accept dateField=enteredDate when the window should follow the day each sales order entered ShelfCycle. When statuses are omitted with Entered date, the report includes draft, confirmed, shipped, and delivered orders.

curl "$SHELFCYCLE_API_BASE_URL/reports/sales-summary?groupBy=createdBy&startDate=2026-09-01&endDate=2026-09-24&dateField=enteredDate&limit=50" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY"

See Created records for creator and created-time finder filters.

Compare two periods

Add comparisonStartDate and comparisonEndDate together to compare the primary window with another bounded period. The windows can be adjacent, overlapping, equal in length, or different in length. Each window can span up to 366 days, with up to 732 combined days.

When comparison dates are present, sales and purchase rows include:

  • comparison measures for the comparison window
  • deltas calculated as primary minus comparison
  • comparisonClassification with new, lost, or retained activity

Use comparisonClassification to focus on groups active only in the primary period, only in the comparison period, or in both. Classification follows recorded activity, so zero-dollar and credit activity are not mistaken for inactivity.

Sorting happens across the complete filtered population before limit and offset are applied. Sales summaries can sort by sales, gross profit, comparison values, or their changes. Purchase summaries can sort by spend, comparison spend, or spend change. Use sortDirection=desc for the largest increases and sortDirection=asc for the largest declines.

data.totals covers the filtered population before pagination. meta.rankingComplete confirms that ranking considered that population, while meta.rowsCoverFullPopulation tells you whether the returned rows contain the complete filtered result. This lets a workflow make a top-ranked claim without treating one page as a complete list.

Compare purchase volume in pounds

purchase-summary returns volumeLbs as a number of net pounds alongside material spend. Rows, comparison values, and totals include volumeUnknownItemCount, the count of lines with quantity but no usable weight basis. A group with only unknown weights has volumeLbs: null; a side with no lines returns zero. A partially known group reports its known pounds and the unknown-line count together. Pounds, kilograms, and tons convert directly. Gallons, liters, and each use the product's net weight when the line's unit is the product's stock unit; otherwise the line counts as unknown. Stored package weight is not used as net pounds.

curl "$SHELFCYCLE_API_BASE_URL/reports/purchase-summary?groupBy=supplier&startDate=2026-10-01&endDate=2026-10-31&comparisonStartDate=2026-09-01&comparisonEndDate=2026-09-30&limit=50" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY"

deltas.volumeLbs is null when either side's pounds are unknown. Purchasing sort options remain spend-based; use the returned coverage before treating a page as the complete population.

basis.earliestVisiblePurchaseOrderDate identifies the first purchase-order day in the report's effective statuses, in the organization's timezone, and is omitted when none exists. If a requested window ends before that day, describe it as preceding available purchase records. The API's zero measures for that window do not establish that no purchasing occurred before the recorded history.

Read base-currency aging and payment amounts

ar-aging and ap-aging add baseOpenDocumentCents, basePastDueDocumentCents, baseOpenCreditCents, and baseNetCents on rows and currency totals. payments-received and payments-made add baseCashAmountCents and baseDocumentAmountCents on rows and currency totals, plus basePreGoLiveCashAmountCents on currency totals and overall totals.

Keep transaction currencies separate and read base amounts with the returned base currency. Payment report baseDocumentAmountCents is null while missingBaseDocumentCount is above zero. Aging and payment summary reports require a complete conversion basis for their open and cash amounts; resolve a reported missing-rate error before using those totals. For list-level amounts, rates, and missingBaseAmounts, see Invoices, bills, and payments.

Review accounts receivable aging

Use ar-aging to see who currently owes money, how much is open, and how overdue the invoices are. The report groups receivables by customer and transaction currency, then keeps totals and rankings within each currency so every comparison stays meaningful.

curl "$SHELFCYCLE_API_BASE_URL/reports/ar-aging?transactionCurrencyCode=USD&sortBy=pastDueInvoiceCents&sortDirection=desc&limit=50" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY" \
  -H "X-ShelfCycle-Client: Collections priority view"

Each row includes:

  • invoice balances that are current, 1-30, 31-60, 61-90, more than 90 days overdue, or missing a due date;
  • gross open invoice balance, unapplied credits, and net receivables;
  • gross past-due invoice balance and count;
  • open and unknown-due invoice counts; and
  • the oldest due date and the oldest number of days past due.

Selected fields from one response:

{
  "data": {
    "basis": {
      "dateBasis": "current-org-calendar-day",
      "timezone": "America/New_York",
      "asOfDate": "2026-08-07",
      "currencyMode": "transaction-currency-subledger-ar",
      "generatedAt": "2026-08-07T14:00:00.000Z",
      "notes": []
    },
    "rows": [
      {
        "customerId": "00000000-0000-4000-8000-000000000101",
        "customerName": "Northstar Chemical",
        "transactionCurrencyCode": "USD",
        "currentCents": "125000",
        "days1To30Cents": "250000",
        "days31To60Cents": "0",
        "days61To90Cents": "75000",
        "days90PlusCents": "50000",
        "unknownCents": "0",
        "openInvoiceCents": "500000",
        "unappliedCreditCents": "-40000",
        "netCents": "460000",
        "pastDueInvoiceCents": "375000",
        "openInvoiceCount": 6,
        "pastDueInvoiceCount": 4,
        "unknownDueInvoiceCount": 0,
        "oldestDueDate": "2026-04-20",
        "oldestDaysPastDue": 109
      }
    ],
    "totals": {
      "scope": "filtered-population-before-pagination",
      "byTransactionCurrency": [
        {
          "transactionCurrencyCode": "USD",
          "openInvoiceCents": "500000",
          "unappliedCreditCents": "-40000",
          "netCents": "460000",
          "pastDueInvoiceCents": "375000",
          "openInvoiceCount": 6,
          "pastDueInvoiceCount": 4,
          "unknownDueInvoiceCount": 0
        }
      ]
    }
  }
}

Invoice aging and unapplied credits stay distinct. unappliedCreditCents is negative, and openInvoiceCents + unappliedCreditCents = netCents. pastDueInvoiceCents is the gross past-due invoice amount, so open credits do not hide collections exposure. The six invoice buckets sum to openInvoiceCents, and the four overdue buckets sum to pastDueInvoiceCents.

The report uses the organization's current calendar day. An invoice due today remains current; the more-than-90-day bucket begins at 91 days past due. An invoice without a due date appears in unknownCents and increments unknownDueInvoiceCount.

Use customerId to focus on one customer and transactionCurrencyCode to focus on one three-letter currency code. Sort with netCents, pastDueInvoiceCents, days90PlusCents, or oldestDaysPastDue; sortDirection defaults to desc. The default ranking is netCents descending. Currency lanes remain separate, and totals.byTransactionCurrency covers the complete filtered population before pagination.

The current response also carries counterparty status, amounts carried over when the organization began using ShelfCycle, draft documents, over365Cents, and an optional dueByCents measure when dueBy=YYYY-MM-DD is supplied. Credit fields are returned when the acting person can view customer credits.

Review accounts payable aging

Use ap-aging to see open bills, supplier credits, and the net amount owed by supplier and transaction currency. It requires reports:read and bills:read plus current Bills access.

curl "$SHELFCYCLE_API_BASE_URL/reports/ap-aging?dueBy=2026-12-31&sortBy=dueByCents&sortDirection=desc&limit=50" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY" \
  -H "X-ShelfCycle-Client: Payables planning"

Each row keeps gross open bills, open supplier credits, and net payables distinct. Aging buckets include current, 1-30, 31-60, 61-90, more than 90 days, and over365Cents. Add dueBy for the amount due on or before an inclusive organization-calendar day, including amounts already past due.

Rows also report supplier status, amounts carried over when the organization began using ShelfCycle, and draft bills. Response-level drafts identifies bills and payment batches being prepared without adding them to open balances.

Use counterpartyId for one supplier and transactionCurrencyCode for one currency. Amounts remain separated by transaction currency.

Review payments received and made

Add counterpartyTag to focus receipts on tagged customers or payments on tagged suppliers, with tags:read as well as the report's normal scopes. basis.counterpartyTag identifies the matched tag. Each totals.byTransactionCurrency entry adds preGoLivePaymentCount and preGoLiveCashAmountCents for matching in-window payments dated before go-live; totals.preGoLivePaymentCount supplies the combined count. These facts are reported whether those payments are excluded or counted. includeOpeningDocuments=true counts them. A currency entry remains even if all its payments were excluded; keep amounts separate by transaction currency. basis.coverageStartDate describes where visible payments begin, separately from go-live. See People and tag filters for a complete tagged payment example.

Use payments-received for customer cash receipts and payments-made for supplier cash payments. Each report can group by counterparty or month and accepts inclusive from and to organization-calendar dates.

curl "$SHELFCYCLE_API_BASE_URL/reports/payments-received?from=2026-07-01&to=2026-09-30&groupBy=counterparty&limit=100" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY"

curl "$SHELFCYCLE_API_BASE_URL/reports/payments-made?from=2026-07-01&to=2026-09-30&groupBy=counterparty&limit=100" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY"

Payments Received requires reports:read and customer-payments:read. Payments Made requires reports:read and supplier-payments:read. Returned measures keep cash, applied amounts, credits, write-offs, discounts, and amounts kept on account separate. Invoiced or billed amounts are included when the key and acting person can also read the matching document family.

Use includeOpeningDocuments=true when the workflow intentionally includes payments and documents dated before the organization began using ShelfCycle. Supplier cash follows the posted payment-batch date.

Customer financial report coverage

The customer-invoice-settlement-behavior, customer-credit-exposure, and customer-invoice-charges reports support up to 10,000 matching source rows. This is the source population used to answer the report, not the number of rows displayed on one page. Use the returned coverage with the totals. For a larger match, narrow the customer or date filters as the response directs, then run the focused report.

Measure invoice settlement behavior

Use customer-invoice-settlement-behavior to understand how paid customer invoices reached final settlement over a selected period. The response combines the overall pace and due-date performance with invoice-level evidence.

curl "$SHELFCYCLE_API_BASE_URL/reports/customer-invoice-settlement-behavior?customerId=00000000-0000-4000-8000-000000000101&from=2026-01-01&to=2026-06-30&limit=25" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY" \
  -H "X-ShelfCycle-Client: Customer payment review"

The totals include:

  • settled invoice count and amount in the organization's base currency;
  • weighted average days to final settlement;
  • weighted average and median days against the due date; and
  • on-time results by invoice count and base-currency amount.

Each evidence row names the customer, invoice, invoice and due days, final-settlement day, timing values, transaction amount, base amount, and the recorded source for the settlement date. basis.historyState, the effective date window, and meta.coverage give the context needed to present those measures confidently.

Use the phrase "final settlement" in customer-facing views so the displayed measure keeps its precise business meaning. Add customerId for one account or omit it for an organization-wide view.

Prioritize customer credit exposure

Use customer-credit-exposure for a current view of posted receivables and uninvoiced commitments by customer. The default ranking places the largest total exposure first across the complete matching customer population.

curl "$SHELFCYCLE_API_BASE_URL/reports/customer-credit-exposure?sortBy=totalExposure&sortDirection=desc&limit=50" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY" \
  -H "X-ShelfCycle-Client: Credit exposure review"

Each row keeps the exposure equation visible:

gross open invoices + open credits = net posted exposure
net posted exposure + committed uninvoiced value = total exposure

Rows include commitments split across confirmed, shipped, and delivered orders, plus credit-limit state, available credit, utilization, overage, and factual attention flags when those values apply. totals covers the complete matching population, while flagSummaries provides customer counts and exposure totals for each factual attention state.

Credit comparisons use the customer's shared credit limit across its locations. Read the configured amount from GET /customers/{id} and maintain it through the customer profile.

Use sortBy with totalExposure, overage, utilization, postedExposure, committedExposure, or customerName. Use flags to focus a worklist on states such as over_limit, within_posted_over_with_commitments, or shipped_or_delivered_unbilled. Multiple flags are comma-separated and match any selected state. Add customerId for one exact customer.

Analyze customer invoice charges

Use customer-invoice-charges to total posted invoice charges and matching credits for a selected date window. Search by a configured cost category, familiar description, or ledger account wording.

curl "$SHELFCYCLE_API_BASE_URL/reports/customer-invoice-charges?from=2026-01-01&to=2026-06-30&query=tariff&limit=25" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY" \
  -H "X-ShelfCycle-Client: Customer charge review"

The report returns gross charges, matching credits, and net charges in the organization's base currency. Supporting rows identify the customer, document number, posted day, description, account, category, match reason, transaction currency and amount, and base amount. A row's kind distinguishes an invoice_charge from a matched_credit.

Provide costCategoryId, query, or both. Add customerId for one account. Use the response's exact matched rows when explaining the total so finance, billing, and account teams can review the same charge history together.

Review supplier bill charges

Use supplier-bill-charges to review cost lines on one supplier's posted, partially paid, and paid bills. It requires reports:read, bills:read, and current Bill viewing access. Supply supplierId, from, and to; dates are inclusive organization-calendar days with a maximum window of 1,825 days. Optional query matches cost-line descriptions case-insensitively and accepts 1 to 120 characters.

curl "$SHELFCYCLE_API_BASE_URL/reports/supplier-bill-charges?supplierId=00000000-0000-4000-8000-000000000301&from=2026-10-01&to=2026-10-31&query=freight&limit=25" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY"

rows contains matching cost lines; nonMatchingRows contains other described cost lines in the same supplier and window. Each line names its bill, posted day, description, transaction currency and amount, and available base amount. Without query, all described cost lines match. totals.matchedCostBaseCents covers all matching lines in the organization's base currency and is null if any matching line lacks a base amount.

meta.coverage reports windowRows, matchingRows, nonMatchingRows, returnedNonMatchingRows, blankDescriptionRows, windowBills, matchingBills, billsWithoutCostLines, and missingBaseRows. Use those counts when assessing whether a supplier's charges all fit a description; one displayed page alone is insufficient. Draft and void bills, bill item lines, and supplier credits are outside this report. Blank descriptions are counted separately rather than classified as matching or non-matching descriptions. Cost lines attribute bill amounts; do not add them again to bill item totals.

The default limit is 25 and the maximum is 100 for each returned line list. meta.truncated is true if either list is partial. This report has no offset continuation; narrow dates or the description when you need to inspect more evidence. An unknown or other-organization supplier returns 422 invalid_input; more than 10,000 matching lines returns 422 report_population_too_large with guidance to narrow the request.

Read ledger balances, totals, and posted lines

All three ledger reports require reports:read and company-reference:read. The acting person's accounting permissions determine which figures they can read. Check the report catalog and read data.basis.notes for the dates, calculation basis, and any part omitted for access. Amounts are integer-cent strings in data.basis.baseCurrencyCode.

Find account UUIDs in the Chart of Accounts directory. Send up to 100 comma-separated accountIds or one section (asset, liability, equity, revenue, or expense). Use the report's statement option on its own when requesting a full financial statement.

Account balances and Balance Sheet

Use ledger-balances with an organization-calendar asOf day through today. It defaults to today. Choose accountIds, section, or statement=balance_sheet. Omit all three to read bank accounts and their linked ledger balances, including undeposited funds where applicable.

curl "$SHELFCYCLE_API_BASE_URL/reports/ledger-balances?statement=balance_sheet&asOf=2026-10-31" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY"

Account balances require Chart of Accounts or Transactions viewing access. The full statement requires Balance Sheet access. Bank reconciliation details require Reconciliations access and a saved reconciliation through the requested day. A returned reconciliation includes lastStatementDay and endBalanceCents, with the ending amount on the debit basis.

Account rows include balanceCents in the account's normal direction and debitBalanceCents with debits positive. Where available to someone with Transactions access, bySource shows the amounts from the opening entry, imported history, year-end close, entries made in ShelfCycle, and entries recorded before go-live. Statement rows follow the Balance Sheet presentation.

Period activity and Income Statement

Use ledger-totals with from, to, and exactly one of accountIds, section, or statement=income_statement. Add grain=month, quarter, or year for calendar buckets. In the full Income Statement, buckets apply to statement sections when the window spans multiple buckets. Statement account rows show whole-window totals. Use compareTo=prior_period or prior_year to add a comparison to total rows.

curl "$SHELFCYCLE_API_BASE_URL/reports/ledger-totals?statement=income_statement&from=2026-07-01&to=2026-09-30&grain=month&compareTo=prior_year" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY"

The statement requires Income Statement access. Revenue and expense account totals require Income Statement or Transactions access. Asset, liability, and equity account changes require Chart of Accounts or Transactions access. A mixed request can return the permitted portion with an explanation in basis.notes. The source breakdown on account totals requires Transactions access.

Read basis.from and basis.to for the answered window and basis.recordsBeginDay for the first posted day. The report can adjust the requested window to recorded history, today's date, and the 1,825-day span. Use row periods and isTotal to distinguish whole-window totals from bucket rows. Account changeCents follows the account's normal direction, while statement amounts follow the Income Statement presentation.

Posted transactions

Use ledger-lines with accountIds or section and current Transactions viewing access. Optional from and to select posted days. A single named account can cover all history. Requests for several accounts or a section cover up to 1,825 days ending on the supplied to day, which defaults to today. Check basis for the actual dates. Use documentType or source to focus the results.

curl "$SHELFCYCLE_API_BASE_URL/reports/ledger-lines?accountIds=00000000-0000-4000-8000-000000000401&from=2026-10-01&to=2026-10-31&limit=100" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY"

Rows start with the oldest posted lines and include the entry, memo, source document and counterparty when available, source category, and up to 20 linked sales-order numbers with the full count. amountCents is positive in the account's normal direction, while debitCents is positive for debits. For one resolved account without a document type or source filter, runningDebitBalanceCents follows the Transactions screen's debit balance and runningBalanceCents uses the account's normal direction.

meta.totalGroups counts every matching line and meta.returnedGroups counts the lines on the page. meta.windowDebitCents sums every matching line, including year-end closes, on the debit basis. meta.windowChangeCents follows the Transactions calculation in the accounts' normal direction, excluding revenue and expense year-end closes. It can be null when account directions differ. Use the Income Statement report for statement figures.

To continue when more lines match, repeat the filters with an increased offset. The default limit is 100, the maximum is 500, and offsets go up to 100,000. Narrow the selection for deeper review. Unknown or other-organization account IDs return 404 not_found.

Review the opportunity pipeline

Use pipeline-summary to review opportunity volume, entered estimates, ownership, and outcomes across the complete visible pipeline. Group by status, assignedTo, or aspect, where aspect separates customer- and supplier-linked opportunities.

curl "$SHELFCYCLE_API_BASE_URL/reports/pipeline-summary?groupBy=assignedTo&status=LEAD,IN_PROGRESS&limit=50" \
  -H "Authorization: Bearer $SHELFCYCLE_API_KEY" \
  -H "X-ShelfCycle-Client: Pipeline review"

Each row includes the opportunity count, exact sum of entered estimated values, estimate currency, count without an entered value, won and lost counts, and the oldest open creation time. data.totals covers the complete filtered opportunity population before pagination.

{
  "data": {
    "basis": {
      "dateBasis": "opportunity-created-at",
      "timezone": "America/New_York",
      "currencyMode": "single-org-base-estimate",
      "currencyCode": "USD",
      "generatedAt": "2026-08-08T14:00:00.000Z",
      "notes": []
    },
    "rows": [
      {
        "groupId": "00000000-0000-4000-8000-000000000201",
        "bucketKey": "00000000-0000-4000-8000-000000000201",
        "groupName": "Jordan Buyer",
        "opportunityCount": 12,
        "estimatedValueTotal": "185000.00",
        "currencyCode": "USD",
        "noValueCount": 2,
        "wonCount": 3,
        "lostCount": 1,
        "oldestOpenCreatedAt": "2026-05-12T15:30:00.000Z"
      }
    ],
    "totals": {
      "scope": "filtered-opportunity-population-before-pagination",
      "opportunityCount": 24,
      "estimatedValueTotal": "342500.00",
      "currencyCode": "USD",
      "noValueCount": 4,
      "wonCount": 6,
      "lostCount": 2
    }
  }
}

Use status to select one or more lifecycle stages, aspect for customer or supplier activity, assignedToIds for one or more assigned users (assignedToId remains the earlier name), and createdFrom with createdTo for an ISO timestamp window. Opportunities without estimates remain in the opportunity count and are called out in noValueCount.

Available reports

Report keyWhat it returns
sales-summarySales, cost, gross profit, and gross profit percent by one or two dimensions, including customer, product, sales order, salesperson, supplier, Created By, or month.
purchase-summaryMaterial purchase-order spend and net pounds by supplier, product code, product family, or Created By, with comparisons and weight coverage.
open-sales-ordersCurrent open sales-order value by status, customer, or Created By.
ar-agingCurrent accounts receivable by customer and transaction currency, with invoice aging, unapplied credits, net balances, and past-due facts.
ap-agingCurrent accounts payable by supplier and transaction currency, with bill aging, supplier credits, due-through amounts, drafts, and net balances.
payments-receivedCustomer cash receipts by customer or month, with applied amounts and authorized invoice context.
payments-madeSupplier cash payments by supplier or month, with adjustments and authorized bill context.
pipeline-summaryOpportunity counts, entered estimate totals, missing-value counts, outcomes, and oldest open dates by status, owner, Created By, or customer and supplier activity.
customer-invoice-settlement-behaviorFinal-settlement pace and due-date timing for paid customer invoices, with invoice-level evidence and coverage context.
customer-credit-exposureCurrent posted receivables, uninvoiced commitments, total exposure, credit-limit context, and factual attention states by customer.
customer-invoice-chargesMatched posted invoice charges and credits by customer, date, category, description, and ledger account.
supplier-bill-chargesOne supplier's bill cost lines, description matches and other lines, base-currency total, and complete window coverage.
ledger-balancesBalances through a day for selected accounts, the Balance Sheet, or bank accounts with available reconciliation details.
ledger-totalsAccount activity or the Income Statement over a period, with calendar buckets and comparisons.
ledger-linesPosted transactions with source documents, related records, and matching-population totals.

Parameter notes

sales-summary reflects recovered pass-through charges in its fulfillment-cost and margin measures. orderCostsCents is the fulfillment cost allocated to the group after mapped charge recovery, and totalCostCents combines it with productCostCents. gpCents is salesCents less totalCostCents. Groups made up only of charges retain their additive cents fields, including salesCents, orderCostsCents, totalCostCents, and gpCents, while gpPct is null because those groups do not have a meaningful percentage base. These measures follow the same current mappings used in ShelfCycle's Sales Performance view.

sales-summary accepts startDate and endDate in YYYY-MM-DD format and dateField as invoiceDate, shipDate, orderDate, or enteredDate. It supports one or two grouping dimensions. For period comparisons, use customer, product family, product code, sales order, salesperson, supplier, or Created By dimensions. Month remains available for single-period rollups.

purchase-summary uses purchase-order created dates and supports supplier, product-code, product-family, or Created By comparisons. Its spend is material purchase-order item amount only, excluding landed costs, standalone purchase-order cost rows, and AP cash payments. Its volume measure is net pounds with unknown-weight line counts; it does not return general quantity or unit-cost measures.

open-sales-orders uses current sales orders in confirmed and shipped states and can group them by Created By. includeDraft=true adds draft orders. It returns open sell value only, without cost or margin.

ar-aging accepts optional customerId, transactionCurrencyCode, sortBy, and sortDirection filters. It uses the organization's current calendar day and returns population-wide totals for each transaction currency before pagination.

pipeline-summary accepts groupBy as status, assignedTo, createdBy, or aspect, plus optional status, aspect, assignedToIds (or its earlier name assignedToId), createdFrom, and createdTo filters. Its totals cover every visible opportunity in the filtered population before pagination.

customer-invoice-settlement-behavior requires from and to, accepts optional customerId, and returns up to 25 evidence rows by default. limit can be from 1 to 100.

customer-credit-exposure accepts optional customerId, sortBy, sortDirection, and comma-separated flags. It returns up to 100 customer rows by default, with a maximum of 500. Sorting and flag summaries cover the full filtered population before the row limit is applied.

customer-invoice-charges requires from and to, plus costCategoryId, query, or both. It accepts optional customerId and returns up to 25 evidence rows by default. limit can be from 1 to 100.

Sales, purchasing, open-order, AR aging, and pipeline reports paginate with limit and offset. Customer AR Intelligence reports use limit for bounded customer or evidence rows. Finder and reference-directory routes use their own documented pagination.

Guardrail

Reports are read-only rollups. Use detail endpoints for selected records, not reports, when a workflow needs record-specific fields, notes, documents, or write readiness.

Sales destinations and date windows

Use groupBy=shipToCity on sales-summary to group sales by destination city and state. City labels are trimmed and uppercased; a blank destination is grouped as No ship-to city. A sales summary with customerId can cover any available date window. Without a customer, the window is limited to 1,825 days. A report returning report_population_too_large needs a narrower window or customer selection.

Sales volumeLbs follows each product's unit and net weight using the same unit rules as purchasing. A group with no known pounds returns null. Sales does not expose purchasing's unknown-line count. Keep those reporting differences with any comparison.