SupplierInvoice endpoint returns 204 on failed update

API: Supplier Ledger Version 8.54

There is a new improvement on the PUT SupplierInvoice endpoint. Earlier, when using this endpoint to update the invoice account, the system returned response “204 - NO Content”, no error message, and failed update for users with restricted access to that particular account.

This has now been fixed, but to be backward compatible and not break the existing integrations, the correct error message is displayed by the system if third party integrators will use the flag called ValidateLineDetails.

The following remarks have been added to swagger for the new property:
ValidateLineDetails: “It is recommended that the clients/integrators gradually adapt this setting. They should have a feature toggle of some sort on their side to enable/disable this. Once the functionality is matured, it can be set to default without any further worries”