invoice_client_link_tenant
[REQUIRES APPROVAL] Asserts that a billing client IS an on-platform tenant (or pass counterparty_tenant_id null to unlink) and retro-stamps that client's existing invoices with the link in the same call — invoices_stamped in the result is the count. Linking requires the counterparty's 'cross_tenant_settlement' consent AND a live network relationship (an active match or a deal thread); unlinking passes neither gate, since it withdraws your own assertion rather than making a new one. NEXT: invoice_client_read to read back what linked.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The invoice_client id (invoice_client_list shows them). | |
| name | No | ||
| No | |||
| notes | No | ||
| phone | No | ||
| address | No | ||
| company | No | ||
| client_id | No | Alias of id. | |
| contact_id | No | ||
| message_language | No | ||
| reminder_cadence | No | ||
| counterparty_tenant_id | Yes | The on-platform business this client IS (their tenant id). Pass null to unlink. |