Xero
Journals

Xero Journals API

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

In Apideck, this resource is called Journal Entries (API: journal-entries)

Supported Operations for Xero Journals

List, Create, Get, Update operations available through our unified API

list
get
create
update
delete

Supported Fields

8 fields

Fields available for Xero Journals

iddownstream_idtitleline_itemsstatusposted_atnumbercreated_at

API Model Preview

Sample response structure for journals

{
  "id": "12345",
  "downstream_id": "12345",
  "title": "Example Title",
  "line_items": [
    {
      "id": "12345",
      "row_id": "12345",
      "description": "Product or service description",
      "quantity": 1,
      "unit_price": 100,
      "total_amount": 100
    }
  ],
  "status": "active",
  "posted_at": "2024-01-15T10:30:00.000Z",
  "number": 10,
  "created_at": "2024-01-15T10:30:00.000Z"
}

Quick Start Example

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

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

Xero SDKs

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

Launch accounting integrations in weeks, not months

Sign Up