GET api/v1/invoices/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Invoice| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| number | string |
None. |
|
| date | date |
None. |
|
| due_date | date |
None. |
|
| date_of_taxable_supply | date |
None. |
|
| total_amount | decimal number |
None. |
|
| establishment | CodeListSystem |
None. |
|
| charging_station | CodeListSystem |
None. |
|
| charging_point | CodeListSystem |
None. |
|
| description | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"number": "sample string 2",
"date": "2026-02-08T12:04:21Z",
"due_date": "2026-02-08T12:04:21Z",
"date_of_taxable_supply": "2026-02-08T12:04:21Z",
"total_amount": 6.0,
"establishment": {
"code": "sample string 1",
"is_cabel": true,
"id": 3,
"name": "sample string 4"
},
"charging_station": {
"code": "sample string 1",
"is_cabel": true,
"id": 3,
"name": "sample string 4"
},
"charging_point": {
"code": "sample string 1",
"is_cabel": true,
"id": 3,
"name": "sample string 4"
},
"description": "sample string 7"
}
application/xml, text/xml
Sample:
<Invoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models">
<charging_point>
<id>3</id>
<name>sample string 4</name>
<code>sample string 1</code>
<is_cabel>true</is_cabel>
</charging_point>
<charging_station>
<id>3</id>
<name>sample string 4</name>
<code>sample string 1</code>
<is_cabel>true</is_cabel>
</charging_station>
<date>2026-02-08T13:04:21.2157292+01:00</date>
<date_of_taxable_supply>2026-02-08T13:04:21.2157292+01:00</date_of_taxable_supply>
<description>sample string 7</description>
<due_date>2026-02-08T13:04:21.2157292+01:00</due_date>
<establishment>
<id>3</id>
<name>sample string 4</name>
<code>sample string 1</code>
<is_cabel>true</is_cabel>
</establishment>
<id>1</id>
<number>sample string 2</number>
<total_amount>6</total_amount>
</Invoice>