@@ -113,11 +113,12 @@ def sync_detailed(
113113) -> Response [ErrorResponse | OperationEnvelopeExecuteEventBlockResponse ]:
114114 """Execute Event Block
115115
116- For events on a connection with write_policy='qb_authoritative' or 'hybrid', publish the captured GL
117- plan to the source-of-truth system (QuickBooks). Captures qb_txn_id on
118- event.metadata.qb_external_id, transitions status to 'fulfilled' (or 'pending' on rejection), and
119- promotes draft GL rows to 'posted'. Native-policy events fast-path through with no QB write —
120- RoboSystems is the system of record.
116+ For events on a connection with write_policy='qb_authoritative' or 'hybrid', publish the event's
117+ draft GL entries to the source-of-truth system (QuickBooks), each as its own JournalEntry. Records
118+ the QuickBooks ids per entry on event.metadata.qb_entry_ids and promotes the published entries to
119+ 'posted'; the event goes 'fulfilled' once no draft remains, or 'pending' on rejection (what landed
120+ is kept). Native-policy events fast-path through with no QB write — RoboSystems is the system of
121+ record.
121122
122123 **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
123124 return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
@@ -129,11 +130,12 @@ def sync_detailed(
129130 system.
130131
131132 For events on a connection with `write_policy='qb_authoritative'`
132- (or `'hybrid'`), this triggers a synchronous write to QuickBooks
133- via the QB API. The returned `qb_txn_id` lands on
134- `event.metadata.qb_external_id` and the event transitions to
135- `committed` (in flight) → `fulfilled` (QB accepted) or `pending`
136- (QB rejected).
133+ (or `'hybrid'`), this triggers a synchronous write to QuickBooks:
134+ each draft entry posts as its own JournalEntry, with the entry id as
135+ the RequestId, and its QuickBooks id is recorded per entry on
136+ `event.metadata.qb_entry_ids`. The event goes `fulfilled` once no
137+ draft remains, or `pending` when QuickBooks rejects an entry (what
138+ landed is kept).
137139
138140 `'native'`-policy events fast-path through with no QB write —
139141 RoboSystems IS the source of truth, no outbound publish needed.
@@ -168,11 +170,12 @@ def sync(
168170) -> ErrorResponse | OperationEnvelopeExecuteEventBlockResponse | None :
169171 """Execute Event Block
170172
171- For events on a connection with write_policy='qb_authoritative' or 'hybrid', publish the captured GL
172- plan to the source-of-truth system (QuickBooks). Captures qb_txn_id on
173- event.metadata.qb_external_id, transitions status to 'fulfilled' (or 'pending' on rejection), and
174- promotes draft GL rows to 'posted'. Native-policy events fast-path through with no QB write —
175- RoboSystems is the system of record.
173+ For events on a connection with write_policy='qb_authoritative' or 'hybrid', publish the event's
174+ draft GL entries to the source-of-truth system (QuickBooks), each as its own JournalEntry. Records
175+ the QuickBooks ids per entry on event.metadata.qb_entry_ids and promotes the published entries to
176+ 'posted'; the event goes 'fulfilled' once no draft remains, or 'pending' on rejection (what landed
177+ is kept). Native-policy events fast-path through with no QB write — RoboSystems is the system of
178+ record.
176179
177180 **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
178181 return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
@@ -184,11 +187,12 @@ def sync(
184187 system.
185188
186189 For events on a connection with `write_policy='qb_authoritative'`
187- (or `'hybrid'`), this triggers a synchronous write to QuickBooks
188- via the QB API. The returned `qb_txn_id` lands on
189- `event.metadata.qb_external_id` and the event transitions to
190- `committed` (in flight) → `fulfilled` (QB accepted) or `pending`
191- (QB rejected).
190+ (or `'hybrid'`), this triggers a synchronous write to QuickBooks:
191+ each draft entry posts as its own JournalEntry, with the entry id as
192+ the RequestId, and its QuickBooks id is recorded per entry on
193+ `event.metadata.qb_entry_ids`. The event goes `fulfilled` once no
194+ draft remains, or `pending` when QuickBooks rejects an entry (what
195+ landed is kept).
192196
193197 `'native'`-policy events fast-path through with no QB write —
194198 RoboSystems IS the source of truth, no outbound publish needed.
@@ -218,11 +222,12 @@ async def asyncio_detailed(
218222) -> Response [ErrorResponse | OperationEnvelopeExecuteEventBlockResponse ]:
219223 """Execute Event Block
220224
221- For events on a connection with write_policy='qb_authoritative' or 'hybrid', publish the captured GL
222- plan to the source-of-truth system (QuickBooks). Captures qb_txn_id on
223- event.metadata.qb_external_id, transitions status to 'fulfilled' (or 'pending' on rejection), and
224- promotes draft GL rows to 'posted'. Native-policy events fast-path through with no QB write —
225- RoboSystems is the system of record.
225+ For events on a connection with write_policy='qb_authoritative' or 'hybrid', publish the event's
226+ draft GL entries to the source-of-truth system (QuickBooks), each as its own JournalEntry. Records
227+ the QuickBooks ids per entry on event.metadata.qb_entry_ids and promotes the published entries to
228+ 'posted'; the event goes 'fulfilled' once no draft remains, or 'pending' on rejection (what landed
229+ is kept). Native-policy events fast-path through with no QB write — RoboSystems is the system of
230+ record.
226231
227232 **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
228233 return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
@@ -234,11 +239,12 @@ async def asyncio_detailed(
234239 system.
235240
236241 For events on a connection with `write_policy='qb_authoritative'`
237- (or `'hybrid'`), this triggers a synchronous write to QuickBooks
238- via the QB API. The returned `qb_txn_id` lands on
239- `event.metadata.qb_external_id` and the event transitions to
240- `committed` (in flight) → `fulfilled` (QB accepted) or `pending`
241- (QB rejected).
242+ (or `'hybrid'`), this triggers a synchronous write to QuickBooks:
243+ each draft entry posts as its own JournalEntry, with the entry id as
244+ the RequestId, and its QuickBooks id is recorded per entry on
245+ `event.metadata.qb_entry_ids`. The event goes `fulfilled` once no
246+ draft remains, or `pending` when QuickBooks rejects an entry (what
247+ landed is kept).
242248
243249 `'native'`-policy events fast-path through with no QB write —
244250 RoboSystems IS the source of truth, no outbound publish needed.
@@ -271,11 +277,12 @@ async def asyncio(
271277) -> ErrorResponse | OperationEnvelopeExecuteEventBlockResponse | None :
272278 """Execute Event Block
273279
274- For events on a connection with write_policy='qb_authoritative' or 'hybrid', publish the captured GL
275- plan to the source-of-truth system (QuickBooks). Captures qb_txn_id on
276- event.metadata.qb_external_id, transitions status to 'fulfilled' (or 'pending' on rejection), and
277- promotes draft GL rows to 'posted'. Native-policy events fast-path through with no QB write —
278- RoboSystems is the system of record.
280+ For events on a connection with write_policy='qb_authoritative' or 'hybrid', publish the event's
281+ draft GL entries to the source-of-truth system (QuickBooks), each as its own JournalEntry. Records
282+ the QuickBooks ids per entry on event.metadata.qb_entry_ids and promotes the published entries to
283+ 'posted'; the event goes 'fulfilled' once no draft remains, or 'pending' on rejection (what landed
284+ is kept). Native-policy events fast-path through with no QB write — RoboSystems is the system of
285+ record.
279286
280287 **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours
281288 return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
@@ -287,11 +294,12 @@ async def asyncio(
287294 system.
288295
289296 For events on a connection with `write_policy='qb_authoritative'`
290- (or `'hybrid'`), this triggers a synchronous write to QuickBooks
291- via the QB API. The returned `qb_txn_id` lands on
292- `event.metadata.qb_external_id` and the event transitions to
293- `committed` (in flight) → `fulfilled` (QB accepted) or `pending`
294- (QB rejected).
297+ (or `'hybrid'`), this triggers a synchronous write to QuickBooks:
298+ each draft entry posts as its own JournalEntry, with the entry id as
299+ the RequestId, and its QuickBooks id is recorded per entry on
300+ `event.metadata.qb_entry_ids`. The event goes `fulfilled` once no
301+ draft remains, or `pending` when QuickBooks rejects an entry (what
302+ landed is kept).
295303
296304 `'native'`-policy events fast-path through with no QB write —
297305 RoboSystems IS the source of truth, no outbound publish needed.
0 commit comments