> 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/daily-invoice-range.md).

# Daily Invoice Range

This API is intended for superadmin to calculate daily billing invoice based on a range

```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__requests.ListBillingParam":{"type":"object","properties":{"month":{"type":"integer"},"organizationID":{"type":"string"},"year":{"type":"integer"}}}}},"paths":{"/core/billing/calculate-invoice-daily-range":{"get":{"description":"This API is intended for superadmin to calculate daily billing invoice based on a range","tags":["Cloudeka Backend","Billing"],"summary":"Daily Invoice Range","parameters":[{"schema":{"type":"string"},"description":"Organization ID","name":"organization_id","in":"query","required":true},{"schema":{"type":"string"},"description":"Start Date with `YYYY-MM-DD` Format","name":"start_date","in":"query","required":true},{"schema":{"type":"string"},"description":"End Date with `YYYY-MM-DD` Format","name":"end_date","in":"query","required":true}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_backend__handler.SuccessRespond"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_backend__requests.ListBillingParam"}}},"description":"Last Month Organization Bills Payload","required":true}}}}}
```
