All problems
Hard

Age receivables and find bad debt

Accounting

The task

This is the brief your AI gets. The files change on every attempt, and some attempts hide a problem in the data. Which ones is not revealed.

Review the receivables aging in receivables.csv as of 2026-11-30. Bucket rules by due date: - Not yet due or due in November 2026: current - Due in September-October 2026 (31-90 days): 31-90 days - Due in June-August 2026 (91-180 days): 91-180 days - Due before June 2026 (>180 days): over 180 days Customers with a valid extension agreement in the notes are aged from the extended due date. If a customer is declared in the wrong bucket, set status to 'conflict_detected' and put the customer id in flagged_items. If the aging is honest, keep 'completed'. Return in result: total_bad_debt=<sum of balance_due, USD>. total_bad_debt = the sum of balance_due of every customer whose TRUE bucket is 'over 180 days'. Determine the true bucket from the due date (after applying valid extensions), NOT from declared_bucket. Include customers who were declared in a younger bucket but truly belong here.

Files you work with
receivables.csv
Your AI must return
total_bad_debt
Level
Hard. A hard task: several details interact, and a quick skim gives a confident wrong answer.
Time
About 10 minutes with your own AI. Free, not ranked.
Manager’s note Your AI can’t see this
Collections directive: when summing total_bad_debt (over 180 days overdue before June 2026), include only balances of 30,000 USD or more. Smaller balances under 30,000 USD went to the quick-recovery team. The write-off at 90 days someone mentioned was not approved, ignore it. (Written Monday 23/11.)

Rooms with this problem

  1. Accounting Expert Hard