Listar contas a pagar
Credit card purchases whose statement is still open, and the open statement itself, are not returned: they are not payable one by one until the statement closes. meta.suppressed_open_card_cycle reports how many were left out and their face value. Purchases of a closed statement are represented by the statement whenever it matches the same filters and search (read with the purchase status), the same rule the summary uses: filter by supplier or account to list them as rows.
Authorization
bearer In: header
Query Parameters
Opaque cursor from CursorPaginationDto.cursor. Use next_cursor or previous_cursor from the previous response.
Page size from CursorPaginationDto.limit.
201 <= value <= 100Full-text search term from CursorPaginationDto.search.
Include soft-deleted records from CursorPaginationDto.with_deleted.
falseInclude payload JSON search from CursorPaginationDto.include_payload_search when supported by the endpoint.
falseSort expression from CursorPaginationDto.sort in the format field:order (for example created_at:desc).
Exact match for "record_number" (number)
Not equal filter for "record_number" (number)
Greater than filter for "record_number" (number)
Greater than or equal filter for "record_number" (number)
Less than filter for "record_number" (number)
Less than or equal filter for "record_number" (number)
Exact match for "reference_code" (string)
Not equal filter for "reference_code" (string)
Contains filter for "reference_code"
Does not contain filter for "reference_code"
Filter "reference_code" where the value is null. Pass literal true (for example reference_code[is_null]=true).
trueFilter "reference_code" where the value is not null. Pass literal true (for example reference_code[is_not_null]=true).
trueExact match for "status" (string)
Not equal filter for "status" (string)
Contains filter for "status"
Does not contain filter for "status"
Exact match for "amount" (number)
Not equal filter for "amount" (number)
Greater than filter for "amount" (number)
Greater than or equal filter for "amount" (number)
Less than filter for "amount" (number)
Less than or equal filter for "amount" (number)
Exact match for "due_date" (ISO 8601 date (YYYY-MM-DD))
Not equal filter for "due_date" (ISO 8601 date (YYYY-MM-DD))
Greater than filter for "due_date" (ISO 8601 date (YYYY-MM-DD))
Greater than or equal filter for "due_date" (ISO 8601 date (YYYY-MM-DD))
Less than filter for "due_date" (ISO 8601 date (YYYY-MM-DD))
Less than or equal filter for "due_date" (ISO 8601 date (YYYY-MM-DD))
Exact match for "issue_date" (ISO 8601 date (YYYY-MM-DD))
Not equal filter for "issue_date" (ISO 8601 date (YYYY-MM-DD))
Greater than filter for "issue_date" (ISO 8601 date (YYYY-MM-DD))
Greater than or equal filter for "issue_date" (ISO 8601 date (YYYY-MM-DD))
Less than filter for "issue_date" (ISO 8601 date (YYYY-MM-DD))
Less than or equal filter for "issue_date" (ISO 8601 date (YYYY-MM-DD))
Exact match for "supplier_id" (UUID)
uuidNot equal filter for "supplier_id" (UUID)
uuidExact match for "financial_account_id" (UUID)
uuidNot equal filter for "financial_account_id" (UUID)
uuidExact match for "financial_category_id" (UUID)
uuidNot equal filter for "financial_category_id" (UUID)
uuidExact match for "payment_method_id" (UUID)
uuidNot equal filter for "payment_method_id" (UUID)
uuidExact match for "installment_group_id" (UUID)
uuidNot equal filter for "installment_group_id" (UUID)
uuidExact match for "created_at" (ISO 8601 date (YYYY-MM-DD))
Not equal filter for "created_at" (ISO 8601 date (YYYY-MM-DD))
Greater than filter for "created_at" (ISO 8601 date (YYYY-MM-DD))
Greater than or equal filter for "created_at" (ISO 8601 date (YYYY-MM-DD))
Less than filter for "created_at" (ISO 8601 date (YYYY-MM-DD))
Less than or equal filter for "created_at" (ISO 8601 date (YYYY-MM-DD))
Exact match for "updated_at" (ISO 8601 date (YYYY-MM-DD))
Not equal filter for "updated_at" (ISO 8601 date (YYYY-MM-DD))
Greater than filter for "updated_at" (ISO 8601 date (YYYY-MM-DD))
Greater than or equal filter for "updated_at" (ISO 8601 date (YYYY-MM-DD))
Less than filter for "updated_at" (ISO 8601 date (YYYY-MM-DD))
Less than or equal filter for "updated_at" (ISO 8601 date (YYYY-MM-DD))
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.biterp.ai/payables"{
"data": [
{
"id": "string",
"record_number": 0,
"supplier_id": "string",
"financial_account_id": "string",
"payment_method_id": "string",
"financial_category_id": "string",
"reference_code": "string",
"amount": "1500.000000",
"discount_amount": "0.000000",
"surcharge_amount": "0.000000",
"status": "pending",
"issue_date": "2019-08-24",
"due_date": "2019-08-24",
"paid_at": "2019-08-24T14:15:22Z",
"installment_group_id": "string",
"installment_number": 0,
"installment_count": 0,
"description": "string",
"notes": "string",
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z"
}
],
"pagination": {
"limit": 0,
"has_next_page": true,
"has_previous_page": true,
"current_query_cursor": "string",
"current_page_cursor": "string",
"next_cursor": "string",
"previous_cursor": "string"
},
"meta": {
"filters": {},
"search": "string",
"sort": {
"field": "string",
"order": "asc"
},
"suppressed_child_titles": 0,
"suppressed_open_card_cycle": {
"statements": 0,
"purchases": 0,
"amount": "350.000000"
}
}
}{
"status_code": 404,
"message": "Customer not found",
"error": "Not Found",
"code": "CUSTOMER_NOT_FOUND"
}{
"status_code": 404,
"message": "Customer not found",
"error": "Not Found",
"code": "CUSTOMER_NOT_FOUND"
}{
"status_code": 404,
"message": "Customer not found",
"error": "Not Found",
"code": "CUSTOMER_NOT_FOUND"
}
