Listar registros contables
GET
https://api.bydomu.com/v1/accountingThis reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.
Ingresos y egresos con filtros por tipo, estado, categoría, negocio y fecha (pageSize máximo 500).
Permission required
accounting:read
Required header
X-API-Key · secret key
Access level
Level 2 · automatic on Inmobiliaria Pro
Query parameters
13 · all optionalsearchstring · optionalTexto en la descripción
typestring · optionalIngreso o egresoINGRESO · EGRESO
statusstring · optionalEstado del registroBORRADOR · APROBADO · ANULADO
categoryIdstring · optionalCategoría contable
See the other 9 parameters
dealIdstring · optionalNegocio
dateFromstring · optionalCon fecha desde (ISO 8601)nullable
dateTostring · optionalCon fecha hasta (ISO 8601)nullable
pageinteger · optionalPágina, desde 1default 1 · ≥ 1
pageSizeinteger · optionalRegistros por página (máximo 500)default 20 · 1–500
cursorstring · optionalSe valida pero no se aplica en esta operación
includeTotalboolean | string · optionalSe valida pero no se aplica en esta operación
sortBystring · optionalCampo de ordendefault "createdAt"
sortOrderstring · optionalDirección del ordenasc · desc · default "desc"
Response 200
AccountingEntryListItem[] · 24 fieldsdata[]id · referenceNumber · type · status · description · amount · currency · entryDate · approvedAt · notes · attachmentUrl · reimbursable · categoryId · dealId · contactId · createdById · approvedById · voidedAt · voidReason · createdAt · updatedAt · category · deal · createdBy
idstringreferenceNumberstringtypestringINGRESO, EGRESOstatusstringBORRADOR, APROBADO, ANULADOdescriptionstringamountstringNúmero decimal serializado como texto.currencystringentryDatestringapprovedAtstringnotesstringattachmentUrlstringreimbursablebooleancategoryIdstringdealIdstringcontactIdstringcreatedByIdstringapprovedByIdstringvoidedAtstringvoidReasonstringcreatedAtstringupdatedAtstringcategoryid · name · color
idstringnamestringcolorstringdealid · title
idstringtitlestringcreatedByid · firstName · lastName
idstringfirstNamestringlastNamestringmetaPaginación por número de página.
totalintegerTotal de registrospageintegerPágina actualpageSizeintegerRegistros por páginatotalPagesintegerTotal de páginasPossible errors
shaped as{ "error": { "code", "message" } }- 400Datos inválidos: el cuerpo o la query no cumplen el esquema, o `Idempotency-Key` está mal formada.
- 401UNAUTHORIZED
- 403FORBIDDEN
- 429RATE_LIMITED
- 500INTERNAL_ERROR