GET
/
tabs
/
{storeId}
/
accounting-movements
curl --request GET \
  --url https://api.service.getjusto.com/v3/tabs/{storeId}/accounting-movements
{
  "success": true,
  "data": {
    "items": [
      {
        "_id": "tab-4c48bf33-1411-4c3f-adac-db39b4631cb8",
        "code": "CJXEQZK",
        "comments": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
        "websiteId": "ErCkmcyCEovseJq5E",
        "storeId": "Li4eEa3W2hiuGGCFa",
        "createdById": "a3W2hiuGGLi4eECFa",
        "createdAt": "2020-01-01T00:00:00.000Z",
        "voidedAt": "2020-01-01T00:00:00.000Z",
        "paidAt": "2020-01-01T00:00:00.000Z",
        "issueDate": "2020-01-01T00:00:00.000Z",
        "dueDate": "2020-01-01T00:00:00.000Z",
        "providerId": "fgfghh56dfhfgh",
        "movementType": "cashWithdrawals",
        "totalAmount": 123,
        "taxAmount": 123,
        "netAmount": 123,
        "invoiceId": "sdffdgd456dfgfh",
        "ingredients": [
          {
            "ingredientId": "<string>",
            "ingredientName": "<string>",
            "quantity": 123,
            "totalCost": 123,
            "totalNetCost": 123,
            "totalTaxCost": 123,
            "unitOfMeasurement": "gr",
            "externalId": "gr"
          }
        ],
        "items": [
          {
            "description": "<string>",
            "quantity": 123,
            "totalCost": 123,
            "totalNetCost": 123,
            "totalTaxCost": 123
          }
        ]
      }
    ],
    "hasNextPage": true,
    "hasPreviousPage": true,
    "totalPages": 123,
    "totalCount": 123
  }
}

Path Parameters

storeId
string
required

Query Parameters

ingredientIds
string[]

Id de los ingredientes a consultar

movementType
enum<string>

Tipos de movimientos contables

Available options:
inventory,
cashWithdrawals,
manual
Example:

"name"

fromDate
string

Fecha de inicio de la búsqueda.

Example:

"2020-01-01T00:00:00.000Z"

toDate
string

Fecha de fin de la búsqueda.

Example:

"2020-01-01T00:00:00.000Z"

page
number

Número de página.

Example:

1

limit
number

Número de items por página. Max 100. Por defecto: 10.

Example:

10

sortBy
enum<string>

Campo por el cual se ordenará la lista. Por defecto: "createdAt".

Available options:
createdAt
Example:

"createdAt"

sortType
enum<string>

Tipo de ordenamiento.

Available options:
asc,
desc
Example:

"desc"

Response

200
application/json

The OpenAPI spec

The response is of type object.