RefundLineItem
The line item that indicates a refund transaction.
Declaration
object RefundLineItemProperties
| Name | Type | Description |
|---|---|---|
lineItemId Required | lineItemId | A unique identifier for the transaction, that you determine. The value must be unique per app. Using UUIDs is recommended. Reuse a |
referenceLineItemId Required | referenceLineItemId | The lineItemId of the initial purchase transaction that receives a refund. |
creationDate Required | creationDate | The UNIX date, in milliseconds, you completed the transaction. |
restatement | restatement | Set to |
erroneouslySubmitted | erroneouslySubmitted | Set to |
pricingCurrency Required | pricingCurrency | The currency the transaction used to charge or refund the customer. For more information, see pricingCurrency. |
reportingCurrency Required | reportingCurrency | The currency you use to report all the amount fields, including |
exchangeRate | 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 Required | 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 Required | 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 Required | 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 Required | taxAmount | The amount the customer paid in taxes, that you state in milli-units of the reporting currency. For more information, see taxAmount. |
taxCountry Required | taxCountry | The country code of the country for which taxes were paid on the purchase. For more information, see taxCountry. |
eventType Required | eventType | Use |
Mentioned in
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.