Xero
Items

Xero Items API

Sync items data with Xero through Apideck's unified API. One integration, instant access.

In Apideck, this resource is called Invoice Items (API: invoice-items)

Supported Operations for Xero Items

Full CRUD support available through our unified API

list
get
create
update
delete

Supported Fields

14 fields

Fields available for Xero Items

idnamedescriptioncodesoldpurchasedtrackedsales_detailspurchase_detailsquantityasset_accountincome_accountexpense_accountupdated_at

API Model Preview

Sample response structure for items

{
  "id": "12345",
  "name": "Example Name",
  "description": "Example Description",
  "code": "CODE-001",
  "sold": "string",
  "purchased": "string",
  "tracked": "string",
  "sales_details": "string",
  "purchase_details": "string",
  "quantity": 100,
  "asset_account": {
    "id": "12345"
  },
  "income_account": {
    "id": "12345"
  },
  "expense_account": {
    "id": "12345"
  },
  "updated_at": "2024-01-15T10:30:00.000Z"
}

Quick Start Example

Start syncing Xero items in minutes

Node.js
import { Apideck } from '@apideck/unify'

const apideck = new Apideck({
  apiKey: process.env.APIDECK_API_KEY,
  appId: 'YOUR_APP_ID',
  consumerId: 'YOUR_CONSUMER_ID'
})

// List items from Xero
const result = await apideck.accounting.invoiceItems.list({
  serviceId: 'xero'
})

for await (const page of result) {
  console.log(page)
}
// Returns unified items data

Xero SDKs

Build Xero integrations in your favorite language with our official SDKs.

Launch accounting integrations in weeks, not months

Sign Up