web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Attaching as PDF to posted sales/purchase invoice using oData API?

(0) ShareShare
ReportReport
Posted on by 65

Hi.

In print/send view there is an option to add PDF to attachments.

Is there a automated way to do this? Either automatically every time invoice is posted or using oData API?

Best regards

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    159 on at

    For either it would require development to achieve it. Contact your Microsoft partner to formulate a solution

  • Verified answer
    YUN ZHU Profile Picture
    102,389 Super User 2026 Season 1 on at

    Hi, as Josh mentioned, It's possible, but it's not a standard feature, so this requires customization.

    You can use Report.SaveAs(Integer, Text, ReportFormat, var OutStream [, RecordRef]) Method .

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/report/report-saveas-method

    Or use standard methods directly.

    pastedimage1650589001448v1.png

    Hope this info helps

    Thanks.

    ZHU

  • Catharsis Profile Picture
    65 on at

    Thanks for responses.

    For development side I also found this article if someone stumbles upon this thread:

    https://yzhums.com/20657/

Under review

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

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 653 Super User 2026 Season 1

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 414 Most Valuable Professional

#3
YUN ZHU Profile Picture

YUN ZHU 394 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans