Saltar al contenido principal
GET

Abrir o ver una remesa

Scope:accounting:remittances.read
https://api.holded.com/api/v2/treasury/remittances/{remittanceId}

Recupera todos los detalles de una remesa específica por su identificador único.

Parámetros

Parámetros de ruta

remittanceIdstringobligatorio

ID de la remesa (ObjectId hexadecimal de 24 caracteres)

Petición

python
import requests

url = "https://api.holded.com/api/v2/treasury/remittances/{remittanceId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Respuestas

Respuesta

json
{
  "id": "string",
  "type": "inbound",
  "treasury_id": "string",
  "description": "string",
  "date": "2024-01-15",
  "mode": "core",
  "iban": "string",
  "swift": "string",
  "creditor_id": "string",
  "issuer_id": "string",
  "total": "1234.56",
  "status": "pending",
  "documents": [
    {
      "id": "string",
      "type": "invoice",
      "contact_id": "string",
      "contact_name": "string",
      "number": "string",
      "description": "string",
      "pending": "500.00",
      "total": "1000.00",
      "date": "2024-01-15",
      "due_date": "2024-01-15"
    }
  ]
}

Respuestas exitosas

200Remesa encontradaapplication/json
object
idstring

Unique identifier of the remittance

typestring

Direction of the remittance

Enum:inboundoutbound
treasury_idstring

Identifier of the treasury account used

descriptionstring | null

Free-text description of the remittance

datestring<date> | null

Remittance date in ISO 8601 format

modestring | null

SEPA direct debit scheme used for the remittance

Enum:corecor1b2bcoredto
ibanstring

IBAN of the creditor bank account

swiftstring | null

SWIFT/BIC code of the creditor bank

creditor_idstring | null

SEPA creditor identifier

issuer_idstring | null

Issuer identifier for the remittance

totalstring

Total amount of the remittance as a decimal string

statusstring

Current processing status of the remittance

Enum:pendingcompletedprocessing
documents[]object[]

List of documents included in this remittance

idstring

Unique identifier of the document included in the remittance

typestring

Type of the document

Enum:invoicepurchasepayrollexpemployeecreditnotepurchaserefundsalesreceiptreceiptnote
contact_idstring

Identifier of the contact associated with the document

contact_namestring

Name of the contact

numberstring

Document number

descriptionstring

Description of the document

pendingstring

Pending amount as a decimal string

totalstring

Total amount as a decimal string

datestring<date> | null

Document issue date in ISO 8601 format

due_datestring<date> | null

Document due date in ISO 8601 format

Respuestas de error

401API key inválida o no proporcionadaapplication/json
403Permisos insuficientesapplication/json
404Remesa no encontradaapplication/json
429Límite de solicitudes excedidoapplication/json