---
title: "Error creating journal transaction through API when segments of selected subaccount were part of a restriction group"
description: "When posting a transaction through JournaltransactionV2 endpoint, the subaccount was set before account."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/release-notes/2023-05-23-error-creating-journal-transaction-through-api-when-segments-of-selected/index.md
lastmod: 2023-05-23
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/llms.txt


# Error creating journal transaction through API when segments of selected subaccount were part of a restriction group

Last modified May 23, 2023

2023-05-23


Label: api


Version: 9.48



When posting a transaction through JournaltransactionV2 endpoint, the subaccount was set before account. This caused an error if segments of the subaccount were a part of a restriction group. This has now been fixed.



---

[View this page](https://docs.vismasoftware.no/visma-net-erp/release-notes/2023-05-23-error-creating-journal-transaction-through-api-when-segments-of-selected/)
