API

API Version 1.108.0

April 25, 2024


April 25, 2024

New features

  1. Input parameter basePrice# has been added to API call calculateShoppingCart. Field price# is meant for overriding API's pricing, while the new field basePrice# is for specifying a manually-entered or scanned price. The difference is in whether the price gets discounted by item promotions or not.

Improvements

  1. Support for "inventory by document date" has been added: every inventory record gets be stamped with both the inventory transaction date and the document date, and inventory records get updated when document date changes. This allows a specialised report to show inventory as if all movements (in and out) have have happened on document's date. This reporting capability is available in Reports API.
  2. For inventory transactions, inventory registrations and inventory transfers, background support for "numbering series" has been added. There are no externally-visible changes yet.
  3. All accounts now support 5 customer price lists.

Fixes

  1. Fixed: the JSON Web Token returned from the "verifyUser" call did not contain user's name (field id_em was empty).
  2. Fixed: API call "processRecurringBilling" still added other rows to an invoice, even if it was created from a billing with the flag "Create separate invoice".
  3. Fixed: some text input fields in calls "saveBillingStatement", "saveInventoryRegistration", "saveInventoryWriteOff", "saveProject", and "savePurchaseDocument" were double encoded, turning newlines into literal "\n" sequences.
  4. Fixed: The "saveSalesDocument" call did not allow to change the rows on a confirmed invoice when called with the "applicationKey" parameter.
  5. Fixed: Configuration parameters with a name that contains "_previous" were not returned by getConfParameters.