April 25, 2024
New features
- Input parameter
basePrice#
has been added to API call calculateShoppingCart. Fieldprice#
is meant for overriding API's pricing, while the new fieldbasePrice#
is for specifying a manually-entered or scanned price. The difference is in whether the price gets discounted by item promotions or not.
Improvements
- 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.
- For inventory transactions, inventory registrations and inventory transfers, background support for "numbering series" has been added. There are no externally-visible changes yet.
- All accounts now support 5 customer price lists.
Fixes
- Fixed: the JSON Web Token returned from the "verifyUser" call did not contain user's name (field
id_em
was empty). - 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".
- Fixed: some text input fields in calls "saveBillingStatement", "saveInventoryRegistration", "saveInventoryWriteOff", "saveProject", and "savePurchaseDocument" were double encoded, turning newlines into literal "\n" sequences.
- Fixed: The "saveSalesDocument" call did not allow to change the rows on a confirmed invoice when called with the "applicationKey" parameter.
- Fixed: Configuration parameters with a name that contains "_previous" were not returned by getConfParameters.