Skip to main content
GET

List payments and collections

Scope:accounting:payments.read
https://api.holded.com/api/v2/payments

Lists the money received (cobros) and paid out (pagos) recorded in the account, newest first, with its date, amount, banking account and the document it settles. Use it when the user asks about a collection or a payment, e.g. "show me the last collection" (último cobro) or "payments made this month" (pagos de este mes): pass `type` collection or payment, and narrow by dates, banking account or document. Not the payment methods configured in the account (métodos de pago: transfer, card, cash), which have their own list. It lists recorded movements, not what is still owed: for supplier bills or invoices pending payment, list purchases or invoices with `status=outstanding` and their due dates.

Parameters

Query parameters

start_datestring<date-time>optional

Filter payments from this date onward. Accepts ISO 8601 datetime (e.g. 2024-01-01T00:00:00+00:00) or date only (e.g. 2024-01-01)

end_datestring<date-time>optional

Filter payments up to this date. Accepts ISO 8601 datetime (e.g. 2024-12-31T23:59:59+00:00) or date only (e.g. 2024-12-31)

document_idstringoptional

Filter payments linked to this document. Combine with document_type to match a specific document

document_typestringoptional

Filter payments by document type. Can be used alone, or combined with document_id to match a specific document

typestringoptional

Filter by direction: "collection" for money received (cobro), "payment" for money paid out (pago)

"collection""payment"
banking_account_idstringoptional

Filter payments linked to this banking account

cursorstringoptional

Opaque cursor for pagination

limitintegeroptional= 50

Maximum number of payments to return per page

Request

python
import requests

url = "https://api.holded.com/api/v2/payments?start_date=2024-01-01T00:00:00+00:00&end_date=2024-12-31T23:59:59+00:00&document_id=value"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

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

Responses

Response

json
{
  "items": [
    {
      "id": "507f1f77bcf86cd799439011",
      "bank_account_id": "string",
      "contact_id": "string",
      "contact_name": "string",
      "amount": "1500.50",
      "description": "string",
      "date": "2024-01-15T10:30:00+00:00",
      "status": "no_paid",
      "reconciliation_status": "pending",
      "total_documents": "0.00",
      "total_transactions": "0.00",
      "total_advance": "0.00",
      "document_type": "invoice",
      "document_id": "507f1f77bcf86cd799439011"
    }
  ],
  "cursor": "string",
  "has_more": false
}

Success responses

200List of paymentsapplication/json
object
items[]object[]
idstring

Payment unique identifier

bank_account_idstring | null

Banking account identifier

contact_idstring | null

Contact identifier

contact_namestring | null

Contact display name

amountstring

Payment amount as decimal string in the account's base currency (multi-currency invoices are pre-converted at recording time).

descriptionstring | null

Payment description

datestring

Payment date in ISO 8601 format

statusstring

Payment status

Enum:no_paidpaidpartial_paid
reconciliation_statusstring

Bank reconciliation status

Enum:pendingreconciledpartial_reconciled
total_documentsstring

Total amount linked to documents

total_transactionsstring

Total amount linked to transactions

total_advancestring

Total amount linked to advance payments

document_typestring | null

Type of the linked source document. Legacy alias `eg` is normalized to `entry` before exposure.

Enum:invoicepurchasecreditnotesalesreceiptestimateproformsalesorderpurchaseorderpurchaserefundremittancepayrollentrytransorderreceiptnoteinvoicingforecastexpemployee
document_idstring | null

Identifier of the linked document

cursorstring | null
has_moreboolean

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
429Rate limit exceededapplication/json