---
title: "Error on subaccount when creating customer with invoicePOST CustomerInvoice V2 with restriction group setup"
description: "When having access restriction on accounts and subaccounts, but you didn’t use those accounts and subaccounts when sending an API POST operation for CustomerInvoice endpoint, the…"
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/release-notes/2023-09-28-error-on-subaccount-when-creating-customer-with-invoicepost-customerinvoice-v2/index.md
lastmod: 2023-09-28
---

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


# Error on subaccount when creating customer with invoicePOST CustomerInvoice V2 with restriction group setup

Last modified September 28, 2023

2023-09-28


Label: api


Version: 9.64



When having access restriction on accounts and subaccounts, but you didn't use those accounts and subaccounts when sending an API POST operation for CustomerInvoice endpoint, the system showed an error that subaccounts do not exist. This has now been fixed and the sales invoices sent using API POST operation for CustomerInvoice endpoint are created in the system with the correct accounts and subaccounts. This will be first enabled for PILOT customers.



---

[View this page](https://docs.vismasoftware.no/visma-net-erp/release-notes/2023-09-28-error-on-subaccount-when-creating-customer-with-invoicepost-customerinvoice-v2/)
