Build SEPA creditor identifier
sepa_creditor_idCompute the Spanish SEPA creditor identifier from a NIF to issue SEPA direct debits; generates the AT-02 code with check digits and optional business code.
Instructions
Compute the Spanish SEPA creditor identifier (AT-02, 'identificador de acreedor') from a NIF. Free.
Format: ES + 2 check digits + 3-character business code (default '000') + NIF, per EPC262-08. Needed to issue SEPA direct debits (adeudos / remesas de recibos, Cuaderno 19.14).
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": {
"nif": "<nif>"
},
"name": "sepa_creditor_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nif | Yes | ||
| business_code | No | 000 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||