Skip to main content

Create Account in Xero (asset)

POST 

/api/xero/accounts/create

Create a GL account in the connected Xero tenant and mirror it locally. Type is restricted to Xero ASSET types (CURRENT/FIXED/NONCURRENT) — used by the onboarding flow to provision a missing inventory ASSET account (Xero won't let you post inventory journal movements to an INVENTORY-type account). Requires a connected Xero accounting integration.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Authenticate with a PAT.

Request

Responses

OK

Response Headers
    Content-Type