Skip to main content

Push Vendor Deposit to Xero

POST 

/api/vendor-deposits/:vendorDepositId/push-to-xero

Queue a push of the vendor deposit's accounting transactions to Xero. The push runs asynchronously — a 200 response confirms the sync was queued, not that it has completed. Requires a connected Xero integration.

Required scope: accounting:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Returns 422 when the deposit cannot be pushed (e.g. no accounting transaction exists or no Xero connection is configured).

Request

Responses

OK

Response Headers
    Content-Type