beel_update_payment_connection
Update auto-invoicing settings for a company payment connection, including invoice series, charge filters, tax config, and email delivery, with partial-field updates.
Instructions
Updates the auto-invoicing settings of the payment connection named by {connection_id} of a
company your account owns or manages.
Partial by field: a field you omit keeps its current value. The series fields also accept an explicit
null, which clears the series and falls back to the company default for that document type.filter_configis the exception: when sent, it replaces the whole object, not just the sub-fields you included — a partialfilter_configclears every filter axis you left out.Read-only fields:
id,provider,status,environment,external_account_id,connected_at,last_event_atandactive_filtersare not part of this request and are ignored if sent.statusmoves through the disconnect operation, never here.Series: each one must exist, be active, belong to this NIF and carry a compatible document type, or the request answers
422.
BeeL API endpoint: PATCH /v1/companies/{company_id}/payment-connections/{connection_id} (reference: https://docs.beel.es)
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": {
"company_id": "<company_id>",
"connection_id": "<connection_id>",
"body": "<body>"
},
"name": "beel_update_payment_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| company_id | Yes | Unique identifier (UUID) of the company the operation acts on — its identifier, not its NIF. It is the only source of context: the account that owns it is derived from it, and the `BeeL-Active-Company` header plays no part. A company you do not reach answers `403`, and so does a company that does not exist, so the existence of a company in another account is never disclosed. | |
| connection_id | Yes | Unique identifier (UUID) of the payment connection the operation acts on, as returned by `GET /v1/companies/{company_id}/payment-connections`. A NIF can hold several connections of the same provider, so the provider slug alone does not name one. A connection of another NIF answers `404`, exactly like one that does not exist. |