cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Discover the updated GST rates in QuickBooks Online Singapore Find out more
Ajit
Level 1

Upload Attachments to JournalEntry using PHP API

I am able to create a JournalEntry using PHP-API

I am also able to upload an attachment using PHP-API.

 

However the attachment is not getting linked to the JournalEntry, instead it is showing up in the UnLinked list.

 

$entityRef = new IPPReferenceType(array('value'=>'JE9999', 'type'=>'JournalEntry'));
$attachableRef = new IPPAttachableRef(array('EntityRef'=>$entityRef));
$objAttachable = new IPPAttachable();
$objAttachable->FileName = "testfile.jpg";
$objAttachable->AttachableRef = $attachableRef;
$resultObj = $GLOBALS['dataService']->Upload(base64_decode($imageBase64['attach']),$objAttachable->FileName,$sendMimeType,$objAttachable);
Solved
Best answer May 30, 2021

Best Answers
RCV
QuickBooks Team
QuickBooks Team

Upload Attachments to JournalEntry using PHP API

Thanks for checking in with us, Ajit.

 

The information we receive depends upon what PHP-API shares with us. In this case, you may need to contact the third-app provider for them to make sure the mapping is correct so that all details will fall on the correct list. 

 

Also. QuickBooks Online (QBO) allows you to add attachments to customer and supplier profiles, as well as their transactions. It can also help your accountant manage your books at the end of the financial year. To learn more about this one, see the Attachments in QuickBooks Online article. 

 

For more sources and helpful links, please see our QuickBooks Help articles site. Simply enter a keyword of your concern on the search bar and the system will show related links you can use. 

 

Keep me posted if you need a hand with running reports or any QBO related. I'm always here to ensure your success. Have a great weekend. 

View solution in original post

1 Comment 1
RCV
QuickBooks Team
QuickBooks Team

Upload Attachments to JournalEntry using PHP API

Thanks for checking in with us, Ajit.

 

The information we receive depends upon what PHP-API shares with us. In this case, you may need to contact the third-app provider for them to make sure the mapping is correct so that all details will fall on the correct list. 

 

Also. QuickBooks Online (QBO) allows you to add attachments to customer and supplier profiles, as well as their transactions. It can also help your accountant manage your books at the end of the financial year. To learn more about this one, see the Attachments in QuickBooks Online article. 

 

For more sources and helpful links, please see our QuickBooks Help articles site. Simply enter a keyword of your concern on the search bar and the system will show related links you can use. 

 

Keep me posted if you need a hand with running reports or any QBO related. I'm always here to ensure your success. Have a great weekend.