fbpx

API Change – Insert Customer “UseCustomDeliveryAddress” element

Another improvement to our accounting software based on feedback from our customers:

 

We have added a new required field when using PHP coding in order to insert an invoice into the system, this will require some changes to be made to your current code. By doing this you will be able to change a delivery address on  a per invoice basis to produce accurate packing slips.

You will need to add the “UseCustomDeliveryAddress” element in your request and set the value to false.

Note*****

We would advise caching the web service description file so that any new changes made to the SOAP API won’t affect your code and prevent any error messages:

ini_set(‘soap.wsdl_cache_enabled’, ‘1’);
ini_set(‘soap.wsdl_cache’, ‘3’);

The above code caches the wsdl file to both memory and disk.

See how KashFlow works with your business and your books