---
schema_version: "1"
id: 4d39ad1a4a6503b5bd15aa29900de24e1f9ecbc360f47da566dd279da2ebe375
title: CreditMemoInvApplication
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_creditmemoinvapplication.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_creditmemoinvapplication.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1c1c397f6e03ce9c08442eb64a0c0627b36eed0cd2503c5c2972011570e251f5
description: Represents an amount applied from a credit memo to an invoice. This object is available in API version 48.0 and later.
---
# CreditMemoInvApplication

Represents an amount applied from a credit memo to an invoice. This object is available in API version 48.0 and later.

## Supported Calls

describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), update()

## Special Access Rules

This object is available with Subscription Management and Billing (Revenue Cloud).

For information about this object that's available with Billing (Revenue Cloud), including its special access rules, see the [Revenue Cloud Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.264.0.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/sforce_api_objects_creditmemoinvapplication.htm "HTML (New Window)").

## Fields

| Field | Details |
| --- | --- |
| Amount | 
Type

currency

Properties

Filter, Sort

Description

The amount of the credit memo that was applied to or unapplied from the invoice.



 |
| AppliedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when the credit memo was applied. If the credit memo invoice application's type is Unapplied, this value is inherited from the Applied date of the credit memo referenced in the AssociatedLineId.



 |
| AssociatedLineId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

For a credit memo invoice application that represents an unapplied credit memo, this field shows the original credit memo invoice application.

This field is a relationship field.

Relationship Name

AssociatedLine

Relationship Type

Lookup

Refers To

CreditMemoInvApplication



 |
| CreditMemoBalance | 

Type

currency

Properties

Filter, Nillable, Sort

Description

The balance of a credit memo after a credit memo is applied or unapplied. This field is a snapshot of the credit memo's balance after the action. It isn't updated after further changes to the credit memo balance.



 |
| CreditMemoId | 

Type

reference

Properties

Filter, Group, Sort

Description

The credit memo that was applied or unapplied.

This field is a relationship field.

Relationship Name

CreditMemo

Relationship Type

Lookup

Refers To

CreditMemo



 |
| CreditMemoInvoiceNumber | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

Number of the invoice to which a credit memo is applied.



 |
| Date | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

Date when the credit memo amount was applied to the invoice.



 |
| Description | 

Type

string

Properties

Filter, Group, Nillable, Sort, Update

Description

Description of the credit applied to an invoice.



 |
| EffectiveDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The effective date of the application or unapplication of credit. Users can provide this value when applying or unapplying the credit memo. This field is optional and provided only for reporting purposes. It doesn't affect the credit memo invoice application's other fields.



 |
| HasBeenUnapplied | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Shows whether this credit memo application has been unapplied from the target invoice.

Possible values are:

- NA
- No
- Yes





 |
| ImpactAmount | 

Type

currency

Properties

Filter, Nillable, Sort

Description

The net adjustment to the invoice's balance after a credit memo is applied or unapplied. If a credit memo was applied, this value is the negative version of the credit memo invoice application's Amount. If a credit memo was unapplied, this value is the positive version of the credit memo invoice application's Amount.

This field is a calculated field.



 |
| InvoiceBalance | 

Type

currency

Properties

Filter, Nillable, Sort

Description

The balance of the credit memo after a credit memo is applied or unapplied. This field is a snapshot of the credit memo's balance after the action. It isn't updated after further changes to the credit memo balance.



 |
| InvoiceId | 

Type

reference

Properties

Filter, Group, Sort

Description

ID of the invoice to which credit is applied.

This field is a relationship field.

Relationship Name

Invoice

Relationship Type

Lookup

Refers To

Invoice



 |
| Type | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

Indicates whether the credit memo line application was generated because of an apply action (application) or an unapply action (unapplication).

Possible values are:

- Applied
- Unapplied





 |
| UnappliedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when this application was unapplied from the target invoice.



 |

## 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.

[CreditMemoInvApplicationFeed](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/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.

[CreditMemoInvApplicationHistory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/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.