Skip to content

Commit 49cab79

Browse files
committed
chore: regenerate update-journal-entry docs for in-step flow re-tags
The line_flows description now says the other side follows only when its lines were in step with the named ones; a line tagged differently on purpose keeps its tag. Docstring text only, no symbol or shape change.
1 parent 86c4826 commit 49cab79

2 files changed

Lines changed: 13 additions & 11 deletions

File tree

‎robosystems_client/api/robo_ledger_ledger_events/update_journal_entry.py‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ def sync_detailed(
117117
items are replaced atomically, the new set must balance, and a line on a retired (`is_active=false`)
118118
account is refused. `line_flows` sets the cash flow row of the named lines in place, on a posted
119119
entry too, closed month included, since a flow moves no balance; the lines on the other side of the
120-
entry follow when that side carries one flow. Posted entries accept nothing else and are corrected
121-
via `create-event-block(event_type='journal_entry_reversed')`.
120+
entry that were in step with it follow. Posted entries accept nothing else and are corrected via
121+
`create-event-block(event_type='journal_entry_reversed')`.
122122
123123
**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
124124
return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
@@ -172,8 +172,8 @@ def sync(
172172
items are replaced atomically, the new set must balance, and a line on a retired (`is_active=false`)
173173
account is refused. `line_flows` sets the cash flow row of the named lines in place, on a posted
174174
entry too, closed month included, since a flow moves no balance; the lines on the other side of the
175-
entry follow when that side carries one flow. Posted entries accept nothing else and are corrected
176-
via `create-event-block(event_type='journal_entry_reversed')`.
175+
entry that were in step with it follow. Posted entries accept nothing else and are corrected via
176+
`create-event-block(event_type='journal_entry_reversed')`.
177177
178178
**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
179179
return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
@@ -222,8 +222,8 @@ async def asyncio_detailed(
222222
items are replaced atomically, the new set must balance, and a line on a retired (`is_active=false`)
223223
account is refused. `line_flows` sets the cash flow row of the named lines in place, on a posted
224224
entry too, closed month included, since a flow moves no balance; the lines on the other side of the
225-
entry follow when that side carries one flow. Posted entries accept nothing else and are corrected
226-
via `create-event-block(event_type='journal_entry_reversed')`.
225+
entry that were in step with it follow. Posted entries accept nothing else and are corrected via
226+
`create-event-block(event_type='journal_entry_reversed')`.
227227
228228
**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
229229
return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
@@ -275,8 +275,8 @@ async def asyncio(
275275
items are replaced atomically, the new set must balance, and a line on a retired (`is_active=false`)
276276
account is refused. `line_flows` sets the cash flow row of the named lines in place, on a posted
277277
entry too, closed month included, since a flow moves no balance; the lines on the other side of the
278-
entry follow when that side carries one flow. Posted entries accept nothing else and are corrected
279-
via `create-event-block(event_type='journal_entry_reversed')`.
278+
entry that were in step with it follow. Posted entries accept nothing else and are corrected via
279+
`create-event-block(event_type='journal_entry_reversed')`.
280280
281281
**Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
282282
return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.

‎robosystems_client/models/update_journal_entry_request.py‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@ class UpdateJournalEntryRequest:
4343
patch). The new set must still balance (total_debit == total_credit). Omit to leave existing lines untouched.
4444
line_flows (list[JournalEntryLineFlow] | None | Unset): Re-tag lines in place: each named line takes its
4545
`flow_qname` (null clears it), and when every line on that side of the entry then carries one flow, the lines on
46-
the other side not named here take it too, so the cash line and the account line agree. Allowed on a posted
47-
entry, closed month included, and the only change one accepts; recorded on the entry as `flow_retags`. Not
48-
combinable with `line_items`, which replaces the lines (set `flow_qname` on them).
46+
the other side not named here follow when they were in step with it — untagged, or carrying the flow the named
47+
lines carried before — so the cash line and the account line agree; a line tagged differently on purpose keeps
48+
its tag. Allowed on a posted entry, closed month included, and the only change one accepts; recorded on the
49+
entry as `flow_retags`, with what each changed line carried before. Not combinable with `line_items`, which
50+
replaces the lines (set `flow_qname` on them).
4951
"""
5052

5153
entry_id: str

0 commit comments

Comments
 (0)