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/v2/invoice/detail/{invoice_id}
GET /core/billing/v2/invoice/detail/{invoice_id} HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Accept: */*
200
Successful Response
{
"code": 200,
"data": {
"detail": {
"billing_account": "text",
"invoice": {
"billed": 1,
"deleted_at": "text",
"details": [
{
"billed": 1,
"billing_type": "text",
"billing_type_before": "text",
"days_calculated": 1,
"deleted_at": "text",
"discount_value": 1,
"discounts": [
{
"billed": 1,
"createdAt": "text",
"days_calculated": 1,
"deleted_at": "text",
"discount": 1,
"discount_value": 1,
"id": "text",
"invoice_detail_id": "text",
"price": 1,
"sub_total": 1,
"updatedAt": "text",
"voucher_discount_proj_id": "text"
}
],
"id": "text",
"invoice_id": "text",
"package_id": "text",
"ppn_value": 1,
"price": 1,
"project_id": "text",
"service_id": "text",
"service_type": "text",
"size": 1,
"size_unit": "text",
"status_payment": "text",
"sub_total": 1,
"usage_hours": 1,
"usage_id": "text"
}
],
"due_date": "text",
"id": "text",
"invoice_manual_payments": [
"[Circular Reference]"
],
"last_calculated_for": "text",
"number": 1,
"organization_id": "text",
"other_tax_base_amount": 1,
"payment_status": "text",
"ppn": 1,
"ppn_value": 1,
"price": 1,
"project": {
"cluster_ref_namespace": "text",
"created_at": "text",
"dekaprime_project_id": "text",
"deletedAt": "text",
"description": "text",
"doc_contract": "text",
"fixed_billing_price_per_month": 1,
"id": "text",
"interval_billing_per_month": 1,
"invoice_due_periode_per_day": 1,
"is_cilium_project_created": true,
"is_crd": true,
"is_deka_respati_enable": true,
"is_policy_project_created": true,
"is_rafay_project_created": true,
"is_subnet_project_created": true,
"name": "text",
"need_delete_openstack": true,
"network_number": "text",
"openstack_project_id": "text",
"organization": "[Circular Reference]",
"organization_id": "text",
"payment_method": "text",
"payment_type": "text",
"postpaid_fixed_type": "text",
"postpaid_type": "text",
"project_flavor_gpu": {
"created_at": "text",
"deletedAt": "text",
"harga_paket": 1,
"id": 1,
"is_first_top_up": true,
"item_id": "text",
"next_topup": 1,
"product": "text",
"project_id": "text",
"sync_crd": true
},
"region": "text",
"service_activation_date": "text",
"service_instance": [
{
"deletedAt": "text",
"id": "text",
"network_number": "text",
"product_id": "text",
"product_name": "text",
"project_id": "text"
}
],
"status": 1,
"suspend_date": "text",
"tags": [
{
"color": "text",
"created_at": "text",
"deleted_at": "text",
"description": "text",
"id": "text",
"name": "text",
"updated_at": "text"
}
],
"termination_date": "text",
"type": "text",
"updated_at": "text",
"vat_address": "text",
"vat_id": "text",
"vat_name": "text",
"vcluster_cluster": "text",
"vcluster_cluster_obj": {
"cluster_name": "text",
"created_at": "text",
"deletedAt": "text",
"description": "text",
"id": "text",
"status": true,
"updated_at": "text"
},
"vcluster_data": {
"apiVersion": "text",
"kind": "text",
"metadata": {
"creationTimestamp": "text",
"generation": 1,
"managedFields": [
{
"apiVersion": "text",
"fieldsType": "text",
"fieldsV1": {
"f:spec": {
".": {},
"f:clusterRef": {},
"f:displayName": {},
"f:owner": {
".": {},
"f:user": {}
},
"f:templateRef": {
".": {},
"f:name": {}
}
},
"f:status": {}
},
"manager": "text",
"operation": "text",
"time": "text"
}
],
"name": "text",
"namespace": "text",
"resourceVersion": "text",
"uid": "text"
},
"spec": {
"clusterRef": {
"cluster": "text",
"namespace": "text",
"virtualCluster": "text"
},
"displayName": "text",
"owner": {
"user": "text"
},
"templateRef": {
"name": "text"
}
},
"status": {
"message": "text",
"phase": "text",
"reason": "text"
}
},
"vcluster_name": "text",
"vcluster_namespace": "text",
"vcluster_template": "text"
},
"project_id": "text",
"service_type": "text",
"stamp": "text",
"stamp_expire_date": "text",
"stamp_value": 1,
"start_date": "text",
"status_invoice_erfina": true,
"status_usage_erfina": true,
"sub_total": 1,
"total": 1,
"total_discount": 1,
"type": "text"
}
},
"payments": [
{
"amount": 1,
"created_at": "text"
}
],
"services": [
{
"billed": 1,
"billing_type": "Trial",
"date": "text",
"discount": 1,
"discount_value": 1,
"package_id": "text",
"price": 1,
"price_unit": "hour",
"service_id": "text",
"service_name": "text",
"service_type": "INSTANCE",
"service_type_name": "text",
"size": 1,
"size_unit": "text",
"specification": "text",
"usage": "text",
"usage_hours": 1
}
]
},
"message": "Success"
}Last updated