Get a budget

Prev Next
Get
/api/v1/finance/budgets

Get an existing budget. Either reference or externalIdentifier must have a value. If both are given, both are used for retrieving the budget.

Get a Budget

Retrieves the full record of a single existing budget.

A developer calls this endpoint to look up a budget already registered in Bloxs, typically before displaying its details or updating its lines.

A budget is tied to a specific owner's financial administration and covers a single calendar year, broken down into lines per ledger account (and optionally per real estate object) and month.


Request Fields

Field

Type

Required

Description

reference

string

Required (at least one of reference or externalIdentifier must be given)

The internal identifier of the budget.

externalIdentifier

string

Required (at least one of reference or externalIdentifier must be given)

The external API identifier of the budget.


Response Fields

Field

Type

Required

Description

reference

string, max 100, nullable

Optional

The internal identifier (Reference/Code) of the budget in Bloxs.

externalIdentifier

string, max 100, nullable

Optional

The external API identifier previously assigned to this budget, if any.

budgetType

integer (enum), nullable

Optional

The type of budget. Allowed values: 1 = OperatingBudget, 2 = InvestmentBudget.

calendarYear

integer

Optional

The calendar year this budget applies to, for example 2026.

ownerReference

string, max 100

Required

The internal identifier (Reference/Code) of the owner whose financial administration this budget belongs to.

lastModified

string (date-time)

Optional

The date and time the budget was last modified, formatted as ISO 8601.

lines

array of objects, nullable

Optional

The budget's line items. See sub-fields below.

lines.ledgerAccountCode

string, max 12

Required (within each line)

The general ledger account code this budget line applies to.

lines.realEstateObjectReference

string, max 100, nullable

Optional

The internal identifier of the real estate object this budget line is allocated to, if the budget is broken down at the object level rather than only at the owner level. Must belong to a real estate object owned by the same ownerReference as the budget.

lines.month

integer, 0 to 12

Required (within each line)

The period this budget line applies to. Values 1 through 12 correspond to calendar months. 0 represents period 0, typically used for the starting balance of the financial year.

lines.amount

number (double)

Required (within each line)

The budgeted amount for this line, in the administration's base currency (major units, for example euros with decimals). The sign follows debit/credit convention relative to the ledger account referenced by ledgerAccountCode, rather than always being positive.

Security
Query parameters
reference
string

The internal identifier of the model (i.e. Reference, Code, Name, depends on model).

externalIdentifier
string

The external API identifier of the model.

Responses
200

OK

Expand All
object
reference
string | null
Min length0
Max length100
externalIdentifier
string | null
Min length0
Max length100
budgetType
integer (int32)

OperatingBudget = 1 InvestmentBudget = 2

calendarYear
integer (int32)
ownerReference
string
Min length0
Max length100
lastModified
string (date-time)
lines
Array of object (BudgetLine) | null
object
ledgerAccountCode
string
Min length0
Max length12
realEstateObjectReference
string | null
Min length0
Max length100
month
integer (int32)
Minimum0
Maximum12
amount
number (double)
404

The requested budget was not found.