---
title: "Ungraceful error message thrown when client attempts to POST Customer Invoice V2"
description: "Earlier when you did a post to api/v2/customerinvoice containing origInvoiceDate with Use Value Date not active in the Accounts Receivable Preferences (AR101000) you did not get a clear error message."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/release-notes/2021-07-27-ungraceful-error-message-thrown-when-client-attempts-to-post-customer-invoice-v2/index.md
lastmod: 2021-07-27
---

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


# Ungraceful error message thrown when client attempts to POST Customer Invoice V2

Last modified July 27, 2021

2021-07-27


Label: api:customer-ledger


Version: 8.58



Earlier when you did a post to api/v2/customerinvoice containing origInvoiceDate with Use Value Date not active in the Accounts Receivable Preferences (AR101000) you did not get a clear error message.

This has now been fixed, and you will get a clear error message in the response explaining why it failed. The error message will not contain the invoice number, since the invoice is not yet created when the error occurs.



---

[View this page](https://docs.vismasoftware.no/visma-net-erp/release-notes/2021-07-27-ungraceful-error-message-thrown-when-client-attempts-to-post-customer-invoice-v2/)
