Operation Manual

Providing the Personal Shopper Information
The value in the retrieveDetail request must be equal to the following calculation from the
retrieveDetailResponse (in pseudo code):
value = 0;
for each (InvoiceLine in lines) {
value += (itemPrice + itemVAT) * numberOfItems ;
}
totalValue = value;
Figure 2: Pseudo Code for Calculating the Total Value of the Invoice Lines
Please note that if the total value of the retrieved invoice lines is not equal to the amount that was requested
an error will be displayed to the shopper. This means that the transaction ends and can not be completed!
8 Copyright © Adyen B.V. 2010