Get Entry Sync Inspection
GET/api/ledger/entries/:entry/sync-inspection
Explain why a journal entry is (or is not) syncing to the accounting provider. Read-only — never writes.
Authentication: Requires Bearer token.
Response fields:
eligible(boolean) — the entry will sync automatically as it standsenableable(boolean) — the entry won't auto-sync, but a manual sync (or aforce_enabledoverride) will push it: its only blockers are settings opt-outscan_sync_now(boolean) —eligible OR enableable; whether a manual sync would succeed right nowreasons(array of strings) — why automatic sync is blocked (empty when eligible). Possible codes:override_disabled,type_disabled,channel_disabled,granularity_off,before_type_sync_start_date,before_provider_sync_start_date,batch_member,batch_open,internal_only,connection_inactive,no_accounting_connectionstructural_reasons(array of strings) — the subset that blocks even a manual sync (empty when the entry is eligible or enableable)sync_override(string|null) — the entry's durable override (force_enabled/force_disabled), if anysync_override_provenance(object|null) — who or what set the override:source(user,legacy_cutover, orsystem),set_at(ISO 8601),set_by({id, name}of the user, or null)
Notes: channel_disabled blocks scheduled sync only — a manual sync still pushes the entry. Structural codes (connection_inactive, batch_member, batch_open, internal_only, before_provider_sync_start_date) cannot be bypassed.
Returns 404 when the entry does not exist.
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.