---
schema_version: "1"
id: fd1e3d09bfd284d121765d0b90063ab136c406dd36baf15da17723ed583f60dc
title: PaymentRequestLine
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/sforce_api_objects_paymentrequestline.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/sforce_api_objects_paymentrequestline.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3191f1f41c359dcb299fbdecb0f80a5995f5387a06156d84619679f617c1c20e
description: Represents the line item details of the financial compensation request. This object is available in API version 54.0 and later.
---
# PaymentRequestLine

Represents the line item details of the financial compensation request. This object is available in API version 54.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Special Access Rules

This object is available if the add-on license for Claims Management is enabled. 

## Fields

### AdjustmentAmount

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Adjustment amount for reasons such as copay, deductible, and coinsurance.

### AdjustmentReason

- **Type**: multipicklist
- **Properties**: Create, Filter, Nillable, Update
- **Description**: The reason for adjustment.
    
    Possible values include:
    
    - Coinsurance
    - Copay
    - Deductible

### BenefitName

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The name of benefit associated with the payment request line, such as Physical Therapy or Ambulance Transportation.

### ClaimItemId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The claim item associated with the payment request line.
    
    This is a relationship field.
- **Relationship Name**: ClaimItem
- **Relationship Type**: Lookup
- **Refers To**: ClaimItem

### DiagnosticCodeId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The diagnostic code associated with the payment request line.
    
    This is a polymorphic relationship field.
- **Relationship Name**: DiagnosticCode
- **Relationship Type**: Lookup
- **Refers To**: CodeSet, CodeSetBundle

### EndDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The end date of services represented in the payment request line.

### FacilityId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The facility associated with the payment request line.
    
    This is a polymorphic relationship field.
- **Relationship Name**: Facility
- **Relationship Type**: Lookup
- **Refers To**: Account, Location

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp for when the current user last viewed a record related to this record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp for when the current user last viewed this record. If this value is null, it’s possible that this record was referenced (LastReferencedDate) and not viewed.

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of the Payment Request Line.

### PaymentRequestId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The payment request associated with the payment request line.
    
    This is a relationship field.
- **Relationship Name**: PaymentRequest
- **Relationship Type**: Lookup
- **Refers To**: PaymentRequest

### Quantity

- **Type**: int
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Number of units the payment request line represents, such as number of days in hospital.

### QuantityUnitOfMeasure

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Unit of measure for the quantity field.
    
    Possible values include:
    
    - Days
    - Nights
    - Visits

### RequestedAmount

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Amount that the requestor is seeking for payment, which is the service amount minus the adjustment amount.

### ServiceAmount

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Total service amount for the payment request line before adjustments.

### ServiceCodeId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The service code associated with the payment request line.
    
    This is a polymorphic relationship field.
- **Relationship Name**: ServiceCode
- **Relationship Type**: Lookup
- **Refers To**: CodeSet, CodeSetBundle

### ServiceProviderId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The service provider associated with the payment request line.
    
    This is a polymorphic relationship field.
- **Relationship Name**: ServiceProvider
- **Relationship Type**: Lookup
- **Refers To**: Account, Contact

### ServiceType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Type of requested service.
    
    Possible values include:
    
    - Device
    - Medication
    - Procedure
    - Repairs

### StartDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The start date of services represented in the payment request line.

### Status

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The status of the payment request line.
    
    Possible values include:
    
    - Paid
    - Partially Paid
    - Received

### UnitPrice

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: Unit Price for the quantity and quantity unit of measure.

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[PaymentRequestLineChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")

Change events are available for the object in API version 63.0 and later.

[PaymentRequestLineFeed](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[PaymentRequestLineHistory](https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.