---
title: "Set \"PrebookAcctID\" \u0026 \"PrebookSubID\" when prebooking from API"
description: "When using account or subaccount with restrictions system is using the ones from the supplier."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/release-notes/2024-07-30-set-prebookacctid-prebooksubid-when-prebooking-from-api/index.md
lastmod: 2024-07-30
---

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


# Set "PrebookAcctID" & "PrebookSubID" when prebooking from API

Last modified July 30, 2024

2024-07-30


Label: purchase-to-pay:supplier-ledger


Version: 10.11



When using account or subaccount with restrictions system is using the ones from the supplier. The endpoint should return 400 Bad request instead of 200 OK. Another case will be created to follow up this scenario.



---

[View this page](https://docs.vismasoftware.no/visma-net-erp/release-notes/2024-07-30-set-prebookacctid-prebooksubid-when-prebooking-from-api/)
