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.