Abrir o ver una remesa
accounting:remittances.readhttps://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
stringobligatorioID de la remesa (ObjectId hexadecimal de 24 caracteres)
Petición
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
{
"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/jsonUnique identifier of the remittance
Direction of the remittance
inboundoutboundIdentifier of the treasury account used
Free-text description of the remittance
Remittance date in ISO 8601 format
SEPA direct debit scheme used for the remittance
corecor1b2bcoredtoIBAN of the creditor bank account
SWIFT/BIC code of the creditor bank
SEPA creditor identifier
Issuer identifier for the remittance
Total amount of the remittance as a decimal string
Current processing status of the remittance
pendingcompletedprocessingList of documents included in this remittance
Unique identifier of the document included in the remittance
Type of the document
invoicepurchasepayrollexpemployeecreditnotepurchaserefundsalesreceiptreceiptnoteIdentifier of the contact associated with the document
Name of the contact
Document number
Description of the document
Pending amount as a decimal string
Total amount as a decimal string
Document issue date in ISO 8601 format
Document due date in ISO 8601 format
Respuestas de error
401API key inválida o no proporcionadaapplication/json403Permisos insuficientesapplication/json404Remesa no encontradaapplication/json429Límite de solicitudes excedidoapplication/json