Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / Creating BusinessDocum...
Finance forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Creating BusinessDocumentDocuRef for Journal Lines Attachments using Postman

Posted on by
Hi All, 
 
I am trying to attach a document to a journal line using Rest API via Postman. The request is in Json Format including the file to be uploaded(converted to bsase 64).
 
However, it is saying that the ReferenceRecordId is required and the ReferenceTableId. But when I tried to provide values, it is stating /insert not allowed for field 'RefTableId/RefRecId'/
 
Is there a way that I can resolve this? 
 
The Entity trying to upload to is BusinessDoucmentDocuRefs.
 
Thank you,
Christian
 
Categories:

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans