XeroAttachments

Xero Attachments API

Sync permissioned attachments data with Xero through Apideck's unified API. One integration, instant access to the governed data your team needs.

Supported Operations for Xero Attachments

List, Upload, Download operations available through our unified API

list
get
create
update
delete

Available Fields

6 fields

Fields in Apideck's unified Attachments model

idnameurlmime_typesizereference

API Model Preview

Sample response structure for attachments

{
  "id": "12345",
  "name": "invoice.pdf",
  "url": "https://example.com/invoice.pdf",
  "mime_type": "application/pdf",
  "size": 1024
}

Quick Start Example

Start syncing Xero attachments 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 attachments from Xero
const result = await apideck.accounting.attachments.list({
  serviceId: 'xero'
})

for await (const page of result) {
  console.log(page)
}
// Returns unified attachments data
Related Data Models

Other Xero Data You Can Sync

Explore more Xero resources available through Apideck's unified API

Xero SDKs

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

Launch accounting integrations in weeks, not months

Get started for free