Retrieving the invoice
By default, Klarna automatically sends the invoice to the buyer by e-mail.
However, the merchant also has the possibility to retrieve it (and to send it to the buyer, if necessary).
To do this, the merchant must retrieve the value of the ocrNumber field after the payment capture.
The merchant has two possibilities to retrieve the value of the ocrNumber field:
- Configure the Instant Payment Notification URL on batch modification (see chapter Setting up the Notification on batch change).
- Use the getPaymentDetails operation of Web Services v5.