XeroInvoices

Xero Invoices API

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

Supported Operations for Xero Invoices

Full CRUD support available through our unified API

list
get
create
update
delete

Supported Fields

24 fields

Fields available for Xero Invoices

idtypenumbercustomerinvoice_datedue_datereferencestatusinvoice_sentcurrencycurrency_ratetax_inclusivesub_totaltotal_taxtotal+9 more

API Model Preview

Sample response structure for invoices

{
  "id": "12345",
  "type": "standard",
  "number": 10,
  "customer": {
    "id": "12345",
    "display_id": "CUST-001",
    "display_name": "Acme Corp",
    "company_name": "Acme Corporation"
  },
  "invoice_date": "2024-01-15",
  "due_date": "2024-01-15",
  "reference": "string",
  "status": "active",
  "invoice_sent": "string",
  "currency": "USD",
  "currency_rate": 100,
  "tax_inclusive": "string",
  "sub_total": 100,
  "total_tax": 100,
  "total": 100,
  "balance": 100,
  "deposit": "stri
  ...

Quick Start Example

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

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

Xero SDKs

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

Launch accounting integrations in weeks, not months

Sign Up