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

Notifications

Announcements

Community site session details

Community site session details

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

Business Central API - No reference field

(0) ShareShare
ReportReport
Posted on by 5

Hi

I am creating a purchase invoic from my Python API, but have a problem with the reference field.
First of all I can't see the field "reference" in the API resource for purchase invoices:

https://docs.microsoft.com/da-dk/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_purchaseinvoice

The reference should be seen in this field:

nr.png

Is it possible?

Thanks!

I have the same question (0)
  • Lars Lohndorf-Larsen Profile Picture
    on at

    Hello,

    If "Reference" is a standard Microsoft field, then you can suggest that it gets added to the API here:

    GitHub - microsoft/ALAppExtensions: Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.

    If it is a custom field and/or if the api is a custom api, then you need to add the field to the api page. A quick look at your URL tells me that it looks to be done by dev-itpro, in which case if you contact them, they may be able to add the field to the api.

    Hope that helps.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,638

#2
YUN ZHU Profile Picture

YUN ZHU 837 Super User 2025 Season 2

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 704 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans