Calculate Reconcile Units
fund.reconcile_units
Overview
Perform exact bounded reconcile units from caller-supplied share-class values. Class eligibility, weights, and materiality remain caller-controlled.
You receive deterministic class allocation or control evidence without hidden class policy for fund.reconcile_units.
Reliability
DECIMAL_INVALID means a decimal is malformed or over limit; correct it. FUND_INPUT_INVALID means a class, weight, amount, or control value violates the closed domain; correct it. ZERO_DENOMINATOR means the weight sum is zero; supply positive total weight. ROUNDING_INVALID means scale must be 0 through 12 and mode HALF_EVEN; correct the profile. ITEM_LIMIT_EXCEEDED means a collection exceeds 10,000; reduce input. This guidance applies specifically to fund.reconcile_units.
Context footprint
The compact output replaces repeated share-class arithmetic for fund.reconcile_units. A successful call costs 1 execution credit.
When to use it
When a class unit rollforward must match a reported closing unit figure within tolerance.
When you still need to roll units rather than compare the close to a reported figure.
Scope
Non-goals
- Does not select class eligibility, weights, allocation basis, or materiality for fund.reconcile_units.
- Does not infer prospectus, dealing, hedge, expense, income, or official NAV policy for fund.reconcile_units.
Properties
Capabilities
Cost & billing
Flat rate per invocation
File handling
How we handle your data
What this means
This skill may receive sensitive content, but it does not target sensitive data and returns only a structured non-sensitive result.
Squillify guarantees
- Runs inside Squillify
- This skill runs inside Squillify.
- Payloads are not sent to an external service by this skill.
- Squillify does not permanently store submitted payloads.
- Telemetry records metadata only, not submitted content.
- Submitted payloads are not used for training.
- Submitted payloads are not reviewed by humans.
- This skill does not target sensitive data.
- The response does not contain submitted content.
Your responsibility
Squillify does not determine whether submitted content is sensitive. Your application is responsible for deciding what data it is allowed to submit. Your application is responsible for securing the response.
Input schema
| Field | Type | Required | Description |
|---|---|---|---|
| openingUnits | string | Yes | Required finite plain decimal `openingUnits` with at most 100 significant digits and scale 40. |
| issues | string | Yes | Required finite plain decimal `issues` with at most 100 significant digits and scale 40. |
| redemptions | string | Yes | Required finite plain decimal `redemptions` with at most 100 significant digits and scale 40. |
| otherMovements | string | Yes | Required finite plain decimal `otherMovements` with at most 100 significant digits and scale 40. |
| reportedClosingUnits | string | Yes | Required finite plain decimal `reportedClosingUnits` with at most 100 significant digits and scale 40. |
| tolerance | string | Yes | Required finite plain decimal `tolerance` with at most 100 significant digits and scale 40. |
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| expectedClosingUnits | string | Yes | Calculated normalized finite plain-decimal result. |
| difference | string | Yes | Calculated normalized finite plain-decimal result. |
| withinTolerance | boolean | Yes | True exactly when absolute difference is no greater than tolerance. |
| breaks | array | Yes | Empty when reconciled; otherwise one closed `{code,difference,tolerance}` control-break object. |
API contract
POST /v1/executecurl -sS -X POST "$BASE/v1/execute" -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"skillKey":"fund.reconcile_units","input":{"openingUnits":"100","issues":"20","redemptions":"10","otherMovements":"0","reportedClosingUnits":"110","tolerance":"0"}}'import { Squillify } from "@squillify/sdk";
const sq = new Squillify({ apiKey: process.env.SQUILLIFY_API_KEY });
const { output } = await sq.execute("fund.reconcile_units", {"redemptions":"10","otherMovements":"0","issues":"20","openingUnits":"100","reportedClosingUnits":"110","tolerance":"0"});Errors
| Code | HTTP | Retryable | Description |
|---|---|---|---|
| VALIDATION_ERROR | 400 | No | The request payload failed schema validation. |
| UNAUTHORIZED | 401 | No | Missing or invalid API key. |
| SKILL_NOT_ACCESSIBLE | 403 | No | The API key is not granted access to this skill. |
| SKILL_NOT_AVAILABLE_FOR_PLAN | 403 | No | This skill is not included in your current plan. |
| PLAN_ELIGIBILITY_UNAVAILABLE | 503 | Yes | Plan eligibility could not be decided. Retry after backoff. |
| SKILL_NOT_FOUND | 404 | No | The requested skill or version does not exist. |
| TENANT_RATE_LIMITED | 429 | Yes | Request rate limit exceeded. Retry after backoff. |
| QUOTA_EXCEEDED | 429 | Yes | Plan quota exhausted. Retryable once the quota period resets. |
| EXECUTION_TIMEOUT | 504 | Yes | Execution exceeded the allowed time budget. |
| DECIMAL_INVALID | 400 | No | The request payload failed this skill's input validation. |
| FUND_INPUT_INVALID | 400 | No | The request payload failed this skill's input validation. |
Other limits
| Limit | Value |
|---|---|
| Recommended inline bytes | 32 KiB |
Limitations
- Does not select class eligibility, weights, allocation basis, or materiality for fund.reconcile_units.
- Does not infer prospectus, dealing, hedge, expense, income, or official NAV policy for fund.reconcile_units.
- Eligibility, policy, market sourcing, or materiality decisions for fund.reconcile_units.
How to call
POST /v1/execute (requires authentication)
{
"skillKey": "fund.reconcile_units",
"input": {
"redemptions": "10",
"otherMovements": "0",
"issues": "20",
"openingUnits": "100",
"reportedClosingUnits": "110",
"tolerance": "0"
}
}Examples
Verified primary
{
"redemptions": "10",
"otherMovements": "0",
"issues": "20",
"openingUnits": "100",
"reportedClosingUnits": "110",
"tolerance": "0"
}{
"breaks": [],
"difference": "0",
"expectedClosingUnits": "110",
"withinTolerance": true
}Verified alternative
{
"redemptions": "0",
"otherMovements": "0",
"issues": "0",
"openingUnits": "100",
"reportedClosingUnits": "101",
"tolerance": "0.5"
}{
"breaks": [
{
"code": "UNITS_BREAK",
"difference": "1",
"tolerance": "0.5"
}
],
"difference": "1",
"expectedClosingUnits": "100",
"withinTolerance": false
}Recommended use cases
- Exact share-class allocation evidence for fund.reconcile_units.
- Independent class rollup or reconciliation for fund.reconcile_units.
Avoid for
- Eligibility, policy, market sourcing, or materiality decisions for fund.reconcile_units.
Related skills
Composable with
Safety & privacy
- Runs without calling any external service.
- Your payloads are never stored permanently.
- Telemetry captures metadata only — never your payload contents.
- We never train models on your payloads.
- No human reviews your payloads.