Accounting Integrations
Export Accounts
Export Xero accounts as a CSV/Excel file download.
List Integrations
Returns all QBO integration instances with connection status.
Initialize OAuth
Generates a QBO OAuth authorization URL. Works for both initial setup and reconnection.
Complete OAuth Setup
Completes new QBO integration setup using the OAuth state. Only for new integrations (reconnections are handled automatically via callback).
Test Connection
Test the connection to the Trackstar API for this integration instance. Returns success/failure with any error details. Requires Bearer token.
Update Integration Settings
Updates settings for a QBO integration instance.
Delete Integration
Queues deletion of a QBO integration instance and all associated data.
Get Dashboard
Returns comprehensive dashboard metrics including entity counts, sync status, and connection health.
List Accounts
Paginated list of QBO accounts with filtering and sorting. Defaults to active accounts only.
Delete Accounts
Delete one or more QBO accounts by ID.
Get Account
Get a single QBO account by ID.
Refresh Accounts
Syncs accounts from QBO API. Omit body for incremental sync, pass full_sync=true for complete resync.
Export Accounts
Export Xero accounts as a CSV/Excel file download.
Get Account Statistics
Get aggregate statistics for QBO accounts.
Archive Accounts
Archive one or more QBO accounts by ID.
Unarchive Accounts
Unarchive one or more QBO accounts by ID.
Create Nominal Codes
Creates SKU nominal codes from selected QBO accounts.
List Bills
List paginated Trackstar bills (WMS charges) for an integration instance.
Delete Bills
Delete one or more QBO bills.
Get Bill
Returns a bill with its vendor, lines, allocations, and related purchase order / warehouse transfer data.
Refresh Bills
Syncs bills from QBO API.
Export Bills
Export bills to CSV.
Get Bill Statistics
Get aggregate statistics for QBO bills.
Archive Bills
Archive one or more QBO bills.
Unarchive Bills
Unarchive one or more QBO bills.
List Credit Memos
Paginated list of QBO credit memos.
Delete Credit Memos
Delete one or more QBO credit memos.
Get Credit Memo
Get a single QBO credit memo by ID.
Refresh Credit Memos
Syncs credit memos from QBO API.
Export Credit Memos
Export credit memos to CSV.
Get Credit Memo Statistics
Get aggregate statistics for QBO credit memos.
Archive Credit Memos
Archive one or more QBO credit memos.
Unarchive Credit Memos
Unarchive one or more QBO credit memos.
List Customers
Returns a paginated list of customers.
Delete Customers
Delete one or more QBO customers.
Get Customer
Returns a single customer with addresses and default sales rep.
Get Unlinked Customers
Returns QBO customers not yet linked to a SKU customer.
Get Linked Customers
Returns QBO customers that are linked to a SKU customer.
Create SKU Customers from QBO
Bulk creates SKU customers from unlinked QBO customers. Omit ids to process all unlinked.
Refresh SKU Customers from QBO
Bulk refreshes linked SKU customers from their QBO counterparts.
Unlink SKU Customers (Bulk)
Bulk unlinks SKU customers from their QBO customer links.
Link SKU Customer
Links an existing SKU customer to a specific QBO customer.
Unlink SKU Customer
Removes the SKU customer link from a QBO customer.
Refresh Customers
Syncs customers from QBO API.
Export Customers
Exports all customers as a CSV file.
Archive Customers
Archive one or more QBO customers.
List Invoices
List ShipMyOrders invoices with DataTable support (filtering, sorting, pagination).
Delete Invoices
Delete one or more QBO invoices.
Get Invoice
Get a single QBO invoice by ID.
Sync Invoices to QBO
Syncs accounting transactions to QBO as invoices. Pass specific IDs to force-sync those transactions, or omit for auto-sync of all eligible transactions.
Get Invoice Sync Status
Returns the current sync status and summary for QBO invoices.
Refresh Invoices
Syncs invoices from QBO API.
Export Invoices
Export invoices to CSV.
Archive Invoices
Archive one or more QBO invoices.
List Items
Paginated list of QBO items/products.
Delete Items
Delete one or more QBO items.
Get Item
Get a single QBO item by ID.
Refresh Items
Syncs items from QBO API.
Export Items
Export items to CSV.
Archive Items
Archive one or more QBO items.
List Journals
Paginated list of QBO journal entries.
Delete Journals
Delete one or more QBO journals.
Get Journal
Get a single QBO journal entry by ID.
Refresh Journals
Syncs journals from QBO API.
Archive Journals
Archive one or more QBO journals.
List Payments
Paginated list of QBO payments.
Delete Payments
Delete one or more QBO payments.
Get Payment
Returns a single accounting payment.
Refresh Payments
Syncs payments from QBO API.
Archive Payments
Archive one or more QBO payments.
List Purchase Orders
Paginated list of QBO purchase orders.
Delete Purchase Orders
Delete one or more QBO purchase orders.
Get Purchase Order
Get a single QBO purchase order by ID.
Refresh Purchase Orders
Syncs purchase orders from QBO API.
Archive Purchase Orders
Archive one or more QBO purchase orders.
List Tax Codes
Paginated list of QBO tax codes.
Delete Tax Codes
Delete one or more QBO tax codes.
Get Tax Code
Get a single QBO tax code by ID.
Refresh Tax Codes
Syncs tax codes from QBO API.
Archive Tax Codes
Archive one or more QBO tax codes.
List Tax Rates
Returns all tax rates.
Delete Tax Rates
Delete one or more QBO tax rates.
Get Tax Rate
Get a single QBO tax rate by ID.
Refresh Tax Rates
Syncs tax rates from QBO API.
Archive Tax Rates
Archive one or more QBO tax rates.
List Vendors
Paginated list of QBO vendors.
Delete Vendors
Delete one or more QBO vendors.
Get Vendor
Get a single QBO vendor by ID.
Refresh Vendors
Syncs vendors from QBO API.
Archive Vendors
Archive one or more QBO vendors.
Get Conflict Summary
Returns aggregate conflict statistics across all entity types.
Detect Conflicts
Runs conflict detection across all entity types and returns newly found conflicts.
List Conflicts by Entity Type
Lists conflicted entities of a given type. Valid entity types: invoices, purchase-orders, accounts, customers, items, tax-codes, tax-rates.
Get Conflict Details
Get detailed conflict information for a specific entity including resolution options.
Resolve Conflict
Resolves a conflict for a specific entity. Actions: delete_qbo, delete_sku, resync_to_qbo, break_link, mark_do_not_sync.
Bulk Resolve Conflicts
Bulk resolves up to 50 conflicts at once for entities of a given type.
List Payment Type Mappings
Lists all payment types with their mapped QBO bank accounts.
Get Payment Type Mapping
Get the QBO account mapping for a specific payment type.
Update Payment Type Mapping
Maps a payment type to a QBO bank account. Pass null for qbo_account_id to clear the mapping.
Get Available Bank Accounts
Returns all active QBO Bank accounts available for payment type mapping.
Bulk Update Payment Type Mappings
Updates QBO bank account mappings for multiple payment types in one request.
Get Custom Field Mappings
Returns current custom field mapping configuration (e.g. Sales Rep → QBO custom field).
Update Custom Field Mappings
Updates the custom field mapping config. definition_id must be '1', '2', or '3' (QBO legacy custom fields).
Fetch Custom Fields from QBO
Fetches available custom fields from QBO Preferences API and stores them locally.
List Tax Code Mappings
Lists all SKU tax rates with their mapped QBO tax codes.
Get Tax Code Mapping
Get the QBO tax code mapping for a specific SKU tax rate.
Update Tax Code Mapping
Maps a SKU tax rate to a QBO tax code. Pass null for qbo_tax_code_id to clear the mapping.
Get Available Tax Codes
Returns all active QBO tax codes available for mapping.
Bulk Update Tax Code Mappings
Updates QBO tax code mappings for multiple SKU tax rates in one request.
Generate OAuth URL
Generate a Xero OAuth 2.0 authorization URL to initiate the connection flow. Redirect the user to the returned URL to authenticate with Xero.
List Integration Instances
Returns all integration instances (connections to external platforms like Shopify, Amazon, Xero, etc.).
Update Integration Instance
Update an integration instance. Settings are merged (not replaced) with existing settings.
Delete Integration Instance
Queue deletion of an integration instance. The actual deletion is handled asynchronously via the salesOrderProcessing queue.
Show Dashboard
Get the Xero integration dashboard data including integration status, connection health, entity counts, and webhook summary.
List Accounts
Paginated list of QBO accounts with filtering and sorting. Defaults to active accounts only.
Download Accounts from Xero
Fetch and sync all accounts from the Xero API into the local database.
Create Nominal Codes from Accounts
Create SKU.io nominal codes from selected Xero account records. Requires an active Xero accounting integration.
List Tax Rates (Legacy)
List Xero tax rates (DataTable-based legacy endpoint).
Download Tax Rates from Xero
Fetch and sync tax rates from the Xero API.
Sync Contacts
Trigger a sync of contacts from Xero API to the local database.
List Accounts (V2)
Paginated list of Xero accounts with advanced filtering via Spatie QueryBuilder + GroupedFilterSupport.
List Tax Rates (V2)
Paginated list of Xero tax rates.
List Contacts (V2)
Paginated list of Xero contacts with advanced filtering.
List Invoices (V2)
Paginated list of Xero invoices (ACCREC type) with advanced filtering via Spatie QueryBuilder + GroupedFilterSupport.
List Bills (V2)
Paginated list of Xero bills (ACCPAY type). Same filter and sort options as invoices.
List Credit Notes (V2)
Paginated list of Xero credit notes. Same filter and sort options as invoices.
List Purchase Orders (V2)
Paginated list of Xero purchase orders. Same filter and sort options as invoices.
List Manual Journals (V2)
Paginated list of Xero manual journal entries.
List Payments (V2)
Paginated list of Xero payments. Payments use a payment relation (not accountingTransaction) to link to SKU.io Payment entities.
Show Webhook Settings
Get the webhook settings for a Xero integration instance. Lazily generates a webhook UUID if one doesn't exist. Returns a masked signing key preview (first 4 + last 4 chars) and the 20 most recent webhook events.
Update Webhook Settings
Enable or disable Xero webhooks and update the signing key. Key rotation is supported with a 1-hour grace period for the previous key.
Receive Xero Webhook
Public webhook receiver for Xero events. No authentication — Xero calls this endpoint directly.