---
title: "List pricing rule logs"
method: GET
path: "/invoice/{invoice_id}/pricing_rules_logs"
tags: ["Invoices"]
---

# List pricing rule logs

`GET /invoice/{invoice_id}/pricing_rules_logs`

List pricing rule logs

## Path parameters

- `invoice_id` string, required

## Response `200`

Response for list Invoice Pricing Rules Logs Request

- PricingRulesLogsPaginatedResponse — Pricing Rules Logs response
  - `data` PricingRulesLog[], required
    - `id` string, required
    - `type` 'CONDITION_TRUE' | 'CONDITION_FALSE' | 'CONDITION_ERROR' | 'COMPUTATION_ERROR'
    - `order` integer, required
    - `changes` PricingRuleChangesLog, required — Pricing Rules Logs Changes
      - `key` string, required
      - `keyName` string
      - `oldRevenue` number, required
      - `newRevenue` number, required
      - `oldUsage` number
      - `newUsage` number
      - `errorMessage` string
    - `rule` PricingRuleInfo — Pricing Rule Info
      - `id` string, required
      - `name` string
      - `condition` string
      - `computation` string
    - `variablesValue` object, nullable

## Other responses

- `400` — Error response
- `401` — Error response
- `403` — Error response
- `404` — Error response
- `429` — Error response
- `default` — Error response

---

[API](https://skmtc.net/togaihq/apis/togai-apis.md) · [All operations](https://skmtc.net/togaihq/apis/togai-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/togaihq/togai-apis/revisions/442f5d8f4aa0/schema)
