---
updatedAt: 2026-10-12T15:05:31.000Z
agentTools:
  projectIndex: https://wafeq.readme.io/llms.txt
---

# Retrieve credit note line item

Endpoint for retrieving a single credit note line item.

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "api-v1-credit-note-line-item": {
        "description": "A line item of a credit note.",
        "properties": {
          "account": {
            "description": "The account associated with this line item.",
            "type": "string"
          },
          "cost_center": {
            "description": "The cost center associated with this line item.",
            "type": "string"
          },
          "created_ts": {
            "description": "The timestamp in UTC when the line item was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "custom_fields": {
            "additionalProperties": {},
            "description": "A mapping of custom field IDs to their values.",
            "type": "object"
          },
          "description": {
            "description": "The line item description.",
            "type": "string"
          },
          "discount": {
            "description": "The discount as the percentage.",
            "exclusiveMaximum": 10000000000000000,
            "format": "double",
            "minimum": 0,
            "type": [
              "number",
              "null"
            ]
          },
          "id": {
            "description": "The unique identifier of the line item.",
            "readOnly": true,
            "type": "string"
          },
          "item": {
            "description": "The item associated with this line item.",
            "type": "string"
          },
          "item_unit_of_measure": {
            "description": "The item unit of measure for this line item.",
            "type": [
              "string",
              "null"
            ]
          },
          "legacy_id": {
            "description": "[Deprecated] The legacy identifier of the line item.",
            "readOnly": true,
            "type": "string"
          },
          "line_amount": {
            "description": "The total amount for this line item.",
            "exclusiveMaximum": 10000000000000000,
            "exclusiveMinimum": -10000000000000000,
            "format": "double",
            "readOnly": true,
            "type": "number"
          },
          "modified_ts": {
            "description": "The timestamp in UTC when the line item was last modified.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "order": {
            "description": "The position of the line item within the document.",
            "type": "integer",
            "writeOnly": true
          },
          "quantity": {
            "description": "The quantity of the item.",
            "exclusiveMaximum": 10000000000000000,
            "exclusiveMinimum": -10000000000000000,
            "format": "double",
            "type": "number"
          },
          "tax_amount": {
            "description": "The tax amount for this line item.",
            "exclusiveMaximum": 10000000000000000,
            "exclusiveMinimum": -10000000000000000,
            "format": "double",
            "readOnly": true,
            "type": "number"
          },
          "tax_exemption_reason": {
            "description": "The tax exemption reason of the line, as reporting to the tax authority needs it on a zero-rated or exempt line: a code the tax rate of the line offers (the TaxExemptionReasonCodes page lists them), or, on the KSA out-of-scope rate, the reason written out. On a rate that takes no reason, a reason sent is kept but not reported. `null` or `\"\"` clears the reason. Left out, a new line takes the default of its item, else the default of the contact (when the line is on the default revenue tax rate of the contact), else the default of its tax rate, else none. So does a line whose tax rate or item changes. Any other line keeps its reason, also when an update sends the lines again: each line is matched with the stored line that has its tax rate, item and description. On a finalized, partly paid or paid credit note, a PATCH of the line that sends only this field changes it, until the credit note is reported (then 403 `frozen_state_locked`); report it again with POST /v1/credit-notes/<id>/tax-authority/report/.",
            "maxLength": 1000,
            "type": [
              "string",
              "null"
            ]
          },
          "tax_rate": {
            "description": "The tax rate applied to this line item: the ID of the tax rate (`tax_…`). List the tax rates of the organization with GET /v1/tax-rates/. Add `expand=line_items.tax_rate` to get the full tax rate in the response.",
            "type": "string"
          },
          "unit_amount": {
            "description": "The unit amount of the item.",
            "exclusiveMaximum": 10000000000000000,
            "exclusiveMinimum": -10000000000000000,
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "account",
          "created_ts",
          "description",
          "id",
          "legacy_id",
          "line_amount",
          "modified_ts",
          "quantity",
          "tax_amount",
          "unit_amount"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "APIKeyAuth": {
        "description": "__An API key that will be supplied in  `Authorization` header.__\n\nExample:\n`Api-Key vVLOU1BB.aKz8GWaAGz0w1fO997aCMskNfS0ZpwjS`",
        "in": "header",
        "name": "Authorization",
        "type": "apiKey",
        "x-default": "Api-Key replace_with_your_api_key"
      }
    }
  },
  "info": {
    "title": "Wafeq Public API",
    "version": "v1"
  },
  "openapi": "3.1.1",
  "paths": {
    "/credit-notes/{credit_note_id}/line-items/{id}/": {
      "get": {
        "description": "Endpoint for retrieving a single credit note line item.",
        "operationId": "credit_notes_line_items_retrieve",
        "parameters": [
          {
            "in": "path",
            "name": "credit_note_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Comma-separated related objects to return in full instead of as IDs. Accepted values: `account`, `account.parent`, `cost_center`, `item`, `tax_rate`. Nested relations are joined with a dot.",
            "in": "query",
            "name": "expand",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api-v1-credit-note-line-item"
                }
              }
            },
            "description": ""
          }
        },
        "security": [
          {
            "APIKeyAuth": []
          }
        ],
        "summary": "Retrieve credit note line item",
        "tags": [
          "Credit Note Line Items"
        ]
      }
    }
  },
  "servers": [
    {
      "description": "Wafeq API Base URL",
      "url": "https://api.wafeq.com/v1"
    }
  ],
  "x-readme": {
    "proxy-enabled": false,
    "samples-languages": [
      "shell",
      "http"
    ]
  }
}
```