PDF document

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
myronator
2 Posts
User

2Posts

0Kudos

0Solutions

PDF document

Hi,

 

Just wondering if it is possible to get the actual (source) PDF document from either the "In Tray" or one that is "linked" to a bill - via an API method. 

 

thanks

John

3 REPLIES 3
Hannah_B
MYOB Moderator
142 Posts
MYOB Moderator
Australia
MYOB Moderator

142Posts

33Kudos

25Solutions

Re: PDF document

Hi @myronator , 

 

Thank you for reaching out, I can see you have also sent us a direct message to our developer inbox. I will reply directly to thiss


Thanks,
@Hannah_B


MYOB API Specialist


MYOB API Support Centre|MYOB App Marketplace|MYOB AccountRight API Endpoint Doc's



Did my answer help?


Mark it as a Solution

Haydes
MYOB Product Team
6,317 Posts
MYOB Product Team
Australia
MYOB Product Team

6,317Posts

1,108Kudos

903Solutions

Re: PDF document

I just spotted this thread and thought to post an answer here for anyone else looking for this:

 

While there is currently no exposed endpoint to GET the unlinked documents in a company's In Tray, there are some Attachment endpoints for Bills & Spend Money that you can use to GET the Attachments linked to those transactions.

 

Here are some links:

Hope this helps others!


Cheers,
Hayden
MYOB Product Team

Currently Working On:
Supplier Feeds | E-invoicing
In Tray
Previously Worked On:
MYOB Capture App | MYOB Invoices app
MYOB Support (2015-2019)


myronator
2 Posts
User

2Posts

0Kudos

0Solutions

Re: PDF document

The 'Bill Attachment' endpoint returns all attachments associated with the bill in an array.

 

The items in this (Attachments) array have a URI  property - e.g. "URI" : "{cf_uri}/Purchase/Bill/Item/4e03c8..../Attachment/ac7f6c..."

 

When calling the API at this uri i get a 405 response.

 

My question, is the a way to get just a single attachment record via an API call ? What is the purpose of exposing this URI?

 

Also, how does one add more than attachement to a Bill item?

 

I am using Essentials and can simply link or unlink a single source document but cant see a way to associate multiple attachments to a bill.

 

thanks

John

 

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post