Send a fact package to a counterparty for confirmation
fact_package_sendSend a fact package to another firm for confirmation through the FactLot record, and get back a link for them. For an expense (CAM) reconciliation: the tenant's facts (lease terms and the landlord's statement figures, each with its quote and page, from doc_verify_facts or doc_abstract_lease) go in a package from fact_package_create, the arithmetic is calc_cam_reconciliation's output as calculation, and each line is an item: accept_theirs where the sender accepts the counterparty's figure, state_ours where the lease gives a different figure and the counterparty is asked to agree or dispute it. The counterparty opens the link on a plain web page (no account needed), sees every item with both figures, the quote, page and document fingerprint, and agrees or disputes each. Every accepted or agreed item is recorded as a reliance, citing the package digest. The FactLot record keeps each fact, its quote, the page and each document's SHA-256, never the documents. A send goes to an outside party and cannot be recalled. Refuses without approved_by, the full name of the person who reviewed every item, and approval_confirmed: true. Refuses a package that fails fact_package_verify's integrity checks, and an item whose fact_ids are not in the package. Real or test: a package is sent for real only through the hosted FactLot API with the subscription's own FactLot key (paid, or an email-confirmed free key) or a connection signed in with one; a real send records reliances between the named organisations at once. Every other call is a test (no key, a free connection without a key, a guest key, or a local or self-hosted FactLot): the counterparty can still open the link and answer, but nothing is recorded as a reliance or counted in the FactLot record's measure. The answer says which happened (recorded_as, test_mode, and message with the reason). Returns the package id, digest, link_for_counterparty, status_link_for_sender (private to the sender) and what was recorded. For a tenant estoppel (kind estoppel) the items are the statements from estoppel_prepare package_items, every one state_ours: the tenant confirms each, or states its own version, on the same page; the tenant gives the signer's full name and title and signs electronically on the same page (a consent statement ticked and the name typed): the FactLot record keeps the signer, the time in UTC, the consent wording's version and a SHA-256 over the answered statements, and no IP address. relying_parties gives a lender or buyer its own view link (links_for_relying_parties), which shows the statements, the tenant's answers, the signature and the document fingerprints and lets that firm record its own reliance, one per confirmed statement and never on a disputed one, and only after the tenant has signed; where any statement is disputed, the page lists each with the tenant's own version and the firm must acknowledge them first, and the reliance stores which statements were confirmed and which disputed at that moment. The relying firm must differ from the sender and the tenant. With attestation (from audit_expense_statement, estoppel_prepare or rent_roll_certify on the hosted API) the FactLot record checks the service's signature and that the items, grades, figures and facts are the ones the service computed, and records the package as attested; a package with none is recorded as unattested, and a package with an attestation that does not verify is refused. Where the FactLot record requires it, a real package of kind expense_reconciliation, estoppel or rent_roll must be attested; test packages need not be. The answer says which (attestation.status and its line). fact_package_status reads the answers and the reliers later.
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": {
"package": "<package>",
"kind": "<kind>",
"title": "<title>",
"subject": "<subject>",
"from": "<from>",
"to": "<to>",
"items": "<items>",
"approved_by": "<approved_by>",
"approval_confirmed": "<approval_confirmed>"
},
"name": "fact_package_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The counterparty. | |
| from | Yes | The sender: organisation, person, email. | |
| kind | Yes | What is being confirmed. estoppel: the statements from estoppel_prepare, answered by the tenant and then open to a lender or buyer through relying_parties. rent_roll: a certified rent roll from rent_roll_certify, asserted by the sender (no answer step) and open at once to the lender or buyer named in to, and to relying_parties, who record reliance on each line graded as matching. | |
| items | Yes | The line items. The counterparty answers each state_ours item. | |
| title | Yes | A title the counterparty sees. | |
| package | Yes | The package from fact_package_create (signed or not). | |
| subject | Yes | The property or lease the facts are about. | |
| approved_by | Yes | The full name of the person at the sender who reviewed every item and approved sending this package. Recorded with the package and shown to the counterparty. | |
| attestation | No | The attestation that the hosted FactLot service returned with package_items from audit_expense_statement, estoppel_prepare or rent_roll_certify, passed unchanged. The FactLot record checks the service's signature and that the items, grades, figures and facts sent are the ones the service computed. Without it the package is recorded as unattested. | |
| calculation | No | A calc tool's output (for example calc_cam_reconciliation) shown to the counterparty with every step. | |
| estoppel_links | No | Rent roll only: the sender's status link (status_link_for_sender) of each estoppel that backs a matches_lease_confirmed_by_tenant line. The FactLot record opens each with its private token to check the tenant agreed the statements; the token is not stored. | |
| relying_parties | No | Estoppel and rent_roll only: a label for each lender or buyer that is to get its own view link and token (for example the lender's name). Each can read the package and record its own reliance; none can answer for the tenant. For an estoppel with none given FactLot makes one link; for a rent roll the party named in to has a link already and these are additional. | |
| approval_confirmed | Yes | Confirms that the person named in approved_by reviewed every item, both figures, the quote and page behind each, the calculation and the recipient, and approved sending. The tool refuses unless it is true. |