Invoice Details
This API is used to get an invoice details
get
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Path parameters
invoice_idstringRequired
Invoice ID
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200messagestringOptionalExample:
Successget/core/billing/invoice/detail/{invoice_id}
GET /core/billing/invoice/detail/{invoice_id} HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Accept: */*
200
Successful Response
{
"code": 200,
"data": {
"detail": {
"billed": 1,
"billing_account": "text",
"due_date": "text",
"id": "text",
"last_calculated_for": "text",
"number": 1,
"organization_id": "text",
"payment_status": "text",
"ppn": 1,
"ppn_value": 1,
"price": 1,
"project": {
"deletedAt": "text",
"id": "text",
"name": "text",
"organization_id": "text",
"payment_method": "text",
"postpaid_fixed_type": "text",
"postpaid_type": "text"
},
"project_id": "text",
"service_type": "text",
"stamp": "text",
"stamp_expire_date": "text",
"stamp_value": 1,
"start_date": "text",
"total_discount": 1,
"type": "text"
},
"list": {
"daily_backup": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"deka_agent": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"deka_registry": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"deka_rock": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"floating_ip": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"instance": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"manage_service": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"manage_service_addon": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"object_storage": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"open_vpn": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"os": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"root_disk": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"slb": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"snapshot": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"storage": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
],
"vpn_ipsec": [
{
"billed": 1,
"created_at": "text",
"deleted_at": "text",
"discount_value": 1,
"name": "text",
"price": {
"per": "text",
"value": 1
},
"specification": "text",
"type": "text",
"usage": "text"
}
]
},
"payments": [
{
"amount": 1,
"created_at": "text"
}
]
},
"message": "Success"
}Last updated