Skip to main content

Xero

📄️Adopt Xero Chart of Accounts (hard-replace)

Onboarding: hard-replace SKU's chart of accounts with Xero's. Imports every mapped Xero account as a nominal code, re-points every reference (sales order lines, settings roles, product/channel/warehouse overrides, …) onto the replacements, then deletes the old chart. EVERY existing nominal code must appear in `mappings` (a complete old→new map is what makes the delete safe) — otherwise 422-equivalent failure listing the unmapped ids. Runs as a tracked job; returns its log id so the UI can follow progress via the tracked job log endpoints. Pass `repost: true` to also repost every current ledger entry after the replace (chained inside the job) so posted GL lines pick up the new accounts.

📄️Get Account Activity Log (V2)

Paginated change history for a single synced Xero account — one entry per recorded change, newest first. Each entry includes the change type (`event`: created / updated / deleted / bulk_upsert), the changed field values (`properties.attributes` = new values, `properties.old` = previous values), the source tag of whatever made the change (`properties.source`), an optional `batch_uuid` grouping changes made by one bulk operation, and `causer_name` (the user who triggered it; null for system/sync changes).

📄️Get Bill Activity Log (V2)

Paginated change history for a single synced Xero bill — one entry per recorded change, newest first. Each entry includes the change type (`event`: created / updated / deleted / bulk_upsert), the changed field values (`properties.attributes` = new values, `properties.old` = previous values), the source tag of whatever made the change (`properties.source`), an optional `batch_uuid` grouping changes made by one bulk operation, and `causer_name` (the user who triggered it; null for system/sync changes).

📄️Get Contact Activity Log (V2)

Paginated change history for a single synced Xero contact — one entry per recorded change, newest first. Each entry includes the change type (`event`: created / updated / deleted / bulk_upsert), the changed field values (`properties.attributes` = new values, `properties.old` = previous values), the source tag of whatever made the change (`properties.source`), an optional `batch_uuid` grouping changes made by one bulk operation, and `causer_name` (the user who triggered it; null for system/sync changes).

📄️Get Credit Note Activity Log (V2)

Paginated change history for a single synced Xero credit note — one entry per recorded change, newest first. Each entry includes the change type (`event`: created / updated / deleted / bulk_upsert), the changed field values (`properties.attributes` = new values, `properties.old` = previous values), the source tag of whatever made the change (`properties.source`), an optional `batch_uuid` grouping changes made by one bulk operation, and `causer_name` (the user who triggered it; null for system/sync changes).

📄️Get Invoice Activity Log (V2)

Paginated change history for a single synced Xero invoice — one entry per recorded change, newest first. Each entry includes the change type (`event`: created / updated / deleted / bulk_upsert), the changed field values (`properties.attributes` = new values, `properties.old` = previous values), the source tag of whatever made the change (`properties.source`), an optional `batch_uuid` grouping changes made by one bulk operation, and `causer_name` (the user who triggered it; null for system/sync changes).

📄️Get Manual Journal Activity Log (V2)

Paginated change history for a single synced Xero manual journal — one entry per recorded change, newest first. Each entry includes the change type (`event`: created / updated / deleted / bulk_upsert), the changed field values (`properties.attributes` = new values, `properties.old` = previous values), the source tag of whatever made the change (`properties.source`), an optional `batch_uuid` grouping changes made by one bulk operation, and `causer_name` (the user who triggered it; null for system/sync changes).

📄️Get Payment Activity Log (V2)

Paginated change history for a single synced Xero payment — one entry per recorded change, newest first. Each entry includes the change type (`event`: created / updated / deleted / bulk_upsert), the changed field values (`properties.attributes` = new values, `properties.old` = previous values), the source tag of whatever made the change (`properties.source`), an optional `batch_uuid` grouping changes made by one bulk operation, and `causer_name` (the user who triggered it; null for system/sync changes).

📄️Get Purchase Order Activity Log (V2)

Paginated change history for a single synced Xero purchase order — one entry per recorded change, newest first. Each entry includes the change type (`event`: created / updated / deleted / bulk_upsert), the changed field values (`properties.attributes` = new values, `properties.old` = previous values), the source tag of whatever made the change (`properties.source`), an optional `batch_uuid` grouping changes made by one bulk operation, and `causer_name` (the user who triggered it; null for system/sync changes).

📄️Get Tax Rate Activity Log (V2)

Paginated change history for a single synced Xero tax rate — one entry per recorded change, newest first. Each entry includes the change type (`event`: created / updated / deleted / bulk_upsert), the changed field values (`properties.attributes` = new values, `properties.old` = previous values), the source tag of whatever made the change (`properties.source`), an optional `batch_uuid` grouping changes made by one bulk operation, and `causer_name` (the user who triggered it; null for system/sync changes).

📄️List Webhook Events

Paginated feed of the webhook events Xero has delivered for this connection, newest first (by `event_date_utc`). Each event records what changed in Xero (`event_category` CONTACT / INVOICE / CREDITNOTE, `event_type` CREATE / UPDATE, `resource_id` — the Xero GUID), how it was handled (`status`: received, processing, processed, failed, duplicate, ignored; `processing_attempts`; `error_message`), the raw event payload as delivered by Xero, and `app_link`/`app_link_label` — a path to the synced record inside SKU.io (null until the referenced record has been synced in).