Magidoc

WorkspaceXeroSync
Object

Per-workspace Xero Finance sync ownership. Tokens stay on the owning user.

Fields

#

enabled

Non-null

userId

User whose Xero OAuth tokens power Finance imports and syncs.

tenantId

Xero organisation tenant ID.

companyName

Optional display name for the connected Xero organisation.

status

Connection state: connected, disabled, or reconnectRequired.

lastImportAt

Timestamp of the most recent completed historical import.

lastSyncAt

Timestamp of the most recent incremental sync.

lastError

Last connection or sync error safe for admin display.

reconnectRequired

True when the configured owner must reconnect Xero. Derived by status query.

Usages

#

References

#

  • Field getWorkspaceXeroSyncStatus from Query