Reporting bank details
Report bank details

Report bank details

⚠️

Add test=1 to run tests without real effects. In production, omit this parameter.

Parameters

  • test (number (1)) : For testing, add the test=1 parameter. It must be omitted in production.
  • regimen (integer) : Scheme, 4 digits. Possible values:
  • ccc (integer) : Contribution account code, 11 digits.
  • option (string) : Possible values:
    • cuenta: Account
    • acreedor: Creditor
  • cuenta (object) : Bank account details
    • iban (string) : First 4 characters. E.g. ES99
    • entidad (string) : Next 4 digits. E.g. 3990
    • oficina (string) : Next 4 digits. E.g. 3990
    • dcnc (string) : Next 4 digits. E.g. 3990
    • num1 (string) : Next 4 digits. E.g. 3990
    • num2 (string) : Next 4 digits. E.g. 3990
    • tipo (string) : Document type. Possible values:
      • 1: National identity document
      • 2: Passport
      • 3: EU Resident Card
      • 4: Residence and Work Permit
      • 6: Foreign National Identity Number
      • 9: No document / NIF of a legal entity
      • L: Non-resident Spanish nationals without a DNI
      • M: Non-resident foreign nationals without a NIF
      • T: Under guardianship
    • cif (string) : CIF, DNI or NIE of the account holder.
    • titular (string) : Name of the account holder.
  • authorized_num (integer) : Optional, RED authorised user number. This is mandatory when the certificate has more than one RED authorised user. If you do not know the authorised user number, send the request without it and capture the data.authorized_list =[{"numero":"1020", "razSoc":"EMPRESA SL"}] variable. Then send it.
PUT /datos-bancarios
{
  "test": 1,
  "regimen": "0111",
  "ccc": 12345678901,
  "option": "acreedor",
  "cuenta":{
      "iban": "ES99",
      "entidad": "9999",
      "oficina": "9999",
      "dcnc": "9999",
      "num1": "9999",
      "num2": "9999",
      "tipo":"1",
      "cno": "3724",
      "cif":"B13612999",
      "titular": "SALTRA APLICACIONES"
  }
}

Response

Respuesta
{
  "success": true,
  "message": "OK",
  "data": {
    "file": {
      "contentType": "application/pdf",
      "name": "document.pdf",
      "content": "base64"
    }
  }
}