xero-php
xero-php copied to clipboard
A php library for the Xero API, with a cleaner OAuth interface and ORM-like abstraction.
I am looking at including the Sales Settings: **Tax Inclusive** when adding a Contact through this library. However, there isn't a property for the object (refer to screenshot). I understand...
I'm rather new to this and failing at finding out how I can simply pull the latest bank statements for an account (as seen under my Main Account -> Bank...
As mentioned in #322 I am working on implementing PayrollUK in [my fork][fork], but I am having issues understanding how to implement [employment][employment] on an [employee][employee]. ###### `PayrollUK\Employee` ```php #...
The following call to retrieve Assets... `$fixed_assets = $xero->load('Assets\\AssetType')->execute();` Results in this error: `Uncaught XeroPHP\Remote\Exception: Invalid API passed to XeroPHP\URL::__construct(). Must be XeroPHP\URL::API_* in /*/XeroPHP/Remote/URL.php:95`
To update an item Xero requires the Code property to be passed even if you have the GUID of the item. The only way I can see to update an...
I am trying to load a contact and update it with the default `Sales Tracking Category` and `Branding Theme`. This is what I have tried: ``` // Load contacts matching...
When saving an item I was getting 2 errors: The first seems to be fixed in a pull request - **InventoryAssetAccountCode** should not be required. The other is because **addPurchaseDetail**...
XeroPHP/Models/Accounting/ManualJournal/JournalLine::getProperties ``` 'Tracking' => [false, self::PROPERTY_TYPE_OBJECT, 'Accounting\\TrackingCategory', true, false], ``` Tracking in JournalLine is an array already. I am not sure why XeroPHP can't deserialize and let me to add...
I wasn't sure of the best way of solving this. If I populate a new remote object using fromStringArray() and then call save on it, nothing happens. After looking at...
When using the `addPurchaseDetail` method in `Item.php` the purchase detail is added as a new array element. This causes an issue in the `arrayToXML` method in the `Helpers.php` file. When...