---
title: "resolveDueDate(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/inpaybillintenthandling/resolveduedate(for:with:)"
---

# resolveDueDate(for:with:)

Resolves the due date of the bill.

## Declaration

```swift
optional func resolveDueDate(for intent: INPayBillIntent, with completion: @escaping @Sendable (INDateComponentsRangeResolutionResult) -> Void)
```

```swift
optional func resolveDueDate(for intent: INPayBillIntent) async -> INDateComponentsRangeResolutionResult
```

## Parameters

- `intent`: The intent object containing details of the user’s request. Use this object to get the initial information, if any, provided by the user.
- `completion`: The handler block to execute with the resolution. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:

## Discussion

Discussion Implement this method to resolve the due date of the bill. The due date is usually provided by the bill payee and reflects the date after which the institution may apply late fees. If the intent doesn’t contain the due date, retrieve the due date from your own internal records and return it as part of your successful resolution. Providing the due date is always encouraged because it helps the user determine the date on which to schedule payment. If the payee didn’t provide you with a due date, you can return a resolution indicating it the value isn’t required. However, you might want to verify that the user supplied a date on which to schedule the payment and that the provided date isn’t too far in the future.

## See Also

### Resolving the Intent Parameters

- [resolveBillPayee(for:with:)](intents/inpaybillintenthandling/resolvebillpayee(for:with:).md)
- [resolveBillType(for:with:)](intents/inpaybillintenthandling/resolvebilltype(for:with:).md)
- [resolveFromAccount(for:with:)](intents/inpaybillintenthandling/resolvefromaccount(for:with:).md)
- [resolveTransactionAmount(for:with:)](intents/inpaybillintenthandling/resolvetransactionamount(for:with:).md)
- [resolveTransactionScheduledDate(for:with:)](intents/inpaybillintenthandling/resolvetransactionscheduleddate(for:with:).md)
- [resolveTransactionNote(for:with:)](intents/inpaybillintenthandling/resolvetransactionnote(for:with:).md)
