Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .github/release-notes/v2.8.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
The generated tier catches up with the API's multi-entity step: a graph is
one reporting group, and every ledger operation can name which entity of it
to act on. Nothing on the stable tier changes shape; one generated-tier
removal and one path move are named below.

## New: entities in a reporting group

`api.robo_ledger_setup.create_entity` with `CreateEntityRequest`
(`POST /extensions/roboledger/{graph_id}/operations/create-entity`) adds a
subsidiary to the graph's group: a name, its legal form, the share the parent
holds (`ownership_pct`), an optional `parent_entity_id` to nest it under
another subsidiary, and an optional `ticker`, which prefixes the entity's
account names and must be unique in the graph (409). `LedgerEntityResponse`
gains `ownership_pct`.

`entity_id` is a new optional field on `UpdateEntityRequest`,
`InitializeLedgerRequest`, `SetCloseTargetOperation`, `ClosePeriodOperation`,
`ReopenPeriodOperation`, `BackfillPlanHistoryOperation`,
`InitializeChartOfAccountsRequest`, `CreateReportRequest`,
`LinkEntityTaxonomyRequest`, `CreateEventBlockRequest` and
`LiveFinancialStatementRequest`. Omitted, each acts on the group parent, so
every existing call behaves as before. `FiscalCalendarResponse` and
`ReportResponse` carry `entity_id`.

`LiveFinancialStatementRequest.consolidated` renders the group's combined
statement on the parent — every entity under the parent's Reporting Style,
summed per concept, with nothing eliminated between them — and
`LiveFinancialStatementResponse` carries `entity_id`, `consolidated` and
`combined_entity_ids`.

The checked-in GraphQL schema gains `entityId` on `entity`,
`fiscalCalendar`, `periodCloseStatus`, `periodDrafts`, `openReceivables`,
`openPayables`, `openReceivablesByAgent`, `openPayablesByAgent`,
`eventBlocks`, `summary`, `accounts`, `accountTree`, `accountRollups`,
`reconciliations`, `trialBalance`, `transactions`, `closingBookStructures`,
`journalEntries` and `reports`; `LedgerEntity` gains `ownershipPct` and
`LedgerSummary` `entityId`. The checked-in operations are unchanged, so the
generated GraphQL models are too.

## Removed: `api.graphs.select_graph`

The API deprecated the graph-scoped select in favour of `set_selected_graph`
— the replacement 2.7.0 shipped — and has now removed the endpoint, so the
generated function would only ever have met a 404. No facade wrapped it and
the integration template's emit path never imported it; this is a
generated-tier removal riding a minor. `api.user.set_selected_graph` is the
call.

## Moved: `validate_schema`

`api.schema.validate_schema` is now `api.graphs.validate_schema`: the API
retagged the operation under Graphs, and a package path follows its tag. The
function, its request and its response are unchanged; update the import. No
facade wrapped it and the template never imported it.
204 changes: 0 additions & 204 deletions robosystems_client/api/graphs/select_graph.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ def sync_detailed(

Generate an ad-hoc financial statement directly from the tenant's OLTP ledger data using the active
CoA→GAAP mapping. This is the authoritative source for RoboLedger entity graphs — no graph
materialization required. Rejected on shared-repository graphs; those should use `financial-
materialization required. One entity's books: `entity_id` names a subsidiary, omitted means the
group parent; `consolidated` on the parent combines every entity of the group at the rs-gaap
concepts, with no eliminations. Rejected on shared-repository graphs; those should use `financial-
statement-analysis` instead.

**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
Expand Down Expand Up @@ -161,7 +163,9 @@ def sync(

Generate an ad-hoc financial statement directly from the tenant's OLTP ledger data using the active
CoA→GAAP mapping. This is the authoritative source for RoboLedger entity graphs — no graph
materialization required. Rejected on shared-repository graphs; those should use `financial-
materialization required. One entity's books: `entity_id` names a subsidiary, omitted means the
group parent; `consolidated` on the parent combines every entity of the group at the rs-gaap
concepts, with no eliminations. Rejected on shared-repository graphs; those should use `financial-
statement-analysis` instead.

**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
Expand Down Expand Up @@ -200,7 +204,9 @@ async def asyncio_detailed(

Generate an ad-hoc financial statement directly from the tenant's OLTP ledger data using the active
CoA→GAAP mapping. This is the authoritative source for RoboLedger entity graphs — no graph
materialization required. Rejected on shared-repository graphs; those should use `financial-
materialization required. One entity's books: `entity_id` names a subsidiary, omitted means the
group parent; `consolidated` on the parent combines every entity of the group at the rs-gaap
concepts, with no eliminations. Rejected on shared-repository graphs; those should use `financial-
statement-analysis` instead.

**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
Expand Down Expand Up @@ -242,7 +248,9 @@ async def asyncio(

Generate an ad-hoc financial statement directly from the tenant's OLTP ledger data using the active
CoA→GAAP mapping. This is the authoritative source for RoboLedger entity graphs — no graph
materialization required. Rejected on shared-repository graphs; those should use `financial-
materialization required. One entity's books: `entity_id` names a subsidiary, omitted means the
group parent; `consolidated` on the parent combines every entity of the group at the rs-gaap
concepts, with no eliminations. Rejected on shared-repository graphs; those should use `financial-
statement-analysis` instead.

**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
Expand Down
Loading
Loading