Replies: 1 comment 3 replies
-
At a glance I think the request looks OK. It might help if you included the full response body. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How do I void an invoice? I can do it in NetSuite so there are no issues with turning on any features in NetSuite. What have I tried so far is changing the status of transaction and putting the status of invoiceVoided but it does not change anything. It is not returning any errors but the status or the transaction state is not changing in NetSuite.
` $service = app(NetSuiteService::class);
$netSuiteInvoice = new Invoice();
$netSuiteInvoice->internalId = 127667;
$netSuiteInvoice->status = TransactionStatus::_invoiceVoided;
Beta Was this translation helpful? Give feedback.
All reactions