curl --location 'https://app.mgpanel.co/api/budgets' \
--header 'X-Account-Nick: {{ACCOUNT_NICK}}' \
--header 'Authorization: Bearer {{API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"client": {
"name": "Juan Perez",
"email": "juan@test.com",
"phone": "3001234567"
},
"items": [
{
"description": "Consultoría",
"quantity": 1,
"price": 1500
}
],
"tax": 0,
"discount": 0,
"description": "Presupuesto consultoría",
"conditions": "Válido 30 días"
}'{
"success": true,
"message": "Presupuesto creado exitosamente",
"budget_id": "69e2421b805626dd00b7d7a1",
"code": "PRE-0001",
"client_id": "69e2421b805626dd00b7d7a2",
"subtotal": 1500,
"tax": 0,
"discount": 0,
"total": 1500
}