---
title: "init(billType:paymentStatus:billPayee:amountDue:minimumDue:lateFee:dueDate:paymentDate:)"
framework: intents
role: symbol
role_heading: Initializer
path: "intents/inbilldetails/init(billtype:paymentstatus:billpayee:amountdue:minimumdue:latefee:duedate:paymentdate:)"
---

# init(billType:paymentStatus:billPayee:amountDue:minimumDue:lateFee:dueDate:paymentDate:)

Initializes a bill details object with information about the bill to pay.

## Declaration

```swift
init?(billType: INBillType, paymentStatus: INPaymentStatus, billPayee: INBillPayee?, amountDue: INCurrencyAmount?, minimumDue: INCurrencyAmount?, lateFee: INCurrencyAmount?, dueDate: DateComponents?, paymentDate: DateComponents?)
```

## Parameters

- `billType`: The type of the bill.
- `paymentStatus`: A constant indicating the current status of the bill, such as whether the bill is pending.
- `billPayee`: The originator of the bill and the recipient of any funds applied to the bill payment.
- `amountDue`: The total amount of the bill.
- `minimumDue`: The minimum amount that the user must pay toward the bill.
- `lateFee`: The fee applied if the user pays the bill after the due date.
- `dueDate`: The date on which the bill is due.
- `paymentDate`: The date on which payment occured.

## Return Value

Return Value An initialized bill details object or nil if the object could not be created.
