Xero
Credit Notes

Xero Credit Notes API

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

Supported Operations for Xero Credit Notes

Full CRUD support available through our unified API

list
get
create
update
delete

Supported Fields

17 fields

Fields available for Xero Credit Notes

idnumbercustomercurrencytax_inclusivesub_totaltotal_amounttotal_taxremaining_creditstatusreferencedate_issueddate_paidtypeline_items+2 more

API Model Preview

Sample response structure for credit notes

{
  "id": "12345",
  "number": 10,
  "customer": {
    "id": "12345",
    "display_id": "CUST-001",
    "display_name": "Acme Corp",
    "company_name": "Acme Corporation"
  },
  "currency": "USD",
  "tax_inclusive": "string",
  "sub_total": 100,
  "total_amount": 100,
  "total_tax": 100,
  "remaining_credit": "string",
  "status": "active",
  "reference": "string",
  "date_issued": "2024-01-15",
  "date_paid": "2024-01-15",
  "type": "standard",
  "line_items": [
    {
      "id": "12345",
    
  ...

Quick Start Example

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

for await (const page of result) {
  console.log(page)
}
// Returns unified credit notes data
Popular Use Cases

How Credit Notes is Commonly Used

Discover the most popular ways businesses integrate Xero credit notes data

Xero SDKs

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

Launch accounting integrations in weeks, not months

Sign Up