Invoke Skill Accounts Reconcile
post
/api/v1/skills/accounts.reconcile/invokeReconcile bank, AR, AP, intercompany, or other accounts.
Reconciles one ledger account for a client over a period, so an accountant can see what has matched and what still needs attention. It needs the client_id and account_code, and accepts a period start and end and a switch for automatic matching. It returns the reconciliation_id, the matched and unmatched counts, whether the account reconciled, the remaining difference and any findings.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
client_idrequired | string (uuid) | UUID of the client whose account is reconciled. |
account_coderequired | string | Chart-of-accounts code of the account to reconcile. |
period_start | string (date) | null | First day of the reconciliation period as an ISO 8601 date. |
period_end | string (date) | null | Last day of the reconciliation period as an ISO 8601 date. |
auto_match | boolean | Whether Archie should match obvious items automatically. |
Responses
200Skill executed successfully
| Field | Type | Description | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
skillrequired | string | β | |||||||||||||||||||||||||||
outputrequired | object | βshow nested
| |||||||||||||||||||||||||||
correlation_idrequired | string | β |
401Authentication required
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
403Insufficient permissions
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
404Skill not found
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
429Rate limit exceeded
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
5XXInternal server error
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
curl https://api.dev.arch.ie/api/v1/skills/accounts.reconcile/invoke \
-X POST \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"client_id": "00000000-0000-0000-0000-000000000000",
"account_code": "string",
"period_start": null,
"period_end": null,
"auto_match": false
}'