# Suggest Month-End Accruals

> Suggests month-end accruals for a client, so an accountant can spot costs that are missing before closing the period. It needs the client_id and a period…

POST /api/v1/skills/accruals.suggest/invoke

Suggests month-end accruals for a client, so an accountant can spot costs that are missing before closing the period. It needs the client_id and a period in YYYY-MM form, and accepts a look-back window, focus areas and a jurisdiction. It returns a summary and a list of suggested accruals with evidence and confidence, which are for review only because nothing is posted.

Body parameters

client_id string · uuid Required

UUID of the client to suggest month-end accruals for.

period string Required

YYYY-MM month-end target (e.g. '2026-04')

lookback_months integer · default 12

How many prior periods to scan for recurring patterns.

focus_areas array of strings

Optional shortlist of accrual categories — e.g. ['wages', 'interest', 'rent', 'utilities']. Empty means scan everything.

jurisdiction enum

Jurisdiction code that sets the accounting conventions applied.

AU GB CA US NZ

Returns

Skill executed successfully

skill string Required

Example accruals_suggest

output object Required

output.stub_fields array of strings

output.warnings array of strings

output.summary string · default

output.suggestions array of values

output.citations array of values

correlation_id string Required

Errors

Status Type When

401 AUTH.TOKEN_INVALID Authentication required

403 PERMISSION.CAPABILITY_DENIED Insufficient permissions

404 SKILL.NOT_FOUND Skill not found

422 VALIDATION.INVALID_FORMAT Validation error

429 RATE_LIMIT.USER Rate limit exceeded

5XX INTERNAL.UNKNOWN Internal server error

[Previous ← Reconcile Bank, AR, AP, Intercompany, or Other Accounts](https://heyarchie.com/en-gb/developers/api-reference/transactions/reconcile-bank-ar-ap-intercompany-or-other-accounts/)[Next Classify a Financial Transaction to Chart-Of-Accounts Code →](https://heyarchie.com/en-gb/developers/api-reference/transactions/classify-a-financial-transaction-to-chart-of-accounts-code/)

```
curl https://uk.heyarchie.com/api/v1/skills/accruals.suggest/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "client_id": "00000000-0000-0000-0000-000000000000",
       "period": "string",
       "lookback_months": 0,
       "focus_areas": [
         "string"
       ],
       "jurisdiction": null
     }'
```

```
from heyarchie import Archie
archie = Archie(api_key="sk_...")
result = archie.skills.invoke(
    "accruals.suggest",
    client_id="00000000-0000-0000-0000-000000000000",
    period="string",
    lookback_months=0,
    focus_areas=["string"],
    jurisdiction=None,
)
print(result)
```

```
import { Archie } from "heyarchie";

const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("accruals.suggest", {
  "client_id": "00000000-0000-0000-0000-000000000000",
  "period": "string",
  "lookback_months": 0,
  "focus_areas": [
    "string"
  ],
  "jurisdiction": null
});
console.log(result);
```

Response

```
{
  "skill": "accruals_suggest",
  "output": {
    "suggestions": [
      {
        "account": "Accrued Wages",
        "account_code": "2110",
        "amount": 8400,
        "confidence": "high",
        "evidence": "Wages were accrued in each of the prior three months and none is booked yet.",
        "narration": "Accrue wages for the last two working days of September 2026"
      }
    ],
    "summary": "One accrual is suggested for September 2026."
  },
  "correlation_id": "<string>"
}
```

```
{
  "error": {
    "type": "<string>",
    "code": "<string>",
    "message": "<string>",
    "param": "<string>",
    "retry_after_seconds": "<integer>"
  }
}
```

Every response also carries X-Request-ID. Quote it if you write to us about a call.
