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
- #1692120: Typo: "applicaiton" in Xero Application link
Fork PHP-Xero on github
Drupal 7 Roadmap
- #1516248: Write initial code for Drupal 7 branch
- #1692134: Branch off of Rohan's PHP-Xero fork and merge in the verify() method
Support PDF and other new Xero features
- #1903878: Create Xero field type and formatter
- Improve validation tests
Downloads
Recommended releases
Other releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Reported installs: 11 sites currently report using this module. View usage statistics.
- Downloads: 338
- Last modified: February 19, 2013