# Discounted

Source: https://developer.avalara.com/products/excise/integration-guides/excise/yrz4513268816471/

Guide: AvaTax Excise

# Discounted

Learn about the `Discounted` flag in the RestTransactionLine model and how it applies to transaction lines.

**Element type**: Conditional

**Endpoints/models used**: [RestTransactionLine](https://developer.avalara.com/api-reference/excise/v1/models/Avalara.Excise.Determination.Engine.RestTransactionLine/)

If users can specify a `Discount` amount at the document level, then they must be able to specify whether that value applies to a transaction line. This is done using the `Discounted` flag in the [RestTransactionLine](https://developer.avalara.com/api-reference/excise/v1/models/Avalara.Excise.Determination.Engine.RestTransactionLine/) model.

## Example

```
{
  "TransactionLines": [
    {
      "InvoiceLine": 10,
      "ProductCode": "VLEAF",
      "UnitPrice": 20,
      "BilledUnits": 200,
      "GrossUnits": 200,
      "NetUnits": 200,
      "LineAmount": "",
      "AlternateUnitPrice": 1.00,
      "AlternateLineAmount": "",
      "UnitOfMeasure": "PAK",
      "UnitQuantity": 5,
      "UnitQuantityUnitOfMeasure": "EA",
      "UnitVolume": 0.5,
      "UnitVolumeUnitOfMeasure": "ML",
      "UnitWeight": "",
      "UnitWeightUnitOfMeasure": "",
      "Origin": "Loc8675",
      "Destination": "Loc3098",
      "SaleCountryCode": "USA",
      "SaleJurisdiction": "IL",
      "SaleCounty": "Cook",
      "SaleCity": "Chicago",
      "SalePostalCode": "60601",
      "SaleAddress1": "",
      "UserData": "Test_Vapor",
      "Currency": "USD",
      "CustomString1": "Flag1",
      "CustomString2": "Flag2",
      "CustomString3": "Flag3",
      "CustomString4": "",
      "CustomString5": "",
      "CustomString6": "",
      "CustomString7": "",
      "CustomString8": "",
      "CustomString9": "",
      "CustomString10": "",
      "CustomNumeric1": 1,
      "CustomNumeric2": 2,
      "CustomNumeric3": 3,
      "CustomNumeric4": 0,
      "CustomNumeric5": 0,
      "CustomNumeric6": 0,
      "CustomNumeric7": 0,
      "CustomNumeric8": 0,
      "CustomNumeric9": 0,
      "CustomNumeric10": 0,
      "TaxIncluded": false,
      "Discounted": false,
      "EntityUseCode": ""
    }
  ],
  ...
}
```