# A transaction must be in the status of billed or completed to be revised.

A transaction must be in the status of billed or completed to be revised.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "transaction_invalid_status_to_revise",
    "detail": "You can't revise a transaction that's not in the status of `billed` or `completed`",
    "documentation_url": "https://developer.paddle.com/errors/transactions/transaction_invalid_status_to_revise"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `transaction_invalid_status_to_revise` |
| Error message | You can't revise a transaction that's not in the status of `billed` or `completed` |

## Common causes

- You're trying to revise a transaction with a current invalid status.

## Common solutions

- Verify the transaction has the status of `billed` or `completed`.
