---
title: RefundLineItem
framework: externalpurchaseserverapi
role: symbol
role_heading: Object
path: externalpurchaseserverapi/refundlineitem
---

# RefundLineItem

The line item that indicates a refund transaction.

## Declaration

```data
object RefundLineItem
```

## Properties

lineItemId: A unique identifier for the transaction, that you determine. The value must be unique per app. Using UUIDs is recommended. Reuse a lineItemId only to submit a correction for a previously submitted line item. referenceLineItemId: The lineItemId of the initial purchase transaction that receives a refund. creationDate: The UNIX date, in milliseconds, you completed the transaction. restatement: Set to true to indicate that this line item is correcting (restating) a refund line item that you previously submitted. For more information, see Reporting corrections. erroneouslySubmitted: Set to true to indicate that you previously submitted the line item in error. Set the restatement field to true also. For more information, see Reporting corrections. pricingCurrency: The currency the transaction used to charge or refund the customer. For more information, see pricingCurrency. reportingCurrency: The currency you use to report all the amount fields, including amountTaxExclusive, amountTaxInclusive, netAmountTaxExclusive, and taxAmount. For  more information, see reportingCurrency. exchangeRate: The exchange rate you use to calculate the amounts, from the pricing currency to the reporting currency, if the customer is billed in an unsupported currency. For more information, see exchangeRate. amountTaxExclusive: The amount that the customer paid, excluding taxes, that you state in milli-units of the reporting currency. For more information, see amountTaxExclusive. amountTaxInclusive: The amount that the customer paid, including taxes, that you state in milli-units of the reporting currency. For more information, see amountTaxInclusive. netAmountTaxExclusive: The net amount the customer was charged, accurate to the current line item, that you state in milli-units of the reporting currency. This amount excludes tax, and accounts for all refunds and restatements. For more information, see netAmountTaxExclusive. taxAmount: The amount the customer paid in taxes, that you state in milli-units of the reporting currency. For more information, see taxAmount. taxCountry: The country code of the country for which taxes were paid on the purchase. For more information, see taxCountry. eventType: Use REFUND.

## Mentioned in

Reporting tokens with transactions Reporting corrections

## Discussion

Discussion Use a RefundLineItem to report either: A refund for a purchase transaction you previously submitted, or A correction to a refund you previously submitted For more information about sending a report that includes refund line items, see Reporting tokens with transactions. Report chargebacks as a refund.

## See Also

### External purchase report transactions

- [Reporting tokens with transactions](externalpurchaseserverapi/reportwithtransactions.md)
- [Reporting corrections](externalpurchaseserverapi/reportcorrections.md)
- [OneTimeBuyLineItem](externalpurchaseserverapi/onetimebuylineitem.md)
- [SubscriptionBuyLineItem](externalpurchaseserverapi/subscriptionbuylineitem.md)
- [Line item fields](externalpurchaseserverapi/lineitems.md)
