Supported Operations for Xero Bills

Full CRUD support available through our unified API

list
get
create
update
delete

Supported Fields

20 fields

Fields available for Xero Bills

idbill_numbersuppliercurrencycurrency_ratetax_inclusivebill_datedue_datepaid_datepo_numberreferenceline_itemsbalancedepositsub_total+5 more

API Model Preview

Sample response structure for bills

{
  "id": "12345",
  "bill_number": 10,
  "supplier": {
    "id": "12345",
    "display_id": "CUST-001",
    "display_name": "Acme Corp",
    "company_name": "Acme Corporation"
  },
  "currency": "USD",
  "currency_rate": 100,
  "tax_inclusive": "string",
  "bill_date": "2024-01-15",
  "due_date": "2024-01-15",
  "paid_date": "2024-01-15",
  "po_number": 10,
  "reference": "string",
  "line_items": [
    {
      "id": "12345",
      "row_id": "12345",
      "description": "Product or service des
  ...

Quick Start Example

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

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

Xero SDKs

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

Launch accounting integrations in weeks, not months

Sign Up