SendRegning

Get dunning

Verison: 1.0 (read more)

Get dunning

If dunning doesn’t exist, the API will return HTTP status code 404 Not Found.

1
GET /dunnings/{number}

Response

HTTP/1.1 200 OK

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
33
34
35
36
37
38
39
40
41
42
43
{
    "number": 1,
    "dunningNumber": 1,
    "invoiceNumber": 10,
    "dunningText": "test dunning text",
    "dunningFee": 33.22,
    "total": 66.66,
    "interestRate": 9.25,
    "interest": 11.22,
    "dunningDate": "2015-01-01",
    "dueDate": "2015-01-15",
    "debtCollectionNotice": true,
    "invoiceBalance": 10.00,
    "invoiceBalanceDate": "2015-01-02",
    "_links": {
        "pdf": {
            "uri": "/view/invoice.action?id={id}&key={hash}?pcwm=0&dt=deptCollectionNotice&viewer=originator"
        },
        "invoiceDunnings": [
            {
                "dunningNumber": 1,
                "uri": "/dunnings/1"
            },
            {
                "dunningNumber": 2,
                "uri": "/dunnings/2"
            },
            {
                "dunningNumber": 3,
                "uri": "/dunnings/3"
            }
        ],
        "self": {
            "uri": "/dunnings/1"
        },
        "dunnedInvoice": {
            "uri": "/invoices/10"
        },
        "sendAgain": {
            "uri": "/dunnings/1/send"
        }
    }
}