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

Announcements

No record found.

News and Announcements icon
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
    Microsoft Employee 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

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,850 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,045 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans