# ApprovalRule

| Name                        | Type                                                                             | Description                                    |
| --------------------------- | -------------------------------------------------------------------------------- | ---------------------------------------------- |
| active                      | Boolean                                                                          | Rule will be applied when active               |
| anyDiscount                 | Int                                                                              |                                                |
| anyDiscountEnabled          | Boolean                                                                          |                                                |
| approver                    | [Approver](https://docs.bunny.com/developer/api-reference/types/approver)        | First approver                                 |
| approverId                  | ID                                                                               | First approver id                              |
| approverIds                 | List (ID)                                                                        | Approvers required when this rule triggers     |
| approvers                   | List ([Approver](https://docs.bunny.com/developer/api-reference/types/approver)) | Approvers for this rule                        |
| billingPeriod               | [BillingPeriod](https://docs.bunny.com/developer/enums#billingperiod)            |                                                |
| billingPeriodEnabled        | Boolean                                                                          |                                                |
| fromDate                    | ISO8601Date                                                                      | First date the rule will apply                 |
| id                          | ID                                                                               | Unique ID                                      |
| isRampEnabled               | Boolean                                                                          |                                                |
| name                        | String                                                                           | Rule name                                      |
| netPaymentDays              | Int                                                                              |                                                |
| netPaymentDaysEnabled       | Boolean                                                                          |                                                |
| overallQuoteDiscount        | Int                                                                              |                                                |
| overallQuoteDiscountEnabled | Boolean                                                                          |                                                |
| plan                        | [Plan](https://docs.bunny.com/developer/api-reference/types/plan)                |                                                |
| planId                      | ID                                                                               |                                                |
| planIdEnabled               | Boolean                                                                          |                                                |
| product                     | [Product](https://docs.bunny.com/developer/api-reference/types/product)          |                                                |
| productId                   | ID                                                                               |                                                |
| productIdEnabled            | Boolean                                                                          |                                                |
| requireUnanimousApproval    | Boolean                                                                          | Require all approvers to approve for this rule |
| toDate                      | ISO8601Date                                                                      | Last date the rule will apply                  |
| totalQuoteAmount            | Int                                                                              |                                                |
| totalQuoteAmountEnabled     | Boolean                                                                          |                                                |
| warrenId                    | ID                                                                               | Warren ID                                      |
