---
title: "ExpenseByCode (Fortnox)"
description: "Expense by Code"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/fortnox/Fortnox.Expenses.ExpenseByCode
original: https://documentation.invantive.eu/en/datamodels/fortnox/Fortnox.Expenses.ExpenseByCode
updated: 2026-11-01T16:13:15Z
license: https://documentation.invantive.eu/en/
---

# ExpenseByCode: Fortnox Expense by Code

`read only` `REST`

- Catalog: `Fortnox`
- Schema: `Expenses`
- Label: Expense by Code

Retrieve an expense
Retrieves expense information for specified expense.

Can only retrieve data.

## Summary

Retrieves expense information for specified expense.

## API Source

- Endpoint: `/3/expenses/{ExpenseCode}`
- Operation: `get /3/expenses/{ExpenseCode}`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 356 |
| Full scan rows per minute | 85,000 |
| Point query rows per minute | 168 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `ExpenseCode` | `` | [x] |  | expenseCode |
| `financialyear` | `` | [ ] |  | Selects what financial year that should be used (does not work on every table). |
| `financialyeardate` | `` | [ ] |  | Selects by date, what financial year that should be used (does not work on every table). |
| `fromdate` | `` | [ ] |  | Defines a selection based on a start date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). |
| `lastmodified` | `` | [ ] |  | Retrieves all records since the provided timestamp (does not work on every table). |
| `todate` | `` | [ ] |  | Defines a selection based on an end date. Only available for invoices, orders, offers, vouchers and supplierinvoices (does not work on every table). |

## Table Columns

The columns of the table `ExpenseByCode` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `Expense_Account` | `int32` | Expense Account | [ ] | filters on the platform, writable, `Expense.Account` |  |
| `Expense_Code` | `varchar2` | Expense Code | [ ] | filters on the platform, writable, `Expense.Code` |  |
| `Expense_Text` | `varchar2` | Expense Text | [ ] | filters on the platform, writable, `Expense.Text` |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Fortnox](/en/release-notes/drivers?driver=fortnox)

