Billings Overview
| Property | Type | Description | Information |
|---|---|---|---|
id | int | Identifier | Unique for single Client contract. |
month | int | Overview month | |
year | int | Overview year | |
created_at | date | Client creation date | Date of Client creation |
updated_at | date | Client latest update date | Date of latest Client update |
Example:
Note: As default this shows all related billings. Billings are grouped by client_id (client_name) and by model_type. Model type refers to enumerator, which can be find in billings-overview-relations.md.
{
"id": 148,
"month": 2,
"year": 2024,
"items": [
{
"client_id": 2,
"client_name": "KAITRADE spol. s r.o.",
"overview": [
{
"model_type": "1",
"billings": [
{
"id": 52,
"name": "Klientská smlouva ",
"model_type": "1",
"model_id": "6",
"date": "2024-01-31T23:00:00.000000Z",
"billings_overview_id": 148,
"responsible_person_id": 39,
"responsible_person_name": "Martin Pech",
"note": null,
"client_id": 2,
"client_name": "KAITRADE spol. s r.o.",
"created_at": "2024-02-19T09:54:32.000000Z",
"updated_at": "2024-02-19T09:54:32.000000Z",
"past_deadline": false,
"past_deadline_notified_at": null,
"invoice_number": null
},
{
"id": 53,
"name": "Klientská smlouva ",
"model_type": "1",
"model_id": "7",
"date": "2024-02-01T23:00:00.000000Z",
"billings_overview_id": 148,
"responsible_person_id": 39,
"responsible_person_name": "Martin Pech",
"note": null,
"client_id": 2,
"client_name": "KAITRADE spol. s r.o.",
"created_at": "2024-02-19T09:54:32.000000Z",
"updated_at": "2024-02-20T09:45:19.000000Z",
"past_deadline": false,
"past_deadline_notified_at": null,
"invoice_number": null
}
]
},
{
"model_type": "3",
"billings": [
{
"id": 54,
"name": "kaitrade.cz / grafické práce",
"model_type": "3",
"model_id": "1",
"date": "2024-02-07T23:00:00.000000Z",
"billings_overview_id": 148,
"responsible_person_id": null,
"responsible_person_name": null,
"note": "Fixed",
"client_id": 2,
"client_name": "KAITRADE spol. s r.o.",
"created_at": "2024-02-19T09:54:32.000000Z",
"updated_at": "2024-02-19T09:54:32.000000Z",
"past_deadline": false,
"past_deadline_notified_at": null,
"invoice_number": null
}
]
}
]
},
{
"client_id": 3,
"client_name": "Nadační horka s.r.o.",
"overview": [
{
"model_type": "3",
"billings": [
{
"id": 55,
"name": "athletebox.cz / právní dokumenty",
"model_type": "3",
"model_id": "2",
"date": "2024-02-01T23:00:00.000000Z",
"billings_overview_id": 148,
"responsible_person_id": 1,
"responsible_person_name": "Aleš Bžatek",
"note": null,
"client_id": 3,
"client_name": "Nadační horka s.r.o.",
"created_at": "2024-02-19T09:54:32.000000Z",
"updated_at": "2024-02-20T09:45:23.000000Z",
"past_deadline": false,
"past_deadline_notified_at": null,
"invoice_number": null
},
{
"id": 56,
"name": "athletebox.cz / aktualizace a servis",
"model_type": "3",
"model_id": "3",
"date": "2024-01-31T23:00:00.000000Z",
"billings_overview_id": 148,
"responsible_person_id": 1,
"responsible_person_name": "Aleš Bžatek",
"note": null,
"client_id": 3,
"client_name": "Nadační horka s.r.o.",
"created_at": "2024-02-19T09:54:32.000000Z",
"updated_at": "2024-02-19T09:54:32.000000Z",
"past_deadline": false,
"past_deadline_notified_at": null,
"invoice_number": null
}
]
}
]
}
],
"created_at": "2024-02-19T10:54:32+0100",
"updated_at": "2024-02-19T10:54:32+0100",
"_links": [
{
"href": "/api/v0/billings-overviews/148",
"rel": "self",
"type": "GET"
}
]
}