Skip to main content
Use the @bijection/connectors/xero entrypoint to declare Xero resources.

Availability

This page describes the pinned source package. Published availability is unestablished for this artifact. Source build and package availability.

Resources and modes

Declare a resource in application code, then bind deployment-specific settings and credentials. See typed resources, connections and source inspection.

Invoices and bills

pull: If-Modified-Since pages in XML, DELETED as deletion, idempotency-keyed creates

The following example matches configuration standard.
The function references identify application policy queries. Implement those policies in your application; the references alone grant no authority.

Configuration: standard

Case: xero/invoices/pull/standard. Connection and resource configuration are declared by this exact case. Credential kind: xero. Keep credential material in the private credential inventory.
Native admission analysis is available for this exact declaration. Collection: invoices
Commands
Recorded checks Hosted qualification: unestablished for this catalog configuration. Installed connections report their own identity, authority and current status.

Configuration: readOnly

Case: xero/invoices/pull/readOnly. Connection and resource configuration are declared by this exact case. Credential kind: xero. Keep credential material in the private credential inventory.
Native admission analysis is available for this exact declaration. Collection: invoices
Recorded checks Hosted qualification: unestablished for this catalog configuration. Installed connections report their own identity, authority and current status.

Contacts

pull: If-Modified-Since pages in XML, archived included, idempotency-keyed updates

The following example matches configuration standard.
The function references identify application policy queries. Implement those policies in your application; the references alone grant no authority.

Configuration: standard

Case: xero/contacts/pull/standard. Connection and resource configuration are declared by this exact case. Credential kind: xero. Keep credential material in the private credential inventory.
Native admission analysis is available for this exact declaration. Collection: contacts
Commands
Recorded checks Hosted qualification: unestablished for this catalog configuration. Installed connections report their own identity, authority and current status.

Provider guidance

Compiled declaration examples and configuration details are published in the connector reference. One organisation per binding: setup tenantId (from GET https://api.xero.com/connections) is sent as xero-tenant-id, and the account identity is the organisation’s OrganisationID. The connection holds a xero credential (xero.credential), an OAuth 2.0 grant. Responses are read as XML, Xero’s default, so every amount is Xero’s own decimal text beside currency. Invoices and contacts are read as paged summaries (summaryOnly=true); the first pass walks every page, each finished pass hands on the latest UpdatedDateUTC it read, and the next one sends If-Modified-Since five minutes before it. Every fullEvery-th pass walks again, which also catches edits Xero states move no timestamp. The record version is UpdatedDateUTC. An invoice with status DELETED is a deletion; VOIDED stays present. Contacts are never deleted, and archived ones are read. invoices create and contacts update send the operation identity as Idempotency-Key, which Xero keeps for six minutes and refuses with a changed request. Xero has no precondition, so both writes are unconditional. updates: "webhooks" admits x-xero-signature deliveries as refresh hints and answers a badly signed one 401, which Xero’s intent-to-receive check requires. A 429’s Retry-After is honoured, and requests share a 60-per-minute budget. Nothing here has run against Xero or been qualified. See the platform’s llm-wiki/wiki/providers/accounting.md.

Provider references

Provider references and prerequisites are maintained in the connector guidance above. No separate provider-documentation review date is recorded.

Source and evidence

Canonical connector source, native analysis and check receipts. Connector artifact: 905888ea276a2a28e36981a79e8142b2547ea451c3e63162cb6915ad4a7d1305. The resource declaration examples above are compiled and compared with exact catalog declarations. Recorded checks apply only to their source, declaration and runtime identities. Configure a connection and inspect its status to establish deployment-specific readiness.