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)
Full CRUD support available through our unified API
Fields available for Xero Items
idnamedescriptioncodesoldpurchasedtrackedsales_detailspurchase_detailsquantityasset_accountincome_accountexpense_accountupdated_atSample 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"
}Start syncing Xero items in minutes
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 dataWe build and maintain connectors, so you don't have to. View our full list of Accounting connectors.
Missing a connector? We're able to add new connectors.
Build Xero integrations in your favorite language with our official SDKs.
Build Xero integrations with the official Node.js SDK.
Build Xero integrations with the official TypeScript SDK.
Build Xero integrations with the official PHP SDK.
Build Xero integrations with the official .NET.
Build Xero integrations with the official Python SDK.
Build Xero integrations with the official Java SDK.
Build Xero integrations with the official Go SDK.