---
title: RefundNotAllowedCreationDateError
framework: externalpurchaseserverapi
role: symbol
role_heading: Object
path: externalpurchaseserverapi/refundnotallowedcreationdateerror
---

# RefundNotAllowedCreationDateError

An error indicating the refund isn’t allowed for the line item because its creation date is too far in the past.

## Declaration

```data
object RefundNotAllowedCreationDateError
```

## Properties

errorCode: errorMessage: fieldName: lineItemId:

## Mentioned in

External Purchase Server API changelog

## Discussion

Discussion You can refund a line item for up to one year after its creationDate. This error indicates that for the line item you’re attempting to refund, the creationDate is more than one year ago.

## See Also

### Error objects for reports

- [DateTooFarInPastError](externalpurchaseserverapi/datetoofarinpasterror.md)
- [DuplicateTokenStatusNotAllowedError](externalpurchaseserverapi/duplicatetokenstatusnotallowederror.md)
- [DuplicateValueError](externalpurchaseserverapi/duplicatevalueerror.md)
- [ErroneousLineItemReferencedByValidLineItemError](externalpurchaseserverapi/erroneouslineitemreferencedbyvalidlineitemerror.md)
- [ErroneouslySubmittedNotRestatementError](externalpurchaseserverapi/erroneouslysubmittednotrestatementerror.md)
- [ExchangeRateMismatchError](externalpurchaseserverapi/exchangeratemismatcherror.md)
- [FieldNotAllowedError](externalpurchaseserverapi/fieldnotallowederror.md)
- [FutureDateError](externalpurchaseserverapi/futuredateerror.md)
- [IncorrectAmountTaxInclusiveError](externalpurchaseserverapi/incorrectamounttaxinclusiveerror.md)
- [IncorrectNetAmountError](externalpurchaseserverapi/incorrectnetamounterror.md)
- [InvalidTaxInclusiveAmountForSubscriptionPaymentError](externalpurchaseserverapi/invalidtaxinclusiveamountforsubscriptionpaymenterror.md)
- [LineItemCreationDateOutOfRangeError](externalpurchaseserverapi/lineitemcreationdateoutofrangeerror.md)
- [LineItemStatusRegressionError](externalpurchaseserverapi/lineitemstatusregressionerror.md)
- [LineItemsNotAllowedForStatusError](externalpurchaseserverapi/lineitemsnotallowedforstatuserror.md)
- [MaximumLengthExceededError](externalpurchaseserverapi/maximumlengthexceedederror.md)
