Metadata
Key | Value |
---|---|
releaseDate | 10 Apr 2025 |
keyword | Dynamics 365 Business Central API |
Dynamics 365 Business Central is a comprehensive business management solution developed by Microsoft. It is designed for small to medium-sized businesses to streamline operations across finance, sales, service, and supply chain. With powerful capabilities and cloud-based flexibility, it helps businesses make informed decisions and drive growth efficiently.
This is a complete REST API documentation for integrating with Dynamics 365 Business Central. It includes standard endpoints provided by Microsoft for managing business data and operations.
Key | Value |
---|---|
releaseDate | 10 Apr 2025 |
keyword | Dynamics 365 Business Central API |
https://docs.beehexa.com/_mock/api/microsoft-dynamics-365-business-central-api/default-built-by-microsoft/
https://api.businesscentral.dynamics.com/v2.0/Production/api/v2.0/
https://login.microsoftonline.com/
https://docs.beehexa.com/_mock/api/microsoft-dynamics-365-business-central-api/default-built-by-microsoft/companies({company_id})/purchaseInvoices
https://api.businesscentral.dynamics.com/v2.0/Production/api/v2.0/companies({company_id})/purchaseInvoices
https://login.microsoftonline.com/companies({company_id})/purchaseInvoices
curl -i -X GET \
'https://docs.beehexa.com/_mock/api/microsoft-dynamics-365-business-central-api/default-built-by-microsoft/companies(e942a270-62d2-4aef-aa48-6fe3ef9e53e1)/purchaseInvoices?%24expand=purchaseInvoiceLines&%24filter=string&%24limit=100&%24select=id&%24skip=0&%24top=100' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "value": [ { … } ] }
(v1.0) The id property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The number property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The invoiceDate property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The dueDate property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorInvoiceNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToContact property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToVendorId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToVendorNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The shipToName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The shipToContact property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The currencyId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The currencyCode property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The pricesIncludeTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The discountAmount property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The discountAppliedBeforeTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalAmountExcludingTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalTaxAmount property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalAmountIncludingTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The status property for the Dynamics 365 Business Central purchaseInvoice entity
https://docs.beehexa.com/_mock/api/microsoft-dynamics-365-business-central-api/default-built-by-microsoft/companies({company_id})/purchaseInvoices
https://api.businesscentral.dynamics.com/v2.0/Production/api/v2.0/companies({company_id})/purchaseInvoices
https://login.microsoftonline.com/companies({company_id})/purchaseInvoices
curl -i -X POST \
'https://docs.beehexa.com/_mock/api/microsoft-dynamics-365-business-central-api/default-built-by-microsoft/companies(e942a270-62d2-4aef-aa48-6fe3ef9e53e1)/purchaseInvoices' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": "2a2dfc50-f21b-4ab0-8f89-463efd0dfce4",
"number": null,
"invoiceDate": null,
"dueDate": null,
"vendorInvoicenumber": null,
"vendorId": null,
"vendornumber": null,
"vendorName": null,
"payToName": null,
"payToContact": null,
"payToVendorId": null,
"payToVendornumber": null,
"shipToName": null,
"shipToContact": null,
"currencyId": null,
"currencycode": null,
"pricesIncludeTax": null,
"discountAmount": null,
"discountAppliedBeforeTax": null,
"totalAmountExcludingTax": null,
"totalTaxAmount": null,
"totalAmountIncludingTax": null,
"status": null,
"lastModifiedDateTime": null
}'
(v1.0) A new purchaseInvoice has been succesfully created
(v1.0) The id property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The number property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The invoiceDate property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The dueDate property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorInvoiceNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToContact property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToVendorId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToVendorNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The shipToName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The shipToContact property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The currencyId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The currencyCode property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The pricesIncludeTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The discountAmount property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The discountAppliedBeforeTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalAmountExcludingTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalTaxAmount property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalAmountIncludingTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The status property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The lastModifiedDateTime property for the Dynamics 365 Business Central purchaseInvoice entity
{ "id": "2a2dfc50-f21b-4ab0-8f89-463efd0dfce4", "number": null, "invoiceDate": null, "dueDate": null, "vendorInvoiceNumber": null, "vendorId": null, "vendorNumber": null, "vendorName": null, "payToName": null, "payToContact": null, "payToVendorId": null, "payToVendorNumber": null, "shipToName": null, "shipToContact": null, "currencyId": null, "currencyCode": null, "pricesIncludeTax": null, "discountAmount": null, "discountAppliedBeforeTax": null, "totalAmountExcludingTax": null, "totalTaxAmount": null, "totalAmountIncludingTax": null, "status": null, "lastModifiedDateTime": null, "purchaseInvoiceLines": [ { … } ], "pdfDocument": [ { … } ], "vendor": { "id": "2a2dfc50-f21b-4ab0-8f89-463efd0dfce4", "number": null, "displayName": null, "phoneNumber": null, "email": null, "website": null, "taxRegistrationNumber": null, "currencyId": null, "currencyCode": null, "irs1099Code": null, "paymentTermsId": null, "paymentMethodId": null, "taxLiable": null, "blocked": null, "balance": null, "lastModifiedDateTime": null, "picture": [ … ], "defaultDimensions": [ … ], "currency": { … }, "paymentTerm": { … }, "paymentMethod": { … } }, "currency": { "id": "2a2dfc50-f21b-4ab0-8f89-463efd0dfce4", "code": "BKSD94GH", "displayName": null, "symbol": null, "amountDecimalPlaces": null, "amountRoundingPrecision": null, "lastModifiedDateTime": null } }
https://docs.beehexa.com/_mock/api/microsoft-dynamics-365-business-central-api/default-built-by-microsoft/companies({company_id})/purchaseInvoices({purchaseInvoice_id})
https://api.businesscentral.dynamics.com/v2.0/Production/api/v2.0/companies({company_id})/purchaseInvoices({purchaseInvoice_id})
https://login.microsoftonline.com/companies({company_id})/purchaseInvoices({purchaseInvoice_id})
curl -i -X GET \
'https://docs.beehexa.com/_mock/api/microsoft-dynamics-365-business-central-api/default-built-by-microsoft/companies(e942a270-62d2-4aef-aa48-6fe3ef9e53e1)/purchaseInvoices(e942a270-62d2-4aef-aa48-6fe3ef9e53e1)?%24expand=purchaseInvoiceLines&%24select=id' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
(v1.0) Succesfully returned the requested purchaseInvoice
(v1.0) The id property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The number property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The invoiceDate property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The dueDate property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorInvoiceNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToContact property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToVendorId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToVendorNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The shipToName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The shipToContact property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The currencyId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The currencyCode property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The pricesIncludeTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The discountAmount property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The discountAppliedBeforeTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalAmountExcludingTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalTaxAmount property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalAmountIncludingTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The status property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The lastModifiedDateTime property for the Dynamics 365 Business Central purchaseInvoice entity
{ "id": "2a2dfc50-f21b-4ab0-8f89-463efd0dfce4", "number": null, "invoiceDate": null, "dueDate": null, "vendorInvoiceNumber": null, "vendorId": null, "vendorNumber": null, "vendorName": null, "payToName": null, "payToContact": null, "payToVendorId": null, "payToVendorNumber": null, "shipToName": null, "shipToContact": null, "currencyId": null, "currencyCode": null, "pricesIncludeTax": null, "discountAmount": null, "discountAppliedBeforeTax": null, "totalAmountExcludingTax": null, "totalTaxAmount": null, "totalAmountIncludingTax": null, "status": null, "lastModifiedDateTime": null, "purchaseInvoiceLines": [ { … } ], "pdfDocument": [ { … } ], "vendor": { "id": "2a2dfc50-f21b-4ab0-8f89-463efd0dfce4", "number": null, "displayName": null, "phoneNumber": null, "email": null, "website": null, "taxRegistrationNumber": null, "currencyId": null, "currencyCode": null, "irs1099Code": null, "paymentTermsId": null, "paymentMethodId": null, "taxLiable": null, "blocked": null, "balance": null, "lastModifiedDateTime": null, "picture": [ … ], "defaultDimensions": [ … ], "currency": { … }, "paymentTerm": { … }, "paymentMethod": { … } }, "currency": { "id": "2a2dfc50-f21b-4ab0-8f89-463efd0dfce4", "code": "BKSD94GH", "displayName": null, "symbol": null, "amountDecimalPlaces": null, "amountRoundingPrecision": null, "lastModifiedDateTime": null } }
https://docs.beehexa.com/_mock/api/microsoft-dynamics-365-business-central-api/default-built-by-microsoft/companies({company_id})/purchaseInvoices({purchaseInvoice_id})
https://api.businesscentral.dynamics.com/v2.0/Production/api/v2.0/companies({company_id})/purchaseInvoices({purchaseInvoice_id})
https://login.microsoftonline.com/companies({company_id})/purchaseInvoices({purchaseInvoice_id})
curl -i -X DELETE \
'https://docs.beehexa.com/_mock/api/microsoft-dynamics-365-business-central-api/default-built-by-microsoft/companies(e942a270-62d2-4aef-aa48-6fe3ef9e53e1)/purchaseInvoices(e942a270-62d2-4aef-aa48-6fe3ef9e53e1)' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
(v1.0) The id property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The number property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The invoiceDate property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The dueDate property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorInvoiceNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToContact property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToVendorId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToVendorNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The shipToName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The shipToContact property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The currencyId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The currencyCode property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The pricesIncludeTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The discountAmount property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The discountAppliedBeforeTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalAmountExcludingTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalTaxAmount property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalAmountIncludingTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The status property for the Dynamics 365 Business Central purchaseInvoice entity
https://docs.beehexa.com/_mock/api/microsoft-dynamics-365-business-central-api/default-built-by-microsoft/companies({company_id})/purchaseInvoices({purchaseInvoice_id})
https://api.businesscentral.dynamics.com/v2.0/Production/api/v2.0/companies({company_id})/purchaseInvoices({purchaseInvoice_id})
https://login.microsoftonline.com/companies({company_id})/purchaseInvoices({purchaseInvoice_id})
curl -i -X PATCH \
'https://docs.beehexa.com/_mock/api/microsoft-dynamics-365-business-central-api/default-built-by-microsoft/companies(e942a270-62d2-4aef-aa48-6fe3ef9e53e1)/purchaseInvoices(e942a270-62d2-4aef-aa48-6fe3ef9e53e1)' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'If-Match: true' \
-d '{
"id": "2a2dfc50-f21b-4ab0-8f89-463efd0dfce4",
"number": null,
"invoiceDate": null,
"dueDate": null,
"vendorInvoicenumber": null,
"vendorId": null,
"vendornumber": null,
"vendorName": null,
"payToName": null,
"payToContact": null,
"payToVendorId": null,
"payToVendornumber": null,
"shipToName": null,
"shipToContact": null,
"currencyId": null,
"currencycode": null,
"pricesIncludeTax": null,
"discountAmount": null,
"discountAppliedBeforeTax": null,
"totalAmountExcludingTax": null,
"totalTaxAmount": null,
"totalAmountIncludingTax": null,
"status": null,
"lastModifiedDateTime": null
}'
(v1.0) Succesfully updated the specifiedpurchaseInvoice
(v1.0) The id property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The number property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The invoiceDate property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The dueDate property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorInvoiceNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The vendorName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToContact property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToVendorId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The payToVendorNumber property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The shipToName property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The shipToContact property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The currencyId property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The currencyCode property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The pricesIncludeTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The discountAmount property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The discountAppliedBeforeTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalAmountExcludingTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalTaxAmount property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The totalAmountIncludingTax property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The status property for the Dynamics 365 Business Central purchaseInvoice entity
(v1.0) The lastModifiedDateTime property for the Dynamics 365 Business Central purchaseInvoice entity
{ "id": "2a2dfc50-f21b-4ab0-8f89-463efd0dfce4", "number": null, "invoiceDate": null, "dueDate": null, "vendorInvoiceNumber": null, "vendorId": null, "vendorNumber": null, "vendorName": null, "payToName": null, "payToContact": null, "payToVendorId": null, "payToVendorNumber": null, "shipToName": null, "shipToContact": null, "currencyId": null, "currencyCode": null, "pricesIncludeTax": null, "discountAmount": null, "discountAppliedBeforeTax": null, "totalAmountExcludingTax": null, "totalTaxAmount": null, "totalAmountIncludingTax": null, "status": null, "lastModifiedDateTime": null, "purchaseInvoiceLines": [ { … } ], "pdfDocument": [ { … } ], "vendor": { "id": "2a2dfc50-f21b-4ab0-8f89-463efd0dfce4", "number": null, "displayName": null, "phoneNumber": null, "email": null, "website": null, "taxRegistrationNumber": null, "currencyId": null, "currencyCode": null, "irs1099Code": null, "paymentTermsId": null, "paymentMethodId": null, "taxLiable": null, "blocked": null, "balance": null, "lastModifiedDateTime": null, "picture": [ … ], "defaultDimensions": [ … ], "currency": { … }, "paymentTerm": { … }, "paymentMethod": { … } }, "currency": { "id": "2a2dfc50-f21b-4ab0-8f89-463efd0dfce4", "code": "BKSD94GH", "displayName": null, "symbol": null, "amountDecimalPlaces": null, "amountRoundingPrecision": null, "lastModifiedDateTime": null } }
https://docs.beehexa.com/_mock/api/microsoft-dynamics-365-business-central-api/default-built-by-microsoft/companies({company_id})/purchaseInvoices({purchaseInvoice_id})/Microsoft.NAV.post
https://api.businesscentral.dynamics.com/v2.0/Production/api/v2.0/companies({company_id})/purchaseInvoices({purchaseInvoice_id})/Microsoft.NAV.post
https://login.microsoftonline.com/companies({company_id})/purchaseInvoices({purchaseInvoice_id})/Microsoft.NAV.post
curl -i -X POST \
'https://docs.beehexa.com/_mock/api/microsoft-dynamics-365-business-central-api/default-built-by-microsoft/companies(e942a270-62d2-4aef-aa48-6fe3ef9e53e1)/purchaseInvoices(e942a270-62d2-4aef-aa48-6fe3ef9e53e1)/Microsoft.NAV.post' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'