Provides methods, theming, connection, and validation tests for the Xero Accounting System with the PHP-Xero library.

The PHP-Xero library is published under the MIT license, which means you must download this library separately as per drupal.org policy. Xero.com uses a RESTful approach with oauth using an RSA encryption method. This method is not currently compatible with oauth, and you should not use that module with Xero API.

This uses Xero's private application model. You will need to follow their instructions to setup your private application for your organization.

API

  • Methods: Query data, cache data, and build forms around data.
  • Make API: Create array structures for various Xero data types.
  • Theme API: Theme functions and templates for basic data types.
  • Field API: Xero reference field stores Contact, Payment, BankTransaction, Account, and Invoice Xero types (7.x-1.0-beta2 or greater)
  • Tests: Connection test and validation assertions using SimpleTest.
  • Example: See included Ubercart Xero example.

Modules that use Xero API

Xero API provides methods as described in API.txt to let you develop modules. As an example, I have used the Xero API to create addhours and addhours_xero modules (private), which post hour entries as Invoice line items to Xero. You can make any GET or POST query as defined in the Xero Developer Documentation.

As such this module actually has no visible effect other than providing methods for a module developer to use and to test their own application. I found that there is no one way that Accounting is setup per organization.

Drupal 6 Roadmap

Drupal 7 Roadmap

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.1 tar.gz (23.37 KB) | zip (28.65 KB) 2012-Apr-18 Notes

Other releases

Version Downloads Date Links
7.x-1.0-beta3 tar.gz (29.8 KB) | zip (36.59 KB) 2013-Feb-17 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (29.82 KB) | zip (36.6 KB) 2013-May-17 Notes
6.x-1.x-dev tar.gz (24.17 KB) | zip (29.89 KB) 2013-May-17 Notes

Project Information


Maintainers for Xero API

  • mradcliffe - 52 commits
    last: 13 weeks ago, first: 2 years ago

Issues for Xero API

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here