SendRegning

Resend

Verison: 1.0 (read more)

You can resend already issued invoices, by posting the sending methods you want.

1
POST /invoices/{invoiceNumber}/send

To choose which sending methods you want, just add the properties referring to them. E.g. If you want to send on paper, only add the paper property to the object.

Request

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
    "paper": {},
    "email": [
        {
            "address": "adam@sendregning.no"
        },
        {
            "address": "orby@sendregning.no"
        }
    ],
    "ehf": {},
    "sms": [
        {
            "mobileNumber": "12345678",
            "message": "sms text 1"
        },
        {
            "mobileNumber": "11223344",
            "message": "sms text 2"
        }
    ],
    "copy": {
        "email": [
            {
                "address": "copy@sendregning.no"
            },
            {
                "address": "copy2@sendregning.no"
            }
        ]
    }
}
Name Description Required Type Limitation
paper Shipment on paper to address specified on recipient.
The object should stay empty.
Object
address1 conditioned String 64 characters
address2 conditioned String 64 characters
zip If paper object is not empty, then this field is mandatory. conditioned String 8 characters
city If paper object is not empty, then this field is mandatory. conditioned String 64 characters
country If paper object is not empty, then this field is mandatory. conditioned String 64 characters
ehf Shipment as EHF. Empty object Object
email List of emails objects Array
address Email address of the receiver of this invoice. yes String 64 characters
htmlContent Message that will be used in the email sent. String 120 characters
sms List of sms objects Array
mobileNumber A valid mobileNumber to send the invoice to. yes String 8 characters
message A message that will be added along the link. yes String 140 characters
copy Copy shipment options Object
email List of emails objects Array
address Email address of the receiver of this invoice. yes String 64 characters
htmlContent Message that will be used in the email sent. String 120 characters