Skip to main content
GET
/
api
/
v1
/
accounting
/
accounts
/
{account_id}
/
ledger
Obtener mayor de cuenta
curl --request GET \
  --url https://api.lapyme.com.ar/api/v1/accounting/accounts/{account_id}/ledger \
  --header 'Authorization: Bearer <token>'
{
  "request_id": "req_ledger_1",
  "data": {
    "object": "account_ledger",
    "account": {
      "object": "account",
      "id": "550e8400-e29b-41d4-a716-446655440303",
      "code": "1.1.2",
      "name": "Clientes por cobrar"
    },
    "opening_balance": 0,
    "currency": "PES",
    "lines": [],
    "closing_balance": 0,
    "has_more": false,
    "next_cursor": null
  }
}

Authorizations

Authorization
string
header
required

Incluí tu API key en el header Authorization con el prefijo Bearer.

Path Parameters

account_id
string<uuid>
required

Query Parameters

cursor
string
limit
integer
default:50
Required range: 1 <= x <= 100
date_from
string<date>
date_to
string<date>
source_type
string
contact_id
string<uuid>

Response

Mayor de cuenta encontrado

request_id
string
required
data
object
required