Relative Content

Tag Archive for phpxero-api

Xero API: updateOrCreateInvoices Overwriting Contact Details

I am using Xero Invoice API POST request with PHP, specifically the updateOrCreateInvoices function in the Xero API to sync transactions. However, I’ve noticed that everytime I run this function, some contact details are being updated or overwritten, particularly the “additional persons” field. This field gets cleared out after the sync process.

Xero API getTaxRates deserialize issue

I’ve been working on integrating Xero API for syncing up transactional records to and from an ERP but I keep facing an error when attempting to sync transactions from the ERP to Xero which response with a 500.
I’ve narrowed down the issue to the function getTaxRates is called, specifically AccountingObjectSerializer::deserialize and I am really confused as to why this was the case.