Goodwill refund

Add a credit (discount) about 10 Euros.

Credit

Copy
Copied
<operation subtype="credit">PAYMENT_CHANGE</operation>

XML request

Copy
Copied
PAYMENT_CHANGE.xml
<shopping-basket amount="-10" currency="EUR">
	<discount unit-price-gross="-10" tax-rate="19.00">Refund</discount>
</shopping-basket>

Result

# Price Cart :x Ship Return
<item> A 90 € 1
<item> B 30 € 1 2
<item> C 10 € 1 4
<discount> -5 € -2.5 € -12.5 € -2.5 €
<shipping> 5 € 5 €

Claim

Amount
Invoice 1 107.50 €
Return request 1 87.50 €
Invoice 2 52.50 €
Goodwill refund 10.00 €
Total 62.50 €