BalanceMovement
Modelo BalanceMovement
{
"id": 1,
"number": 1,
"initial_balance_e2": 0,
"amount_e2": 10000,
"final_balance_e2": 10000,
"type": "adjustment",
"description": "",
"is_deferred": false,
"created_at": "2021-03-05 12:34:38",
"updated_at": "2021-03-05 12:34:38",
"author_id": 1
}
Listar BalanceMovement
{info} Soporta:
Paginación
Filters
Carga dinámica
Método |
URI |
Cabeceras |
GET |
/companies/{companyId}/balance-movements |
Authorization |
{
"type": "required|string|in:account,client,provider,branch,company",
"key": "required|integer|min:1"
}
Mostrar BalanceMovement
Mostrar Current
Método |
URI |
Cabeceras |
GET |
/companies/{companyId}/balance-movements/current |
Authorization |
{
"type": "required|string|in:account,client,provider,branch,company",
"key": "required|integer|min:1"
}
Acciones de BalanceMovement
Store Adjustment
Método |
URI |
Cabeceras |
POST |
/companies/{companyId}/balance-movements/adjust |
Authorization |
{
"type": "required|string|in:account,client,provider,branch,company",
"key": "required|integer|min:1",
"amount_e2": "required|int",
"description": "string|max:128"
}
Store Change
Método |
URI |
Cabeceras |
POST |
/companies/{companyId}/orders/{orderId}/balance-movements/give-change |
Authorization |
{
"amount_e2": "required|int",
"description": "string|max:128"
}
Store Transfer
Método |
URI |
Cabeceras |
POST |
/companies/{companyId}/orders/{orderId}/balance-movements/transfer |
Authorization |
{
"type": "required|string|in:account,client,provider,branch,company",
"key": "required|integer|min:1",
"amount_e2": "required|int",
"target": "string",
"target_type": "string|in:account,client,provider,branch,company,client_uuid,email",
"description": "string|max:128"
}
Enlaces de BalanceMovement