How is voucher data sent to ERP?¶
Voucher data is sent to ERP in
If enabled in the configuration, an additional line with negative quantity is also sent. The ERP must respond with negative cost.
Data sent in the header¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
What happens if a voucher is invalid?¶
The ERP can send a message that the voucher is invalid. In that case this message is displayed in the basket. The message must be mapped into a response like this:
1 2 3
In addition the
CostType have to be set in
1 2 3
Does the price engine have access to a voucher code?¶
The price request contains the voucher code:
The customer can provide one or more vouchers during checkout.
extendedData structure provides simple data structures only.
This is why the field name contains the voucher number as well (here