Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Get invoice by id PHP code
Hi all,
i am using Netsuite PHP toolkit and need to get invoice detail by any invoice id but getting empty response. Anyone know about this situation then help me. I am using following code.
CODE :
global $myNSclient;
$getResponse = $myNSclient->get(new nsRecordRef(array('internalId' => $invoice_id, 'type' => 'Invoice')));
echo "<pre>";print_r($getResponse);echo "</pre>";exit;
0