Skip to main content
GET
Get the provider invoice reconciliation for a month

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-ankra-organisation-id
string

PAT organisation override.

Query Parameters

month
string

The UTC month as YYYY-MM, not in the future; the last closed month when omitted.

Pattern: ^[0-9]{4}-[0-9]{2}$
project_id
string

The project to read: a project's id, or all for the whole organisation. Absent reads the caller's current project (the whole organisation while projects are off). A token pinned to a project, or a member limited to projects, may name only their own project.

Response

Successful response

Per cloud credential and UTC month, what the provider billed (imported invoice lines, in the provider's own currency) against what the metering estimated for the clusters those lines are placed on. Nothing unknown reads as agreement.

month
string
required

The month read, as YYYY-MM.

month_closed
boolean
required

The month has ended; for a running month both sides are month to date.

period_hours
integer
required
generated_at
string<date-time>
required
credentials
ReconciliationCredential · object[]
required
scope
CostReadScope · object
required

What a fleet cost read covered (ADR 0022): the project it read, or the whole organisation, and whether the caller's cluster permissions hid clusters from it.