GET
Llistat de factures recurrents
Scope:
sales:invoices.readhttps://api.holded.com/api/v2/recurring-invoicesReturns a paginated list of recurring invoices in your account. Results are cursor-paginated: the response includes a `cursor` value and a `has_more` boolean. Pass the `cursor` to the next request to fetch the following page.
Paràmetres
Paràmetres de consulta
limit
integeropcional= 50Nombre màxim de factures recurrents per pàgina
cursor
stringopcionalCursor de paginació retornat per la resposta anterior
contact_id
stringopcionalPetició
python
import requests
url = "https://api.holded.com/api/v2/recurring-invoices?limit=50&cursor=value&contact_id=value"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Respostes
Respostes exitoses
200Llistat de factures recurrentsRespostes d'error
401API key no vàlida o no proporcionadaapplication/json