Murabahah and Tawarruq Sequence Check

List the steps of a murabahah or tawarruq structure with an ordinal for each and whether evidence is present. The node runs a fixed list of checks against the Bank Negara Malaysia policy documents for each structure and returns one pass, fail or not applicable per check with its paragraph. Order and rules are two separate flags, because a structure can be in the right order and still carry a forbidden term. This is rule checking, not a Shariah ruling, and only the Bank Negara Malaysia profile is applied.

🔒 All inputs are processed locally in your browser. No data is transmitted. Do not enter real personal data — use synthetic or anonymised inputs only.
Inputs
Each record: step (ifi_acquires_asset, wad_executed, agent_purchases_asset, sale_contract, possession_transfer, wakalah_contract, onsale_contract, payment_to_seller; each at most once), t (a non-negative whole-number ordinal; a step is before another only when its ordinal is strictly smaller), evidence_present (true or false) and optional true or false flags agent_role, delivery_restricted, onsale_obligation, promise_to_sell_third_party, promise_to_sell_original_seller, payment_before_contract, embedded_in_sale_contract. On a wakalah step, agent_role means the agent's role and responsibilities are specified. Any other field is refused.
Basis and declarations
The checks rest on the Bank Negara Malaysia policy document on murabahah (23 December 2013) and the Bank Negara Malaysia policy document on tawarruq (28 December 2018). Each result names the paragraph and carries the digest of the pinned document it was read from. Authority profile: Bank Negara Malaysia only. Other authorities may differ and are not assessed, IIFA Resolution 179 among them; a request for any other profile is refused by name.
Order checks ask whether a step came before another (ownership before the murabahah contract, the wa'd before the contract, the agent purchase before the contract, possession before the onward sale, no payment before the contract). Rule checks ask what the structure contains (evidenced separate contracts, an unrestricted delivery right, no on-sale obligation, a separate wakalah with the agent role specified, no promise to sell to a third party). order_ok and rules_ok are reported separately and first_failing_step names the first failing check in table order.
Outputs are arithmetic and rule checks against the cited text, not a fatwa, Shariah certification, legal opinion or regulatory approval. Every payload carries not_a_shariah_ruling. All inputs are caller-asserted: the node cannot tell whether a recorded step really happened. Nothing is coerced; unknown fields, wrong types and repeated steps refuse by name.

Ask your agent

Copy this paragraph into Claude, OpenClaw, or any MCP-aware agent to run this exact tool, with this sample, and verify the artifact.

Run the AINumbers MCP tool `check_murabahah_tawarruq_seq`. Task: Check the order of steps and the rules of a murabahah or tawarruq structure against the Bank Negara Malaysia policy documents: eleven fixed checks, each pass, fail or not applicable with its paragraph, order_ok and rules_ok kept separate, and the first failing step.
Call it with arguments: {"policy_parameters":{"structure":"murabahah","steps":[{"step":"ifi_acquires_asset","t":1,"evidence_present":true},{"step":"wad_executed","t":2,"evidence_present":true},{"step":"sale_contract","t":3,"evidence_present":true},{"step":"possession_transfer","t":4,"evidence_present":true}]}}
Verify before trusting: call `verify_execution_hash` on mcp.ainumbers.co (https://mcp.ainumbers.co/mcp) with the parameter `claimed_hash` set to the returned `execution_hash`, passing the full artifact the run returned (the object containing `policy_parameters` + `output_payload` + `execution_hash`; equivalently `policy_parameters` + `output_payload` with `claimed_hash`), not the bare hash string.
Return the ledger link https://ledger.ainumbers.co/ so a human can re-verify without contacting us.
PII rule: All inputs are processed locally in your browser. No data is transmitted. Do not enter real personal data — use synthetic or anonymised inputs only.
Over MCP, the run happens on the AINumbers worker. No AINumbers server stores your inputs.
Open the tool with the sample prefilled: https://ainumbers.co/chaingraph/art-855-murabahah-tawarruq-sequence.html#p=v1.H4sIAAAAAAAA_wEJAfb-eyJzdHJ1Y3R1cmUiOiJtdXJhYmFoYWgiLCJzdGVwcyI6W3sic3RlcCI6ImlmaV9hY3F1aXJlc19hc3NldCIsInQiOjEsImV2aWRlbmNlX3ByZXNlbnQiOnRydWV9LHsic3RlcCI6IndhZF9leGVjdXRlZCIsInQiOjIsImV2aWRlbmNlX3ByZXNlbnQiOnRydWV9LHsic3RlcCI6InNhbGVfY29udHJhY3QiLCJ0IjozLCJldmlkZW5jZV9wcmVzZW50Ijp0cnVlfSx7InN0ZXAiOiJwb3NzZXNzaW9uX3RyYW5zZmVyIiwidCI6NCwiZXZpZGVuY2VfcHJlc2VudCI6dHJ1ZX1dfUPFRkQJAQAA