We have deployed a new version of Sales Order Service API to production with under the hood stuff for future functionality and we have now made available full support for discount on document and line level!
Full support for discount on document and lines
We now support full discount on both document and line level. This give full support for document, group and line discounts according to configuration in the discount hierarchy when creating a new sales order. Document and group level discounts will be set automatically according to configuration. The same applies to line level discount supported according to branch, customer, customer price class, inventory price class, item, site (warehouse). In addition we have support for overriding with manual discount on line level, and setting manual discount flag on line level is automated when you override.