> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slm.m1amdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Canceling AutoBills

To stop recurring billing, you cancel the corresponding `AutoBill` object. You can do this by retrieving the object and calling `cancel` on it, as shown in this example.

```

$rc = $autobill->cancel($autobill, $disentitleFlag, $forceFlag, $settleFlag, $sendCancelNoticeFlag);
```

Alternately, you can stop all auto billing on the account.

```

$rc = $account->stopAutoBilling($account, undef, $disentitleFlag, $forceFlag);
```

Both methods allow you to select whether to disentitle the customer immediately, or allow entitlements to continue to the end of the billing period. See the `AutoBill.cancel`and `Account.stopAutoBilling`methods in the Subscribe API Reference Guide for details.

When you make these calls, Subscribe notifies the customer of the cancellation. For a discussion of billing, see [Working with Billing Events](Working_with_Billing_Eve).

Also, Subscribe allows you to automatically cancel an AutoBill when a customer charges back an AutoBill transaction. To take advantage of this feature, contact Vindicia Client Services.

* **[Canceling AutoBills with Reason Codes](../topics/Canceling_AutoBills_with)**

* **[Creating Custom-Defined Merchant Cancel Reason Codes](../topics/Creating_Custom_Defined_)**

* **[Canceling AutoBills on Billing Day](../topics/Canceling_AutoBills_on_B)**

* **[Canceling AutoBills with unknown start date](../topics/Canceling_AutoBills_with_1)**

**Parent topic:**[Working with AutoBills](../topics/ProgGuide_AutoBills)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.