sepa_creditor_id
Computes the Spanish SEPA creditor identifier (AT-02) from a NIF and business code, producing the ES-prefixed ID required to issue SEPA direct debits.
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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nif | Yes | ||
| business_code | No | 000 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||