Skip to main content
POST
/
xero
/
accounts
Create a Xero account
curl --request POST \
  --url https://api.breezing.io/v1/xero/accounts \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>",
  "name": "<string>",
  "type": "BANK",
  "description": "<string>",
  "taxType": "<string>"
}
'
{
  "success": true,
  "data": {
    "code": "<string>",
    "name": "<string>",
    "type": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://learn.breezing.io/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

org_id
string
required

Organization ID. Use GET /v1/companies to discover available org/company pairs.

Example:

"1"

company_id
string
required

Company ID. Use GET /v1/companies to discover available companies and their access levels.

Example:

"1"

Body

application/json
code
string
required

Account code (max 10 chars). Used as the identifier when setting account on transactions/assets.

Required string length: 1 - 10
name
string
required

Account display name (max 150 chars).

Required string length: 1 - 150
type
enum<string>
required

Xero account type. Common values: BANK, CURRENT (current asset), CURRLIAB (current liability), EXPENSE, REVENUE, EQUITY, FIXED (fixed asset), DIRECTCOSTS, OVERHEADS.

Available options:
BANK,
CURRENT,
CURRLIAB,
DEPRECIATN,
DIRECTCOSTS,
EQUITY,
EXPENSE,
FIXED,
INVENTORY,
LIABILITY,
NONCURRENT,
OTHERINCOME,
OVERHEADS,
PREPAYMENT,
REVENUE,
SALES,
TERMLIAB,
PAYG
description
string

Optional description (not valid for BANK accounts).

Maximum string length: 4000
taxType
string

Optional Xero tax type code.

Response

Xero account created

success
enum<boolean>
required
Available options:
true
data
object
required
Last modified on May 3, 2026