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.
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:
The above code caches the wsdl file to both memory and disk.