> For the complete documentation index, see [llms.txt](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/aura-ai/aura-inspo/aura-agents-bad-debt-reserve.md). Agents can also search and read this documentation through its [MCP server](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/~gitbook/mcp).

# Aura Agents: Bad Debt Reserve

This Aura Agent prompt automates your monthly bad debt reserve calculation in **Rillet**, comparing the target reserve to your current allowance balance and posting only the difference as a journal entry.

### Review the Prompt Details

Before using this prompt, review its category, requirements, and walkthrough:

| Field               | Details                                                                             |
| ------------------- | ----------------------------------------------------------------------------------- |
| Category            | Accounts Receivable                                                                 |
| Connectors Required | None                                                                                |
| Attachments Needed  | None                                                                                |
| Walkthrough         | [**Bad Debt Reserve**](https://www.loom.com/share/df2da96df5d542cdb64fbbc30015012e) |

This prompt runs entirely within **Rillet**, with no external connectors or file uploads required.

### Understand What This Prompt Does

Aura pulls the AR aging as of month end, applies your reserve rates by bucket, compares the result to what is already sitting in the allowance account, and posts only the movement. It shows you the math before it touches anything and waits for approval. Add this agent to your close checklist to complete your monthly reserve updates.

### Copy and Customize the Prompt

Copy this prompt into Aura, then customize it with your own account numbers and reserve rates. The version below references 11209 Allowance for Doubtful Accounts and 60230 Bad Debt Expense, and uses example reserve rates, so replace all three with your own accounts and policy, kept consistent month to month so the movement stays meaningful.

```
Create the monthly bad debt reserve entry for the prior month.

1. From the AR Aging report as of the last day of the current close period, apply these rates by bucket: current 0%, 1-30 days 5%, 31-60 10%, 61-90 25%, over 90 days 100%. Exclude intercompany receivables and customer credit balances. This is the TARGET.
2. MOVEMENT = TARGET minus the current balance of 11209 Allowance for Doubtful Accounts. Post only the movement. If it's zero, tell me and stop.
3. Show me the bucket calculation, the target, the current 11209 balance, and the movement before creating anything.
4. Create one journal entry per subsidiary, dated the last day of the period, described "Bad debt reserve - [period]":
   - Reserve increasing: Dr 60230 Bad Debt Expense, Cr 11209
   - Reserve releasing: Dr 11209, Cr 60230 Bad Debt Expense

Other notes: Do not write off individual invoices, and do not touch 11200 Accounts Receivable or deferred revenue. Write-offs go through a credit memo with a non-revenue Bad Debt product.
```

Aura returns the bucket calculation, the target reserve, the existing allowance balance, and the movement for review, then books one journal entry per subsidiary once you approve it.

### See Also

To learn more about Aura Agents in **Rillet**, review these articles:

* [**Aura Agents**](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/aura-ai/aura-ai/aura-agents.md)
* [**Aura Agents: Annual Bonus Accruals from a Google Sheet**](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/aura-ai/aura-inspo/aura-agents-annual-bonus-accruals-from-a-google-sheet.md)
* [**Getting Started with Aura Assistant**](https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/aura-ai/aura-ai/getting-started-with-aura-assistant.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.rillet.com/EjmEP4KZ9BVp9j2ho4Mh/aura-ai/aura-inspo/aura-agents-bad-debt-reserve.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
