Rechnungsdetails ansehen

GET /accounting/invoices/:invoiceID

URL Variablen

Name Beschreibung
invoiceID ID der Rechnung

Response (application/json)

{
    "status": "success",
    "requestID": "57283892-af8c-41d8-825a-2198c3cb396d",
    "message": "success",
    "data": {
        "created": "2023-06-09T15:22:13.000Z",
        "total": 1.49,
        "status": "OPEN",
        "invoice": "https:\/\/invoice.24fire-gmbh.de\/8cb1ead1-2635-4898\/9fb6d6ad-b0f5-4bb4-b537-c3750bd0ac74",
        "positions": {
            "vms": {
                "30071": [
                    {
                        "type": "CREATE",
                        "start": "2023-05-31T00:38:40.000Z",
                        "stop": "2023-06-07T16:27:11.000Z",
                        "totalRuntime": null,
                        "monthlyPrice": 3.64,
                        "totalPrice": null
                    },
                    {
                        "type": "UP-DOWNGRADE",
                        "start": "2023-06-07T16:27:11.000Z",
                        "stop": "2023-06-09T15:22:13.000Z",
                        "totalRuntime": null,
                        "monthlyPrice": 8.39,
                        "totalPrice": null
                    }
                ],
                "30073": [
                    {
                        "type": "CREATE",
                        "start": "2023-06-09T12:49:57.000Z",
                        "stop": "2023-06-09T15:22:13.000Z",
                        "totalRuntime": null,
                        "monthlyPrice": 3.64,
                        "totalPrice": null
                    }
                ]
            }
        }
    }
}

Response Enums

Response Parameter Beschreibung
status Bezahl-Status der Rechnung

cURL

curl "https://live.fireapi.de/accounting/invoices/:invoiceID" -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "X-FIRE-APIKEY: REPLACE_API-KEY"

Anfrage testen