---
title: "Get the discount line item for an invoice"
method: GET
path: "/api/invoices/{invoiceId}/discount-line-item"
tags: ["Invoice Discount Line Item"]
---

# Get the discount line item for an invoice

`GET /api/invoices/{invoiceId}/discount-line-item`

## Path parameters

- `invoiceId` string, required

## Response `200`

Discount line item

- InvoiceDiscountLineItemDto — Represents a discount line item on an invoice.
  - `id` string, required — Unique id associated to this entity.
  - `name` string, required — The name of the discount line.
  - `description` string, nullable — The description of the discount line.
  - `isPercentage` boolean, required — Indicates whether FulcrumProduct.PublicApi.Dto.Invoice.DiscountLineItem.DiscountLineItemDto.Amount discount is percentage based (else, it's an absolute amount).
  - `amount` number, double, required — The amount of the discount.
  - `externalReferences` object, nullable — Arbitrary key-value-pair like data that can be used to later on search for this line item.
  - `number` integer — Line number
  - `accountingDetails` CommonAccountingDetailsDto, required — An object that contains all accounting details.
    - `classId` string, nullable — Item class identifier. Please reference /api/item-classes endpoint.
    - `incomeAccountId` string, nullable — Income account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.
    - `assetAccountId` string, nullable — Asset account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.
    - `expenseAccountId` string, nullable — Expense account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.
    - `cogsAccountId` string, nullable — COGS account (chart of accounts) key identifier. Please reference /api/chart-of-accounts endpoint.
  - `price` number, double, nullable — The calculated amount of this discount.

## Other responses

- `204` — Discount line item does not exist
- `404` — Invoice did not exist

---

[API](https://skmtc.net/fulcrumpro/apis/fulcrum-publicapi.md) · [All operations](https://skmtc.net/fulcrumpro/apis/fulcrum-publicapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fulcrumpro/fulcrum-publicapi/revisions/a41e60b375bc/schema)
