email_invoice
Purpose: The email_invoice function is used to send an active invoice to the customer via e-mail. Please note! Regular postal service is used if the customer lacks an e-mail address.
Example PHP code
email_invoice($eid, $invno, $secret, &$result)
Input Data:
| Required | Variable | Type | Description |
|---|---|---|---|
| eid | integer | A store ID which refers to your store in Klarna's database | |
| invno | string | The active invoice number | |
| secret | string | Not a necessary parameter in today's integration. |
Return Value:
Invoice number.
Errors
| Error | Description |
| unknown_invoice | The invoice number does not exist. |
| invoice_not_active | This invoice is not active and therefore cannot be sent. |
| invalid_estore_secret | The shared secret does not match the estore id. |


Subscribe to our RSS feed for technical updates