Consultar presupuesto
curl --request GET \
--url https://api.filexpress.app/api/external/accounting/budgets/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.filexpress.app/api/external/accounting/budgets/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.filexpress.app/api/external/accounting/budgets/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.filexpress.app/api/external/accounting/budgets/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"status": true,
"data": {
"id": "9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11",
"business_id": "3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01",
"name": "Presupuesto 2026",
"fiscal_year": 2026,
"status": "draft",
"notes": null,
"lines_count": 1,
"total_amount": 100,
"created_at": "2026-10-08T15:00:00.000000Z",
"updated_at": "2026-10-08T15:00:00.000000Z",
"lines": [
{
"id": "3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01",
"cost_center_id": "9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11",
"account_id": "3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01",
"month": 1,
"amount": 100,
"cost_center": {
"id": "9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11",
"code": "0101",
"name": "Ventas San Salvador"
},
"account": {
"id": "3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01",
"code": "6102",
"name": "Papelería"
}
}
]
}
}{
"status": false,
"message": "Invalid API Key."
}{
"status": false,
"message": "This integration does not have the 'hr.employees' permission.",
"required_scope": "hr.employees"
}{
"status": false,
"message": "Budget not found"
}{
"status": false,
"message": "Rate limit exceeded. Please try again later.",
"rate_limit": 100
}Consultar presupuesto
Presupuesto con sus líneas.
Permiso requerido: accounting.budgets
GET
/
accounting
/
budgets
/
{id}
Consultar presupuesto
curl --request GET \
--url https://api.filexpress.app/api/external/accounting/budgets/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.filexpress.app/api/external/accounting/budgets/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.filexpress.app/api/external/accounting/budgets/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.filexpress.app/api/external/accounting/budgets/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"status": true,
"data": {
"id": "9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11",
"business_id": "3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01",
"name": "Presupuesto 2026",
"fiscal_year": 2026,
"status": "draft",
"notes": null,
"lines_count": 1,
"total_amount": 100,
"created_at": "2026-10-08T15:00:00.000000Z",
"updated_at": "2026-10-08T15:00:00.000000Z",
"lines": [
{
"id": "3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01",
"cost_center_id": "9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11",
"account_id": "3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01",
"month": 1,
"amount": 100,
"cost_center": {
"id": "9d1c5a3e-4b7f-4e2a-9c1d-2f6b8a0e7c11",
"code": "0101",
"name": "Ventas San Salvador"
},
"account": {
"id": "3b8e2f10-7c4d-4a9e-b1f2-5d6c7e8f9a01",
"code": "6102",
"name": "Papelería"
}
}
]
}
}{
"status": false,
"message": "Invalid API Key."
}{
"status": false,
"message": "This integration does not have the 'hr.employees' permission.",
"required_scope": "hr.employees"
}{
"status": false,
"message": "Budget not found"
}{
"status": false,
"message": "Rate limit exceeded. Please try again later.",
"rate_limit": 100
}