> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api/cloudeka-backend/invoice-history-details.md).

# Invoice History Details

This API is used to get the invoice history details

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"Cloudeka Backend","description":"API endpoints for Cloudeka Backend (base: /core)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"description":"Type 'Bearer ' followed by your JWT token. Example: \"Bearer eyJhbGciOi...\"","type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"ai_backend__handler.SuccessRespond":{"type":"object","properties":{"code":{"type":"integer"},"data":{},"message":{"type":"string"}}},"ai_backend__balance.InvoiceDeposit":{"type":"object","properties":{"amount":{"type":"number"},"billed":{"type":"number"},"created_at":{"type":"string"},"description":{"type":"string"},"due_date":{"type":"string"},"id":{"type":"integer"},"invoice_stamps":{"$ref":"#/components/schemas/ai_backend__balance.InvoiceStamps"},"organization":{"$ref":"#/components/schemas/ai_backend__balance.Organization"},"organization_id":{"type":"string"},"ppn":{"type":"integer"},"ppn_value":{"type":"number"},"ref_no":{"type":"string"},"stamp":{"type":"string"},"stamp_expire_date":{"type":"string"},"stamp_value":{"type":"number"},"status":{"type":"string"},"status_erfina":{"type":"boolean"},"transaction_id":{"type":"integer"},"type":{"type":"string"},"user":{"description":"Association","allOf":[{"$ref":"#/components/schemas/ai_backend__balance.User"}]},"user_id":{"type":"string"}}},"ai_backend__balance.InvoiceStamps":{"type":"object","properties":{"created_at":{"type":"string"},"deletedAt":{"$ref":"#/components/schemas/ai_backend__gorm.DeletedAt"},"doc_pdf":{"type":"string"},"id":{"type":"string"},"invoice_id":{"type":"integer"},"sn":{"type":"string"}}},"ai_backend__gorm.DeletedAt":{"type":"object","properties":{"time":{"type":"string"},"valid":{"description":"Valid is true if Time is not NULL","type":"boolean"}}},"ai_backend__balance.Organization":{"type":"object","properties":{"address":{"type":"string"},"created_at":{"type":"string"},"details":{"type":"string"},"email":{"type":"string"},"id":{"type":"string"},"is_personal":{"type":"boolean"},"name":{"type":"string"},"npwp_corporate":{"type":"string"},"phone_number":{"type":"string"},"pic":{"type":"string"},"prefix":{"type":"string"},"segment":{"type":"string"},"service_type":{"type":"string"},"status":{"type":"integer"},"subsegment":{"type":"string"},"suspend_type":{"type":"string"},"user_id":{"type":"string"}}},"ai_backend__balance.User":{"type":"object","properties":{"address":{"type":"string"},"created_at":{"type":"string"},"email":{"type":"string"},"firstname":{"type":"string"},"fullname":{"type":"string"},"id":{"type":"string"},"is_creator":{"type":"boolean"},"ktp_file":{"type":"string"},"lastname":{"type":"string"},"npwp_file":{"type":"string"},"npwp_privacy":{"type":"string"},"organization_id":{"type":"string"},"organization_role_id":{"type":"integer"},"password":{"type":"string"},"phone_number":{"type":"string"},"photo":{"type":"string"},"role_id":{"type":"integer"},"status":{"type":"string"},"type":{"type":"string"}}}}},"paths":{"/core/balance/history/invoice/detail/{invoice_id}":{"get":{"description":"This API is used to get the invoice history details","tags":["Cloudeka Backend","Balance"],"summary":"Invoice History Details","parameters":[{"schema":{"type":"string"},"description":"Invoice ID","name":"invoice_id","in":"path","required":true}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ai_backend__handler.SuccessRespond"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ai_backend__balance.InvoiceDeposit"}}}]}}}}}}}}}
```
