# debit-history

The billing debit-history command displays a detailed history of debit transactions for a project. It shows deductions, charges, and related payments within the specified date range.

## Usage

```
cldkctl billing debit-history [project id] [flags]
```

## Steps

Follow the steps below to run and view the result of this command:

1. Run the following command in your terminal:

```
cldkctl billing debit-history
```

or, to filter by a specific date range:

```
cldkctl billing debit-history --start --end .
```

2. The command will display a table showing the transaction history for the specified project.

<figure><img src="/files/W1JF184JjVm1qwUjsvmg" alt=""><figcaption></figcaption></figure>

| Column       | Description                                                                                                            |
| ------------ | ---------------------------------------------------------------------------------------------------------------------- |
| Project Name | Name of the project associated with the transaction records.                                                           |
| Date         | The date of each debit transaction.                                                                                    |
| Status       | Indicates the transaction status (e.g., Success, Failed, Pending).                                                     |
| Amount       | The deducted amount per transaction (in IDR).                                                                          |
| Total        | The cumulative total of all debited transactions on the listed date.                                                   |
| Running Date | The date when the transaction was processed by the system.                                                             |
| Running By   | The system or process responsible for executing the transaction.                                                       |
| Description  | Details or notes describing the transaction purpose or type (e.g., service charge, refund adjustment, resource usage). |

## Flags

| Flag           | Description                                                        |
| -------------- | ------------------------------------------------------------------ |
| --start string | Specify the start date for the debit history (format: YYYY-MM-DD). |
| --end string   | Specify the end date for the debit history (format: YYYY-MM-DD).   |
| -h, --help     | Help for the debit-history command.                                |

{% hint style="info" %}
This command supports [global flags](/cloudeka-api-list/global-flags.md). Refer to the Global Flags section for details
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-billing/debit-history.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
