Review GST coding of bank lines
review_gst_codingReviews GST coding on bank lines, assigns a review state with reasons, and flags registration or inter-entity mismatches for local accounting checks.
Instructions
Give each bank line one review state, with a reason, from gst-review.
States, checked in order: unknown_gst_code, gst_differs_from_registration (GST charged or claimed outside the entity's registration, or claimed from a supplier recorded as not registered), between_entities (an opposite amount in another entity within the window), coded, suggested, nothing_suggested. Amounts are AUD decimal strings, negative for money out; dates are YYYY-MM-DD. Registration dates are the operator's facts: a null registered_from means not registered, so never send it for an unknown date. Does not decide whether an entity had to register, how a supply is classified, what a transfer is or whether a suggestion is right. Retain not_decided and warnings. Local review aid, not advice; no network, writes or lodgements.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lines": "<lines>",
"registrations": "<registrations>"
},
"name": "review_gst_coding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Coded bank lines, up to 1000. Every entity needs a registrations entry. | |
| gst_codes | No | Code table mapping each GST code to its treatment; omit for the engine's common Xero and MYOB AU codes. | |
| registrations | Yes | One entry per entity: its established GST registration dates. | |
| match_window_days | No | Days either side to pair opposite amounts between entities. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | The review ran; this does not mean compliance or a known verdict. | |
| lines | Yes | ||
| counts | Yes | Lines per state, every state listed. | |
| engine | Yes | Delegated distribution that produced this result. | |
| review | Yes | ||
| sources | Yes | ||
| warnings | Yes | Retain when presenting the result. | |
| disclaimer | Yes | ||
| facts_used | Yes | Registrations, window and codes. | |
| not_decided | Yes | Retain when presenting the result. | |
| engine_version | Yes | Installed version of that engine. | |
| source_checked | Yes | Date in YYYY-MM-DD form. |