Overview

Customer daily Runway and Receivables lines (accountant mirror)

Accountant-scoped mirror of GET /companies/{companyId}/metrics/daily-trends. Same service, same fail-closed reasons. Entity scope is resolved from the customer's own entity roster (accountants hold no per-user entity grants): an explicit entityId must be one of the customer's concrete (non-group) entities; absent, the customer's single concrete entity is used; a multi-entity customer without entityId gets 422 ENTITY_SELECTION_REQUIRED and a customer with no entity gets 422 ENTITY_SCOPE_UNAVAILABLE.

get/accountant/companies/{customerId}/metrics/daily-trends

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Path parameters

customerId, string uuid required

Query parameters

entityId, string uuid

Concrete legal entity that owns this AR/AP request. Omission is accepted only when the actor is authorized to exactly one concrete entity; consolidated scope cannot mutate or serve these entity-only resources.

Response

Daily trend lines (same shape as the customer mount)

DailyTrendsResponse required
success, true required
data, object required

Changes

No recorded changes to this operation across all 110 revisions of this API.